IAlertNotificationService

StockSharp.Alerts

Defines an alert notification service.

Implements: ILogSource, IDisposable

Methods

NotifyAsync
public ValueTask NotifyAsync(AlertNotifications type, long? externalId, LogLevels logLevel, string caption, string message, DateTime time, CancellationToken cancellationToken)
result = iAlertNotificationService.NotifyAsync(type, externalId, logLevel, caption, message, time, cancellationToken)

Add alert at the output.

type
Alert type.
externalId
External ID.
logLevel
LogLevels
caption
Signal header.
message
Alert text.
time
Creation time.
cancellationToken
CancellationToken.

Returns: ValueTask.