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

#include <reference_price_response_result.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
std::optional< std::optional< std::string > > reference_price
 std::nullopt when the field is absent; holds std::nullopt when it is null.
std::optional< std::int64_t > timestamp
 Timestamp when the reference price was valid.
std::optional< std::int64_t > code
std::optional< std::string > msg

Member Function Documentation

◆ operator==()

bool binance::spot::websocket_api::ReferencePriceResponseResult::operator== ( const ReferencePriceResponseResult & ) const
default

Member Data Documentation

◆ symbol

std::optional<std::string> binance::spot::websocket_api::ReferencePriceResponseResult::symbol

◆ reference_price

std::optional<std::optional<std::string> > binance::spot::websocket_api::ReferencePriceResponseResult::reference_price

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

◆ timestamp

std::optional<std::int64_t> binance::spot::websocket_api::ReferencePriceResponseResult::timestamp

Timestamp when the reference price was valid.

◆ code

std::optional<std::int64_t> binance::spot::websocket_api::ReferencePriceResponseResult::code

◆ msg

std::optional<std::string> binance::spot::websocket_api::ReferencePriceResponseResult::msg