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

#include <general_api.hpp>

Public Attributes

std::optional< std::string > symbol = std::nullopt
 Example: curl -X GET "https://api.binance.com/api/v3/exchangeInfo?symbol=BNBBTC".
std::optional< std::vector< std::string > > symbols = std::nullopt
 Examples: curl -X GET "https://api.binance.com/api/v3/exchangeInfo?symbols=%5B%22BNBBTC%22,%22BTCUSDT%22%5D" or curl -g -X GET 'https://api.binance.com/api/v3/exchangeInfo?symbols=["BTCUSDT","BNBBTC"]'.
std::optional< std::vector< ExchangeInfoPermissionsEnum > > permissions = std::nullopt
 Examples: curl -X GET "https://api.binance.com/api/v3/exchangeInfo?permissions=SPOT" curl -X GET "https://api.binance.com/api/v3/exchangeInfo?permissions=%5B%22MARGIN%22%2C%22LEVERAGED%22%5D" or curl -g -X GET 'https://api.binance.com/api/v3/exchangeInfo?permissions=["MARGIN","LEVERAGED"]'.
std::optional< bool > show_permission_sets = std::nullopt
 Controls whether the content of the permissionSets field is populated or not.
std::optional< ExchangeInfoSymbolStatusEnum > symbol_status = std::nullopt
 Filters for symbols that have this tradingStatus.

Member Data Documentation

◆ symbol

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

Example: curl -X GET "https://api.binance.com/api/v3/exchangeInfo?symbol=BNBBTC".

◆ symbols

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

Examples: curl -X GET "https://api.binance.com/api/v3/exchangeInfo?symbols=%5B%22BNBBTC%22,%22BTCUSDT%22%5D" or curl -g -X GET 'https://api.binance.com/api/v3/exchangeInfo?symbols=["BTCUSDT","BNBBTC"]'.

◆ permissions

std::optional<std::vector<ExchangeInfoPermissionsEnum> > binance::spot::rest_api::ExchangeInfoParams::permissions = std::nullopt

Examples: curl -X GET "https://api.binance.com/api/v3/exchangeInfo?permissions=SPOT" curl -X GET "https://api.binance.com/api/v3/exchangeInfo?permissions=%5B%22MARGIN%22%2C%22LEVERAGED%22%5D" or curl -g -X GET 'https://api.binance.com/api/v3/exchangeInfo?permissions=["MARGIN","LEVERAGED"]'.

◆ show_permission_sets

std::optional<bool> binance::spot::rest_api::ExchangeInfoParams::show_permission_sets = std::nullopt

Controls whether the content of the permissionSets field is populated or not.

◆ symbol_status

std::optional<ExchangeInfoSymbolStatusEnum> binance::spot::rest_api::ExchangeInfoParams::symbol_status = std::nullopt

Filters for symbols that have this tradingStatus.

Cannot be used in combination with symbols or symbol.