Alpaca connector
@qtrader/alpaca-connector
Talk to Alpaca from Claude Code: account, positions, orders (list, place, cancel), latest quote, and historical bars to CSV, using Node's built-in fetch. Paper trading by default. Live orders need ALPACA_LIVE=1 plus your yes in chat for each order. Not financial advice.
- Activity
- New: be the first to try it
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
What this kit declares, in the same words the CLI shows before you install. On Claude Code the CLI turns these into permission rules, so the agent stops anything undeclared.
Command
Runs the command: node scripts/alpaca.mjs (with any arguments, without asking)
Command
Runs the command: node scripts/selftest.mjs (with any arguments, without asking)
Network
Connects to paper-api.alpaca.markets
Network
Connects to api.alpaca.markets
Network
Connects to data.alpaca.markets
Reads
Reads files in ./data/**
Writes
Writes files in ./data/**
Writes
Writes files in ./out/**
Environment
Uses the ALPACA_API_KEY_ID environment variable (its value stays on your machine)
Environment
Uses the ALPACA_API_SECRET_KEY environment variable (its value stays on your machine)
Environment
Uses the ALPACA_LIVE environment variable (its value stays on your machine)
- Works with
- claude-code
- License
- MIT
