|
kalshi-cpp 0.6.2
C++23 client for Kalshi's Predictions API
|
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). | |
Market lifecycle events (created, activated, deactivated, close_date_updated, determined, settled, price_level_structure_updated)
| std::string kalshi::ws::MarketLifecycleV2::market_ticker |
Unique identifier for markets.
| std::optional<std::int64_t> kalshi::ws::MarketLifecycleV2::exchange_index |
Optional - This key will ONLY exist when the market is created.
| std::optional<std::int64_t> kalshi::ws::MarketLifecycleV2::open_ts |
Optional - This key will ONLY exist when the market is created.
| 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.
| std::optional<std::int64_t> kalshi::ws::MarketLifecycleV2::determination_ts |
Optional - This key will ONLY exist when the market is determined.
| std::optional<std::int64_t> kalshi::ws::MarketLifecycleV2::settled_ts |
Optional - This key will ONLY exist when the market is settled.
| std::optional<std::string> kalshi::ws::MarketLifecycleV2::result |
Optional - This key will ONLY exist when the market is determined.
| std::optional<std::string> kalshi::ws::MarketLifecycleV2::settlement_value |
Optional - This key will ONLY exist when the market is determined.
| std::optional<bool> kalshi::ws::MarketLifecycleV2::is_deactivated |
Optional - This key will ONLY exist when the market is paused/unpaused.
| std::optional<LifecycleAdditionalMetadata> kalshi::ws::MarketLifecycleV2::additional_metadata |
Optional - This key will be emitted when the market is created.
| MarketLifecycleV2EventType kalshi::ws::MarketLifecycleV2::event_type {} |
Field to annotate which of the event type this event is for.
| std::optional<LifecyclePriceLevelStructure> kalshi::ws::MarketLifecycleV2::price_level_structure |
Optional - The market price level structure on creation or price_level_structure_updated events.
| 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).