Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::spot::rest_api::Ticker24hrParams 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< Ticker24hrTypeEnum > type = std::nullopt
std::optional< Ticker24hrSymbolStatusEnum > symbol_status = std::nullopt

Member Data Documentation

◆ symbol

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

Either symbol or symbols must be provided.

◆ symbols

std::optional<std::vector<std::string> > binance::spot::rest_api::Ticker24hrParams::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.

◆ type

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

◆ symbol_status

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