kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
Loading...
Searching...
No Matches
kalshi::ws::OrderbookSnapshot Struct Reference

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::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.
 

Detailed Description

Complete view of the order book's aggregated price levels.

Member Data Documentation

◆ market_ticker

std::string kalshi::ws::OrderbookSnapshot::market_ticker

Unique market identifier.

◆ market_id

std::string kalshi::ws::OrderbookSnapshot::market_id

Unique market UUID.

◆ yes_dollars_fp

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.

◆ no_dollars_fp

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.


The documentation for this struct was generated from the following file: