Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::spot::rest_api::TickerTradingDayParams 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.
std::optional< std::string > time_zone = std::nullopt
 Default: 0 (UTC).
std::optional< TickerTradingDayTypeEnum > type = std::nullopt
std::optional< TickerTradingDaySymbolStatusEnum > symbol_status = std::nullopt
 Filters for symbols that have this tradingStatus.

Member Data Documentation

◆ symbol

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

Either symbol or symbols must be provided.

◆ symbols

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

◆ time_zone

std::optional<std::string> binance::spot::rest_api::TickerTradingDayParams::time_zone = std::nullopt

Default: 0 (UTC).

◆ type

std::optional<TickerTradingDayTypeEnum> binance::spot::rest_api::TickerTradingDayParams::type = std::nullopt

◆ symbol_status

std::optional<TickerTradingDaySymbolStatusEnum> binance::spot::rest_api::TickerTradingDayParams::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 symbols, non-matching ones are simply excluded from the response.