Module rate_limit

Module rate_limit 

Source
Expand description

Rate limiting implementation for Deribit HTTP client

This module provides automatic rate limiting to comply with Deribit API limits. It implements a token bucket algorithm with different limits for different endpoint categories.

Structs§

RateLimiter
Rate limiter for different endpoint categories

Enums§

RateLimitCategory
Categories of rate limits based on Deribit API documentation

Functions§

categorize_endpoint
Helper function to categorize endpoints