GET
/
api
/
datafeed
/
history
Get historical data
curl --request GET \
  --url http://localhost:4000/api/datafeed/history
{
  "s": "ok",
  "t": [
    123
  ],
  "c": [
    123
  ],
  "o": [
    123
  ],
  "h": [
    123
  ],
  "l": [
    123
  ],
  "v": [
    123
  ]
}

Query Parameters

symbol
string
required

Trading symbol

resolution
string
required

Time resolution (1, 5, 15, 30, 60, D, W, M)

from
integer
required

Unix timestamp for start time

to
integer
required

Unix timestamp for end time

Response

200 - application/json

Historical data

The response is of type object.