curl --request GET \
--url https://api.easierprop.com/api/accounts/{id}/ohlc/{symbol}/latest \
--header 'X-API-Key: <api-key>'{
"ok": true,
"data": [
{
"time": "<string>",
"open": 123,
"high": 123,
"low": 123,
"close": 123,
"tickVolume": 123
}
]
}Returns the last N candlestick bars for a symbol.
curl --request GET \
--url https://api.easierprop.com/api/accounts/{id}/ohlc/{symbol}/latest \
--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_)
Timeframe in minutes (1=M1, 5=M5, 15=M15, 60=H1, 240=H4, 1440=D1)
Number of bars to return