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

#include <reference_price_calculation_response_result.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > symbol
std::optional< std::string > calculation_type
std::optional< std::int64_t > bucket_count
 If the reference price is being calculated by the matching engine as an arithmetic mean.
std::optional< std::int64_t > bucket_width_ms
 If the reference price is being calculated by the matching engine as an arithmetic mean.
std::optional< std::int64_t > external_calculation_id
 If the reference price is being calculated outside the matching engine.

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ symbol

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

◆ calculation_type

std::optional<std::string> binance::spot::websocket_api::ReferencePriceCalculationResponseResult::calculation_type

◆ bucket_count

std::optional<std::int64_t> binance::spot::websocket_api::ReferencePriceCalculationResponseResult::bucket_count

If the reference price is being calculated by the matching engine as an arithmetic mean.

◆ bucket_width_ms

std::optional<std::int64_t> binance::spot::websocket_api::ReferencePriceCalculationResponseResult::bucket_width_ms

If the reference price is being calculated by the matching engine as an arithmetic mean.

◆ external_calculation_id

std::optional<std::int64_t> binance::spot::websocket_api::ReferencePriceCalculationResponseResult::external_calculation_id

If the reference price is being calculated outside the matching engine.