QuotingAction
StockSharp.Algo.Strategies.Quoting
Empfohlene Aktionsausgabe vom Motor.
Eigenschaften
ActionType
public QuotingActionType ActionType { get; set; }
value = quotingAction.ActionType
quotingAction.ActionType = value
Art der Maßnahme.
IsSuccess
public bool IsSuccess { get; set; }
value = quotingAction.IsSuccess
quotingAction.IsSuccess = value
Ob das Zitat erfolgreich war (für Finish-Aktion).
OrderType
public OrderTypes? OrderType { get; set; }
value = quotingAction.OrderType
quotingAction.OrderType = value
Ordertyp für neue Order.
Price
public decimal? Price { get; set; }
value = quotingAction.Price
quotingAction.Price = value
Empfohlener Preis für neue Bestellung (Null für Marktaufträge).
Reason
public string Reason { get; set; }
value = quotingAction.Reason
quotingAction.Reason = value
Grund der Aktion (für die Protokollierung).
Volume
public decimal? Volume { get; set; }
value = quotingAction.Volume
quotingAction.Volume = value
Empfohlenes Volumen für neue Bestellung.
Methoden
Cancel
public static QuotingAction Cancel(string reason)
result = QuotingAction.Cancel(reason)
Erstellen Sie das Ergebnis "Order stornieren".
Finish
public static QuotingAction Finish(bool isSuccess, string reason)
result = QuotingAction.Finish(isSuccess, reason)
Erstellen Sie das Ergebnis "Zitat beenden".
Modify
public static QuotingAction Modify(decimal? price, decimal volume, OrderTypes orderType, string reason)
result = QuotingAction.Modify(price, volume, orderType, reason)
Erstellen Sie das Ergebnis "Ordnung ändern".
None
public static QuotingAction None(string reason)
result = QuotingAction.None(reason)
Erstellen Sie "keine Aktion" Ergebnis.
Register
public static QuotingAction Register(decimal? price, decimal volume, OrderTypes orderType, string reason)
result = QuotingAction.Register(price, volume, orderType, reason)
Erstellen Sie das Ergebnis "Register Order".