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

Market lifecycle events (created, activated, deactivated, close_date_updated, determined, settled, price_level_structure_updated) More...

#include <kalshi/ws_models.hpp>

Public Attributes

std::string market_ticker
 Unique identifier for markets.
 
std::optional< std::int64_t > exchange_index
 Optional - This key will ONLY exist when the market is created.
 
std::optional< std::int64_t > open_ts
 Optional - This key will ONLY exist when the market is created.
 
std::optional< std::int64_t > close_ts
 Optional - This key will ONLY exist when the market is created OR when the close date is updated.
 
std::optional< std::int64_t > determination_ts
 Optional - This key will ONLY exist when the market is determined.
 
std::optional< std::int64_t > settled_ts
 Optional - This key will ONLY exist when the market is settled.
 
std::optional< std::string > result
 Optional - This key will ONLY exist when the market is determined.
 
std::optional< std::string > settlement_value
 Optional - This key will ONLY exist when the market is determined.
 
std::optional< bool > is_deactivated
 Optional - This key will ONLY exist when the market is paused/unpaused.
 
std::optional< LifecycleAdditionalMetadata > additional_metadata
 Optional - This key will be emitted when the market is created.
 
MarketLifecycleV2EventType event_type {}
 Field to annotate which of the event type this event is for.
 
std::optional< LifecyclePriceLevelStructure > price_level_structure
 Optional - The market price level structure on creation or price_level_structure_updated events.
 
std::optional< std::vector< MarketLifecycleV2PriceRangesItem > > price_ranges
 Optional - Emitted alongside price_level_structure (on market creation and price_level_structure_updated events).
 

Detailed Description

Market lifecycle events (created, activated, deactivated, close_date_updated, determined, settled, price_level_structure_updated)

Member Data Documentation

◆ market_ticker

std::string kalshi::ws::MarketLifecycleV2::market_ticker

Unique identifier for markets.

◆ exchange_index

std::optional<std::int64_t> kalshi::ws::MarketLifecycleV2::exchange_index

Optional - This key will ONLY exist when the market is created.

◆ open_ts

std::optional<std::int64_t> kalshi::ws::MarketLifecycleV2::open_ts

Optional - This key will ONLY exist when the market is created.

◆ close_ts

std::optional<std::int64_t> kalshi::ws::MarketLifecycleV2::close_ts

Optional - This key will ONLY exist when the market is created OR when the close date is updated.

◆ determination_ts

std::optional<std::int64_t> kalshi::ws::MarketLifecycleV2::determination_ts

Optional - This key will ONLY exist when the market is determined.

◆ settled_ts

std::optional<std::int64_t> kalshi::ws::MarketLifecycleV2::settled_ts

Optional - This key will ONLY exist when the market is settled.

◆ result

std::optional<std::string> kalshi::ws::MarketLifecycleV2::result

Optional - This key will ONLY exist when the market is determined.

◆ settlement_value

std::optional<std::string> kalshi::ws::MarketLifecycleV2::settlement_value

Optional - This key will ONLY exist when the market is determined.

◆ is_deactivated

std::optional<bool> kalshi::ws::MarketLifecycleV2::is_deactivated

Optional - This key will ONLY exist when the market is paused/unpaused.

◆ additional_metadata

std::optional<LifecycleAdditionalMetadata> kalshi::ws::MarketLifecycleV2::additional_metadata

Optional - This key will be emitted when the market is created.

◆ event_type

MarketLifecycleV2EventType kalshi::ws::MarketLifecycleV2::event_type {}

Field to annotate which of the event type this event is for.

◆ price_level_structure

std::optional<LifecyclePriceLevelStructure> kalshi::ws::MarketLifecycleV2::price_level_structure

Optional - The market price level structure on creation or price_level_structure_updated events.

◆ price_ranges

std::optional<std::vector<MarketLifecycleV2PriceRangesItem> > kalshi::ws::MarketLifecycleV2::price_ranges

Optional - Emitted alongside price_level_structure (on market creation and price_level_structure_updated events).


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