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

#include <option_trade_history_response_rows_inner.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > execution_id
 Execution ID.
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.
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 > price
 Fill price (premium per share).
std::optional< std::string > qty
 Fill quantity (contracts).
std::optional< std::string > total
 Fill amount (price × qty × multiplier), excluding fees.
std::optional< std::int64_t > execution_at
 Execution time (ms).
std::optional< std::int64_t > updated_at
 Update time (ms).
std::optional< std::int64_t > settlement_date
 Millisecond timestamp of 14:00 ET on the settlement date. Returned for sell fills only.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ execution_id

std::optional<std::string> binance::stock_options::rest_api::OptionTradeHistoryResponseRowsInner::execution_id

Execution ID.

◆ order_id

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

Option order ID.

◆ client_order_id

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

Client order ID.

◆ symbol

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

OCC option contract symbol.

◆ underlying_symbol

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

Underlying US-equity ticker.

◆ root_symbol

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

CALL / PUT.

◆ strike_price

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

Strike price.

◆ expiration_date

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

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

◆ position_intent

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

Quote asset.

◆ side

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

BUY / SELL.

◆ order_type

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

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

◆ price

std::optional<std::string> binance::stock_options::rest_api::OptionTradeHistoryResponseRowsInner::price

Fill price (premium per share).

◆ qty

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

Fill quantity (contracts).

◆ total

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

Fill amount (price × qty × multiplier), excluding fees.

◆ execution_at

std::optional<std::int64_t> binance::stock_options::rest_api::OptionTradeHistoryResponseRowsInner::execution_at

Execution time (ms).

◆ updated_at

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

Update time (ms).

◆ settlement_date

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

Millisecond timestamp of 14:00 ET on the settlement date. Returned for sell fills only.