operationId: reanchorDailyLoss
A firm API key can call this route for an account in its firm. The operation:
- Calculates the existing allowance as
previous start_of_day_balance - previous daily_loss_limit_trigger. - Sets
start_of_day_balanceto currentbalance. - Sets
realized_day_pnlto0. - Sets
daily_loss_limit_triggerto the new anchor minus the preserved allowance. - Publishes
balance.updatedso live risk enforcement uses the new trigger.
Migration example
An imported account was created at$50,000, with a $1,250 DLL:
$47,685.28. Re-anchoring
produces:

