Loading...
Loading...
Perform technical analysis on stock K-line data, calculate indicators such as MA/MACD/RSI, and judge trends and trading signals. Trigger scenarios: (1) "Analyze the technical aspects of Moutai" (2) "Check if this stock is buyable" (3) "Technical analysis 600519" (4) Used when needing to judge stock trends and trading points. Need to use data-collect to obtain data first
npx skill4agent add ismxy0934/qing-skills technical-analysispython scripts/analyze.py <Stock Code> --date YYYY-MM-DD
# Example
python scripts/analyze.py 600519 --date 2025-01-01data-collect--dateoutput/<Stock Code>/<Date>/data.jsonRead: output/<Stock Code>/<Date>/data.json
Output: output/<Stock Code>/<Date>/analysis.jsontrendbiasmacdvolumesignal{
"trend": {"status": "Bullish Arrangement", "strength": 75, "is_bullish": true},
"bias": {"ma5": 0.30, "status": "Safe"},
"macd": {"status": "GOLDEN_CROSS", "signal": "Golden Cross, trend upward"},
"volume": {"status": "SHRINK_VOLUME_DOWN", "trend": "Shrink Volume Pullback"},
"signal": {"action": "Buy", "score": 72, "reasons": [...], "risks": [...]}
}| Score | Signal |
|---|---|
| 75+ | Strong Buy |
| 60-74 | Buy |
| 45-59 | Hold |
| 30-44 | Wait and See |
| <30 | Sell |
data.jsondata-collect--datedata.jsondata-collect--daysdata-collect --days