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

    Function downloadKlines

    • Download one hour of klines for an instrument as a Lastra segment Same shape and semantics as /exchange/{exchangeId}/tickers/{base}/{quote}, but serves klines (aggregated bars) instead of raw ticks. One Lastra segment = one hour of klines at the exchange's native kline cadence, aligned to UTC.

      Klines use the same columnar layout as tickers — readers that handle one format read the other with the same code. Use this endpoint when a per-tick payload would be too large for the window of interest.

      Type Parameters

      • ThrowOnError extends boolean = false

      Parameters

      Returns RequestResult<Blob | File, ResponseError, ThrowOnError>