Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::spot::websocket_api::OrderStatusResponseResult Struct Reference

#include <order_status_response_result.hpp>

Public Member Functions

bool operator== (const OrderStatusResponseResult &) const =default

Public Attributes

std::optional< std::string > symbol
std::optional< std::int64_t > order_id
std::optional< std::int64_t > order_list_id
 Present only for orders that belong to an order list.
std::optional< std::string > client_order_id
std::optional< std::string > price
std::optional< std::string > orig_qty
std::optional< std::string > executed_qty
std::optional< std::string > orig_quote_order_qty
 Always present. Zero if the order type does not use quoteOrderQty.
std::optional< std::string > cummulative_quote_qty
std::optional< std::string > status
std::optional< std::string > time_in_force
std::optional< std::string > type
std::optional< std::string > side
std::optional< std::string > stop_price
 Always present. Zero if the order type does not use stopPrice.
std::optional< std::int64_t > trailing_delta
 Present only if trailingDelta was set on the order.
std::optional< std::int64_t > trailing_time
 Present only if trailingDelta was set on the order.
std::optional< std::string > iceberg_qty
 Always present. Zero for non-iceberg orders.
std::optional< std::int64_t > time
 Order placement time.
std::optional< std::int64_t > update_time
 Time of the last update to the order.
std::optional< bool > is_working
std::optional< std::int64_t > working_time
std::optional< std::int64_t > strategy_id
 Present only if strategyId was set on the order.
std::optional< std::int64_t > strategy_type
 Present only if strategyType was set on the order.
std::optional< std::string > self_trade_prevention_mode
std::optional< std::int64_t > prevented_match_id
 Present only if the order expired due to STP.
std::optional< std::string > prevented_quantity
 Present only if the order expired due to STP.
std::optional< bool > used_sor
 Field that determines whether order used SOR.
std::optional< std::string > working_floor
 Determines whether the order is being filled by the SOR or by the order book.
std::optional< std::string > peg_price_type
 Price peg type. Only for pegged orders.
std::optional< std::string > peg_offset_type
 Price peg offset type. Only for pegged orders, if requested.
std::optional< std::int64_t > peg_offset_value
 Price peg offset value. Only for pegged orders, if requested.
std::optional< std::string > pegged_price
 Current price order is pegged at. Only for pegged orders, once determined.
std::optional< std::string > expiry_reason
 Cause of the order's expiration. Appears when an order has expired.

Member Function Documentation

◆ operator==()

bool binance::spot::websocket_api::OrderStatusResponseResult::operator== ( const OrderStatusResponseResult & ) const
default

Member Data Documentation

◆ symbol

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::symbol

◆ order_id

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::order_id

◆ order_list_id

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::order_list_id

Present only for orders that belong to an order list.

◆ client_order_id

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::client_order_id

◆ price

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::price

◆ orig_qty

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::orig_qty

◆ executed_qty

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::executed_qty

◆ orig_quote_order_qty

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::orig_quote_order_qty

Always present. Zero if the order type does not use quoteOrderQty.

◆ cummulative_quote_qty

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::cummulative_quote_qty

◆ status

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::status

◆ time_in_force

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::time_in_force

◆ type

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::type

◆ side

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::side

◆ stop_price

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::stop_price

Always present. Zero if the order type does not use stopPrice.

◆ trailing_delta

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::trailing_delta

Present only if trailingDelta was set on the order.

◆ trailing_time

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::trailing_time

Present only if trailingDelta was set on the order.

◆ iceberg_qty

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::iceberg_qty

Always present. Zero for non-iceberg orders.

◆ time

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::time

Order placement time.

◆ update_time

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::update_time

Time of the last update to the order.

◆ is_working

std::optional<bool> binance::spot::websocket_api::OrderStatusResponseResult::is_working

◆ working_time

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::working_time

◆ strategy_id

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::strategy_id

Present only if strategyId was set on the order.

◆ strategy_type

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::strategy_type

Present only if strategyType was set on the order.

◆ self_trade_prevention_mode

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::self_trade_prevention_mode

◆ prevented_match_id

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::prevented_match_id

Present only if the order expired due to STP.

◆ prevented_quantity

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::prevented_quantity

Present only if the order expired due to STP.

◆ used_sor

std::optional<bool> binance::spot::websocket_api::OrderStatusResponseResult::used_sor

Field that determines whether order used SOR.

◆ working_floor

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::working_floor

Determines whether the order is being filled by the SOR or by the order book.

◆ peg_price_type

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::peg_price_type

Price peg type. Only for pegged orders.

◆ peg_offset_type

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::peg_offset_type

Price peg offset type. Only for pegged orders, if requested.

◆ peg_offset_value

std::optional<std::int64_t> binance::spot::websocket_api::OrderStatusResponseResult::peg_offset_value

Price peg offset value. Only for pegged orders, if requested.

◆ pegged_price

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::pegged_price

Current price order is pegged at. Only for pegged orders, once determined.

◆ expiry_reason

std::optional<std::string> binance::spot::websocket_api::OrderStatusResponseResult::expiry_reason

Cause of the order's expiration. Appears when an order has expired.