orderly is the trading CLI for Orderly Network. It ships as a single static binary, so there is
no Node.js runtime, package manager, or dependency tree to install. Source:
OrderlyNetwork/cli.
Not the devkit CLI.
orderly is not orderly-devkit. The devkit CLI
(@orderly.network/devkit) only scaffolds and publishes Builders Marketplace plugins — see CLI
reference (orderly-devkit). This page is
about the trading client.What it is
A terminal trading client for Orderly Network. One static binary covers market data, order management, account operations, and streaming, against both testnet and mainnet.Security model
Wallet and API keys live in the OS keychain. They are never written to files, and signing happens inside the binary. Command output contains results only, so you can give an agent access to the CLI without exposing keys.Output
JSON by default; add--csv for list data. Run orderly --help for the full command surface.
Machine-readable command surface
orderly schema --json prints the entire command tree as JSON: every command, its arguments and
flags, which are required, defaults, and whether the command mutates server state. Use it instead
of parsing --help.
Mutating commands also accept --dry-run, which prints the exact request that would be signed and
sent, then exits without touching the keychain or the network:
0 success, 1 unexpected, 2 usage/validation, 3 auth, 4 trading
rejection, 5 transient (rate limit or upstream error).
Install
Linux x86_64
Linux arm64
macOS Apple silicon
macOS Intel
Windows
Downloadorderly-x86_64-pc-windows-msvc.zip (or orderly-aarch64-pc-windows-msvc.zip on ARM)
and add the extracted directory to PATH.
Release asset names are unversioned, so
releases/latest/download/... URLs stay stable and can be
used directly in automation. Checksums, cosign signatures, and provenance are documented in
INSTALL.md.Quick start on testnet
What it can do
- Market data — markets, prices, and orderbook snapshots.
- Orders — place, cancel, edit, and batch operations.
- Algo orders — take-profit/stop-loss, trailing, and bracket orders.
- Positions — list positions and close them.
- Account — leverage, balances, deposits, and withdrawals.
- Streaming — WebSocket subscriptions from the terminal.
- Chains — EVM chains including Arbitrum, Base, and Optimism, plus Solana.
Why it is agent-friendly
- Keychain isolation — keys stay in the OS keychain and never appear in files or output.
- JSON output — results are machine-readable by default, with
--csvfor list data. - No Node dependency — a single static binary, so nothing else needs to be installed.
- Stable release URLs — unversioned asset names make
releases/latest/downloadsafe to pin in scripts.