AlertSchemaTemplates

StockSharp.Alerts

Fabrik zum Erstellen von vorkonfigurierten AlertSchema aus gängigen Vorlagen.

Methoden

AskBelow
public static AlertSchema AskBelow(SecurityId securityId, decimal price, AlertNotifications alertType)
result = AlertSchemaTemplates.AskBelow(securityId, price, alertType)

Erstellen Sie Alarm: Best Ask Price unter dem Schwellenwert.

securityId
Finanzinstrumentkennung.
price
Preisschwelle.
alertType
Art der Mitteilung.

Rückgabe: Konfiguriert AlertSchema.

BidAbove
public static AlertSchema BidAbove(SecurityId securityId, decimal price, AlertNotifications alertType)
result = AlertSchemaTemplates.BidAbove(securityId, price, alertType)

Erstellen Sie Alarm: Bester Gebotspreis über dem Schwellenwert.

securityId
Finanzinstrumentkennung.
price
Preisschwelle.
alertType
Art der Mitteilung.

Rückgabe: Konfiguriert AlertSchema.

Level1
public static AlertSchema Level1(SecurityId securityId, Level1Fields field, ComparisonOperator op, decimal value, AlertNotifications alertType)
result = AlertSchemaTemplates.Level1(securityId, field, op, value, alertType)

Erstellen Sie eine Warnung für ein Feld Level1Fields.

securityId
Finanzinstrumentkennung.
field
Level1-Feld zu überwachen.
op
Vergleichsoperator.
value
Schwellenwert.
alertType
Art der Mitteilung.

Rückgabe: Konfiguriert AlertSchema.

PriceAbove
public static AlertSchema PriceAbove(SecurityId securityId, decimal price, AlertNotifications alertType)
result = AlertSchemaTemplates.PriceAbove(securityId, price, alertType)

Alarm erstellen: Preis über dem Schwellenwert.

securityId
Finanzinstrumentkennung.
price
Preisschwelle.
alertType
Art der Mitteilung.

Rückgabe: Konfiguriert AlertSchema.

PriceBelow
public static AlertSchema PriceBelow(SecurityId securityId, decimal price, AlertNotifications alertType)
result = AlertSchemaTemplates.PriceBelow(securityId, price, alertType)

Alarm erstellen: Preis unterhalb des Schwellenwerts.

securityId
Finanzinstrumentkennung.
price
Preisschwelle.
alertType
Art der Mitteilung.

Rückgabe: Konfiguriert AlertSchema.

VolumeAbove
public static AlertSchema VolumeAbove(SecurityId securityId, decimal volume, AlertNotifications alertType)
result = AlertSchemaTemplates.VolumeAbove(securityId, volume, alertType)

Alarm erstellen: Volumen über dem Schwellenwert.

securityId
Finanzinstrumentkennung.
volume
Volumenschwelle.
alertType
Art der Mitteilung.

Rückgabe: Konfiguriert AlertSchema.