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

#include <trading_status_stream_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > e
 Event type, always "tradingStatus".
std::optional< std::string > symbol
 Symbol (UPPERCASE ticker), e.g. "AAPL".
std::optional< std::string > asset_code
 Internal asset code EQ_{symbol}; reference only.
std::optional< std::string > status
 Trading status.
std::optional< std::string > msg
 Reason code.
std::optional< std::int64_t > time
 Status-effective time (epoch milliseconds UTC). May be in the future.
std::optional< std::string > z
 Tape designation: C = CTA (NYSE / AMEX), N = UTP (Nasdaq).
std::optional< std::string > tradability
 Tradability after the status change: BUY_SELL / BUY / SELL / NONE.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ e

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

Event type, always "tradingStatus".

◆ symbol

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

Symbol (UPPERCASE ticker), e.g. "AAPL".

◆ asset_code

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

Internal asset code EQ_{symbol}; reference only.

◆ status

std::optional<std::string> binance::stocks::websocket_streams::TradingStatusStreamResponse::status

Trading status.

◆ msg

std::optional<std::string> binance::stocks::websocket_streams::TradingStatusStreamResponse::msg

Reason code.

◆ time

std::optional<std::int64_t> binance::stocks::websocket_streams::TradingStatusStreamResponse::time

Status-effective time (epoch milliseconds UTC). May be in the future.

◆ z

std::optional<std::string> binance::stocks::websocket_streams::TradingStatusStreamResponse::z

Tape designation: C = CTA (NYSE / AMEX), N = UTP (Nasdaq).

◆ tradability

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

Tradability after the status change: BUY_SELL / BUY / SELL / NONE.