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

#include <user_data_api.hpp>

Public Attributes

common::Required< std::int64_t > start_time
 Start of the order creation time (createdAt) filter (ms).
common::Required< std::int64_t > end_time
 End of the order creation time (createdAt) filter (ms).
std::optional< std::string > underlying_symbol = std::nullopt
 Underlying US-equity ticker filter, e.g.
std::optional< OptionOrderHistorySideEnum > side = std::nullopt
 BUY / SELL.
std::optional< std::string > order_status = std::nullopt
 Comma-separated status filter, without spaces: FILLED / PARTIALLY_FILLED / CANCELED / EXPIRED / REJECTED.
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::OptionOrderHistoryParams::start_time

Start of the order creation time (createdAt) filter (ms).

If the span to endTime exceeds 180 days, it is truncated to 180 days before endTime.

◆ end_time

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

End of the order creation time (createdAt) filter (ms).

◆ underlying_symbol

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

Underlying US-equity ticker filter, e.g.

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

◆ side

std::optional<OptionOrderHistorySideEnum> binance::stock_options::rest_api::OptionOrderHistoryParams::side = std::nullopt

BUY / SELL.

◆ order_status

std::optional<std::string> binance::stock_options::rest_api::OptionOrderHistoryParams::order_status = std::nullopt

Comma-separated status filter, without spaces: FILLED / PARTIALLY_FILLED / CANCELED / EXPIRED / REJECTED.

If omitted, all statuses are returned except open orders with no fills (NEW / ACCEPTED, etc.).

◆ current

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

Page number. Default 1.

◆ size

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

Page size. Default 20, max 100.

◆ recv_window

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

The value cannot be greater than 60000.