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

#include <market_api.hpp>

Public Attributes

std::optional< std::string > id = std::nullopt
 Client-generated request identifier.
std::optional< std::string > symbol = std::nullopt
std::optional< std::vector< std::string > > symbols = std::nullopt
std::optional< Ticker24hrTypeEnum > type = std::nullopt
 Ticker type. Supported values: FULL (default) or MINI.
std::optional< Ticker24hrSymbolStatusEnum > symbol_status = std::nullopt
 Filters for symbols that have this tradingStatus.

Member Data Documentation

◆ id

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

Client-generated request identifier.

◆ symbol

std::optional<std::string> binance::spot::websocket_api::Ticker24hrParams::symbol = std::nullopt

◆ symbols

std::optional<std::vector<std::string> > binance::spot::websocket_api::Ticker24hrParams::symbols = std::nullopt

◆ type

std::optional<Ticker24hrTypeEnum> binance::spot::websocket_api::Ticker24hrParams::type = std::nullopt

Ticker type. Supported values: FULL (default) or MINI.

◆ symbol_status

std::optional<Ticker24hrSymbolStatusEnum> binance::spot::websocket_api::Ticker24hrParams::symbol_status = std::nullopt

Filters for symbols that have this tradingStatus.

For a single symbol, a status mismatch returns error -1220 SYMBOL_DOES_NOT_MATCH_STATUS. For multiple or all symbols, non-matching ones are simply excluded from the response. Valid values: TRADING, HALT, BREAK, CANCEL_ONLY