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

#include <trade_api.hpp>

Public Attributes

common::Required< std::int64_t > start_time
 Start time (ms epoch).
common::Required< std::int64_t > end_time
 End time (ms epoch).
std::optional< std::string > symbol = std::nullopt
 US-equity ticker filter, e.g. NVDA.
std::optional< EquityOrderHistoryOrderTypeEnum > order_type = std::nullopt
 Order type filter: MARKET / LIMIT.
std::optional< EquityOrderHistorySideEnum > side = std::nullopt
 Side filter: BUY / SELL.
std::optional< std::string > order_status = std::nullopt
 Comma-separated status filter.
std::optional< std::int64_t > current = std::nullopt
 Page number, 1-based. 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::stocks::rest_api::EquityOrderHistoryParams::start_time

Start time (ms epoch).

◆ end_time

common::Required<std::int64_t> binance::stocks::rest_api::EquityOrderHistoryParams::end_time

End time (ms epoch).

◆ symbol

std::optional<std::string> binance::stocks::rest_api::EquityOrderHistoryParams::symbol = std::nullopt

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

◆ order_type

std::optional<EquityOrderHistoryOrderTypeEnum> binance::stocks::rest_api::EquityOrderHistoryParams::order_type = std::nullopt

Order type filter: MARKET / LIMIT.

◆ side

std::optional<EquityOrderHistorySideEnum> binance::stocks::rest_api::EquityOrderHistoryParams::side = std::nullopt

Side filter: BUY / SELL.

◆ order_status

std::optional<std::string> binance::stocks::rest_api::EquityOrderHistoryParams::order_status = std::nullopt

Comma-separated status filter.

Allowed values: FILLED, PARTIALLY_FILLED, CANCELED, EXPIRED, REJECTED.

◆ current

std::optional<std::int64_t> binance::stocks::rest_api::EquityOrderHistoryParams::current = std::nullopt

Page number, 1-based. Default 1.

◆ size

std::optional<std::int64_t> binance::stocks::rest_api::EquityOrderHistoryParams::size = std::nullopt

Page size. Default 20, max 100.

◆ recv_window

std::optional<std::int64_t> binance::stocks::rest_api::EquityOrderHistoryParams::recv_window = std::nullopt

The value cannot be greater than 60000.