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

#include <avg_price_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > e
 Event type.
std::optional< std::int64_t > e_uppercase
 Event time.
std::optional< std::string > s
 Symbol.
std::optional< std::string > i
 Average price interval.
std::optional< std::string > w
 Average price.
std::optional< std::int64_t > t_uppercase
 Last trade time.

Member Function Documentation

◆ operator==()

bool binance::spot::websocket_streams::AvgPriceResponse::operator== ( const AvgPriceResponse & ) const
default

Member Data Documentation

◆ e

std::optional<std::string> binance::spot::websocket_streams::AvgPriceResponse::e

Event type.

◆ e_uppercase

std::optional<std::int64_t> binance::spot::websocket_streams::AvgPriceResponse::e_uppercase

Event time.

◆ s

std::optional<std::string> binance::spot::websocket_streams::AvgPriceResponse::s

Symbol.

◆ i

std::optional<std::string> binance::spot::websocket_streams::AvgPriceResponse::i

Average price interval.

◆ w

std::optional<std::string> binance::spot::websocket_streams::AvgPriceResponse::w

Average price.

◆ t_uppercase

std::optional<std::int64_t> binance::spot::websocket_streams::AvgPriceResponse::t_uppercase

Last trade time.