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

#include <option_order_detail_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > order_id
 Option order ID.
std::optional< std::string > client_order_id
 Client order ID.
std::optional< std::string > symbol
 OCC option contract symbol.
std::optional< std::string > underlying_symbol
 Underlying US-equity ticker.
std::optional< std::string > root_symbol
 OCC root symbol.
std::optional< std::string > contract_type
 CALL / PUT.
std::optional< std::string > strike_price
 Strike price.
std::optional< std::int64_t > expiration_date
 Expiration date as the millisecond timestamp of 12:00 ET on the expiration day.
std::optional< std::string > multiplier
 Premium multiplier. Order cost = price × quantity × multiplier.
std::optional< std::string > position_intent
 Position intent: BUY_TO_OPEN / SELL_TO_CLOSE / SELL_TO_OPEN / BUY_TO_CLOSE.
std::optional< bool > auto_liquidation
 true if the order was initiated by the broker's automatic liquidation rather than by the user.
std::optional< std::string > quote
 Quote asset (named quoteAsset in Current Open Option Orders).
std::optional< std::string > side
 BUY / SELL.
std::optional< std::string > order_type
 Order type: LIMIT; MARKET for orders placed by the broker's automatic liquidation on the expiration date.
std::optional< std::string > limit_price
 Limit price (premium per share).
std::optional< std::string > avg_filled_price
 Average fill price (premium per share) as reported by the broker, returned for all order types.
std::optional< std::string > qty
 Order quantity (contracts).
std::optional< std::string > filled_qty
 Cumulative filled quantity (contracts).
std::optional< std::string > filled_total
 Cumulative filled amount.
std::optional< std::string > fee
 Cumulative fees = commission + sec + taf + cat + orf + occ (excluding platformFee).
std::optional< std::string > status
 Order status, e.g. FILLED / PARTIALLY_FILLED / CANCELED / EXPIRED / REJECTED.
std::optional< std::int64_t > created_at
 Creation time (ms).
std::optional< std::int64_t > updated_at
 Last update time (ms).
std::optional< std::string > time_in_force
 Time in force. Always DAY.
std::optional< std::string > commission
 Commission.
std::optional< std::string > platform_fee
 Platform fee.
std::optional< std::string > sec
 SEC fee. Charged on sell orders only; 0 for buy orders.
std::optional< std::string > taf
 FINRA TAF. Charged on sell orders only; 0 for buy orders.
std::optional< std::string > cat
 FINRA CAT fee.
std::optional< std::string > orf
 Options Regulatory Fee (ORF).
std::optional< std::string > occ
 OCC clearing fee.
std::optional< std::string > total
 Cumulative filled amount, same as filledTotal (average fill price × filled quantity × multiplier), excluding fees.
std::optional< std::int64_t > filled_at
 Fully filled time (ms).
std::optional< std::int64_t > canceled_at
 Cancel time (ms). Returned only for canceled orders.
std::optional< std::int64_t > expired_at
 Expiry time (ms). Returned only for expired orders.
std::optional< std::int64_t > settlement_date
 Millisecond timestamp of 14:00 ET on the settlement date.
std::optional< std::vector< OptionOrderDetailResponseTradesInner > > trades
 Fills of this order, sorted by execution time in descending order.

Member Function Documentation

◆ operator==()

bool binance::stock_options::rest_api::OptionOrderDetailResponse::operator== ( const OptionOrderDetailResponse & ) const
default

Member Data Documentation

◆ order_id

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::order_id

Option order ID.

◆ client_order_id

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::client_order_id

Client order ID.

◆ symbol

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::symbol

OCC option contract symbol.

◆ underlying_symbol

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::underlying_symbol

Underlying US-equity ticker.

◆ root_symbol

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::root_symbol

OCC root symbol.

Differs from underlyingSymbol for contracts adjusted by a corporate action (e.g. GOOG1).

◆ contract_type

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::contract_type

CALL / PUT.

◆ strike_price

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::strike_price

Strike price.

◆ expiration_date

std::optional<std::int64_t> binance::stock_options::rest_api::OptionOrderDetailResponse::expiration_date

Expiration date as the millisecond timestamp of 12:00 ET on the expiration day.

Convert in America/New_York and take the date part (see General Info).

◆ multiplier

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::multiplier

Premium multiplier. Order cost = price × quantity × multiplier.

◆ position_intent

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::position_intent

Position intent: BUY_TO_OPEN / SELL_TO_CLOSE / SELL_TO_OPEN / BUY_TO_CLOSE.

◆ auto_liquidation

std::optional<bool> binance::stock_options::rest_api::OptionOrderDetailResponse::auto_liquidation

true if the order was initiated by the broker's automatic liquidation rather than by the user.

◆ quote

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::quote

Quote asset (named quoteAsset in Current Open Option Orders).

◆ side

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::side

BUY / SELL.

◆ order_type

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::order_type

Order type: LIMIT; MARKET for orders placed by the broker's automatic liquidation on the expiration date.

◆ limit_price

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::limit_price

Limit price (premium per share).

Returned as reported by the broker regardless of order type; not returned for MARKET orders, which have no limit price.

◆ avg_filled_price

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::avg_filled_price

Average fill price (premium per share) as reported by the broker, returned for all order types.

Not returned if the order has no fills.

◆ qty

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::qty

Order quantity (contracts).

◆ filled_qty

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::filled_qty

Cumulative filled quantity (contracts).

◆ filled_total

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::filled_total

Cumulative filled amount.

◆ fee

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::fee

Cumulative fees = commission + sec + taf + cat + orf + occ (excluding platformFee).

Fees are returned at the order level only; individual fills carry no fee.

◆ status

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::status

Order status, e.g. FILLED / PARTIALLY_FILLED / CANCELED / EXPIRED / REJECTED.

◆ created_at

std::optional<std::int64_t> binance::stock_options::rest_api::OptionOrderDetailResponse::created_at

Creation time (ms).

◆ updated_at

std::optional<std::int64_t> binance::stock_options::rest_api::OptionOrderDetailResponse::updated_at

Last update time (ms).

◆ time_in_force

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::time_in_force

Time in force. Always DAY.

◆ commission

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::commission

Commission.

◆ platform_fee

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::platform_fee

Platform fee.

◆ sec

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::sec

SEC fee. Charged on sell orders only; 0 for buy orders.

◆ taf

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::taf

FINRA TAF. Charged on sell orders only; 0 for buy orders.

◆ cat

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::cat

FINRA CAT fee.

◆ orf

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::orf

Options Regulatory Fee (ORF).

◆ occ

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::occ

OCC clearing fee.

◆ total

std::optional<std::string> binance::stock_options::rest_api::OptionOrderDetailResponse::total

Cumulative filled amount, same as filledTotal (average fill price × filled quantity × multiplier), excluding fees.

◆ filled_at

std::optional<std::int64_t> binance::stock_options::rest_api::OptionOrderDetailResponse::filled_at

Fully filled time (ms).

◆ canceled_at

std::optional<std::int64_t> binance::stock_options::rest_api::OptionOrderDetailResponse::canceled_at

Cancel time (ms). Returned only for canceled orders.

◆ expired_at

std::optional<std::int64_t> binance::stock_options::rest_api::OptionOrderDetailResponse::expired_at

Expiry time (ms). Returned only for expired orders.

◆ settlement_date

std::optional<std::int64_t> binance::stock_options::rest_api::OptionOrderDetailResponse::settlement_date

Millisecond timestamp of 14:00 ET on the settlement date.

Returned only for sell orders with fills.

◆ trades

std::optional<std::vector<OptionOrderDetailResponseTradesInner> > binance::stock_options::rest_api::OptionOrderDetailResponse::trades

Fills of this order, sorted by execution time in descending order.

Individual fills carry no fee; see the order-level fee and itemized fees.