Skip to main content

PlaceOrderResponse

Type Alias PlaceOrderResponse 

Source
pub type PlaceOrderResponse = OperationResponse<PlaceOrderResult>;
Expand description

Response returned by order and batch-orders.

Aliased Type§

pub struct PlaceOrderResponse {
    pub id: String,
    pub op: String,
    pub code: String,
    pub msg: String,
    pub data: Vec<PlaceOrderResult>,
    pub in_time: NumberString,
    pub out_time: NumberString,
    pub extra: BTreeMap<String, Value>,
}

Fields§

§id: String

Client request ID.

§op: String

Operation name, e.g. order or sprd-order.

§code: String

Top-level OKX response code.

§msg: String

Top-level OKX response message.

§data: Vec<PlaceOrderResult>

Per-request result rows.

§in_time: NumberString

Gateway receive timestamp in microseconds.

§out_time: NumberString

Gateway send timestamp in microseconds.

§extra: BTreeMap<String, Value>

Fields introduced by OKX after this crate version.