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

#include <reference_price_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
std::optional< std::optional< std::string > > reference_price
 Reference price.
std::optional< std::int64_t > timestamp
 Timestamp when reference price was valid.

Member Function Documentation

◆ operator==()

bool binance::spot::rest_api::ReferencePriceResponse::operator== ( const ReferencePriceResponse & ) const
default

Member Data Documentation

◆ symbol

std::optional<std::string> binance::spot::rest_api::ReferencePriceResponse::symbol

◆ reference_price

std::optional<std::optional<std::string> > binance::spot::rest_api::ReferencePriceResponse::reference_price

Reference price.

Can be null if no reference price is set. std::nullopt when the field is absent; holds std::nullopt when it is null.

◆ timestamp

std::optional<std::int64_t> binance::spot::rest_api::ReferencePriceResponse::timestamp

Timestamp when reference price was valid.