Market Data

Get Historical Candles

Get historical candles data for a specific trading pair.

Args: config: Configuration for historical candles including connector, trading pair, interval, start and end time

Returns: Historical candles data or error message

post/market-data/historical-candles

Request body

connector_namestring required
trading_pairstring required
intervalstring required
start_timeinteger required
end_timeinteger required

Response

Successful Response

{"stackTrail":"paths:/market-data/historical-candles:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

Changed in 4 of the 13 revisions of this API.23

    • added the optional property detail/items/ctx to the response with the 422 status

      response-optional-property-added

    • added the optional property detail/items/input to the response with the 422 status

      response-optional-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type/format changed from object/ to / for status 200

      response-body-type-changed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type/format changed from / to object/ for status 200

      response-body-type-changed

    • endpoint added

      endpoint-added

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog