restAPIaccount | R Documentation |
Wrapper for REST API ACCOUNT.
okxAPI::restAPI
-> restAPIaccount
balance()
See Get balance for more information.
restAPIaccount$balance(ccy, process = "identity")
ccy
Single currency or a vector composed of multiple currencies. (no more than 20).
process
A function to process the data received from the API. Default to identity
.
positions()
See Get positions for more information.
restAPIaccount$positions(process = "identity", ...)
process
A function to process the data received from the API. Default to identity
.
...
Other request parameters.
positions_history()
See Get positions history for more information.
restAPIaccount$positions_history(process = "identity", ...)
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.
restAPIaccount$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.