Interface for session instance implementations.
Defines the contract for local, persist, and dummy backends.
Intended use: per-(symbol, strategy, exchange, frame) mutable session data
shared across strategy callbacks within a single run — e.g. caching LLM
inference results, intermediate indicator state, or cross-candle accumulators.
Example shape:
{ lastLlmSignal: "buy" | "sell" | null; confirmedAt: number }
Interface for session instance implementations. Defines the contract for local, persist, and dummy backends.
Intended use: per-(symbol, strategy, exchange, frame) mutable session data shared across strategy callbacks within a single run — e.g. caching LLM inference results, intermediate indicator state, or cross-candle accumulators.
Example shape: