|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
One data frame. msg holds the channel's payload.
More...
#include <kalshi/ws_models.hpp>
Public Attributes | |
| std::int64_t | sid {0} |
| The server's subscription ID, which changes after a reconnect. | |
| std::optional< std::int64_t > | seq |
| Present on sequenced channels. The client checks it for gaps. | |
| std::optional< std::int64_t > | id |
The command that asked for this frame, such as a get_snapshot. | |
| std::int64_t | subscription {0} |
Subscription::id of the subscription that produced the frame. | |
| T | msg |
One data frame. msg holds the channel's payload.
| std::int64_t kalshi::ws::Update< T >::sid {0} |
The server's subscription ID, which changes after a reconnect.
| std::optional<std::int64_t> kalshi::ws::Update< T >::seq |
Present on sequenced channels. The client checks it for gaps.
| std::optional<std::int64_t> kalshi::ws::Update< T >::id |
The command that asked for this frame, such as a get_snapshot.
| std::int64_t kalshi::ws::Update< T >::subscription {0} |
Subscription::id of the subscription that produced the frame.
| T kalshi::ws::Update< T >::msg |