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

Query parameters for get_positions. More...

#include <kalshi/models.hpp>

Public Attributes

std::optional< std::string > cursor
 The Cursor represents a pointer to the next page of records in the pagination.
 
std::optional< std::int64_t > limit
 Parameter to specify the number of results per page.
 
std::optional< std::string > count_filter
 Restricts the positions to those with any of following fields with non-zero values, as a comma separated list.
 
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 > exchange_index
 Filter results by exchange shard.
 

Detailed Description

Query parameters for get_positions.

Member Data Documentation

◆ cursor

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

The Cursor represents a pointer to the next page of records in the pagination.

◆ limit

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

Parameter to specify the number of results per page.

◆ count_filter

std::optional<std::string> kalshi::GetPositionsParams::count_filter

Restricts the positions to those with any of following fields with non-zero values, as a comma separated list.

◆ ticker

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

Filter by market ticker.

◆ event_ticker

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

Event ticker to filter by.

◆ subaccount

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

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

◆ exchange_index

std::optional<std::int64_t> kalshi::GetPositionsParams::exchange_index

Filter results by exchange shard.


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