Skip to main content
Max loss (max drawdown) is stored on the account’s risk profile, not as a free-standing field on the account row. You set three values: For an existing account, use the account-specific endpoint below. Tradara clones a shared plan risk profile before applying the change, so the update cannot affect other accounts.

Modes

Existing accounts

operationId: setFirmAccountMaxLossLimit Requires accounts:write. A firm API key is automatically scoped to its firm.

Body

To cap at starting balance plus $100, send:

Response — 200 OK

max_drawdown_lock_ceiling is the resolved dollar level: starting balance plus max_drawdown_limit. Tradara emits account.updated so risk enforcement recomputes the max-loss floor immediately. Confirm the live floor with GET /v1/firm-control/accounts/{account_id}/risk-state (max_loss_limit_trigger).
Apply the new cap before posting the payout withdrawal when the old trailing floor would cause the reduced balance or equity to breach.
The cap does not lift a floor that is still below the ceiling. After a payout, an end-of-day account whose floor is $48,000 stays at $48,000 until you place the floor with Set max-loss level. Set the ceiling here and the level there. If the level is above the current ceiling, the live floor stays at the ceiling until you raise it. The max-loss cap does not move the daily-loss floor. To set that floor directly, without changing today’s realized P&L, use Set daily-loss trigger. After a migration that should start a new daily measurement window, use Re-anchor daily loss.

New accounts

For account creation, send a risk_profile overlay on POST /v1/firm-control/accounts. Tradara clones the plan’s profile so the rules apply only to the new account.

Errors