Table of Contents

Class AlpacaOrderCondition

Namespace
StockSharp.Alpaca
Assembly
StockSharp.Alpaca.dll

StockSharp.Alpaca order condition.

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

Constructors

AlpacaOrderCondition()

Initializes a new instance of the AlpacaOrderCondition.

public AlpacaOrderCondition()

Properties

IgnoreRth

Indicates whether or not conditions will also be valid outside Regular Trading Hours.

[DataMember]
public bool? IgnoreRth { get; set; }

Property Value

bool?

OrderClass

Order class.

[DataMember]
public AlpacaOrderClasses? OrderClass { get; set; }

Property Value

AlpacaOrderClasses?

Price

Close position price.

[DataMember]
public decimal? Price { get; set; }

Property Value

decimal?

Trail

Trail price.

[DataMember]
public decimal? Trail { get; set; }

Property Value

decimal?

TrailPercent

Trail price.

[DataMember]
public decimal? TrailPercent { get; set; }

Property Value

decimal?