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

#include <latest_quote_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
 US-equity ticker.
std::optional< std::string > bid_price
 Best bid price (USD).
std::optional< std::string > ask_price
 Best ask price (USD).
std::optional< std::int64_t > bid_size
 Best bid size (shares).
std::optional< std::int64_t > ask_size
 Best ask size (shares).

Member Function Documentation

◆ operator==()

bool binance::stocks::rest_api::LatestQuoteResponse::operator== ( const LatestQuoteResponse & ) const
default

Member Data Documentation

◆ symbol

std::optional<std::string> binance::stocks::rest_api::LatestQuoteResponse::symbol

US-equity ticker.

◆ bid_price

std::optional<std::string> binance::stocks::rest_api::LatestQuoteResponse::bid_price

Best bid price (USD).

◆ ask_price

std::optional<std::string> binance::stocks::rest_api::LatestQuoteResponse::ask_price

Best ask price (USD).

◆ bid_size

std::optional<std::int64_t> binance::stocks::rest_api::LatestQuoteResponse::bid_size

Best bid size (shares).

◆ ask_size

std::optional<std::int64_t> binance::stocks::rest_api::LatestQuoteResponse::ask_size

Best ask size (shares).