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

#include <calendar_stream_response.hpp>

Public Member Functions

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

Public Attributes

std::optional< std::string > e
 Event type, always "calendar".
std::optional< std::string > from
 Previous market phase.
std::optional< std::string > to
 New market phase.
std::optional< std::int64_t > ts
 Event timestamp (epoch milliseconds UTC) when the transition was detected.

Member Function Documentation

◆ operator==()

bool binance::stocks::websocket_streams::CalendarStreamResponse::operator== ( const CalendarStreamResponse & ) const
default

Member Data Documentation

◆ e

std::optional<std::string> binance::stocks::websocket_streams::CalendarStreamResponse::e

Event type, always "calendar".

◆ from

std::optional<std::string> binance::stocks::websocket_streams::CalendarStreamResponse::from

Previous market phase.

◆ to

std::optional<std::string> binance::stocks::websocket_streams::CalendarStreamResponse::to

New market phase.

◆ ts

std::optional<std::int64_t> binance::stocks::websocket_streams::CalendarStreamResponse::ts

Event timestamp (epoch milliseconds UTC) when the transition was detected.