curl --request GET \
--url https://api.easierprop.com/api/accounts/{id}/ohlc/{symbol} \
--header 'X-API-Key: <api-key>'{
"ok": true,
"data": [
{
"time": "<string>",
"open": 123,
"high": 123,
"low": 123,
"close": 123,
"tickVolume": 123
}
]
}Returns candlestick data for a symbol within a date range.
curl --request GET \
--url https://api.easierprop.com/api/accounts/{id}/ohlc/{symbol} \
--header 'X-API-Key: <api-key>'{
"ok": true,
"data": [
{
"time": "<string>",
"open": 123,
"high": 123,
"low": 123,
"close": 123,
"tickVolume": 123
}
]
}Client API key (prefixed with sk_)
Start datetime (YYYY-MM-DDTHH:mm:ss)
End datetime (YYYY-MM-DDTHH:mm:ss)
Timeframe in minutes (1=M1, 5=M5, 15=M15, 60=H1, 240=H4, 1440=D1)