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

#include <ticker24hr_response1.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
 Symbol Name.
std::optional< std::string > price_change
std::optional< std::string > price_change_percent
std::optional< std::string > weighted_avg_price
std::optional< std::string > prev_close_price
std::optional< std::string > last_price
 Closing price of the interval.
std::optional< std::string > last_qty
std::optional< std::string > bid_price
std::optional< std::string > bid_qty
std::optional< std::string > ask_price
std::optional< std::string > ask_qty
std::optional< std::string > open_price
 Opening price of the Interval.
std::optional< std::string > high_price
 Highest price in the interval.
std::optional< std::string > low_price
 Lowest price in the interval.
std::optional< std::string > volume
 Total trade volume (in base asset).
std::optional< std::string > quote_volume
 Total trade volume (in quote asset).
std::optional< std::int64_t > open_time
 Start of the ticker interval.
std::optional< std::int64_t > close_time
 End of the ticker interval.
std::optional< std::int64_t > first_id
 First tradeId.
std::optional< std::int64_t > last_id
 Last tradeId.
std::optional< std::int64_t > count
 Trade count.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ symbol

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

Symbol Name.

◆ price_change

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

◆ price_change_percent

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

◆ weighted_avg_price

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

◆ prev_close_price

std::optional<std::string> binance::spot::rest_api::Ticker24hrResponse1::prev_close_price

◆ last_price

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

Closing price of the interval.

◆ last_qty

std::optional<std::string> binance::spot::rest_api::Ticker24hrResponse1::last_qty

◆ bid_price

std::optional<std::string> binance::spot::rest_api::Ticker24hrResponse1::bid_price

◆ bid_qty

std::optional<std::string> binance::spot::rest_api::Ticker24hrResponse1::bid_qty

◆ ask_price

std::optional<std::string> binance::spot::rest_api::Ticker24hrResponse1::ask_price

◆ ask_qty

std::optional<std::string> binance::spot::rest_api::Ticker24hrResponse1::ask_qty

◆ open_price

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

Opening price of the Interval.

◆ high_price

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

Highest price in the interval.

◆ low_price

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

Lowest price in the interval.

◆ volume

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

Total trade volume (in base asset).

◆ quote_volume

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

Total trade volume (in quote asset).

◆ open_time

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

Start of the ticker interval.

◆ close_time

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

End of the ticker interval.

◆ first_id

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

First tradeId.

◆ last_id

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

Last tradeId.

◆ count

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

Trade count.