Back to builder reference
Condition
fixed_targetsexit
Fixed stop-loss / take-profit / time-stop (supports take_profit_tiers for staged partial exits)
Category
Risk management
Discriminator
kind = "fixed_targets"
Roles
exit
Required fields
None.
Optional fields
FieldTypeDescription
breakeven_buffer_pctnumber-breakeven_trigger_pctanyOf (2 variants)-kindstring-stop_loss_pctanyOf (2 variants)-stop_loss_price_refanyOf (2 variants)Structural stop price (absolute) resolved from a ValueRef at fill time. Mutually exclusive with stop_loss_pct.stop_order_idanyOf (2 variants)ID of the stop order to use as the R-distance anchor for take_profit_r_multiple. Defaults to 'sl' (the stop emitted by this spec). Only valid when take_profit_r_multiple is set.take_profit_pctanyOf (2 variants)-take_profit_r_multipleanyOf (2 variants)Take-profit at N x R from the SL's risk distance. Requires a stop (stop_loss_pct or stop_loss_price_ref). Mutually exclusive with take_profit_pct and take_profit_tiers. Resolved at fill time.take_profit_tiersarray<TpTierSpec>-time_stop_barsanyOf (2 variants)-