| restAPIaccount {okxAPI} | R Documentation |
restAPIaccount Class
Description
Wrapper for REST API ACCOUNT.
Super class
okxAPI::restAPI -> restAPIaccount
Methods
Public methods
Inherited methods
Method balance()
See Get balance for more information.
Usage
restAPIaccount$balance(ccy, process = "identity")
Arguments
ccySingle currency or a vector composed of multiple currencies. (no more than 20).
processA function to process the data received from the API. Default to
identity.
Method positions()
See Get positions for more information.
Usage
restAPIaccount$positions(process = "identity", ...)
Arguments
processA function to process the data received from the API. Default to
identity....Other request parameters.
Method positions_history()
See Get positions history for more information.
Usage
restAPIaccount$positions_history(process = "identity", ...)
Arguments
processA 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
restAPIaccount$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.
[Package okxAPI version 0.1.1 Index]