Service for logging risk rejection events to SQLite database.
Captures all signal rejection events from the risk management system and stores them in the Report database for risk analysis and auditing.
Features:
constructor();
loggerService: any
Logger service for debug output
tickRejection: any
Processes risk rejection events and logs them to the database.
subscribe: (() => () => void) & ISingleshotClearable
Subscribes to risk rejection emitter to receive rejection events. Protected against multiple subscriptions. Returns an unsubscribe function to stop receiving events.
unsubscribe: () => Promise<void>
Unsubscribes from risk rejection emitter to stop receiving events. Calls the unsubscribe function returned by subscribe(). If not subscribed, does nothing.