binance_client/http_api_v3/data/open_orders/get/
response.rs1use rust_decimal::Decimal;
6use serde::Deserialize;
7
8use crate::http_api_v3::data::order_side::OrderSide;
9use crate::http_api_v3::data::order_status::OrderStatus;
10use crate::http_api_v3::data::order_time_in_force::OrderTimeInForce;
11use crate::http_api_v3::data::order_type::OrderType;
12
13pub type Response = Vec<OpenOrder>;
17
18#[derive(Debug, Deserialize, Clone)]
22#[serde(rename_all = "camelCase")]
23pub struct OpenOrder {
24 pub symbol: String,
26 pub order_id: i64,
28 pub order_list_id: i64,
30 pub client_order_id: String,
32 pub price: Decimal,
34 pub orig_qty: Decimal,
36 pub executed_qty: Decimal,
38 pub cummulative_quote_qty: Decimal,
40 pub status: OrderStatus,
42 pub time_in_force: OrderTimeInForce,
44 pub r#type: OrderType,
46 pub side: OrderSide,
48 pub stop_price: Decimal,
50 pub iceberg_qty: Decimal,
52 pub time: i64,
54 pub update_time: i64,
56 pub is_working: bool,
58 pub orig_quote_order_qty: Decimal,
60}