|
kalshi-cpp 0.8.0
C++23 client for Kalshi's Predictions API
|
Complete view of the order book's aggregated price levels. More...
#include <kalshi/ws_models.hpp>
Public Attributes | |
| std::string | market_ticker |
| Unique market identifier. | |
| std::string | market_id |
| Unique market UUID. | |
| std::int64_t | clock {} |
| Exchange clock of the newest change this snapshot includes, or 0 if the market has no recorded change. | |
| std::optional< std::vector< std::array< std::string, 2 > > > | yes_dollars_fp |
| Optional - This key will not exist if there are no Yes offers in the orderbook. | |
| std::optional< std::vector< std::array< std::string, 2 > > > | no_dollars_fp |
| Optional - Same format as "yes_dollars_fp" but for the NO side of the orderbook. | |
Complete view of the order book's aggregated price levels.
| std::string kalshi::ws::OrderbookSnapshot::market_ticker |
Unique market identifier.
| std::string kalshi::ws::OrderbookSnapshot::market_id |
Unique market UUID.
| std::int64_t kalshi::ws::OrderbookSnapshot::clock {} |
Exchange clock of the newest change this snapshot includes, or 0 if the market has no recorded change.
| std::optional<std::vector<std::array<std::string, 2> > > kalshi::ws::OrderbookSnapshot::yes_dollars_fp |
Optional - This key will not exist if there are no Yes offers in the orderbook.
| std::optional<std::vector<std::array<std::string, 2> > > kalshi::ws::OrderbookSnapshot::no_dollars_fp |
Optional - Same format as "yes_dollars_fp" but for the NO side of the orderbook.