View source: R/wrappers_post_asset.R
| post_asset_convert_trade | R Documentation |
Execute a confirmed asset conversion against a previously quoted price.
post_asset_convert_trade(
quote_id,
base_ccy,
quote_ccy,
side,
sz,
sz_ccy,
cl_t_req_id = NULL,
tag = NULL,
convert_mode = NULL,
tz = .okx_default_tz,
config
)
quote_id |
Quote ID returned by [post_asset_convert_estimate_quote()]. |
base_ccy |
Base currency. |
quote_ccy |
Quote currency. |
side |
Trade side, such as '"buy"' or '"sell"'. |
sz |
Trade size. |
sz_ccy |
Currency in which 'sz' is specified. |
cl_t_req_id |
Optional client trade request ID. |
tag |
Optional request tag. |
convert_mode |
Optional OKX convert mode. |
tz |
Timezone used for any timestamp parsing. |
config |
API credential list. |
A 'data.frame' describing the executed conversion trade.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.