Show / Hide Table of Contents

Class BracketOrder

A bracket order is a chain of three orders that can be used to manage your position entry and exit. It is a common use case of an OTOCO (One Triggers OCO {One Cancels Other}) order.

Inheritance
System.Object
OrderBase
AdvancedOrderBase
BracketOrder
Inherited Members
AdvancedOrderBase.OrderClass
OrderBase.Symbol
OrderBase.Quantity
OrderBase.Side
OrderBase.Type
OrderBase.Duration
OrderBase.ClientOrderId
OrderBase.ExtendedHours
OrderBase.PositionIntent
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 BracketOrder : AdvancedOrderBase
Remarks

See Alpaca Order Documentation for more information.

Properties

| Improve this Doc View Source

StopLoss

Gets prices for stop loss order for the bracket order.

Declaration
public IStopLoss StopLoss { get; }
Property Value
Type Description
IStopLoss
| Improve this Doc View Source

TakeProfit

Gets prices for take profit order for the bracket order.

Declaration
public ITakeProfit TakeProfit { get; }
Property Value
Type Description
ITakeProfit

Extension Methods

OrderBaseExtensions.WithDuration<TOrder>(TOrder, TimeInForce)
OrderBaseExtensions.WithClientOrderId<TOrder>(TOrder, String)
OrderBaseExtensions.WithExtendedHours<TOrder>(TOrder, Boolean)
OrderBaseExtensions.WithPositionIntent<TOrder>(TOrder, PositionIntent)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX