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

Query parameters for get_historical_positions. More...

#include <kalshi/models.hpp>

Public Attributes

std::optional< std::string > ticker
 Filter by market ticker.
 
std::optional< std::string > event_ticker
 Event ticker to filter by.
 
std::optional< std::int64_t > subaccount
 Subaccount number (0 for primary, 1-63 for subaccounts).
 
std::optional< std::int64_t > limit
 Number of results per page.
 
std::optional< std::string > cursor
 Pagination cursor.
 

Detailed Description

Query parameters for get_historical_positions.

Member Data Documentation

◆ ticker

std::optional<std::string> kalshi::GetHistoricalPositionsParams::ticker

Filter by market ticker.

◆ event_ticker

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

Event ticker to filter by.

◆ subaccount

std::optional<std::int64_t> kalshi::GetHistoricalPositionsParams::subaccount

Subaccount number (0 for primary, 1-63 for subaccounts).

◆ limit

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

Number of results per page.

◆ cursor

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

Pagination cursor.


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