Class StopLimitOrder
- Namespace
- Balsam
- Assembly
- Balsam.Backtester.dll
Stop limit order
public class StopLimitOrder : Order, IOrder, ICloneable, ITrade
- Inheritance
-
StopLimitOrder
- Implements
- Inherited Members
- Extension Methods
Constructors
StopLimitOrder(OrderSide, double, string, double, double)
Instantiates a new stop limit order using the specified parameters.
public StopLimitOrder(OrderSide side, double quantity, string symbol, double stopPrice, double limitPrice)
Parameters
Properties
LimitPrice
Gets/sets the limit price.
public double LimitPrice { get; set; }
Property Value
StopPrice
Gets/sets the stop price.
public double StopPrice { get; set; }
Property Value
Methods
OnGetDescription()
Returns a string representation of this stop order.
protected override string OnGetDescription()
Returns
OnGetPrice()
Returns the limit price.
protected override double? OnGetPrice()