Skip to main content

DYDX_RATE_LIMIT_KEY_SUBSCRIPTION

Static DYDX_RATE_LIMIT_KEY_SUBSCRIPTION 

Source
pub static DYDX_RATE_LIMIT_KEY_SUBSCRIPTION: LazyLock<[Ustr; 1]>
Expand description

Pre-interned rate limit key for subscription operations (subscribe/unsubscribe).

dYdX allows up to 2 subscription messages per second per connection. See: https://docs.dydx.trade/developers/indexer/websockets#rate-limits