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

Query parameters for get_markets. More...

#include <kalshi/models.hpp>

Public Attributes

std::optional< std::int64_t > limit
 Number of results per page.
 
std::optional< std::string > cursor
 Pagination cursor.
 
std::optional< std::string > event_ticker
 Event ticker to filter by.
 
std::optional< std::string > series_ticker
 Filter by series ticker.
 
std::optional< std::int64_t > min_created_ts
 Filter items that created after this Unix timestamp.
 
std::optional< std::int64_t > max_created_ts
 Filter items that created before this Unix timestamp.
 
std::optional< std::int64_t > min_updated_ts
 Return markets with metadata updated later than this Unix timestamp (in seconds).
 
std::optional< std::int64_t > max_updated_ts
 Return markets with metadata updated at or before this Unix timestamp (in seconds).
 
std::optional< std::int64_t > max_close_ts
 Filter items that close before this Unix timestamp.
 
std::optional< std::int64_t > min_close_ts
 Filter items that close after this Unix timestamp.
 
std::optional< std::int64_t > min_settled_ts
 Filter items that settled after this Unix timestamp.
 
std::optional< std::int64_t > max_settled_ts
 Filter items that settled before this Unix timestamp.
 
std::optional< GetMarketsStatus > status
 Filter by market status.
 
std::optional< std::string > tickers
 Filter by specific market tickers.
 
std::optional< GetMarketsMveFilter > mve_filter
 Filter by multivariate events (combos).
 

Detailed Description

Query parameters for get_markets.

Member Data Documentation

◆ limit

std::optional<std::int64_t> kalshi::GetMarketsParams::limit

Number of results per page.

◆ cursor

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

Pagination cursor.

◆ event_ticker

std::optional<std::string> kalshi::GetMarketsParams::event_ticker

Event ticker to filter by.

◆ series_ticker

std::optional<std::string> kalshi::GetMarketsParams::series_ticker

Filter by series ticker.

◆ min_created_ts

std::optional<std::int64_t> kalshi::GetMarketsParams::min_created_ts

Filter items that created after this Unix timestamp.

◆ max_created_ts

std::optional<std::int64_t> kalshi::GetMarketsParams::max_created_ts

Filter items that created before this Unix timestamp.

◆ min_updated_ts

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

Return markets with metadata updated later than this Unix timestamp (in seconds).

◆ max_updated_ts

std::optional<std::int64_t> kalshi::GetMarketsParams::max_updated_ts

Return markets with metadata updated at or before this Unix timestamp (in seconds).

◆ max_close_ts

std::optional<std::int64_t> kalshi::GetMarketsParams::max_close_ts

Filter items that close before this Unix timestamp.

◆ min_close_ts

std::optional<std::int64_t> kalshi::GetMarketsParams::min_close_ts

Filter items that close after this Unix timestamp.

◆ min_settled_ts

std::optional<std::int64_t> kalshi::GetMarketsParams::min_settled_ts

Filter items that settled after this Unix timestamp.

◆ max_settled_ts

std::optional<std::int64_t> kalshi::GetMarketsParams::max_settled_ts

Filter items that settled before this Unix timestamp.

◆ status

std::optional<GetMarketsStatus> kalshi::GetMarketsParams::status

Filter by market status.

◆ tickers

std::optional<std::string> kalshi::GetMarketsParams::tickers

Filter by specific market tickers.

◆ mve_filter

std::optional<GetMarketsMveFilter> kalshi::GetMarketsParams::mve_filter

Filter by multivariate events (combos).


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