@qtsurfer/api-client
    Preparing search index...

    Type Alias PrepareRequest

    type PrepareRequest = {
        cadence?: "1s" | "5s" | "1m" | "5m" | "15m" | "1h" | "4h" | "1d";
        from: string;
        instrument: Instrument;
        to: string;
    }
    Index
    cadence?: "1s" | "5s" | "1m" | "5m" | "15m" | "1h" | "4h" | "1d"

    Output bar cadence for the prepared range. Defaults to the publisher's native cadence (1s); coarser cadences are produced on demand via resampling and stored alongside the native blob in cache. Coarser-than- source values must be exact multiples of the source cadence — invalid labels return 400.

    from: string

    Start date for the preparation process. Supports the following formats:

    • ISO-8601 (e.g. 2024-12-14T23:59:59Z)
    • ISO DATE (e.g. 2024-12-14)
    • BASIC ISO DATE (e.g., 20241214)
    instrument: Instrument
    to: string

    End date for the preparation process. Supports the following formats:

    • ISO-8601 (e.g. 2024-12-14T23:59:59Z)
    • ISO DATE (e.g. 2024-12-14)
    • BASIC ISO DATE (e.g., 20241214)