Service for logging heatmap (closed signals) events to SQLite database.
Captures closed signal events across all symbols for portfolio-wide heatmap analysis and stores them in the Report database.
Features:
constructor();
loggerService: any
Logger service for debug output
tick: any
Processes signal tick events and logs closed signals to the database. Only processes closed signals - other actions are ignored.
subscribe: (() => () => void) & ISingleshotClearable
Subscribes to signal emitter to receive closed signal events. Protected against multiple subscriptions. Returns an unsubscribe function to stop receiving events.
unsubscribe: () => Promise<void>
Unsubscribes from signal emitter to stop receiving events. Calls the unsubscribe function returned by subscribe(). If not subscribed, does nothing.