|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <order_report_stream_response.hpp>
Public Member Functions | |
| bool | operator== (const OrderReportStreamResponse &) const =default |
Public Attributes | |
| std::optional< std::string > | e |
| Event type, always "orderReport". | |
| std::optional< std::int64_t > | e_uppercase |
| Event time (epoch milliseconds); server push time. | |
| std::optional< std::string > | x |
| Execution type: "ORDER_UPDATE" (still open) or "ORDER_TERMINAL" (reached terminal state). | |
| std::optional< std::string > | i |
| Order ID (UUID). | |
| std::optional< std::string > | ai |
| Asset ID (internal identifier). | |
| std::optional< std::string > | b |
| Base asset — the internal asset code with an EQ_ prefix (e.g. | |
| std::optional< std::string > | q |
| Quote currency, e.g. "USD". | |
| std::optional< std::string > | s_uppercase |
| Order side: "buy" or "sell". Note: lowercase, unlike REST responses. | |
| std::optional< std::string > | o |
| Order type: "market" / "limit" / "stop" / "stop_limit" / "trailing_stop". | |
| std::optional< std::optional< common::Decimal > > | p |
| Limit price; null for market orders. | |
| std::optional< common::Decimal > | q_uppercase |
| Order quantity (shares); 0 when the order was submitted as notional. | |
| std::optional< std::optional< common::Decimal > > | n_uppercase |
| Order notional; set when the order was submitted as notional (market buy), null when submitted as quantity. | |
| std::optional< common::Decimal > | fq |
| Filled quantity. | |
| std::optional< common::Decimal > | fn_uppercase |
| Filled notional (= filledQty × filledAvgPrice). | |
| std::optional< common::Decimal > | tc |
| Total cost — cumulative buy-in cost including the commission fee. | |
| std::optional< common::Decimal > | z_uppercase |
| Fill progress percentage (0–100, 2 dp). By notional: FN / N × 100. By qty: fq / Q × 100. | |
| std::optional< std::string > | n |
| Trading session label, e.g. "Regular", "24 Hours Trading". | |
| std::optional< std::string > | s |
| Order status, e.g. | |
| std::optional< std::int64_t > | t_uppercase |
| Order create time (epoch milliseconds). | |
| std::optional< std::int64_t > | u_uppercase |
| Order update time (epoch milliseconds). | |
|
default |
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::e |
Event type, always "orderReport".
| std::optional<std::int64_t> binance::stocks::websocket_streams::OrderReportStreamResponse::e_uppercase |
Event time (epoch milliseconds); server push time.
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::x |
Execution type: "ORDER_UPDATE" (still open) or "ORDER_TERMINAL" (reached terminal state).
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::i |
Order ID (UUID).
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::ai |
Asset ID (internal identifier).
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::b |
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.
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::q |
Quote currency, e.g. "USD".
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::s_uppercase |
Order side: "buy" or "sell". Note: lowercase, unlike REST responses.
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::o |
Order type: "market" / "limit" / "stop" / "stop_limit" / "trailing_stop".
Note: lowercase.
| std::optional<std::optional<common::Decimal> > binance::stocks::websocket_streams::OrderReportStreamResponse::p |
Limit price; null for market orders.
std::nullopt when the field is absent; holds std::nullopt when it is null.
| std::optional<common::Decimal> binance::stocks::websocket_streams::OrderReportStreamResponse::q_uppercase |
Order quantity (shares); 0 when the order was submitted as notional.
| std::optional<std::optional<common::Decimal> > binance::stocks::websocket_streams::OrderReportStreamResponse::n_uppercase |
Order notional; set when the order was submitted as notional (market buy), null when submitted as quantity.
std::nullopt when the field is absent; holds std::nullopt when it is null.
| std::optional<common::Decimal> binance::stocks::websocket_streams::OrderReportStreamResponse::fq |
Filled quantity.
| std::optional<common::Decimal> binance::stocks::websocket_streams::OrderReportStreamResponse::fn_uppercase |
Filled notional (= filledQty × filledAvgPrice).
| std::optional<common::Decimal> binance::stocks::websocket_streams::OrderReportStreamResponse::tc |
Total cost — cumulative buy-in cost including the commission fee.
| std::optional<common::Decimal> binance::stocks::websocket_streams::OrderReportStreamResponse::z_uppercase |
Fill progress percentage (0–100, 2 dp). By notional: FN / N × 100. By qty: fq / Q × 100.
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::n |
Trading session label, e.g. "Regular", "24 Hours Trading".
| std::optional<std::string> binance::stocks::websocket_streams::OrderReportStreamResponse::s |
Order status, e.g.
"accepted", "partially_filled", "filled", "canceled". Note: lowercase, unlike REST responses.
| std::optional<std::int64_t> binance::stocks::websocket_streams::OrderReportStreamResponse::t_uppercase |
Order create time (epoch milliseconds).
| std::optional<std::int64_t> binance::stocks::websocket_streams::OrderReportStreamResponse::u_uppercase |
Order update time (epoch milliseconds).