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

#include <account_api.hpp>

Public Attributes

common::Required< std::string > symbol
std::optional< std::string > id = std::nullopt
 Client-generated request identifier.
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
 Timestamp in ms.
std::optional< std::int64_t > end_time = std::nullopt
 Timestamp in ms.
std::optional< std::int64_t > from_id = std::nullopt
 First trade ID to query.
std::optional< std::int64_t > limit = std::nullopt
 Default: 500; Maximum: 1000.
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::websocket_api::MyTradesParams::symbol

◆ id

std::optional<std::string> binance::spot::websocket_api::MyTradesParams::id = std::nullopt

Client-generated request identifier.

◆ order_id

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

This can only be used in combination with symbol.

◆ start_time

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

Timestamp in ms.

◆ end_time

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

Timestamp in ms.

◆ from_id

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

First trade ID to query.

◆ limit

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

Default: 500; Maximum: 1000.

◆ recv_window

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

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