API Documentation

OHLCV Candles

Candles in Blocktap are sent as an array of strings in OHLCV format, that is, timestamp, open, high, low, close, volume. They must be given an argument of resolution which can be any one of the following: _1m, _5m, _15m, _30m, _1h, _2h, _4h, _1d.


Binance:BTC/USDT with last 30 days OHLCV

query market {
  market(exchangeSymbol: "binance", baseSymbol: "btc", quoteSymbol: "usdt") {
    ohlcv(resolution: _1d, limit: 30)