OHLCV Series
GET /series/{exchange}/{market}/ohlcv
List aggregated OHLCV market data.
- Schema
- Response
- Example
Field | Description |
---|---|
time datetime | Timestamp, start of interval. |
open float | Opening price. |
high float | Highest price. |
low float | Lowest price. |
close float | Closing price. |
vwap float | Volume weighted average price from smallest increment (1 min). |
n_trades int | Count of trades in the time-frame. |
n_buy int | Count of trades where the market maker was buyer. |
n_sell int | Count of trades where the market maker was seller. |
vol_base float | Total trading volume in base currency (i.e. always XTZ). |
vol_quote float | Total trading volume in quote currency. |
vol_buy_base float | Buy-side volume in base currency. |
vol_buy_quote float | Buy-side volume in quote currency. |
vol_sell_base float | Sell-side volume in base currency. |
vol_sell_quote float | Sell-side volume in quote currency. |
[
[
1570032000000, // time
0.94000, // open
0.94460, // high
0.90890, // low
0.92180, // close
0.92183, // vwap
36, // n_trades
3, // n_buy
33, // n_sell
7878.17322, // vol_base
7262.35661, // vol_quote
162.09115, // vol_buy_base
150.18552, // vol_buy_quote
7716.08207, // vol_sell_base
7112.17109 // vol_sell_quote
],
// ...
]
curl "https://api.tzpro.io/series/kraken/XTZ_USD/ohlcv?start_date=now-24h&collapse=1h"