π Getting Started Guide¶
Time: 15 minutes
Level: Beginner
β Prerequisites¶
- Trading Assistant installed (Installation Guide)
- API keys configured (API Setup)
π Step 1: Verify Installation¶
Expected output:
π Step 2: Configure API Keys¶
Create .env file in your working directory:
# Create .env file
cat > .env << EOF
TWELVE_DATA_API_KEY=your_key_here
ALPHA_VANTAGE_API_KEY=your_key_here
LANGUAGE=en
EOF
π Step 3: Setup Watchlist¶
Create watchlist.txt with stocks to monitor:
π Step 4: Run Your First Analysis¶
Interactive Mode¶
You'll see:
============================================================
OpenClaw Trading Assistant CLI
Version: 1.3.0
============================================================
ta>
Type commands:
Direct Command¶
π Understanding Output¶
Trading Signals Example¶
π Generating signals...
NVDA:
RSI: 52.34 [Neutral]
MACD: 0.1234 [Bullish]
Moving Averages: [Bullish]
Combined: Bullish (score: 3)
Recommendation: BUY (Confidence: Medium)
β
Done!
What it means: - RSI: Momentum indicator (30-70 is neutral) - MACD: Trend indicator (positive = bullish) - Moving Averages: Price trend direction - Combined: Overall signal - Recommendation: Action suggestion
π― Common Workflows¶
Daily Market Check¶
# Quick signals for watchlist
ta sig
# Detailed analysis for specific stock
ta sig --symbol NVDA
# All analysis (SR + Signals + Position)
ta all
Position Planning¶
# Calculate position for trade
ta pos --symbol NVDA --price 175 --capital 10000 --risk 2
# Output shows:
# - Shares to buy
# - Position value
# - Risk amount
# - Stop loss level
Price Alerts¶
# List existing alerts
ta alerts list
# Create new alert
ta alerts create --symbol NVDA --entry 175 --stop 170 --target 185
# Check if alerts triggered
ta alerts check
π Learn More¶
CLI Commands¶
| Command | Description |
|---|---|
ta |
Interactive mode |
ta sig |
Trading signals |
ta sr |
Support/Resistance |
ta pos |
Position calculator |
ta alerts |
Price alerts |
ta all |
Full analysis |
Advanced Topics¶
β Troubleshooting¶
"API Key Invalid"¶
Check your .env file:
Make sure keys are correct (no extra spaces).
"No stocks in watchlist"¶
Create watchlist.txt:
"Command not found: ta"¶
Make sure installation completed:
# For pip
pip show openclaw-trading-assistant
# For npm
npm list -g @xuxuclassmate/openclaw-trading-assistant
π You're Ready!¶
Now you can: - β Generate trading signals - β Analyze support/resistance - β Calculate position sizes - β Set price alerts
Next: Trading Signals Guide