|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
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). | |
Market price ticker information.
| std::string kalshi::ws::Ticker::market_id |
Unique market UUID.
| std::string kalshi::ws::Ticker::market_ticker |
Unique market identifier.
| std::string kalshi::ws::Ticker::price_dollars |
Last traded price in dollars.
| std::string kalshi::ws::Ticker::yes_bid_dollars |
Best bid price for yes side in dollars.
| std::string kalshi::ws::Ticker::yes_ask_dollars |
Best ask price for yes side in dollars.
| std::string kalshi::ws::Ticker::volume_fp |
Fixed-point total contracts traded (2 decimals)
| std::string kalshi::ws::Ticker::open_interest_fp |
Fixed-point open interest (2 decimals)
| std::int64_t kalshi::ws::Ticker::dollar_volume {} |
Signed whole-dollar cumulative traded notional.
| std::int64_t kalshi::ws::Ticker::dollar_open_interest {} |
Signed whole-dollar open-interest notional.
| std::string kalshi::ws::Ticker::yes_bid_size_fp |
Fixed-point contracts at best bid (2 decimals)
| std::string kalshi::ws::Ticker::yes_ask_size_fp |
Fixed-point contracts at best ask (2 decimals)
| std::string kalshi::ws::Ticker::last_trade_size_fp |
Fixed-point contracts in last trade (2 decimals)
| std::int64_t kalshi::ws::Ticker::ts {} |
Deprecated - Unix timestamp for when the update happened (in seconds).
| std::int64_t kalshi::ws::Ticker::ts_ms {} |
Unix timestamp for when the update happened (in milliseconds)
| std::string kalshi::ws::Ticker::time |
Deprecated - Timestamp for when the update happened (RFC3339).