Skip to main content

Interface: ExitLevel

Broker.ExitLevel

Describes a specific exit level (bracket) for an order or position. Used when BrokerConfigFlags.supportMultipleExitLevels is enabled.

Hierarchy​

Properties​

guaranteedStop​

Optional

guaranteedStop: number

Guaranteed stop loss price.


id​

id: string

Unique identifier for the exit level.


isExisting​

Optional

isExisting: boolean

Indicates whether the exit level already exists.

true

qty​

qty: number

Quantity to close at this level.


stopLoss​

Optional

stopLoss: number

Stop loss price.


takeProfit​

Optional

takeProfit: number

Take profit price.


trailingStopPips​

Optional

trailingStopPips: number

Trailing stop value in pips.