Wrapper for REST API MARKET.
okxAPI::restAPI
-> restAPImarket
candles()
See Get candlesticks for more information.
restAPImarket$candles(instId, process = "identity", ...)
instId
Instrument ID, e.g. BTC-USD-190927-5000-C.
process
A function to process the data received from the API. Default to identity
.
...
Other request parameters.
history_candles()
See Get candlesticks history for more information.
restAPImarket$history_candles(instId, process = "identity", ...)
instId
Instrument ID, e.g. BTC-USD-190927-5000-C.
process
A function to process the data received from the API. Default to identity
.
...
Other request parameters.
clone()
The objects of this class are cloneable with this method.
restAPImarket$clone(deep = FALSE)
deep
Whether to make a deep clone.