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

#include <option_settlement_event_detail_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > event_id
 Event ID; use it with Option Settlement Event Detail.
std::optional< std::string > event_type
 EXERCISE / ASSIGNMENT / EXPIRY.
std::optional< std::string > status
 Event status. Only settled events are returned, so the value is always Completed.
std::optional< std::string > symbol
 OCC option contract symbol.
std::optional< std::string > underlying_symbol
 Underlying US-equity ticker.
std::optional< std::string > contract_type
 CALL / PUT.
std::optional< std::string > contracts
 Number of contracts, absolute value (unsigned), unlike the history endpoint.
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 > strike_price
 Strike price.
std::optional< std::string > share_delta
 Net change in underlying shares (signed).
std::optional< std::vector< OptionSettlementEventHistoryResponseRowsInnerDeliverablesInner > > deliverables
 Assets actually delivered. Empty array when nothing is delivered.
std::optional< std::int64_t > event_time
 Time the settlement record was created (ms).
std::optional< std::string > settlement_kind
 Settlement method: PHYSICAL (physical delivery) / CASH (cash settlement) / MIXED (both).
std::optional< std::string > underlying_price
 Reference price of the underlying when the event was generated, for display only; it is not used in the settlement calculation.
std::optional< std::string > cash_direction
 Cash direction: DEBIT / CREDIT. Not returned for EXPIRY events.
std::optional< std::string > amount
 Net cash amount (absolute value); see cashDirection for the direction.
std::optional< std::vector< OptionSettlementEventDetailResponseCollateralReleaseInner > > collateral_release
 Only for EXPIRY events on short positions (covered call / cash-secured put): collateral released back to the user, e.g.
std::optional< std::int64_t > updated_time
 Last update time (ms).

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ event_id

std::optional<std::string> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::event_id

Event ID; use it with Option Settlement Event Detail.

◆ event_type

std::optional<std::string> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::event_type

EXERCISE / ASSIGNMENT / EXPIRY.

◆ status

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

Event status. Only settled events are returned, so the value is always Completed.

◆ symbol

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

OCC option contract symbol.

◆ underlying_symbol

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

Underlying US-equity ticker.

◆ contract_type

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

CALL / PUT.

◆ contracts

std::optional<std::string> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::contracts

Number of contracts, absolute value (unsigned), unlike the history endpoint.

◆ expiration_date

std::optional<std::int64_t> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::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).

◆ strike_price

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

Strike price.

◆ share_delta

std::optional<std::string> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::share_delta

Net change in underlying shares (signed).

Not returned for EXPIRY events, or for events on adjusted contracts that deliver more than one stock (see deliverables).

◆ deliverables

std::optional<std::vector<OptionSettlementEventHistoryResponseRowsInnerDeliverablesInner> > binance::stock_options::rest_api::OptionSettlementEventDetailResponse::deliverables

Assets actually delivered. Empty array when nothing is delivered.

◆ event_time

std::optional<std::int64_t> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::event_time

Time the settlement record was created (ms).

◆ settlement_kind

std::optional<std::string> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::settlement_kind

Settlement method: PHYSICAL (physical delivery) / CASH (cash settlement) / MIXED (both).

Not returned for EXPIRY events.

◆ underlying_price

std::optional<std::string> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::underlying_price

Reference price of the underlying when the event was generated, for display only; it is not used in the settlement calculation.

Not returned if unavailable.

◆ cash_direction

std::optional<std::string> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::cash_direction

Cash direction: DEBIT / CREDIT. Not returned for EXPIRY events.

◆ amount

std::optional<std::string> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::amount

Net cash amount (absolute value); see cashDirection for the direction.

Not returned for EXPIRY events.

◆ collateral_release

std::optional<std::vector<OptionSettlementEventDetailResponseCollateralReleaseInner> > binance::stock_options::rest_api::OptionSettlementEventDetailResponse::collateral_release

Only for EXPIRY events on short positions (covered call / cash-secured put): collateral released back to the user, e.g.

the cash of a cash-secured put (strike × contracts × multiplier).

◆ updated_time

std::optional<std::int64_t> binance::stock_options::rest_api::OptionSettlementEventDetailResponse::updated_time

Last update time (ms).