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

#include <ticker_response1.hpp>

Public Member Functions

bool operator== (const TickerResponse1 &) 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
std::optional< std::int64_t > count
 Number of trades in the interval.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ symbol

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

◆ price_change

std::optional<std::string> binance::spot::rest_api::TickerResponse1::price_change

Absolute price change.

◆ price_change_percent

std::optional<std::string> binance::spot::rest_api::TickerResponse1::price_change_percent

Relative price change in percent.

◆ weighted_avg_price

std::optional<std::string> binance::spot::rest_api::TickerResponse1::weighted_avg_price

QuoteVolume / Volume.

◆ open_price

std::optional<std::string> binance::spot::rest_api::TickerResponse1::open_price

◆ high_price

std::optional<std::string> binance::spot::rest_api::TickerResponse1::high_price

◆ low_price

std::optional<std::string> binance::spot::rest_api::TickerResponse1::low_price

◆ last_price

std::optional<std::string> binance::spot::rest_api::TickerResponse1::last_price

◆ volume

std::optional<std::string> binance::spot::rest_api::TickerResponse1::volume

◆ quote_volume

std::optional<std::string> binance::spot::rest_api::TickerResponse1::quote_volume

Sum of (price * volume) for all trades.

◆ open_time

std::optional<std::int64_t> binance::spot::rest_api::TickerResponse1::open_time

Open time for ticker window.

◆ close_time

std::optional<std::int64_t> binance::spot::rest_api::TickerResponse1::close_time

Close time for ticker window.

◆ first_id

std::optional<std::int64_t> binance::spot::rest_api::TickerResponse1::first_id

Trade IDs.

◆ last_id

std::optional<std::int64_t> binance::spot::rest_api::TickerResponse1::last_id

◆ count

std::optional<std::int64_t> binance::spot::rest_api::TickerResponse1::count

Number of trades in the interval.