Interface SyncStatisticsModel

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}`);
interface SyncStatisticsModel {
    closeCount: number;
    eventList: SyncEvent[];
    openCount: number;
    totalEvents: number;
}

Properties

closeCount: number

Count of signal-close events

eventList: SyncEvent[]

Array of all sync events with full details

openCount: number

Count of signal-open events

totalEvents: number

Total number of sync events