Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::stocks::rest_api::EquityTradeHistoryParams 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< EquityTradeHistorySideEnum > side = std::nullopt
 Side filter: BUY / SELL.
std::optional< std::string > order_id = std::nullopt
 Narrow the result to executions of a single order.
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::EquityTradeHistoryParams::start_time

Start time (ms epoch).

◆ end_time

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

End time (ms epoch).

◆ symbol

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

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

◆ side

std::optional<EquityTradeHistorySideEnum> binance::stocks::rest_api::EquityTradeHistoryParams::side = std::nullopt

Side filter: BUY / SELL.

◆ order_id

std::optional<std::string> binance::stocks::rest_api::EquityTradeHistoryParams::order_id = std::nullopt

Narrow the result to executions of a single order.

◆ current

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

Page number, 1-based. Default 1.

◆ size

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

Page size. Default 20, max 100.

◆ recv_window

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

The value cannot be greater than 60000.