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

#include <account_api.hpp>

Public Attributes

common::Required< std::string > symbol
std::optional< std::int64_t > order_id = std::nullopt
 This can only be used in combination with symbol.
std::optional< std::int64_t > start_time = std::nullopt
std::optional< std::int64_t > end_time = std::nullopt
std::optional< std::int64_t > from_id = std::nullopt
 TradeId to fetch from. Default gets most recent trades.
std::optional< std::int64_t > limit = std::nullopt
std::optional< common::Decimal > recv_window = std::nullopt
 Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.

Member Data Documentation

◆ symbol

common::Required<std::string> binance::spot::rest_api::MyTradesParams::symbol

◆ order_id

std::optional<std::int64_t> binance::spot::rest_api::MyTradesParams::order_id = std::nullopt

This can only be used in combination with symbol.

◆ start_time

std::optional<std::int64_t> binance::spot::rest_api::MyTradesParams::start_time = std::nullopt

◆ end_time

std::optional<std::int64_t> binance::spot::rest_api::MyTradesParams::end_time = std::nullopt

◆ from_id

std::optional<std::int64_t> binance::spot::rest_api::MyTradesParams::from_id = std::nullopt

TradeId to fetch from. Default gets most recent trades.

◆ limit

std::optional<std::int64_t> binance::spot::rest_api::MyTradesParams::limit = std::nullopt

◆ recv_window

std::optional<common::Decimal> binance::spot::rest_api::MyTradesParams::recv_window = std::nullopt

Supports up to three decimal places of precision (e.g., 6000.346) so that microseconds may be specified.