IAlertNotificationService

StockSharp.Alerts

Define um serviço de notificação de alerta.

Implementa: ILogSource, IDisposable

Métodos

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)

Adicionar alerta na saída.

type
Tipo de alerta.
externalId
Identificação externa.
logLevel
LogLevels
caption
Cabeçalho de sinal.
message
Mensagem de alerta.
time
Tempo de criação.
cancellationToken
CancellationToken.

Retorna: ValueTask.