Statistical data calculated from sync events.
Provides metrics for signal sync lifecycle tracking.
const stats = await Sync.getData("BTCUSDT", "my-strategy");console.log(`Total events: ${stats.totalEvents}`);console.log(`Opens: ${stats.openCount}`);console.log(`Closes: ${stats.closeCount}`); Copy
const stats = await Sync.getData("BTCUSDT", "my-strategy");console.log(`Total events: ${stats.totalEvents}`);console.log(`Opens: ${stats.openCount}`);console.log(`Closes: ${stats.closeCount}`);
Count of signal-close events
Array of all sync events with full details
Count of signal-open events
Total number of sync events
Statistical data calculated from sync events.
Provides metrics for signal sync lifecycle tracking.
Example