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

#include <quote_stream_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > e
 Event type, always "quote".
std::optional< std::int64_t > e_uppercase
 Event time — epoch milliseconds when the server pushed the message.
std::optional< std::string > s
 Symbol (UPPERCASE ticker), e.g. "AAPL".
std::optional< std::string > bp
 Best bid price.
std::optional< std::string > ap
 Best ask price.
std::optional< std::int64_t > bs
 Best bid size (shares).
std::optional< std::int64_t > as
 Best ask size (shares).
std::optional< std::optional< std::int64_t > > t_uppercase
 Source quote timestamp (epoch milliseconds); may be null.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ e

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

Event type, always "quote".

◆ e_uppercase

std::optional<std::int64_t> binance::stocks::websocket_streams::QuoteStreamResponse::e_uppercase

Event time — epoch milliseconds when the server pushed the message.

◆ s

std::optional<std::string> binance::stocks::websocket_streams::QuoteStreamResponse::s

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

◆ bp

std::optional<std::string> binance::stocks::websocket_streams::QuoteStreamResponse::bp

Best bid price.

◆ ap

std::optional<std::string> binance::stocks::websocket_streams::QuoteStreamResponse::ap

Best ask price.

◆ bs

std::optional<std::int64_t> binance::stocks::websocket_streams::QuoteStreamResponse::bs

Best bid size (shares).

◆ as

std::optional<std::int64_t> binance::stocks::websocket_streams::QuoteStreamResponse::as

Best ask size (shares).

◆ t_uppercase

std::optional<std::optional<std::int64_t> > binance::stocks::websocket_streams::QuoteStreamResponse::t_uppercase

Source quote timestamp (epoch milliseconds); may be null.

std::nullopt when the field is absent; holds std::nullopt when it is null.