Returns historical OHLC data as time-series candlestick data suitable for charting and technical analysis. Each candle includes open, high, low, close prices, volume-weighted average price (VWAP), volume, and trade count. Use this for trend analysis, backtesting strategies, and populating price charts.
From spec: Get OHLC (Open, High, Low, Close) data for an asset pair.
Usage Tips
- Interval values: 1 (1 min), 5, 15, 30, 60, 240, 1440 (1 day), 10080 (1 week), 21600 (15 days)
- Since parameter: Returns data since given Unix timestamp; omit for last 720 intervals
- Returns up to 720 candles per request
- First value in each array is the Unix timestamp in seconds
Parameters (3)
interval(integer, query, optional, default: 1)
Time frame interval in minutes (1, 5, 15, 30, 60, 240, 1440, 10080, 21600). Default: 1.