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

#include <trade_api.hpp>

Public Attributes

common::Required< std::string > wallet_address
 User's prediction wallet address.
std::optional< std::string > l1_category = std::nullopt
 Filter by level-1 category.
std::optional< QueryOrderHistoryOrderTypeEnum > order_type = std::nullopt
 Filter by order type. Enum: MARKET, LIMIT.
std::optional< std::string > status = std::nullopt
 Filter by order status.
std::optional< std::string > start_date = std::nullopt
 Start date. Format: yyyy-MM-dd. Must be ≤ endDate.
std::optional< std::string > end_date = std::nullopt
 End date. Format: yyyy-MM-dd. Must be ≥ startDate.
std::optional< std::int64_t > offset = std::nullopt
 Pagination offset. Default 0.
std::optional< std::int64_t > limit = std::nullopt
 Page size. Default 20, range 1–100.
std::optional< std::int64_t > recv_window = std::nullopt
 Request validity window in milliseconds.

Member Data Documentation

◆ wallet_address

common::Required<std::string> binance::w3w_prediction::rest_api::QueryOrderHistoryParams::wallet_address

User's prediction wallet address.

◆ l1_category

std::optional<std::string> binance::w3w_prediction::rest_api::QueryOrderHistoryParams::l1_category = std::nullopt

Filter by level-1 category.

◆ order_type

std::optional<QueryOrderHistoryOrderTypeEnum> binance::w3w_prediction::rest_api::QueryOrderHistoryParams::order_type = std::nullopt

Filter by order type. Enum: MARKET, LIMIT.

◆ status

std::optional<std::string> binance::w3w_prediction::rest_api::QueryOrderHistoryParams::status = std::nullopt

Filter by order status.

◆ start_date

std::optional<std::string> binance::w3w_prediction::rest_api::QueryOrderHistoryParams::start_date = std::nullopt

Start date. Format: yyyy-MM-dd. Must be ≤ endDate.

◆ end_date

std::optional<std::string> binance::w3w_prediction::rest_api::QueryOrderHistoryParams::end_date = std::nullopt

End date. Format: yyyy-MM-dd. Must be ≥ startDate.

◆ offset

std::optional<std::int64_t> binance::w3w_prediction::rest_api::QueryOrderHistoryParams::offset = std::nullopt

Pagination offset. Default 0.

◆ limit

std::optional<std::int64_t> binance::w3w_prediction::rest_api::QueryOrderHistoryParams::limit = std::nullopt

Page size. Default 20, range 1–100.

◆ recv_window

std::optional<std::int64_t> binance::w3w_prediction::rest_api::QueryOrderHistoryParams::recv_window = std::nullopt

Request validity window in milliseconds.