Orders
Bracket orders and automated risk controls in webhook trading
Understand parent orders, take-profit legs, stop-loss legs, and why bracket lifecycle control matters in automated trading.

A bracket order connects an entry with protective exit logic, commonly a take-profit leg and a stop-loss leg. In automated trading, bracket orders can be powerful, but they must be handled carefully because parent and child order states can change at different times.
How bracket orders work
A typical bracket has a parent entry order and attached exit legs. If the parent fills, the take-profit and stop-loss legs become relevant. If one exit leg fills, the other should usually be cancelled by the broker or execution system depending on how the order was submitted.
TradeLuma is designed to keep bracket intent, parent orders, and attached legs visible so traders can understand the relationship instead of seeing disconnected orders without context.
Why broker support matters
Not every broker, asset class, account type, or quantity format supports the same bracket behaviour. Crypto, fractional shares, after-hours rules, and different order classes may have broker-specific limitations.
A safer automation platform should block unsupported bracket requests before they reach the broker rather than submitting something that does not match the trader's intention.
Manual close and bracket cancellation
Manual close requires special care when bracket legs are active. The platform should cancel open protective legs first where appropriate, then submit the close order, and then reconcile broker state after fills or cancellations.
This is why bracket lifecycle testing is a core part of TradeLuma's safety model. The order card should explain what is active, what is attached, and what action is safe to take next.
Frequently asked questions
What is a bracket order in trading?
A bracket order links an entry with protective exit orders, commonly a take-profit and a stop-loss. When one exit fills, the other is normally cancelled according to the broker or execution workflow.
Are bracket orders available for every asset?
No. Bracket order availability depends on the broker, asset class, order type, account mode, and quantity rules.
Can a trader cancel bracket legs separately?
Where supported and safe, bracket legs can be managed with clear parent/child context so the trader understands the effect of the action.
Continue learning
Related TradeLuma guides
Build a controlled automation workflow with TradeLuma
Configure alerts, test in paper mode, apply execution controls, and follow broker outcomes from one workspace.


