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

#include <depth_response_result.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::int64_t > last_update_id
std::optional< std::vector< std::vector< std::string > > > bids
 Bid orders. Each entry is [price, quantity].
std::optional< std::vector< std::vector< std::string > > > asks
 Ask orders. Each entry is [price, quantity].

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ last_update_id

std::optional<std::int64_t> binance::spot::websocket_api::DepthResponseResult::last_update_id

◆ bids

std::optional<std::vector<std::vector<std::string> > > binance::spot::websocket_api::DepthResponseResult::bids

Bid orders. Each entry is [price, quantity].

◆ asks

std::optional<std::vector<std::vector<std::string> > > binance::spot::websocket_api::DepthResponseResult::asks

Ask orders. Each entry is [price, quantity].