AlertSchemaTemplates
StockSharp.Alerts
Factory for creating pre-configured AlertSchema from common templates.
Methods
AskBelow(SecurityId, decimal, AlertNotifications) : AlertSchema
Create alert: best ask price below threshold.
- securityId
- Security identifier.
- price
- Price threshold.
- alertType
- Notification type.
Returns: Configured AlertSchema.
BidAbove(SecurityId, decimal, AlertNotifications) : AlertSchema
Create alert: best bid price above threshold.
- securityId
- Security identifier.
- price
- Price threshold.
- alertType
- Notification type.
Returns: Configured AlertSchema.
Level1(SecurityId, Level1Fields, ComparisonOperator, decimal, AlertNotifications) : AlertSchema
Create alert for any Level1Fields field.
- securityId
- Security identifier.
- field
- Level1 field to monitor.
- op
- Comparison operator.
- value
- Threshold value.
- alertType
- Notification type.
Returns: Configured AlertSchema.
PriceAbove(SecurityId, decimal, AlertNotifications) : AlertSchema
Create alert: price above threshold.
- securityId
- Security identifier.
- price
- Price threshold.
- alertType
- Notification type.
Returns: Configured AlertSchema.
PriceBelow(SecurityId, decimal, AlertNotifications) : AlertSchema
Create alert: price below threshold.
- securityId
- Security identifier.
- price
- Price threshold.
- alertType
- Notification type.
Returns: Configured AlertSchema.
VolumeAbove(SecurityId, decimal, AlertNotifications) : AlertSchema
Create alert: volume above threshold.
- securityId
- Security identifier.
- volume
- Volume threshold.
- alertType
- Notification type.
Returns: Configured AlertSchema.