Wrapper for REST API ACCOUNT.
okxAPI::restAPI -> restAPIaccount
balance()See Get balance for more information.
restAPIaccount$balance(ccy, process = "identity")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.
positions()See Get positions for more information.
restAPIaccount$positions(process = "identity", ...)processA 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", ...)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.
restAPIaccount$clone(deep = FALSE)deepWhether to make a deep clone.