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

#include <user_data_api.hpp>

Public Attributes

common::Required< std::int64_t > start_time
 Start of the execution time (executionAt) filter (ms).
common::Required< std::int64_t > end_time
 End of the execution time (executionAt) filter (ms).
std::optional< std::string > underlying_symbol = std::nullopt
 Underlying US-equity ticker filter, e.g.
std::optional< OptionTradeHistorySideEnum > side = std::nullopt
 BUY / SELL.
std::optional< std::string > order_id = std::nullopt
 Return fills of this order only.
std::optional< std::int64_t > current = std::nullopt
 Page number. Default 1.
std::optional< std::int64_t > size = std::nullopt
 Page size. Default 20, max 100.
std::optional< std::int64_t > recv_window = std::nullopt
 The value cannot be greater than 60000.

Member Data Documentation

◆ start_time

common::Required<std::int64_t> binance::stock_options::rest_api::OptionTradeHistoryParams::start_time

Start of the execution time (executionAt) filter (ms).

◆ end_time

common::Required<std::int64_t> binance::stock_options::rest_api::OptionTradeHistoryParams::end_time

End of the execution time (executionAt) filter (ms).

◆ underlying_symbol

std::optional<std::string> binance::stock_options::rest_api::OptionTradeHistoryParams::underlying_symbol = std::nullopt

Underlying US-equity ticker filter, e.g.

NVDA, case-insensitive. Matches fills on all contracts of that underlying, not a single OCC contract. An unlisted or delisted ticker returns -26004.

◆ side

std::optional<OptionTradeHistorySideEnum> binance::stock_options::rest_api::OptionTradeHistoryParams::side = std::nullopt

BUY / SELL.

◆ order_id

std::optional<std::string> binance::stock_options::rest_api::OptionTradeHistoryParams::order_id = std::nullopt

Return fills of this order only.

◆ current

std::optional<std::int64_t> binance::stock_options::rest_api::OptionTradeHistoryParams::current = std::nullopt

Page number. Default 1.

◆ size

std::optional<std::int64_t> binance::stock_options::rest_api::OptionTradeHistoryParams::size = std::nullopt

Page size. Default 20, max 100.

◆ recv_window

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

The value cannot be greater than 60000.