For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

Before placing orders, review the trader integration playbook in getting-started/trader-questions.md: tradable symbol, correct balance type, execution mode, and status tracking path.

Order types

Type
Side
Required fields

Market buy

Buy

notional

Market sell

Sell

quantity

Limit

Buy or Sell

quantity, price, timeInForce

All orders require stockAddress (from symbols list) and deadline (Unix seconds, ≤ 4294967295).

Use strings for quantity, notional, and price to avoid JS precision loss.

Execution modes

Mode
Place order
Cancel limit
Record tx

Self-submit

POST /orders/calldata

DELETE /orders/{orderId}/calldata

POST /orders/tx

One Click

POST /orders/send

DELETE /orders/{orderId}/send

Auto-recorded

One Click requires enabled delegation — see one-click-delegated.md and guides/one-click-flow.md.

Typical flow

  1. Check portfolio for buying power and holdings.

  2. Get quote from market if needed.

  3. Build or send order — place-and-cancel-orders.md.

  4. Track status — order-status-and-history.md.

Self-submit sequence: see guides/self-submit-on-chain.md.

Last updated