Method Name
public/get_spot_feed_history_candles
public/get_spot_feed_history_candlesGet spot feed history candles by currency
DB: read replica
Parameters
currency
string required |
end_timestamp
integer required |
period
string required |
start_timestamp
integer required |
Response
id string or integer required |
result object required |
result.
currency
string required |
result.
spot_feed_history
array of objects required |
result.spot_feed_history[].
close_price
string required |
result.spot_feed_history[].
high_price
string required |
result.spot_feed_history[].
low_price
string required |
result.spot_feed_history[].
open_price
string required |
result.spot_feed_history[].
price
string required |
result.spot_feed_history[].
timestamp
integer required |
result.spot_feed_history[].
timestamp_bucket
integer required |
Example
{request_example_shell}{request_example_javascript}{request_example_python}The above command returns JSON structured like this:
{response_example_json}