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

#include <kalshi/rate_limit.hpp>

Public Attributes

double capacity {0.0}
 
double refill_per_second {0.0}
 
std::optional< double > initial_tokens
 Starting balance. Defaults to a full bucket.
 

Member Data Documentation

◆ capacity

double kalshi::TokenBucket::Config::capacity {0.0}

◆ refill_per_second

double kalshi::TokenBucket::Config::refill_per_second {0.0}

◆ initial_tokens

std::optional<double> kalshi::TokenBucket::Config::initial_tokens

Starting balance. Defaults to a full bucket.


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