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

#include <market_data_api.hpp>

Public Attributes

common::Required< std::string > underlying_symbol
 Underlying US-equity ticker, e.g. NVDA.
common::Required< std::string > expiration_date
 Expiration date in YYYY-MM-DD, taken from Option Expirations.
std::optional< std::string > root_symbol = std::nullopt
 OCC root.

Member Data Documentation

◆ underlying_symbol

common::Required<std::string> binance::stock_options::rest_api::OptionContractsParams::underlying_symbol

Underlying US-equity ticker, e.g. NVDA.

◆ expiration_date

common::Required<std::string> binance::stock_options::rest_api::OptionContractsParams::expiration_date

Expiration date in YYYY-MM-DD, taken from Option Expirations.

Other formats (e.g. 2026-9-30, 2026/09/30) are rejected.

◆ root_symbol

std::optional<std::string> binance::stock_options::rest_api::OptionContractsParams::root_symbol = std::nullopt

OCC root.

If omitted, only standard contracts are returned. To list corporate-action-adjusted contracts (e.g. GOOG1), pass the rootSymbol from Option Expirations.