QuotingAction
StockSharp.Algo.Strategies.Quoting
Recommended action output from the engine.
Properties
ActionType
public QuotingActionType ActionType { get; set; }
value = quotingAction.ActionType
quotingAction.ActionType = value
Type of action.
IsSuccess
public bool IsSuccess { get; set; }
value = quotingAction.IsSuccess
quotingAction.IsSuccess = value
Whether the quoting was successful (for Finish action).
OrderType
public OrderTypes? OrderType { get; set; }
value = quotingAction.OrderType
quotingAction.OrderType = value
Order type for new order.
Price
public decimal? Price { get; set; }
value = quotingAction.Price
quotingAction.Price = value
Recommended price for new order (null for market orders).
Reason
public string Reason { get; set; }
value = quotingAction.Reason
quotingAction.Reason = value
Reason for the action (for logging).
Volume
public decimal? Volume { get; set; }
value = quotingAction.Volume
quotingAction.Volume = value
Recommended volume for new order.
Methods
Cancel
public static QuotingAction Cancel(string reason)
result = QuotingAction.Cancel(reason)
Create "cancel order" result.
Finish
public static QuotingAction Finish(bool isSuccess, string reason)
result = QuotingAction.Finish(isSuccess, reason)
Create "finish quoting" result.
Modify
public static QuotingAction Modify(decimal? price, decimal volume, OrderTypes orderType, string reason)
result = QuotingAction.Modify(price, volume, orderType, reason)
Create "modify order" result.
None
public static QuotingAction None(string reason)
result = QuotingAction.None(reason)
Create "no action" result.
Register
public static QuotingAction Register(decimal? price, decimal volume, OrderTypes orderType, string reason)
result = QuotingAction.Register(price, volume, orderType, reason)
Create "register order" result.