Skip to content
Velo

Data Shapes

An executed query returns a Data object. It exposes several lazily computed data shapes over the same response, without making additional requests.

APIReturnsMissing values
.rows()A flat array of all rowsnull
.series()Map of row arrays, keyed by exchange:productnull
.columns()Map of index-aligned Float64Arrays, keyed by exchange:productNaN
.candles()Map of OHLCV candle arrays, keyed by exchange:productSkipped
[
  {
    "exchange": "binance",
    "coin": "BTC",
    "product": "BTCUSDT",
    "time": 1785160560000,
    "open_price": 65441.98,
    "high_price": 65441.99,
    "low_price": 65308.02,
    "close_price": 65347.87,
    "dollar_volume": 1258607.7729999353
  },
  {
    "exchange": "coinbase",
    "coin": "BTC",
    "product": "BTC-USD",
    "time": 1785160560000,
    "open_price": 65377.66,
    "high_price": 65379.99,
    "low_price": 65238.68,
    "close_price": 65288.9,
    "dollar_volume": 508561.6389999999
  }
]