v1
latestOpenAPI 3.0.02026-07-26327775.9 KBGet the historical bars
Get the historical bars for an instrument. Any request that would result in a response with more than 20,000 bars will be rejected. <br>Each property of the response object is a table column. Bar time for daily bars is 00:00 UTC. Bar time for monthly bars is 00:00 UTC and is the first trading day of the month. If there is no data in the requested time period but there is data in the previous time period the status code will be set to no_data and the nb property to UNIX timestamp of the next available bar behind the range. If there is no data in the requested and previous time periods the status code will be set to no_data.
Query parameters
Route identifier.
Unix timestamp in milliseconds (UTC) of the leftmost required bar, including from.
Symbol resolution. Possible resolutions are monthly (1M), weekly (1W), daily (1D), hourly (4H, 1H) in minutes (30m, 15m, 5m, 1m)
Unix timestamp in milliseconds (UTC) of the rightmost required bar, inclusive. If in the future, the rightmost returned bar will be the latest available in the system.
Identifier of the instrument that is used for trading purposes.
Headers
Account number
Response
OK
Example response
{
"s": "ok"
}