aftermath-ts-sdk - v6.7.0
    Preparing search index...

    Interface ApiPerpetualsMarketsDailyStatsBody

    Request payload for fetching daily statistics for perpetuals markets.

    interface ApiPerpetualsMarketsDailyStatsBody {
        fromTimestamp: number;
        marketIds?: string[];
        toTimestamp: number;
    }
    Index
    fromTimestamp: number

    Inclusive start in Unix milliseconds, rounded down to the UTC day.

    marketIds?: string[]

    Omit or leave empty for all markets. Explicit filters allow at most 50 distinct IDs after server-side canonicalization and deduplication.

    toTimestamp: number

    Exclusive end in Unix milliseconds; must be greater than fromTimestamp.