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

#include <delete_order_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
std::optional< std::int64_t > order_id
std::optional< std::int64_t > order_list_id
 Unless it's part of an order list, value will be -1.
std::optional< std::string > orig_client_order_id
std::optional< std::string > client_order_id
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 > self_trade_prevention_mode
std::optional< std::string > iceberg_qty
 Quantity for the iceberg order.
std::optional< std::int64_t > prevented_match_id
 When used together with symbol, can be used to query a prevented match.
std::optional< std::string > prevented_quantity
 Order quantity that expired due to STP. Appears only if the order expired due to STP.
std::optional< std::string > stop_price
 Price when the algorithmic order will be triggered.
std::optional< std::int64_t > strategy_id
 Can be used to label an order that's part of an order strategy.
std::optional< std::int64_t > strategy_type
 Can be used to label an order that is using an order strategy.
std::optional< std::int64_t > trailing_delta
 Delta price change required before order activation. Appears for trailing stop orders.
std::optional< std::int64_t > trailing_time
 Time when the trailing order becomes active and starts tracking price changes.
std::optional< bool > used_sor
 Indicates whether the order used SOR. Appears when placing orders using SOR.
std::optional< std::string > working_floor
 Indicates whether the order is being filled by SOR or by the order book to which it was submitted.
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 the order is pegged at. Only for pegged orders, once determined.
std::optional< std::string > expiry_reason
 Cause of the order's expiration. Returned when an order has expired.

Member Function Documentation

◆ operator==()

bool binance::spot::rest_api::DeleteOrderResponse::operator== ( const DeleteOrderResponse & ) const
default

Member Data Documentation

◆ symbol

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::symbol

◆ order_id

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderResponse::order_id

◆ order_list_id

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderResponse::order_list_id

Unless it's part of an order list, value will be -1.

◆ orig_client_order_id

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::orig_client_order_id

◆ client_order_id

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::client_order_id

◆ transact_time

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderResponse::transact_time

◆ price

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::price

◆ orig_qty

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::orig_qty

◆ executed_qty

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::executed_qty

◆ orig_quote_order_qty

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::orig_quote_order_qty

◆ cummulative_quote_qty

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::cummulative_quote_qty

◆ status

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::status

◆ time_in_force

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::time_in_force

◆ type

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::type

◆ side

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::side

◆ self_trade_prevention_mode

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::self_trade_prevention_mode

◆ iceberg_qty

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::iceberg_qty

Quantity for the iceberg order.

Appears only if the parameter icebergQty was sent in the request.

◆ prevented_match_id

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderResponse::prevented_match_id

When used together with symbol, can be used to query a prevented match.

Appears only if the order expired due to STP.

◆ prevented_quantity

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::prevented_quantity

Order quantity that expired due to STP. Appears only if the order expired due to STP.

◆ stop_price

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::stop_price

Price when the algorithmic order will be triggered.

Appears for STOP_LOSS, TAKE_PROFIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT orders.

◆ strategy_id

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderResponse::strategy_id

Can be used to label an order that's part of an order strategy.

Appears if the parameter was populated in the request.

◆ strategy_type

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderResponse::strategy_type

Can be used to label an order that is using an order strategy.

Appears if the parameter was populated in the request.

◆ trailing_delta

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderResponse::trailing_delta

Delta price change required before order activation. Appears for trailing stop orders.

◆ trailing_time

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderResponse::trailing_time

Time when the trailing order becomes active and starts tracking price changes.

Appears only for trailing stop orders.

◆ used_sor

std::optional<bool> binance::spot::rest_api::DeleteOrderResponse::used_sor

Indicates whether the order used SOR. Appears when placing orders using SOR.

◆ working_floor

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::working_floor

Indicates whether the order is being filled by SOR or by the order book to which it was submitted.

Appears when placing orders using SOR.

◆ peg_price_type

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::peg_price_type

Price peg type. Only for pegged orders.

◆ peg_offset_type

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::peg_offset_type

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

◆ peg_offset_value

std::optional<std::int64_t> binance::spot::rest_api::DeleteOrderResponse::peg_offset_value

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

◆ pegged_price

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::pegged_price

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

◆ expiry_reason

std::optional<std::string> binance::spot::rest_api::DeleteOrderResponse::expiry_reason

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