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

#include <trade_api.hpp>

Public Attributes

common::Required< std::string > symbol
 OCC contract symbol to exercise.
common::Required< std::string > quantity
 Number of contracts to exercise. Whole number, minimum 1, up to availableQty.
std::optional< std::string > quote_asset = std::nullopt
 Quote asset. Only USDC (default) is supported; other values return 497104.
std::optional< std::string > client_order_id = std::nullopt
 Client ID. Format ^[a-zA-Z0-9-_]{32,36}$. Generated by the server when omitted.
std::optional< std::int64_t > recv_window = std::nullopt
 The value cannot be greater than 60000.

Member Data Documentation

◆ symbol

common::Required<std::string> binance::stock_options::rest_api::SubmitOptionExerciseParams::symbol

OCC contract symbol to exercise.

◆ quantity

common::Required<std::string> binance::stock_options::rest_api::SubmitOptionExerciseParams::quantity

Number of contracts to exercise. Whole number, minimum 1, up to availableQty.

◆ quote_asset

std::optional<std::string> binance::stock_options::rest_api::SubmitOptionExerciseParams::quote_asset = std::nullopt

Quote asset. Only USDC (default) is supported; other values return 497104.

◆ client_order_id

std::optional<std::string> binance::stock_options::rest_api::SubmitOptionExerciseParams::client_order_id = std::nullopt

Client ID. Format ^[a-zA-Z0-9-_]{32,36}$. Generated by the server when omitted.

◆ recv_window

std::optional<std::int64_t> binance::stock_options::rest_api::SubmitOptionExerciseParams::recv_window = std::nullopt

The value cannot be greater than 60000.