Table of Contents

Class EmulationOrderCondition

Namespace
StockSharp.Algo.Testing
Assembly
StockSharp.Algo.dll

IMarketEmulator order condition.

[DataContract]
[Display(ResourceType = typeof(LocalizedStrings), Name = "Emulator")]
public class EmulationOrderCondition : OrderCondition, IStopLossOrderCondition, ITakeProfitOrderCondition
Inheritance
EmulationOrderCondition
Implements
Inherited Members
Extension Methods

Constructors

EmulationOrderCondition()

public EmulationOrderCondition()

Properties

IsTakeProfit

Is take profit.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "TakeProfit", Description = "TakeProfit", GroupName = "Parameters", Order = 0)]
public bool IsTakeProfit { get; set; }

Property Value

bool

StopPrice

Stop-price.

[DataMember]
[Display(ResourceType = typeof(LocalizedStrings), Name = "StopPrice", Description = "StopPriceValue", GroupName = "Parameters", Order = 1)]
public decimal? StopPrice { get; set; }

Property Value

decimal?