Table of Contents

Class OandaOrderCondition

Namespace
StockSharp.Oanda
Assembly
StockSharp.Oanda.dll

StockSharp.Oanda order condition.

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

Constructors

OandaOrderCondition()

Initializes a new instance of the OandaOrderCondition.

public OandaOrderCondition()

Properties

IsMarket

If Market If Touched mode.

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

Property Value

bool?

LowerBound

Minimum execution price.

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

Property Value

decimal?

StopLossOffset

Stop-loss offset.

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

Property Value

decimal?

TakeProfitOffset

Take-profit offset.

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

Property Value

decimal?

TrailingStopLossOffset

Offset of a trailing stop-loss.

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

Property Value

decimal?

UpperBound

Maximum execution price.

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

Property Value

decimal?