Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::spot::websocket_api::TickerPriceParams 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
 Query price for a single symbol.
std::optional< std::vector< std::string > > symbols = std::nullopt
 Query price for multiple symbols.
std::optional< TickerPriceSymbolStatusEnum > symbol_status = std::nullopt
 Filters for symbols that have this tradingStatus.

Member Data Documentation

◆ id

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

Client-generated request identifier.

◆ symbol

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

Query price for a single symbol.

◆ symbols

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

Query price for multiple symbols.

◆ symbol_status

std::optional<TickerPriceSymbolStatusEnum> binance::spot::websocket_api::TickerPriceParams::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