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

Member Data Documentation

◆ id

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

Client-generated request identifier.

◆ symbol

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

Query ticker for a single symbol.

◆ symbols

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

Query ticker for multiple symbols.

◆ symbol_status

std::optional<TickerBookSymbolStatusEnum> binance::spot::websocket_api::TickerBookParams::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