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

#include <ticker_response1_result.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
std::optional< std::string > price_change
 Absolute price change.
std::optional< std::string > price_change_percent
 Relative price change in percent.
std::optional< std::string > weighted_avg_price
 QuoteVolume / Volume.
std::optional< std::string > open_price
std::optional< std::string > high_price
std::optional< std::string > low_price
std::optional< std::string > last_price
std::optional< std::string > volume
std::optional< std::string > quote_volume
 Sum of (price * volume) for all trades.
std::optional< std::int64_t > open_time
 Open time for ticker window.
std::optional< std::int64_t > close_time
 Close time for ticker window.
std::optional< std::int64_t > first_id
 Trade IDs.
std::optional< std::int64_t > last_id
 Last trade ID.
std::optional< std::int64_t > count
 Number of trades in the interval.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ symbol

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

◆ price_change

std::optional<std::string> binance::spot::websocket_api::TickerResponse1Result::price_change

Absolute price change.

◆ price_change_percent

std::optional<std::string> binance::spot::websocket_api::TickerResponse1Result::price_change_percent

Relative price change in percent.

◆ weighted_avg_price

std::optional<std::string> binance::spot::websocket_api::TickerResponse1Result::weighted_avg_price

QuoteVolume / Volume.

◆ open_price

std::optional<std::string> binance::spot::websocket_api::TickerResponse1Result::open_price

◆ high_price

std::optional<std::string> binance::spot::websocket_api::TickerResponse1Result::high_price

◆ low_price

std::optional<std::string> binance::spot::websocket_api::TickerResponse1Result::low_price

◆ last_price

std::optional<std::string> binance::spot::websocket_api::TickerResponse1Result::last_price

◆ volume

std::optional<std::string> binance::spot::websocket_api::TickerResponse1Result::volume

◆ quote_volume

std::optional<std::string> binance::spot::websocket_api::TickerResponse1Result::quote_volume

Sum of (price * volume) for all trades.

◆ open_time

std::optional<std::int64_t> binance::spot::websocket_api::TickerResponse1Result::open_time

Open time for ticker window.

◆ close_time

std::optional<std::int64_t> binance::spot::websocket_api::TickerResponse1Result::close_time

Close time for ticker window.

◆ first_id

std::optional<std::int64_t> binance::spot::websocket_api::TickerResponse1Result::first_id

Trade IDs.

◆ last_id

std::optional<std::int64_t> binance::spot::websocket_api::TickerResponse1Result::last_id

Last trade ID.

◆ count

std::optional<std::int64_t> binance::spot::websocket_api::TickerResponse1Result::count

Number of trades in the interval.