Read persisted breakeven data for a specific signal.
Signal identifier
Logical timestamp at which the read is happening (reserved for API consistency)
Promise resolving to breakeven data record (empty object if none persisted)
Initialize storage for this breakeven context.
Whether this is the first initialization
Promise that resolves when initialization is complete
Write breakeven data for a specific signal.
Breakeven data record to persist
Signal identifier
Logical timestamp this write belongs to (reserved for API consistency)
Promise that resolves when write is complete
Per-context breakeven state persistence instance interface. Scoped to a specific (symbol, strategyName, exchangeName) triple.
Each signal's breakeven data is stored under its own signalId key within the context-scoped storage.
Custom adapters should implement this interface to override the default file-based breakeven persistence behavior.