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

#include <kalshi/models.hpp>

Public Attributes

std::string id
 Unique identifier for the milestone.
 
std::string category
 Category of the milestone.
 
std::string type
 Type of the milestone.
 
std::string start_date
 Start date of the milestone.
 
std::optional< std::string > end_date
 End date of the milestone, if any.
 
std::vector< std::string > related_event_tickers
 List of event tickers related to this milestone.
 
std::string title
 Title of the milestone.
 
std::string notification_message
 Notification message for the milestone.
 
std::optional< std::string > source_id
 Source id of milestone if available.
 
std::optional< std::map< std::string, std::string > > source_ids
 Source ids of milestone if available.
 
RawJson details
 Additional details about the milestone.
 
std::vector< std::string > primary_event_tickers
 List of event tickers directly related to the outcome of this milestone.
 
std::string last_updated_ts
 Last time this structured target was updated.
 

Member Data Documentation

◆ id

std::string kalshi::Milestone::id

Unique identifier for the milestone.

◆ category

std::string kalshi::Milestone::category

Category of the milestone.

◆ type

std::string kalshi::Milestone::type

Type of the milestone.

◆ start_date

std::string kalshi::Milestone::start_date

Start date of the milestone.

◆ end_date

std::optional<std::string> kalshi::Milestone::end_date

End date of the milestone, if any.

◆ related_event_tickers

std::vector<std::string> kalshi::Milestone::related_event_tickers

List of event tickers related to this milestone.

◆ title

std::string kalshi::Milestone::title

Title of the milestone.

◆ notification_message

std::string kalshi::Milestone::notification_message

Notification message for the milestone.

◆ source_id

std::optional<std::string> kalshi::Milestone::source_id

Source id of milestone if available.

◆ source_ids

std::optional<std::map<std::string, std::string> > kalshi::Milestone::source_ids

Source ids of milestone if available.

◆ details

RawJson kalshi::Milestone::details

Additional details about the milestone.

◆ primary_event_tickers

std::vector<std::string> kalshi::Milestone::primary_event_tickers

List of event tickers directly related to the outcome of this milestone.

◆ last_updated_ts

std::string kalshi::Milestone::last_updated_ts

Last time this structured target was updated.


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