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

#include <market_api.hpp>

Public Attributes

std::optional< std::string > symbol = std::nullopt
 Either symbol or symbols must be provided.
std::optional< std::vector< std::string > > symbols = std::nullopt
 Either symbol or symbols must be provided Examples of accepted format for the symbols parameter: ["BTCUSDT","BNBUSDT"] or %5B%22BTCUSDT%22,%22BNBUSDT%22%5D The maximum number of symbols allowed in a request is 100.
std::optional< TickerWindowSizeEnum > window_size = std::nullopt
 Units cannot be combined (e.g. 1d2h is not allowed).
std::optional< TickerTypeEnum > type = std::nullopt
std::optional< TickerSymbolStatusEnum > symbol_status = std::nullopt

Member Data Documentation

◆ symbol

std::optional<std::string> binance::spot::rest_api::TickerParams::symbol = std::nullopt

Either symbol or symbols must be provided.

◆ symbols

std::optional<std::vector<std::string> > binance::spot::rest_api::TickerParams::symbols = std::nullopt

Either symbol or symbols must be provided Examples of accepted format for the symbols parameter: ["BTCUSDT","BNBUSDT"] or %5B%22BTCUSDT%22,%22BNBUSDT%22%5D The maximum number of symbols allowed in a request is 100.

◆ window_size

std::optional<TickerWindowSizeEnum> binance::spot::rest_api::TickerParams::window_size = std::nullopt

Units cannot be combined (e.g. 1d2h is not allowed).

◆ type

std::optional<TickerTypeEnum> binance::spot::rest_api::TickerParams::type = std::nullopt

◆ symbol_status

std::optional<TickerSymbolStatusEnum> binance::spot::rest_api::TickerParams::symbol_status = std::nullopt