What you can build
- Place orders with exits attached — the stop and target ride along atomically, as one unit or not at all.
- Set and move protection after entry — each level is three-state: a number sets it, null removes it, omitting it leaves the resting leg alone.
- Manage what’s resting — replace an order’s price, cancel one, or cancel everything working. A replace reports its own
outcome, and onlyamendedandreplacedare successes. - Act on positions — flatten one instrument, flatten the account, reverse a position, close part of one. Each cancels something different first.
- Apply saved exit plans — preview a plan against the account, then place by reference, never by retyped levels.
- Configure leverage where the venue has it — read and set leverage and margin mode per instrument, and price an order’s margin before sending it.
- Respect the risk gate — a locked account answers
423to every order; the controls that lock it are readable and settable.
Core objects
An order, a position, its exits (the stop and target), an exit plan, and the risk controls. Each appears in Trading and Account in the reference.Where to go next
Place your first order
From a firm key to a filled order with exits, in five steps.
Protect a position
The stop and the target as one unit, at entry or after.
Manage working orders
Replace a price, cancel one, sweep the book.
Close a position
Four ways out, and what each cancels first.
Save exit plans
Author a ladder once, preview it, place by reference.
Set risk controls
The five controls, and the
423 they produce.Trade with leverage
Leverage, margin mode, and the margin an order costs.
Track fills and P&L
The durable ledgers, and when to prefer the snapshot.