View source: R/wrappers_post_trade.R
| post_trade_order_precheck | R Documentation |
Submit an order precheck request without placing the order.
post_trade_order_precheck(
inst_id,
td_mode,
side,
ord_type,
sz,
ccy = NULL,
cl_ord_id = NULL,
tag = NULL,
pos_side = NULL,
px = NULL,
reduce_only = NULL,
tgt_ccy = NULL,
attach_algo_ords = NULL,
speed_bump = NULL,
outcome = NULL,
config,
tz = .okx_default_tz
)
inst_id |
Instrument ID. |
td_mode |
Trade mode. |
side |
Order side. |
ord_type |
Order type. |
sz |
Order size. |
ccy |
Optional margin currency. |
cl_ord_id |
Optional client order ID. |
tag |
Optional order tag. |
pos_side |
Optional position side. |
px |
Optional order price. |
reduce_only |
Optional logical reduce-only flag. |
tgt_ccy |
Optional target currency mode. |
attach_algo_ords |
Optional attached TP/SL list. |
speed_bump |
Optional event-contract speed bump. |
outcome |
Optional event-contract outcome. |
config |
A list with API credentials. |
tz |
Timezone for parsing response timestamps. |
A 'data.frame' with projected account metrics after the precheck.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.