View source: R/wrappers_get_account.R
| get_account_adjust_leverage_info | R Documentation |
Estimate account effects under a target leverage.
get_account_adjust_leverage_info(
inst_type,
mgn_mode,
lever,
inst_id = NULL,
ccy = NULL,
pos_side = NULL,
config,
tz = .okx_default_tz
)
inst_type |
Character. Instrument type: '"MARGIN"', '"SWAP"', or '"FUTURES"'. |
mgn_mode |
Character. Margin mode: '"cross"' or '"isolated"'. |
lever |
Character or numeric. Target leverage. |
inst_id |
Character or 'NULL'. Instrument ID. |
ccy |
Character or 'NULL'. Margin currency. |
pos_side |
Character or 'NULL'. Position side. |
config |
List. API credentials/config. |
tz |
Character. Time zone for parsing timestamps. Default '"Asia/Hong_Kong"'. |
A one-row 'data.frame' with estimated leverage-adjustment metrics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.