kraken_async_rs::rate_limiting

Module ttl_cache

Source

Structsยง

  • A time-to-live cache that removes values when they expire. This is used to store and look up orders, to determine how old they are for rate limiting penalties when editing or cancelling.
  • A time-to-live entry that should remain available until the provided ttl value.