Trading Call Flow

Trading Call Flow A workflow diagram generated by Archify. 01 / Prepare 02 / Fund and approve 03 / Strategy EX / Outcome List accounts · GET /managed-accounts · Prepare · step 1 List accounts GET /managed-accounts step 1 Check binding · optional read · Prepare · step 2 Check binding optional read step 2 Resolve inputs · configs / assets / venues · Prepare · step 3 Resolve inputs configs / assets / venues step 3 Deposit playlist · POST /api/playlists · Prepare · step 4 Deposit playlist POST /api/playlists step 4 Wait for equity · positions until > 0 · Fund and approve · step 5 Wait for equity positions until > 0 step 5 Approve agent · binding/approve · Fund and approve · step 6 Approve agent binding/approve step 6 Confirm approval · approval-status · Fund and approve · step 7 Confirm approval approval-status step 7 Builder fee · optional · Fund and approve · step 8 Builder fee optional step 8 Read the market · markets / state · Strategy · step 9 Read the market markets / state step 9 Strategy draft · POST /advanced-strategies · Strategy · step 10 Strategy draft POST /advanced-strategies step 10 Validate · no body · Strategy · step 11 Validate no body step 11 Publish · no body · Strategy · step 12 Publish no body step 12 Arm · live trading starts · Strategy · step 13 Arm live trading starts step 13 Dry-run · no real orders · Outcome Dry-run no real orders Live orders · placed by the agent · Outcome Live orders placed by the agent draft id published rules evaluate binding must be approved fund first equity > 0 master signs, allow 180s optional approved: true Legend User UI Agent logic Policy External system

Fund before you approve

  • • Hyperliquid rejects an agent approval from an unfunded account
  • • The API reports that rejection as a bare 500
  • • Poll positions until equity is above zero

Approval waits on the signature

  • • The call blocks while the master key signs
  • • Allow at least 180 seconds for the round trip
  • • A 409 means it is still running: poll approval-status

Arming needs an approved binding

  • • arm only works after approved: true
  • • dry-run runs the same rules without real orders
  • • No standalone order endpoint exists