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

#include <order_cancel_response_result.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
std::optional< std::string > orig_client_order_id
 clientOrderId that was canceled
std::optional< std::int64_t > order_id
std::optional< std::int64_t > order_list_id
 set only for legs of an order list
std::optional< std::string > client_order_id
 newClientOrderId from request
std::optional< std::int64_t > transact_time
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
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
 present only if stopPrice set for the order
std::optional< std::int64_t > trailing_delta
 present only if trailingDelta set for the order
std::optional< std::string > iceberg_qty
 present only if icebergQty set for the order
std::optional< std::int64_t > strategy_id
 present only if strategyId set for the order
std::optional< std::int64_t > strategy_type
 present only if strategyType set for the order
std::optional< std::string > self_trade_prevention_mode
std::optional< std::int64_t > prevented_match_id
 Appears only if the order expired due to STP.
std::optional< std::string > prevented_quantity
 Order quantity that expired due to STP.
std::optional< std::int64_t > trailing_time
 Time when the trailing order is now active and tracking price changes.
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.
std::optional< std::string > contingency_type
std::optional< std::string > list_status_type
std::optional< std::string > list_order_status
std::optional< std::string > list_client_order_id
std::optional< std::int64_t > transaction_time
std::optional< std::vector< OpenOrdersCancelAllResponseResultInnerOrdersInner > > orders
std::optional< std::vector< OpenOrdersCancelAllResponseResultInnerOrderReportsInner > > order_reports
 order list order's status format is the same as for individual orders.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ symbol

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

◆ orig_client_order_id

std::optional<std::string> binance::spot::websocket_api::OrderCancelResponseResult::orig_client_order_id

clientOrderId that was canceled

◆ order_id

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

◆ order_list_id

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

set only for legs of an order list

◆ client_order_id

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

newClientOrderId from request

◆ transact_time

std::optional<std::int64_t> binance::spot::websocket_api::OrderCancelResponseResult::transact_time

◆ price

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

◆ orig_qty

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

◆ executed_qty

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

◆ orig_quote_order_qty

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

◆ cummulative_quote_qty

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

◆ status

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

◆ time_in_force

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

◆ type

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

◆ side

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

◆ stop_price

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

present only if stopPrice set for the order

◆ trailing_delta

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

present only if trailingDelta set for the order

◆ iceberg_qty

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

present only if icebergQty set for the order

◆ strategy_id

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

present only if strategyId set for the order

◆ strategy_type

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

present only if strategyType set for the order

◆ self_trade_prevention_mode

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

◆ prevented_match_id

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

Appears only if the order expired due to STP.

◆ prevented_quantity

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

Order quantity that expired due to STP.

◆ trailing_time

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

Time when the trailing order is now active and tracking price changes.

◆ used_sor

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

Field that determines whether order used SOR.

◆ working_floor

std::optional<std::string> binance::spot::websocket_api::OrderCancelResponseResult::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::OrderCancelResponseResult::peg_price_type

Price peg type. Only for pegged orders.

◆ peg_offset_type

std::optional<std::string> binance::spot::websocket_api::OrderCancelResponseResult::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::OrderCancelResponseResult::peg_offset_value

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

◆ pegged_price

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

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

◆ expiry_reason

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

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

◆ contingency_type

std::optional<std::string> binance::spot::websocket_api::OrderCancelResponseResult::contingency_type

◆ list_status_type

std::optional<std::string> binance::spot::websocket_api::OrderCancelResponseResult::list_status_type

◆ list_order_status

std::optional<std::string> binance::spot::websocket_api::OrderCancelResponseResult::list_order_status

◆ list_client_order_id

std::optional<std::string> binance::spot::websocket_api::OrderCancelResponseResult::list_client_order_id

◆ transaction_time

std::optional<std::int64_t> binance::spot::websocket_api::OrderCancelResponseResult::transaction_time

◆ orders

std::optional<std::vector<OpenOrdersCancelAllResponseResultInnerOrdersInner> > binance::spot::websocket_api::OrderCancelResponseResult::orders

◆ order_reports

std::optional<std::vector<OpenOrdersCancelAllResponseResultInnerOrderReportsInner> > binance::spot::websocket_api::OrderCancelResponseResult::order_reports

order list order's status format is the same as for individual orders.