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

#include <market_api.hpp>

Public Attributes

common::Required< std::string > symbol
std::optional< std::int64_t > limit = std::nullopt
 If limit > 7500, only 7500 entries will be returned.
std::optional< DepthSymbolStatusEnum > symbol_status = std::nullopt
 Filters for symbols that have this tradingStatus.

Member Data Documentation

◆ symbol

common::Required<std::string> binance::spot::rest_api::DepthParams::symbol

◆ limit

std::optional<std::int64_t> binance::spot::rest_api::DepthParams::limit = std::nullopt

If limit > 7500, only 7500 entries will be returned.

◆ symbol_status

std::optional<DepthSymbolStatusEnum> binance::spot::rest_api::DepthParams::symbol_status = std::nullopt

Filters for symbols that have this tradingStatus.

A status mismatch returns error -1220 SYMBOL_DOES_NOT_MATCH_STATUS.