pub struct OrderReportStreamResponse {Show 20 fields
pub e: Option<String>,
pub e_uppercase: Option<i64>,
pub x: Option<String>,
pub i: Option<String>,
pub ai: Option<String>,
pub b: Option<String>,
pub q: Option<String>,
pub s_uppercase: Option<String>,
pub o: Option<String>,
pub p: Option<Option<f64>>,
pub q_uppercase: Option<f64>,
pub n_uppercase: Option<Option<f64>>,
pub fq: Option<f64>,
pub fn_uppercase: Option<f64>,
pub tc: Option<f64>,
pub z_uppercase: Option<f64>,
pub n: Option<String>,
pub s: Option<String>,
pub t_uppercase: Option<i64>,
pub u_uppercase: Option<i64>,
}Fields§
§e: Option<String>Event type, always \"orderReport\".
e_uppercase: Option<i64>Event time (epoch milliseconds); server push time.
x: Option<String>Execution type: \"ORDER_UPDATE\" (still open) or \"ORDER_TERMINAL\" (reached terminal state).
i: Option<String>Order ID (UUID).
ai: Option<String>Asset ID (internal identifier).
b: Option<String>Base asset — the internal asset code with an EQ_ prefix (e.g. \"EQ_AAPL\"), not the bare ticker used in REST responses / order input. Strip the EQ_ prefix to match a symbol used elsewhere.
q: Option<String>Quote currency, e.g. \"USD\".
s_uppercase: Option<String>Order side: \"buy\" or \"sell\". Note: lowercase, unlike REST responses.
o: Option<String>Order type: \"market\" / \"limit\" / \"stop\" / \"stop_limit\" / \"trailing_stop\". Note: lowercase.
p: Option<Option<f64>>Limit price; null for market orders.
q_uppercase: Option<f64>Order quantity (shares); 0 when the order was submitted as notional.
n_uppercase: Option<Option<f64>>Order notional; set when the order was submitted as notional (market buy), null when submitted as quantity.
fq: Option<f64>Filled quantity.
fn_uppercase: Option<f64>Filled notional (= filledQty × filledAvgPrice).
tc: Option<f64>Total cost — cumulative buy-in cost including the commission fee.
z_uppercase: Option<f64>Fill progress percentage (0–100, 2 dp). By notional: FN / N × 100. By qty: fq / Q × 100.
n: Option<String>Trading session label, e.g. \"Regular\", \"24 Hours Trading\".
s: Option<String>Order status, e.g. \"accepted\", \"partially_filled\", \"filled\", \"canceled\". Note: lowercase, unlike REST responses.
t_uppercase: Option<i64>Order create time (epoch milliseconds).
u_uppercase: Option<i64>Order update time (epoch milliseconds).
Implementations§
Source§impl OrderReportStreamResponse
impl OrderReportStreamResponse
pub fn new() -> OrderReportStreamResponse
Trait Implementations§
Source§impl Clone for OrderReportStreamResponse
impl Clone for OrderReportStreamResponse
Source§fn clone(&self) -> OrderReportStreamResponse
fn clone(&self) -> OrderReportStreamResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more