|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
Top-level fields mirror an order row from /order/history (orderId, symbol, quote, side, orderType, limitPrice, avgFilledPrice, qty, notional, filledQty, filledTotal, fee, session, status, createdAt, updatedAt), plus a trades array. More...
#include <equity_order_detail_response.hpp>
Public Member Functions | |
| bool | operator== (const EquityOrderDetailResponse &) const =default |
Public Attributes | |
| std::optional< std::string > | order_id |
| Equity order id. | |
| std::optional< std::string > | client_order_id |
| Client-supplied order id. Present only in Order Detail, not in Order History. | |
| std::optional< std::string > | symbol |
| US-equity ticker. | |
| std::optional< std::string > | quote |
| Quote asset. | |
| std::optional< std::string > | side |
| BUY / SELL. | |
| std::optional< std::string > | order_type |
| MARKET / LIMIT. | |
| std::optional< std::optional< std::string > > | limit_price |
| Limit price (USD). | |
| std::optional< std::optional< std::string > > | avg_filled_price |
| Average fill price (USD). | |
| std::optional< std::optional< std::string > > | qty |
| Requested quantity. | |
| std::optional< std::optional< std::string > > | notional |
| Requested notional. | |
| std::optional< std::string > | filled_qty |
| Cumulative filled quantity. | |
| std::optional< std::optional< std::string > > | filled_total |
| Cumulative filled notional. | |
| std::optional< std::string > | fee |
| Total commission fee (USD). | |
| std::optional< std::optional< std::string > > | session |
| Trading session. | |
| std::optional< std::string > | status |
| Order lifecycle status. | |
| std::optional< std::int64_t > | created_at |
| Order creation time (ms epoch). | |
| std::optional< std::int64_t > | updated_at |
| Last update time (ms epoch). | |
| std::optional< std::vector< EquityOrderDetailResponseTradesInner > > | trades |
| Trade executions for this order, most recent first. Empty array when no fills. | |
Top-level fields mirror an order row from /order/history (orderId, symbol, quote, side, orderType, limitPrice, avgFilledPrice, qty, notional, filledQty, filledTotal, fee, session, status, createdAt, updatedAt), plus a trades array.
clientOrderId is present only in Order Detail, not in Order History.
|
default |
| std::optional<std::string> binance::stocks::rest_api::EquityOrderDetailResponse::order_id |
Equity order id.
| std::optional<std::string> binance::stocks::rest_api::EquityOrderDetailResponse::client_order_id |
Client-supplied order id. Present only in Order Detail, not in Order History.
| std::optional<std::string> binance::stocks::rest_api::EquityOrderDetailResponse::symbol |
US-equity ticker.
| std::optional<std::string> binance::stocks::rest_api::EquityOrderDetailResponse::quote |
Quote asset.
| std::optional<std::string> binance::stocks::rest_api::EquityOrderDetailResponse::side |
BUY / SELL.
| std::optional<std::string> binance::stocks::rest_api::EquityOrderDetailResponse::order_type |
MARKET / LIMIT.
| std::optional<std::optional<std::string> > binance::stocks::rest_api::EquityOrderDetailResponse::limit_price |
Limit price (USD).
Non-null for LIMIT, null for MARKET. std::nullopt when the field is absent; holds std::nullopt when it is null.
| std::optional<std::optional<std::string> > binance::stocks::rest_api::EquityOrderDetailResponse::avg_filled_price |
Average fill price (USD).
Only present when the order has at least one fill. std::nullopt when the field is absent; holds std::nullopt when it is null.
| std::optional<std::optional<std::string> > binance::stocks::rest_api::EquityOrderDetailResponse::qty |
Requested quantity.
std::nullopt when the field is absent; holds std::nullopt when it is null.
| std::optional<std::optional<std::string> > binance::stocks::rest_api::EquityOrderDetailResponse::notional |
Requested notional.
std::nullopt when the field is absent; holds std::nullopt when it is null.
| std::optional<std::string> binance::stocks::rest_api::EquityOrderDetailResponse::filled_qty |
Cumulative filled quantity.
| std::optional<std::optional<std::string> > binance::stocks::rest_api::EquityOrderDetailResponse::filled_total |
Cumulative filled notional.
std::nullopt when the field is absent; holds std::nullopt when it is null.
| std::optional<std::string> binance::stocks::rest_api::EquityOrderDetailResponse::fee |
Total commission fee (USD).
| std::optional<std::optional<std::string> > binance::stocks::rest_api::EquityOrderDetailResponse::session |
Trading session.
std::nullopt when the field is absent; holds std::nullopt when it is null.
| std::optional<std::string> binance::stocks::rest_api::EquityOrderDetailResponse::status |
Order lifecycle status.
| std::optional<std::int64_t> binance::stocks::rest_api::EquityOrderDetailResponse::created_at |
Order creation time (ms epoch).
| std::optional<std::int64_t> binance::stocks::rest_api::EquityOrderDetailResponse::updated_at |
Last update time (ms epoch).
| std::optional<std::vector<EquityOrderDetailResponseTradesInner> > binance::stocks::rest_api::EquityOrderDetailResponse::trades |
Trade executions for this order, most recent first. Empty array when no fills.