QuotingAction

StockSharp.Algo.Strategies.Quoting

Рекомендуемые действия по выводу двигателя.

Свойства

ActionType
public QuotingActionType ActionType { get; set; }
value = quotingAction.ActionType
quotingAction.ActionType = value

Тип действия.

IsSuccess
public bool IsSuccess { get; set; }
value = quotingAction.IsSuccess
quotingAction.IsSuccess = value

Удалось ли цитирование (для окончательного действия).

OrderType
public OrderTypes? OrderType { get; set; }
value = quotingAction.OrderType
quotingAction.OrderType = value

Тип заказа для нового заказа.

Price
public decimal? Price { get; set; }
value = quotingAction.Price
quotingAction.Price = value

Рекомендуемая цена для нового заказа (нулевая для рыночных заказов).

Reason
public string Reason { get; set; }
value = quotingAction.Reason
quotingAction.Reason = value

Причина действия (для рубки).

Volume
public decimal? Volume { get; set; }
value = quotingAction.Volume
quotingAction.Volume = value

Рекомендуемый объем для нового заказа.

Методы

Cancel
public static QuotingAction Cancel(string reason)
result = QuotingAction.Cancel(reason)

Создайте результат «отменить заказ».

Finish
public static QuotingAction Finish(bool isSuccess, string reason)
result = QuotingAction.Finish(isSuccess, reason)

Создайте результат «завершить цитирование».

Modify
public static QuotingAction Modify(decimal? price, decimal volume, OrderTypes orderType, string reason)
result = QuotingAction.Modify(price, volume, orderType, reason)

Создайте результат «Изменить заказ».

None
public static QuotingAction None(string reason)
result = QuotingAction.None(reason)

Создайте результат «нет действий».

Register
public static QuotingAction Register(decimal? price, decimal volume, OrderTypes orderType, string reason)
result = QuotingAction.Register(price, volume, orderType, reason)

Создайте результат «регистрация заказа».