OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add storyclaw-official/talenthub --skill storyclaw-alpaca-trading
US stock and crypto trading via Alpaca API. Paper trading (simulated) and real trading supported. Real-time quotes, orders, positions, RSI strategy.
npx skills add storyclaw-official/talenthub --skill storyclaw-alpaca-trading
Trade US stocks and crypto via Alpaca API. Supports both paper trading (simulated, free) and real trading.
Each user has their own credentials/{USER_ID}.json:
To switch to real trading, change baseUrl to https://api.alpaca.markets.
Or set ALPACA_API_KEY and ALPACA_API_SECRET env vars.
USER_ID=$TELEGRAM_USER_ID node {baseDir}/scripts/trading.js checkcredentials/{USER_ID}.json or set env vars| Tier | Calls/min | Data delay |
|---|---|---|
| Free | 200 | 15 min |
| Unlimited | Unlimited | Real-time |
node {baseDir}/scripts/trading.js check # Check config
node {baseDir}/scripts/trading.js account # Balance
node {baseDir}/scripts/trading.js positions # Current holdings
node {baseDir}/scripts/trading.js history # Order history
node {baseDir}/scripts/trading.js portfolio-history # Equity curve (1W default)
node {baseDir}/scripts/trading.js portfolio-history 1M # 1D/1W/1M/3M/1Anode {baseDir}/scripts/trading.js quote AAPL # Real-time quote
node {baseDir}/scripts/trading.js bars AAPL 30 # Price history
node {baseDir}/scripts/trading.js rsi AAPL 14 # RSI indicatornode {baseDir}/scripts/trading.js buy AAPL 10 # Buy (market order)
node {baseDir}/scripts/trading.js sell AAPL 10 # Sellnode {baseDir}/scripts/trading.js strategy-rsi AAPL # RSI mean reversion
# RSI < 30 + no position → BUY; RSI > 70 + has position → SELL