IAlertProcessingService

StockSharp.Alerts

Defines an alert processing service.

实现: IPersistable, ILogSource, IDisposable

属性

Schemas : IEnumerable<AlertSchema>

All schemas.

方法

FindSchema(Guid) : AlertSchema

Find schema by the specified identifier.

id
The identifier.

返回值: Found schema. if schema with the specified identifier doesn't exist.

Process(Message)

Check message on alert conditions.

message
Message.
Register(AlertSchema)

Register schema.

schema
Schema.
UnRegister(AlertSchema)

Remove previously registered by AlertSchema) schema.

schema
Schema.

事件

Registered : Action<AlertSchema>

Schema registration event.

UnRegistered : Action<AlertSchema>

Schema unregistering event.