restAPImarket {okxAPI} | R Documentation |
restAPImarket Class
Description
Wrapper for REST API MARKET.
Super class
okxAPI::restAPI
-> restAPImarket
Methods
Public methods
Inherited methods
Method candles()
See Get candlesticks for more information.
Usage
restAPImarket$candles(instId, process = "identity", ...)
Arguments
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.
Method history_candles()
See Get candlesticks history for more information.
Usage
restAPImarket$history_candles(instId, process = "identity", ...)
Arguments
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.
Method clone()
The objects of this class are cloneable with this method.
Usage
restAPImarket$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.
[Package okxAPI version 0.1.1 Index]