返回 Skill 列表
extension
分类: 数据与分析无需 API Key

Stock Tech Analysis

股票(腾讯、小米、特斯拉、英伟达等)简易技术分析。计算移动平均线(SMA20、SMA50)、RSI(14日)及20日价格位置...

person作者: loda13hubclawhub

Stock Technical Analysis

Simple technical analysis for stocks using Yahoo Finance data.

What it does

Calculates:

  • SMA20: 20-day simple moving average
  • SMA50: 50-day simple moving average
  • RSI (14-day): Relative Strength Index
  • 20-day range: High/low position
  • Buy/Hold/Sell signals based on technical indicators

Quick Start

Analyze a single stock:

python3 scripts/analyze_stocks.py

Or analyze specific tickers:

python3 scripts/analyze_stocks.py 0700.HK 1810.HK TSLA NVDA

Supported Tickers

  • 0700.HK: Tencent Holdings
  • 1810.HK: Xiaomi Group
  • TSLA: Tesla
  • NVDA: NVIDIA
  • Any other Yahoo Finance ticker

Analysis Output

Each stock gets:

  • Current price & change
  • Moving average analysis (price vs SMA20, SMA20 vs SMA50)
  • 20-day range position (0% = low, 100% = high)
  • RSI (14-day) with overbought/oversold warnings
  • Summary signal (Bullish/Bearish/Neutral)

No Dependencies

Uses only Python standard library + Yahoo Finance public API (no extra packages needed).

Disclaimer

This is for educational purposes only. Not financial advice. Always do your own research.