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

Token cost of requests matching method and path. More...

#include <kalshi/rate_limit.hpp>

Public Attributes

HttpMethod method {HttpMethod::GET}
 
std::string path
 
double cost {0.0}
 

Detailed Description

Token cost of requests matching method and path.

{name} segments in path match any single segment, as in /portfolio/orders/{order_id}.

Member Data Documentation

◆ method

HttpMethod kalshi::EndpointCostRule::method {HttpMethod::GET}

◆ path

std::string kalshi::EndpointCostRule::path

◆ cost

double kalshi::EndpointCostRule::cost {0.0}

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