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

Market price ticker information. More...

#include <kalshi/ws_models.hpp>

Public Attributes

std::string market_id
 Unique market UUID.
 
std::string market_ticker
 Unique market identifier.
 
std::string price_dollars
 Last traded price in dollars.
 
std::string yes_bid_dollars
 Best bid price for yes side in dollars.
 
std::string yes_ask_dollars
 Best ask price for yes side in dollars.
 
std::string volume_fp
 Fixed-point total contracts traded (2 decimals)
 
std::string open_interest_fp
 Fixed-point open interest (2 decimals)
 
std::int64_t dollar_volume {}
 Signed whole-dollar cumulative traded notional.
 
std::int64_t dollar_open_interest {}
 Signed whole-dollar open-interest notional.
 
std::string yes_bid_size_fp
 Fixed-point contracts at best bid (2 decimals)
 
std::string yes_ask_size_fp
 Fixed-point contracts at best ask (2 decimals)
 
std::string last_trade_size_fp
 Fixed-point contracts in last trade (2 decimals)
 
std::int64_t ts {}
 Deprecated - Unix timestamp for when the update happened (in seconds).
 
std::int64_t ts_ms {}
 Unix timestamp for when the update happened (in milliseconds)
 
std::string time
 Deprecated - Timestamp for when the update happened (RFC3339).
 

Detailed Description

Market price ticker information.

Member Data Documentation

◆ market_id

std::string kalshi::ws::Ticker::market_id

Unique market UUID.

◆ market_ticker

std::string kalshi::ws::Ticker::market_ticker

Unique market identifier.

◆ price_dollars

std::string kalshi::ws::Ticker::price_dollars

Last traded price in dollars.

◆ yes_bid_dollars

std::string kalshi::ws::Ticker::yes_bid_dollars

Best bid price for yes side in dollars.

◆ yes_ask_dollars

std::string kalshi::ws::Ticker::yes_ask_dollars

Best ask price for yes side in dollars.

◆ volume_fp

std::string kalshi::ws::Ticker::volume_fp

Fixed-point total contracts traded (2 decimals)

◆ open_interest_fp

std::string kalshi::ws::Ticker::open_interest_fp

Fixed-point open interest (2 decimals)

◆ dollar_volume

std::int64_t kalshi::ws::Ticker::dollar_volume {}

Signed whole-dollar cumulative traded notional.

◆ dollar_open_interest

std::int64_t kalshi::ws::Ticker::dollar_open_interest {}

Signed whole-dollar open-interest notional.

◆ yes_bid_size_fp

std::string kalshi::ws::Ticker::yes_bid_size_fp

Fixed-point contracts at best bid (2 decimals)

◆ yes_ask_size_fp

std::string kalshi::ws::Ticker::yes_ask_size_fp

Fixed-point contracts at best ask (2 decimals)

◆ last_trade_size_fp

std::string kalshi::ws::Ticker::last_trade_size_fp

Fixed-point contracts in last trade (2 decimals)

◆ ts

std::int64_t kalshi::ws::Ticker::ts {}

Deprecated - Unix timestamp for when the update happened (in seconds).

◆ ts_ms

std::int64_t kalshi::ws::Ticker::ts_ms {}

Unix timestamp for when the update happened (in milliseconds)

◆ time

std::string kalshi::ws::Ticker::time

Deprecated - Timestamp for when the update happened (RFC3339).


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