Back to builder reference

Condition

fixed_targets
exit

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

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)-
Quawd

A subscription SaaS platform for designing, backtesting, and paper-trading algorithmic trading strategies on equities and crypto — described in plain English to an AI agent, no code required.

© 2026 Quawd. All rights reserved.

Quawd is a software tool, not a broker-dealer or investment adviser, and does not provide investment advice. Trading involves substantial risk of loss. Backtested and hypothetical results have inherent limitations and are not indicative of future performance.