Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ramirez-justinv1.0.0MITIn 1 marketplace
Alpaca Markets trading integration for Claude Code - zero dependencies, direct API calls. Trade stocks, crypto, and options with paper or live trading.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Trade stocks and crypto directly from Claude Code using the Alpaca Markets API. This plugin provides zero-dependency direct API integration for account management, market data, and order execution.
Add to your .claude/settings.json:
{
"env": {
"ALPACA_API_KEY": "your-api-key-id",
"ALPACA_API_SECRET": "your-api-secret-key",
"ALPACA_PAPER": "true"
}
}
/alpaca-account # Check your account
/alpaca-quote AAPL # Get a stock quote
/alpaca-order buy AAPL 10 # Buy 10 shares (paper mode)
| Command | Description |
|---|---|
/alpaca-account | View account info, balances, and buying power |
/alpaca-positions [symbol] | View open positions and P&L |
/alpaca-quote <symbol> | Get real-time stock quotes |
/alpaca-bars <symbol> [timeframe] [limit] | View historical price data |
/alpaca-orders [status] | View pending/completed orders |
/alpaca-order <side> <symbol> <qty> [type] [price] | Place an order |
/alpaca-cancel <order_id | --all> | Cancel orders |
/alpaca-close <symbol | --all> | Close positions |
/alpaca-clock | Check market hours and status |
Execute immediately at current market price:
/alpaca-order buy AAPL 10
Execute at specified price or better:
/alpaca-order buy AAPL 10 limit 150.00
Trigger market order when price reaches stop:
/alpaca-order sell AAPL 10 stop 145.00
Trigger limit order when price reaches stop:
/alpaca-order buy AAPL 10 stop_limit 145.00 150.00
Dynamic stop that follows the price:
/alpaca-order sell AAPL 10 trailing_stop --trail=5%
| Option | Description |
|---|---|
--tif=day | Day order (default) - expires at market close |
--tif=gtc | Good-til-canceled - stays active until filled |
--tif=ioc | Immediate-or-cancel - fill immediately or cancel |
--extended | Allow extended hours trading |
--notional | Quantity is dollar amount, not shares |
| Timeframe | Description |
|---|---|
1Min | 1-minute bars |
5Min | 5-minute bars |
15Min | 15-minute bars |
1Hour | Hourly bars |
1Day | Daily bars (default) |
1Week | Weekly bars |
1Month | Monthly bars |
Example:
/alpaca-bars AAPL 1Hour 24 # Last 24 hourly bars
/alpaca-bars TSLA 1Week 52 # Last year of weekly bars
By default, the plugin uses paper trading mode, which simulates trades with fake money. This is perfect for:
To switch to live trading (real money):
{
"env": {
"ALPACA_PAPER": "false"
}
}
Warning: Live trading uses real money. Always double-check orders before confirming.
Use /alpaca-clock to check current market status.
For extended hours trading, add --extended to your order.
This plugin follows the zero-dependency pattern:
https modulealpaca-plugin/
├── .claude-plugin/
│ └── plugin.json
├── commands/
│ ├── alpaca-account.md
│ ├── alpaca-positions.md
│ └── ...
├── scripts/
│ ├── alpaca-client.js # Main API client
│ ├── account.js
│ ├── order.js
│ └── ...
├── agents/
│ └── trading-assistant.md
└── hooks/
└── hooks.json
Alpaca has a rate limit of 200 requests per minute. The plugin handles this gracefully, but avoid rapid-fire requests.
Ensure ALPACA_API_KEY and ALPACA_API_SECRET are set in .claude/settings.json.
Check that your API keys are correct and haven't expired.
npx claudepluginhub ramirez-justin/claude-plugins --plugin alpacaBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground