xiaohongshu
xiaohongshu
diagnose
Run diagnostics for the AItrader trading system. 运行 AItrader 交易系统诊断。 Use this skill when: - No trading signals are being generated (没有交易信号) - Need to check if AI analysis is working (检查 AI 分析是否正常) - Verifying technical indicator calculations (验证技术指标计算) - Debugging market data fetching issues (调试...
Full skill instructions
Use this skill when:
cd /home/linuxuser/nautilus_AItrader
source venv/bin/activate
python3 scripts/diagnose.py
cd /home/linuxuser/nautilus_AItrader
source venv/bin/activate
python3 scripts/diagnose.py --quick
python3 scripts/diagnose.py --update --restart
✅ Configuration loaded successfully
✅ Market data fetched successfully
✅ TechnicalIndicatorManager initialized
✅ Technical data retrieved
✅ Sentiment data retrieved
✅ MultiAgent 层级决策成功
🐂 Bull Agent 分析中...
🐻 Bear Agent 分析中...
⚖️ Judge Agent 判断中...
🛡️ Risk Manager 评估中...
🎯 Judge 最终决策: BUY/SELL/HOLD
| Check | Normal Value | Abnormal Handling |
|---|---|---|
| RSI | 0-100 | Out of range = data error |
| MACD | Any value | NaN = insufficient data |
| Judge Signal | BUY/SELL/HOLD | ERROR = API failure |
| Winning Side | BULL/BEAR/TIE | 显示辩论胜方 |
v6.0 更新: 采用 TradingAgents 层级决策架构,Judge 决策即最终决策
决策流程:
Phase 1: Bull/Bear Debate (辩论)
└→ 🐂 Bull Agent: 寻找做多理由
└→ 🐻 Bear Agent: 寻找做空理由
Phase 2: Judge (Portfolio Manager) Decision
└→ ⚖️ 评估辩论结果,做出最终决策
Phase 3: Risk Evaluation
└→ 🛡️ 确定仓位大小和止损止盈
注意: 以下配置已标记为 LEGACY,不再生效:
skip_on_divergence: true # [LEGACY] 不再使用
use_confidence_fusion: true # [LEGACY] 不再使用
Possible Causes:
Check Command:
python3 scripts/diagnose_realtime.py 2>&1 | grep -E "(Judge|Final Signal|Confidence|Winning Side)"
Check:
grep "DEEPSEEK_API_KEY" ~/.env.aitrader
Check:
python3 scripts/diagnose.py 2>&1 | grep -E "(RSI|MACD|SMA)"
| File | Purpose |
|---|---|
scripts/diagnose.py | Main diagnostic script |
scripts/diagnose_realtime.py | Real-time API diagnostic |
scripts/smart_commit_analyzer.py | Regression detection (auto-evolving rules) |
strategy/deepseek_strategy.py | Main strategy logic |
configs/base.yaml | Base configuration (all parameters) |
configs/production.yaml | Production environment overrides |
# 智能回归检测 (规则自动从 git 历史生成)
python3 scripts/smart_commit_analyzer.py
# 预期结果: ✅ 所有规则验证通过
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience