Wrapper for REST API MARKET.
okxAPI::restAPI -> restAPImarket
candles()See Get candlesticks for more information.
restAPImarket$candles(instId, process = "identity", ...)instIdInstrument ID, e.g. BTC-USD-190927-5000-C.
processA 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", ...)instIdInstrument ID, e.g. BTC-USD-190927-5000-C.
processA 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)deepWhether to make a deep clone.