Table of Contents

Interface IAlertNotificationService

Namespace
StockSharp.Alerts
Assembly
StockSharp.Alerts.Interfaces.dll

Defines an alert notification service.

public interface IAlertNotificationService : ILogSource, IDisposable
Inherited Members
Extension Methods

Methods

NotifyAsync(AlertNotifications, long?, LogLevels, string, string, DateTimeOffset, CancellationToken)

Add alert at the output.

ValueTask NotifyAsync(AlertNotifications type, long? externalId, LogLevels logLevel, string caption, string message, DateTimeOffset time, CancellationToken cancellationToken)

Parameters

type AlertNotifications

Alert type.

externalId long?

External ID.

logLevel LogLevels

LogLevels

caption string

Signal header.

message string

Alert text.

time DateTimeOffset

Creation time.

cancellationToken CancellationToken

CancellationToken.

Returns

ValueTask

ValueTask.