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

Kline payload. More...

#include <kline_response_k.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::int64_t > t
 Kline start time.
std::optional< std::int64_t > t_uppercase
 Kline close time.
std::optional< std::string > s
 Symbol.
std::optional< std::string > i
 Interval.
std::optional< std::int64_t > f
 First trade ID.
std::optional< std::int64_t > l_uppercase
 Last trade ID.
std::optional< std::string > o
 Open price.
std::optional< std::string > c
 Close price.
std::optional< std::string > h
 High price.
std::optional< std::string > l
 Low price.
std::optional< std::string > v
 Base asset volume.
std::optional< std::int64_t > n
 Number of trades.
std::optional< bool > x
 Is this kline closed?
std::optional< std::string > q
 Quote asset volume.
std::optional< std::string > v_uppercase
 Taker buy base asset volume.
std::optional< std::string > q_uppercase
 Taker buy quote asset volume.
std::optional< std::string > b_uppercase
 Ignore.

Detailed Description

Kline payload.

Member Function Documentation

◆ operator==()

bool binance::spot::websocket_streams::KlineResponseK::operator== ( const KlineResponseK & ) const
default

Member Data Documentation

◆ t

std::optional<std::int64_t> binance::spot::websocket_streams::KlineResponseK::t

Kline start time.

◆ t_uppercase

std::optional<std::int64_t> binance::spot::websocket_streams::KlineResponseK::t_uppercase

Kline close time.

◆ s

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::s

Symbol.

◆ i

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::i

Interval.

◆ f

std::optional<std::int64_t> binance::spot::websocket_streams::KlineResponseK::f

First trade ID.

◆ l_uppercase

std::optional<std::int64_t> binance::spot::websocket_streams::KlineResponseK::l_uppercase

Last trade ID.

◆ o

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::o

Open price.

◆ c

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::c

Close price.

◆ h

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::h

High price.

◆ l

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::l

Low price.

◆ v

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::v

Base asset volume.

◆ n

std::optional<std::int64_t> binance::spot::websocket_streams::KlineResponseK::n

Number of trades.

◆ x

std::optional<bool> binance::spot::websocket_streams::KlineResponseK::x

Is this kline closed?

◆ q

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::q

Quote asset volume.

◆ v_uppercase

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::v_uppercase

Taker buy base asset volume.

◆ q_uppercase

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::q_uppercase

Taker buy quote asset volume.

◆ b_uppercase

std::optional<std::string> binance::spot::websocket_streams::KlineResponseK::b_uppercase

Ignore.