Skip to main content

Module cache

Module cache 

Source
Expand description

Cache layer — Phase 1: a thin Station-level wrapper around digdigdig3::core::rest_cache::RestCache keyed by (ExchangeId, AccountType, raw_symbol) for get_ticker.

Step 6+: extend with orderbook L1 TTL, symbol metadata, and warm-start from disk. See docs/plans/station-architecture.md §6.

Structs§

CacheConfig
Configuration knobs the builder will accept in step 6+. For Phase 1 only ticker_ttl is consumed.

Functions§

ticker_cache
Build a default RestCache<TickerKey, Ticker> with the supplied TTL.

Type Aliases§

TickerKey