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

Token-bucket budget for one rate-limit bucket. More...

#include <kalshi/models.hpp>

Public Attributes

std::int64_t refill_rate {}
 Tokens added to the bucket per second.
 
std::int64_t bucket_capacity {}
 Maximum tokens the bucket can hold.
 

Detailed Description

Token-bucket budget for one rate-limit bucket.

Member Data Documentation

◆ refill_rate

std::int64_t kalshi::BucketLimit::refill_rate {}

Tokens added to the bucket per second.

◆ bucket_capacity

std::int64_t kalshi::BucketLimit::bucket_capacity {}

Maximum tokens the bucket can hold.


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