π Watchlist Setup Guide¶
Overview¶
The watchlist is your personal list of stocks/crypto symbols that the Trading Assistant monitors and analyzes.
Quick Setup¶
Method 1: Create Manually¶
# Create watchlist file
echo "NVDA" > watchlist.txt
echo "AAPL" >> watchlist.txt
echo "SPY" >> watchlist.txt
Method 2: Copy Example¶
# Download example template
curl -O https://raw.githubusercontent.com/XuXuClassMate/trading-assistant/main/watchlist.txt.example
cp watchlist.txt.example watchlist.txt
File Format¶
One symbol per line:
Supported Symbols¶
US Stocks¶
- Individual stocks:
NVDA,AAPL,TSLA - ETFs:
SPY,QQQ,IWM
Cryptocurrency (via Binance/CoinGecko)¶
- Bitcoin:
BTC-USDorBTCUSDT - Ethereum:
ETH-USDorETHUSDT - Others:
SOL-USD,BNB-USD
A-Share Stocks (China)¶
- Shanghai:
600519.ss(Kweichow Moutai) - Shenzhen:
000858.sz(Wuliangye)
Location¶
Place watchlist.txt in your working directory:
your-working-directory/
βββ .env # API keys
βββ watchlist.txt # Your stock list
βββ ...
Usage Examples¶
Analyze All Stocks in Watchlist¶
Real-time Monitor¶
Backtest Signals¶
Tips¶
- Keep it focused: 5-20 symbols is ideal for daily analysis
- Update regularly: Remove stocks you're no longer tracking
- Never commit to Git: Add to
.gitignore(contains your personal strategy)
Troubleshooting¶
"No symbols in watchlist"¶
Solution: Make sure watchlist.txt exists and has at least one symbol:
"Invalid symbol"¶
Solution: Check symbol format:
- US stocks: NVDA (uppercase)
- Crypto: BTC-USD or BTCUSDT
- A-shares: 600519.ss