MCPcopy Create free account
hub / github.com/ccxt/node-binance-api / futuresCandles

Method futuresCandles

src/node-binance-api.ts:4537–4542  ·  view source on GitHub ↗

* @see https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Kline-Candlestick-Data

(symbol: string, interval: Interval = "30m", params: Dict = {})

Source from the content-addressed store, hash-verified

4535 * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Kline-Candlestick-Data
4536 */
4537 async futuresCandles(symbol: string, interval: Interval = "30m", params: Dict = {}): Promise<Candle[]> {
4538 params.symbol = symbol;
4539 params.interval = interval;
4540 const res = await this.publicFuturesRequest('v1/klines', params);
4541 return this.parseCandles(res);
4542 }
4543
4544 /**
4545 * @see https://developers.binance.com/docs/derivatives/usds-margined-futures/market-data/rest-api/Kline-Candlestick-Data

Callers 3

futuresCandlesticksMethod · 0.95
static-tests.mjsFile · 0.80

Calls 2

publicFuturesRequestMethod · 0.95
parseCandlesMethod · 0.95

Tested by

no test coverage detected