SINGLE STUDY CRYPTO
April 12, 2019
Get historical candles data
https://ufodex.io/dexsrv/mainnet/api/v1/history/ohlc/<cur1>/<cur2>/<format>
Get historical OHLC data for the specified ticker pair.
Avaiable formats:
- highstock
- json
- csv
Call examples:
- https://ufodex.io/dexsrv/mainnet/api/v1/history/ohlc/UFO/BTC/highstock
- https://ufodex.io/dexsrv/mainnet/api/v1/history/ohlc/BTC/USDT/json
- https://ufodex.io/dexsrv/mainnet/api/v1/history/ohlc/LTC/BTC/csv
Response example for Highstock data:
[
[1552900500000.0000000000,0.0000050000,0.0000050000,0.0000050000,0.0000050000,1000.0000000000]
]
Response:
Field index | Description |
---|---|
0 | Candle timestamp |
1 | Open price |
2 | High price |
3 | Low price |
4 | Close price |
5 | Volume (cur1) |