Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::stocks::websocket_streams::TradabilityStreamResponse Struct Reference

#include <tradability_stream_response.hpp>

Public Member Functions

bool operator== (const TradabilityStreamResponse &) const =default

Public Attributes

std::optional< std::string > e
 Event type, always "tradability".
std::optional< std::string > symbol
 Symbol (UPPERCASE ticker).
std::optional< std::optional< std::string > > asset_code
 Internal asset code EQ_{symbol}; reference only.
std::optional< std::string > tradability
 The new tradability value.
std::optional< std::int64_t > t
 Push time (epoch milliseconds UTC).

Member Function Documentation

◆ operator==()

bool binance::stocks::websocket_streams::TradabilityStreamResponse::operator== ( const TradabilityStreamResponse & ) const
default

Member Data Documentation

◆ e

std::optional<std::string> binance::stocks::websocket_streams::TradabilityStreamResponse::e

Event type, always "tradability".

◆ symbol

std::optional<std::string> binance::stocks::websocket_streams::TradabilityStreamResponse::symbol

Symbol (UPPERCASE ticker).

◆ asset_code

std::optional<std::optional<std::string> > binance::stocks::websocket_streams::TradabilityStreamResponse::asset_code

Internal asset code EQ_{symbol}; reference only.

May be null for symbols not yet in the symbol dictionary. std::nullopt when the field is absent; holds std::nullopt when it is null.

◆ tradability

std::optional<std::string> binance::stocks::websocket_streams::TradabilityStreamResponse::tradability

The new tradability value.

OFFMARKET and DELISTING are protected states — trading-status events will not transition a symbol out of them.

◆ t

std::optional<std::int64_t> binance::stocks::websocket_streams::TradabilityStreamResponse::t

Push time (epoch milliseconds UTC).