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

Update to be applied to the current order book view. More...

#include <kalshi/ws_models.hpp>

Public Attributes

std::string market_ticker
 Unique market identifier.
 
std::string market_id
 Unique market UUID.
 
std::string price_dollars
 Price level in dollars.
 
std::string delta_fp
 Fixed-point contract delta (2 decimals)
 
kalshi::Side side {}
 Market side.
 
std::optional< std::string > client_order_id
 Optional - Present only when you caused this orderbook change.
 
std::optional< std::string > ts
 Deprecated - Optional timestamp for when the orderbook change was recorded (RFC3339).
 
std::optional< std::int64_t > ts_ms
 Optional - Unix timestamp for when the orderbook change was recorded (in milliseconds)
 
std::optional< std::int64_t > subaccount
 Optional - Present only when you caused this orderbook change and are using subaccounts.
 

Detailed Description

Update to be applied to the current order book view.

Member Data Documentation

◆ market_ticker

std::string kalshi::ws::OrderbookDelta::market_ticker

Unique market identifier.

◆ market_id

std::string kalshi::ws::OrderbookDelta::market_id

Unique market UUID.

◆ price_dollars

std::string kalshi::ws::OrderbookDelta::price_dollars

Price level in dollars.

◆ delta_fp

std::string kalshi::ws::OrderbookDelta::delta_fp

Fixed-point contract delta (2 decimals)

◆ side

kalshi::Side kalshi::ws::OrderbookDelta::side {}

Market side.

◆ client_order_id

std::optional<std::string> kalshi::ws::OrderbookDelta::client_order_id

Optional - Present only when you caused this orderbook change.

◆ ts

std::optional<std::string> kalshi::ws::OrderbookDelta::ts

Deprecated - Optional timestamp for when the orderbook change was recorded (RFC3339).

◆ ts_ms

std::optional<std::int64_t> kalshi::ws::OrderbookDelta::ts_ms

Optional - Unix timestamp for when the orderbook change was recorded (in milliseconds)

◆ subaccount

std::optional<std::int64_t> kalshi::ws::OrderbookDelta::subaccount

Optional - Present only when you caused this orderbook change and are using subaccounts.


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