Function getNextCandles

  • Fetches the set of candles after current time based on execution context.

    Uses the exchange's getNextCandles implementation to retrieve candles that occur after the current context time.

    Parameters

    • symbol: string

      Trading pair symbol (e.g., "BTCUSDT")

    • interval: CandleInterval

      Candle interval ("1m" | "3m" | "5m" | "15m" | "30m" | "1h" | "2h" | "4h" | "6h" | "8h")

    • limit: number

      Number of candles to fetch

    Returns Promise<ICandleData[]>

    Promise resolving to array of candle data