AlertSchemaTemplates
StockSharp.Alerts
Fábrica para crear preconfigurado AlertSchema de plantillas comunes.
Métodos
AskBelow
public static AlertSchema AskBelow(SecurityId securityId, decimal price, AlertNotifications alertType)
result = AlertSchemaTemplates.AskBelow(securityId, price, alertType)
Crear alerta: mejor preguntar precio por debajo del umbral.
- securityId
- identificador de instrumentos financieros.
- price
- umbral de precios.
- alertType
- Tipo de notificación.
Devuelve: Configurado AlertSchema@.
BidAbove
public static AlertSchema BidAbove(SecurityId securityId, decimal price, AlertNotifications alertType)
result = AlertSchemaTemplates.BidAbove(securityId, price, alertType)
Crear alerta: mejor precio de oferta por encima del umbral.
- securityId
- identificador de instrumentos financieros.
- price
- umbral de precios.
- alertType
- Tipo de notificación.
Devuelve: Configurado AlertSchema@.
Level1
public static AlertSchema Level1(SecurityId securityId, Level1Fields field, ComparisonOperator op, decimal value, AlertNotifications alertType)
result = AlertSchemaTemplates.Level1(securityId, field, op, value, alertType)
Cree alerta para cualquier campo Level1Fields.
- securityId
- identificador de instrumentos financieros.
- field
- Campo Nivel 1 para monitorear.
- op
- Operador de comparación.
- value
- Valor de la propiedad.
- alertType
- Tipo de notificación.
Devuelve: Configurado AlertSchema@.
PriceAbove
public static AlertSchema PriceAbove(SecurityId securityId, decimal price, AlertNotifications alertType)
result = AlertSchemaTemplates.PriceAbove(securityId, price, alertType)
Crear alerta: precio por encima del umbral.
- securityId
- identificador de instrumentos financieros.
- price
- umbral de precios.
- alertType
- Tipo de notificación.
Devuelve: Configurado AlertSchema@.
PriceBelow
public static AlertSchema PriceBelow(SecurityId securityId, decimal price, AlertNotifications alertType)
result = AlertSchemaTemplates.PriceBelow(securityId, price, alertType)
Crear alerta: precio por debajo del umbral.
- securityId
- identificador de instrumentos financieros.
- price
- umbral de precios.
- alertType
- Tipo de notificación.
Devuelve: Configurado AlertSchema@.
VolumeAbove
public static AlertSchema VolumeAbove(SecurityId securityId, decimal volume, AlertNotifications alertType)
result = AlertSchemaTemplates.VolumeAbove(securityId, volume, alertType)
Crear alerta: volumen por encima del umbral.
- securityId
- identificador de instrumentos financieros.
- volume
- umbral de volumen.
- alertType
- Tipo de notificación.
Devuelve: Configurado AlertSchema@.