View source: R/wrappers_post_asset.R
| post_asset_transfer | R Documentation |
Transfer assets between funding, trading, and related accounts.
post_asset_transfer(
ccy,
amt,
from,
to,
type = "0",
sub_acct = NULL,
loan_trans = NULL,
omit_pos_risk = NULL,
client_id = NULL,
tz = .okx_default_tz,
config
)
ccy |
Currency to transfer. |
amt |
Transfer amount. |
from |
Source account code, such as '"6"' for funding or '"18"' for trading. |
to |
Destination account code. |
type |
Optional transfer type code. Defaults to '"0"' for an internal transfer within the same account. |
sub_acct |
Optional sub-account name when the transfer type requires it. |
loan_trans |
Optional logical. Whether the transfer should be treated as a loan transfer. |
omit_pos_risk |
Optional logical. Whether to omit position risk checks where supported by OKX. |
client_id |
Optional client-supplied transfer request ID. |
tz |
Timezone used for any timestamp parsing. |
config |
API credential list. |
A 'data.frame' describing the submitted transfer request.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.