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

#include <option_order_history_response_rows_inner.hpp>

Public Member Functions

bool operator== (const OptionOrderHistoryResponseRowsInner &) 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).

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ order_id

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

Option order ID.

◆ client_order_id

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

Client order ID.

◆ symbol

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

OCC option contract symbol.

◆ underlying_symbol

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

Underlying US-equity ticker.

◆ root_symbol

std::optional<std::string> binance::stock_options::rest_api::OptionOrderHistoryResponseRowsInner::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::OptionOrderHistoryResponseRowsInner::contract_type

CALL / PUT.

◆ strike_price

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

Strike price.

◆ expiration_date

std::optional<std::int64_t> binance::stock_options::rest_api::OptionOrderHistoryResponseRowsInner::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::OptionOrderHistoryResponseRowsInner::multiplier

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

◆ position_intent

std::optional<std::string> binance::stock_options::rest_api::OptionOrderHistoryResponseRowsInner::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::OptionOrderHistoryResponseRowsInner::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::OptionOrderHistoryResponseRowsInner::quote

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

◆ side

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

BUY / SELL.

◆ order_type

std::optional<std::string> binance::stock_options::rest_api::OptionOrderHistoryResponseRowsInner::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::OptionOrderHistoryResponseRowsInner::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::OptionOrderHistoryResponseRowsInner::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::OptionOrderHistoryResponseRowsInner::qty

Order quantity (contracts).

◆ filled_qty

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

Cumulative filled quantity (contracts).

◆ filled_total

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

Cumulative filled amount.

◆ fee

std::optional<std::string> binance::stock_options::rest_api::OptionOrderHistoryResponseRowsInner::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::OptionOrderHistoryResponseRowsInner::status

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

◆ created_at

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

Creation time (ms).

◆ updated_at

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

Last update time (ms).