่ทณ่ฝฌ่‡ณ

๐Ÿš€ Getting Started Guide

Time: 15 minutes
Level: Beginner


โœ… Prerequisites


๐Ÿ“ Step 1: Verify Installation

ta --version

Expected output:

OpenClaw Trading Assistant CLI v1.3.0


๐Ÿ“ 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

โ†’ Detailed API Setup


๐Ÿ“ Step 3: Setup Watchlist

Create watchlist.txt with stocks to monitor:

cat > watchlist.txt << EOF
NVDA
AAPL
MSFT
GOOGL
TSLA
EOF

โ†’ Watchlist Configuration


๐Ÿ“ Step 4: Run Your First Analysis

Interactive Mode

ta

You'll see:

============================================================
  OpenClaw Trading Assistant CLI
  Version: 1.3.0
============================================================

ta> 

Type commands:

ta> help
ta> sig
ta> exit

Direct Command

# Analyze all stocks in watchlist
ta all

๐Ÿ“Š 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

โ†’ Full CLI Reference

Advanced Topics


โ“ Troubleshooting

"API Key Invalid"

Check your .env file:

cat .env

Make sure keys are correct (no extra spaces).

"No stocks in watchlist"

Create watchlist.txt:

echo "NVDA" > watchlist.txt
echo "AAPL" >> 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