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

#include <depth_response.hpp>

Public Member Functions

bool operator== (const DepthResponse &) 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::rest_api::DepthResponse::operator== ( const DepthResponse & ) const
default

Member Data Documentation

◆ last_update_id

std::optional<std::int64_t> binance::spot::rest_api::DepthResponse::last_update_id

◆ bids

std::optional<std::vector<std::vector<std::string> > > binance::spot::rest_api::DepthResponse::bids

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

◆ asks

std::optional<std::vector<std::vector<std::string> > > binance::spot::rest_api::DepthResponse::asks

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