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

Query parameters for get_milestones. More...

#include <kalshi/models.hpp>

Public Attributes

std::int64_t limit {}
 Number of milestones to return per page.
 
std::optional< std::string > minimum_start_date
 Minimum start date to filter milestones.
 
std::optional< std::string > category
 Filter by milestone category.
 
std::optional< std::string > competition
 Filter by competition.
 
std::optional< std::string > source_id
 Filter by source id.
 
std::optional< std::string > type
 Filter by milestone type.
 
std::optional< std::string > related_event_ticker
 Filter by related event ticker.
 
std::optional< std::string > cursor
 Pagination cursor.
 
std::optional< std::int64_t > min_updated_ts
 Filter milestones with metadata updated after this Unix timestamp (in seconds).
 

Detailed Description

Query parameters for get_milestones.

Member Data Documentation

◆ limit

std::int64_t kalshi::GetMilestonesParams::limit {}

Number of milestones to return per page.

◆ minimum_start_date

std::optional<std::string> kalshi::GetMilestonesParams::minimum_start_date

Minimum start date to filter milestones.

◆ category

std::optional<std::string> kalshi::GetMilestonesParams::category

Filter by milestone category.

◆ competition

std::optional<std::string> kalshi::GetMilestonesParams::competition

Filter by competition.

◆ source_id

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

Filter by source id.

◆ type

std::optional<std::string> kalshi::GetMilestonesParams::type

Filter by milestone type.

◆ related_event_ticker

std::optional<std::string> kalshi::GetMilestonesParams::related_event_ticker

Filter by related event ticker.

◆ cursor

std::optional<std::string> kalshi::GetMilestonesParams::cursor

Pagination cursor.

◆ min_updated_ts

std::optional<std::int64_t> kalshi::GetMilestonesParams::min_updated_ts

Filter milestones with metadata updated after this Unix timestamp (in seconds).


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