#[non_exhaustive]pub struct AlgoOrder {Show 25 fields
pub algo_id: String,
pub algo_cl_ord_id: String,
pub inst_type: String,
pub inst_id: String,
pub td_mode: String,
pub side: String,
pub pos_side: String,
pub ord_type: String,
pub state: String,
pub sz: NumberString,
pub actual_sz: NumberString,
pub actual_px: NumberString,
pub trigger_px: NumberString,
pub order_px: NumberString,
pub trigger_px_type: String,
pub tp_trigger_px: NumberString,
pub tp_ord_px: NumberString,
pub sl_trigger_px: NumberString,
pub sl_ord_px: NumberString,
pub callback_ratio: NumberString,
pub callback_spread: NumberString,
pub active_px: NumberString,
pub tag: String,
pub c_time: NumberString,
pub u_time: NumberString,
}Expand description
Algo-order row returned by list, history, and details endpoints.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.algo_id: StringValue returned by OKX in the algoId field.
algo_cl_ord_id: StringValue returned by OKX in the algoClOrdId field.
inst_type: StringValue returned by OKX in the instType field.
inst_id: StringValue returned by OKX in the instId field.
td_mode: StringValue returned by OKX in the tdMode field.
side: StringValue returned by OKX in the side field.
pos_side: StringValue returned by OKX in the posSide field.
ord_type: StringValue returned by OKX in the ordType field.
state: StringValue returned by OKX in the state field.
sz: NumberStringValue returned by OKX in the sz field.
actual_sz: NumberStringValue returned by OKX in the actualSz field.
actual_px: NumberStringValue returned by OKX in the actualPx field.
trigger_px: NumberStringValue returned by OKX in the triggerPx field.
order_px: NumberStringValue returned by OKX in the orderPx field.
trigger_px_type: StringValue returned by OKX in the triggerPxType field.
tp_trigger_px: NumberStringValue returned by OKX in the tpTriggerPx field.
tp_ord_px: NumberStringValue returned by OKX in the tpOrdPx field.
sl_trigger_px: NumberStringValue returned by OKX in the slTriggerPx field.
sl_ord_px: NumberStringValue returned by OKX in the slOrdPx field.
callback_ratio: NumberStringValue returned by OKX in the callbackRatio field.
callback_spread: NumberStringValue returned by OKX in the callbackSpread field.
active_px: NumberStringValue returned by OKX in the activePx field.
tag: StringValue returned by OKX in the tag field.
c_time: NumberStringValue returned by OKX in the cTime field.
u_time: NumberStringValue returned by OKX in the uTime field.