Skip to main content

Commands

Connect an Account

Returns an authorize_url — open it, approve access, and Naive stores the bearer token. Then confirm:
Use --env live for a funded account. A user can connect both; pass --env on each command when both are connected.

Place an Order

The same command trades every asset class — the symbol selects the market. Provide either --qty or --notional.
Placing orders, cancelling orders, and closing positions are sensitive. Depending on the user’s Account Kit they may require human approval — the command then returns status: "pending_approval" and runs only after naive approvals approve <id>.

Positions

Orders

Market Data

Asset Classes