Skip to content
stock-analysis logo

stock-analysis

Analyze stocks and cryptocurrencies with 8-dimension scoring via AIsa API. Provides BUY/HOLD/SELL signals with confidence levels, entry/target/stop prices, and risk flags. Supports single or multi-ticker analysis with optional fast mode and JSON output. Use when the user asks to analyze a stock, ...

SKILL.md

Full skill instructions

Stock & Crypto Analysis — AIsa Edition

Analyze one or more stock or crypto tickers using the AIsa API with live Yahoo Finance data.

Setup

This skill requires an AIsa API key. Set it via plugin configuration or environment variable:

export AISA_API_KEY=your_key_here
export AISA_BASE_URL=https://api.aisa.one/v1   # optional
export AISA_MODEL=gpt-4o                         # optional

Or use environment variables (set automatically when the plugin is enabled).

Usage

Run the analysis script with one or more ticker symbols:

python3 scripts/​analyze_stock.py AAPL
python3 scripts/​analyze_stock.py BTC-USD ETH-USD
python3 scripts/​analyze_stock.py AAPL MSFT GOOGL
python3 scripts/​analyze_stock.py AAPL --fast
python3 scripts/​analyze_stock.py AAPL --output json

Arguments

  • Tickers: One or more stock symbols (e.g., AAPL, MSFT) or crypto symbols (e.g., BTC-USD, ETH-USD)
  • --fast: Skip slow analyses (insider trading, detailed news) for faster results
  • --output json: Append a structured JSON summary after the analysis

Multi-Ticker Comparison

When multiple tickers are provided, the script produces individual analyses followed by a ranked comparison table:

TickerScoreSignalKey StrengthKey Risk

8-Dimension Scoring (Stocks)

#DimensionWeight
1Earnings Surprise30%
2Fundamentals (P/​E, margins, growth)20%
3Analyst Sentiment20%
4Historical Patterns10%
5Market Context (VIX, SPY/​QQQ)10%
6Sector Performance15%
7Momentum (RSI, 52w range)15%
8Sentiment (Fear/​Greed, shorts, insiders)10%

3-Dimension Scoring (Crypto)

#DimensionWeight
1Market Cap & Category40%
2BTC Correlation (30-day)30%
3Momentum (RSI, range, volume)30%

Risk Flags

Automatically detected: Pre-earnings, Post-spike, Overbought, Risk-Off, Breaking News

Output

Final recommendation includes: Score (0-10), Signal (BUY/​HOLD/​SELL), Confidence (High/​Medium/​Low), and Entry / Target / Stop prices.

NOT FINANCIAL ADVICE. For informational purposes only.