View source: R/wrappers_post_trade.R
| post_trade_cancel_order | R Documentation |
Submits a cancellation request for a previously placed trade order.
post_trade_cancel_order(
inst_id,
ord_id = NULL,
cl_ord_id = NULL,
config,
tz = .okx_default_tz
)
inst_id |
Instrument ID (e.g., |
ord_id |
Optional OKX order ID to cancel. |
cl_ord_id |
Optional client order ID to cancel. Provide this or 'ord_id'. |
config |
A list with API credentials: |
tz |
Timezone for parsing any timestamps (default: |
A data.frame containing cancellation result and timestamp.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.