Preview the closeout that would happen on iteration
GET/v1/me/agents/:id/iterate
Returns the open positions and pending orders that POST /iterate would flatten + cancel, plus the estimated realized P&L from flattening at current marks. Read this before showing the operator a confirm modal so they see the dollar impact upfront. Read-only; idempotent.
Request
Responses
- 200
- 401
- 404
OK
Authentication required
Resource not found