Class StopLossOrder
Encapsulates data required for placing stop loss order on the Alpaca REST API.
Implements
Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public sealed class StopLossOrder : AdvancedOrderBase, IStopLossProperties
| Improve this Doc View SourceLimitPrice
Gets the stop loss limit price.
Declaration
public Decimal? LimitPrice { get; }Property Value
| Type | Description | 
|---|---|
| System.Nullable<Decimal> | 
StopPrice
Gets the stop loss stop price.
Declaration
public Decimal StopPrice { get; }Property Value
| Type | Description | 
|---|---|
| Decimal | 
Methods
| Improve this Doc View SourceTakeProfit(Decimal)
Creates a new instance of the BracketOrder order from the current order.
Declaration
public BracketOrder TakeProfit(Decimal takeProfitLimitPrice)Parameters
| Type | Name | Description | 
|---|---|---|
| Decimal | takeProfitLimitPrice | Take profit order limit price. | 
Returns
| Type | Description | 
|---|---|
| BracketOrder | New advanced order representing pair of original order and take profit order. |