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

#include <get_order_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
 symbol.
std::optional< std::int64_t > order_id
 order Id.
std::optional< std::int64_t > order_list_id
 This field will always have a value of -1 if not an order list.
std::optional< std::string > client_order_id
 client Order Id.
std::optional< std::string > price
 price.
std::optional< std::string > orig_qty
 orig Qty.
std::optional< std::string > executed_qty
 executed Qty.
std::optional< std::string > orig_quote_order_qty
 orig Quote Order Qty.
std::optional< std::string > cummulative_quote_qty
 cummulative Quote Qty.
std::optional< std::string > status
 status.
std::optional< std::string > time_in_force
 time In Force.
std::optional< std::string > type
 type.
std::optional< std::string > side
 side.
std::optional< std::string > stop_price
 Appears for STOP_LOSS, TAKE_PROFIT, STOP_LOSS_LIMIT, and TAKE_PROFIT_LIMIT orders.
std::optional< std::string > iceberg_qty
 Appears only if the parameter icebergQty was sent in the request.
std::optional< std::int64_t > time
 time.
std::optional< std::int64_t > update_time
 update Time.
std::optional< bool > is_working
 is Working.
std::optional< std::int64_t > working_time
 working Time.
std::optional< std::string > self_trade_prevention_mode
 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 > strategy_id
 Appears only if the strategyId parameter was provided upon order placement.
std::optional< std::int64_t > strategy_type
 Appears only if the strategyType parameter was provided upon order placement.
std::optional< std::int64_t > trailing_delta
 Delta price change required before order activation.
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.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ symbol

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

symbol.

◆ order_id

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

order Id.

◆ order_list_id

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

This field will always have a value of -1 if not an order list.

◆ client_order_id

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

client Order Id.

◆ price

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

price.

◆ orig_qty

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

orig Qty.

◆ executed_qty

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

executed Qty.

◆ orig_quote_order_qty

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

orig Quote Order Qty.

◆ cummulative_quote_qty

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

cummulative Quote Qty.

◆ status

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

status.

◆ time_in_force

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

time In Force.

◆ type

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

type.

◆ side

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

side.

◆ stop_price

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

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

◆ iceberg_qty

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

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

◆ time

std::optional<std::int64_t> binance::spot::rest_api::GetOrderResponse::time

time.

◆ update_time

std::optional<std::int64_t> binance::spot::rest_api::GetOrderResponse::update_time

update Time.

◆ is_working

std::optional<bool> binance::spot::rest_api::GetOrderResponse::is_working

is Working.

◆ working_time

std::optional<std::int64_t> binance::spot::rest_api::GetOrderResponse::working_time

working Time.

◆ self_trade_prevention_mode

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

self Trade Prevention Mode.

◆ prevented_match_id

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

Appears only if the order expired due to STP.

◆ prevented_quantity

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

Order quantity that expired due to STP.

◆ strategy_id

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

Appears only if the strategyId parameter was provided upon order placement.

◆ strategy_type

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

Appears only if the strategyType parameter was provided upon order placement.

◆ trailing_delta

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

Delta price change required before order activation.

◆ trailing_time

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

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

◆ used_sor

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

Field that determines whether order used SOR.

◆ working_floor

std::optional<std::string> binance::spot::rest_api::GetOrderResponse::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::rest_api::GetOrderResponse::peg_price_type

Price peg type. Only for pegged orders.

◆ peg_offset_type

std::optional<std::string> binance::spot::rest_api::GetOrderResponse::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::GetOrderResponse::peg_offset_value

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

◆ pegged_price

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

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

◆ expiry_reason

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

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