Defines which notification categories are enabled when calling NotificationAdapter.enable().
Pass an instance of this interface to selectively subscribe to only the event types you need.
When omitted, all categories default to true via WILDCARD_TARGET.
signal: boolean
Signal lifecycle events emitted by the strategy engine.
Covers four actions: signal.opened, signal.scheduled, signal.closed, signal.cancelled.
Source: signalBacktestEmitter / signalLiveEmitter (IStrategyTickResult).
partial_profit: boolean
Partial profit availability notifications (partial_profit.available).
Fired when the price reaches a partial-profit level defined in the strategy,
before the commit decision is made.
Source: partialProfitSubject (PartialProfitContract).
partial_loss: boolean
Partial loss availability notifications (partial_loss.available).
Fired when the price reaches a partial-loss level defined in the strategy,
before the commit decision is made.
Source: partialLossSubject (PartialLossContract).
breakeven: boolean
Breakeven availability notifications (breakeven.available).
Fired when the price reaches the breakeven level, before the commit is applied.
Source: breakevenSubject (BreakevenContract).
strategy_commit: boolean
Strategy commit confirmations.
Covers all committed actions: partial_profit.commit, partial_loss.commit,
breakeven.commit, trailing_stop.commit, trailing_take.commit,
activate_scheduled.commit, average_buy.commit, cancel_scheduled.commit,
close_pending.commit.
Source: strategyCommitSubject (StrategyCommitContract).
order_sync: boolean
Signal synchronization events for live trading (order_sync.open, order_sync.close).
Fired when the position order is filled (signal-open with orderType: "active"),
when the resting entry order is placed at scheduled-signal creation (signal-open
with orderType: "schedule"), or when an open position is confirmed exited
(signal-close) by the exchange sync layer.
Source: syncSubject (OrderSyncContract).
order_check: boolean
Order-ping check notifications (order_sync.check).
Fired while a signal is monitored in live mode, when the framework asks the
external order management system whether the order is still open on the
exchange. Throttled to at most one notification per signalId per
CC_NOTIFICATION_ORDER_CHECK_TTL (default 15 minutes); the throttle entry is
dropped when the signal is closed or cancelled.
Source: syncPendingSubject (OrderCheckContract).
order_fill: boolean
Broker-CONFIRMED order fill notifications (order_fill.open, order_fill.close).
Post-verdict counterpart of order_sync: fired ONLY after the onOrderSync gate
resolved into the "confirmed" verdict — a rejected or transient attempt never
fires here. Live-only (backtest gates short-circuit without an exchange).
Source: orderFillSubject (OrderFillContract).
order_reject: boolean
TERMINAL order rejection notifications (order_reject.open, order_reject.close).
Fired ONLY on the "rejected" verdict (OrderRejectedError from the broker adapter) —
exactly once per dropped attempt (the open consumes its signalId, the close
force-closes). Transient failures never fire here. Live-only.
Source: orderRejectSubject (OrderRejectContract).
order_continue: boolean
Post-verdict order-check CONTINUE notifications (order_continue.check).
The resolved pair of order_check: the order is confirmed still open (attempt 0)
or a transient failure was tolerated (attempt > 0) — monitoring continues.
Throttled like order_check: at most one notification per signalId per
CC_NOTIFICATION_ORDER_CHECK_TTL; the throttle entry is dropped when the
signal is closed or cancelled. Live-only.
Source: orderContinueSubject (OrderContinueContract).
order_stop: boolean
Post-verdict order-check STOP notifications (order_stop.check).
Fired exactly once per monitored signal when the check resolved terminally —
"deleted" (confirmed not-found) or "exhausted" (transient tolerance spent) —
right before the teardown (close "closed" / cancel "user"). Not throttled.
Live-only.
Source: orderStopSubject (OrderStopContract).
risk: boolean
Risk manager rejection notifications (risk.rejection).
Fired when the risk manager blocks a new signal from opening due to
active position count limits or other risk rules.
Source: riskSubject (RiskContract).
info: boolean
Informational signal notifications (signal.info).
Manual or strategy-triggered messages attached to an active signal,
carrying a note and optional notificationId.
Source: signalNotifySubject (SignalInfoContract).
pause: boolean
Strategy pause state change notifications (strategy.pause).
Fired when setPaused actually flips the pause flag: while paused the
strategy opens nothing new (getSignal is not called, a queued createSignal
DTO is held); existing signals keep closing normally.
Source: pauseSubject (PauseContract).
common_error: boolean
Non-fatal runtime errors (error.info).
Emitted by the global errorEmitter for recoverable errors that are
caught and logged but do not terminate the process.
critical_error: boolean
Critical (fatal) errors (error.critical).
Emitted by the global exitEmitter when an unrecoverable error
causes the backtest or live session to terminate.
validation_error: boolean
Validation errors (error.validation).
Emitted by validationSubject when strategy configuration or
input data fails schema/business-rule validation.