@boole-digital/cli
v0.3.1
Published
Boole — install, sign in, and operate your trading computer from the terminal (Claude Code, Codex, Gemini).
Downloads
1,448
Maintainers
Readme
@boole-digital/cli
Operate your Boole trading computer from the terminal — and let your coding agent (Claude Code, Codex, or Gemini) drive it safely.
npx @boole-digital/cli login # sign in (opens your browser)
npx @boole-digital/cli connect # connect to your trading computer
npx @boole-digital/cli init # scaffold an agent workspace hereThen open the folder in Claude Code, Codex, or Gemini and start working. The
agent reads the operating rules init wrote and creates strategies the right
way — every one tracked on your Boole dashboard.
Requirements
- Node.js >= 18 (that's it — SSH is built in, no
expect/PuTTY needed) - A Boole account with onboarding complete (terms + billing) at trade.boole.markets. Your first trading computer is created in the app; after that the CLI can connect and operate it.
Commands
| Command | What it does |
|---|---|
| login [--paste] | Sign in via the browser (--paste for manual code entry). |
| connect [name] | Connect to a trading computer; caches access for this machine. |
| init [dir] [--force] | Write CLAUDE.md / AGENTS.md / GEMINI.md so your agent has the rules. |
| computers | List your trading computers. |
| status | Identity + computers + a live snapshot. |
| balances [--venue <v>] | Equity and open positions. |
| ssh "<cmd>" | Run a read-only command on the box. |
| logs [name] | Tail a strategy's logs. |
| strategy spawn --template <t.js> --name <n> [--param K=V]... | Create a tracked strategy through the gateway. |
| strategy ls | List running strategies. |
| strategy doctor [name] | Gateway health + tracking status. |
| logout | Sign out, clear the cached session. |
Creating a strategy
Strategies are always created through the gateway so they appear on your dashboard with full accounting:
boole strategy spawn --template loop_template.js --name btc-watch \
--param EXCHANGE=hyperliquid --param MARKET=BTC --param POLL_SEC=10Notes
- Credentials and SSH access are stored under
~/.boole/with0600permissions and are never logged. - Set
BOOLE_API_BASEto point at a non-production environment.
© 2026 Boole Digital. Proprietary — see LICENSE. Trading involves substantial risk of loss.
