View source: R/wrappers_get_account.R
| get_account_config | R Documentation |
Retrieve account-level configuration information.
get_account_config(config, tz = .okx_default_tz)
config |
List. API credentials/config, typically containing 'api_key', 'secret_key', and 'passphrase'. |
tz |
Character. Time zone for parsing timestamps. Default '"Asia/Hong_Kong"'. |
Wraps '/api/v5/account/config'. Includes account ID, mode, and position mode flags. Returns one row.
A 'data.frame' with columns like 'uid', 'mainUid', 'acctLv', 'posMode', 'autoLoan', etc.
Since okxr 0.1.2
[get_account_balance()], [get_account_leverage_info()]
## Not run:
cfg <- list(api_key = "xxx", secret_key = "xxx", passphrase = "xxx")
cfg_info <- get_account_config(config = cfg)
cfg_info
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.