|
Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
|
#include <current_open_option_orders_response_inner.hpp>
Public Member Functions | |
| bool | operator== (const CurrentOpenOptionOrdersResponseInner &) 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< std::string > | quote_asset |
| 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 > | limit_price |
| Limit price (premium per share). | |
| std::optional< std::string > | qty |
| Order quantity (contracts). | |
| std::optional< std::string > | filled_qty |
| Cumulative filled quantity (contracts). | |
| std::optional< std::string > | filled_notional |
| Cumulative filled amount. | |
| std::optional< std::string > | total_cost |
| Amount locked from the wallet when the order was placed (a snapshot, not updated after fills or cancellation): premium plus fees for buy-to-open and for buy-to-close of a covered call; for buy-to-close of a cash-secured put, only the shortfall remaining after the released collateral (usually 0); the collateral for sell-to-open (number of shares for a covered call, cash for a cash-secured put); 0 for sell-to-close. | |
| std::optional< std::string > | filled_percent |
| Fill progress percentage (0–100). | |
| std::optional< std::string > | status |
| Order status: NEW / PENDING_NEW / ACCEPTED / PARTIALLY_FILLED / PENDING_CANCEL / PENDING_REPLACE. | |
| std::optional< std::int64_t > | created_at |
| Creation time (ms). | |
| std::optional< std::int64_t > | updated_at |
| Last update time (ms). | |
|
default |
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::order_id |
Option order ID.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::client_order_id |
Client order ID.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::symbol |
OCC option contract symbol.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::underlying_symbol |
Underlying US-equity ticker.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::root_symbol |
OCC root symbol.
Differs from underlyingSymbol for contracts adjusted by a corporate action (e.g. GOOG1).
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::contract_type |
CALL / PUT.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::strike_price |
Strike price.
| std::optional<std::int64_t> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::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).
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::multiplier |
Premium multiplier. Order cost = price × quantity × multiplier.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::position_intent |
Position intent: BUY_TO_OPEN / SELL_TO_CLOSE / SELL_TO_OPEN / BUY_TO_CLOSE.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::quote_asset |
Quote asset.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::side |
BUY / SELL.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::order_type |
Order type: LIMIT; MARKET for orders placed by the broker's automatic liquidation on the expiration date.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::limit_price |
Limit price (premium per share).
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::qty |
Order quantity (contracts).
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::filled_qty |
Cumulative filled quantity (contracts).
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::filled_notional |
Cumulative filled amount.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::total_cost |
Amount locked from the wallet when the order was placed (a snapshot, not updated after fills or cancellation): premium plus fees for buy-to-open and for buy-to-close of a covered call; for buy-to-close of a cash-secured put, only the shortfall remaining after the released collateral (usually 0); the collateral for sell-to-open (number of shares for a covered call, cash for a cash-secured put); 0 for sell-to-close.
Not returned for broker automatic liquidation orders.
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::filled_percent |
Fill progress percentage (0–100).
| std::optional<std::string> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::status |
Order status: NEW / PENDING_NEW / ACCEPTED / PARTIALLY_FILLED / PENDING_CANCEL / PENDING_REPLACE.
| std::optional<std::int64_t> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::created_at |
Creation time (ms).
| std::optional<std::int64_t> binance::stock_options::rest_api::CurrentOpenOptionOrdersResponseInner::updated_at |
Last update time (ms).