技能 数据科学 基于异常检测的交易信号生成

基于异常检测的交易信号生成

v20260716
trader-signal
本工具利用先进的异常检测引擎,扫描金融资产,识别出尖峰、漂移、震荡等各类市场异常模式。它结合神经网络预测和历史模式匹配,输出高精度的行动交易信号,包括入场点、止损点和目标价位,支持量化交易策略。
获取技能
281 次下载
概览

Generate trading signals using neural-trader's anomaly detection engine.

Steps:

  1. Ensure neural-trader is available: npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader
  2. Scan for signals:
    npx neural-trader --signal scan --symbols <TICKERS>
    
    With a specific strategy:
    npx neural-trader --signal scan --strategy <name> --symbols <TICKERS>
    
  3. If --strategy specified, load strategy filters: mcp__plugin_ruflo-core_ruflo__memory_retrieve({ key: "strategy-NAME", namespace: "trading-strategies" })
  4. neural-trader classifies anomalies automatically:
    • spike (maxZ > 5): breakout — momentum entry or mean-reversion fade
    • drift (sustained high Z): trend forming — trend-following signal
    • flatline (low Z): consolidation — prepare for breakout
    • oscillation (alternating): range-bound — mean-reversion at extremes
    • pattern-break (multiple dims): regime change — close and reassess
    • cluster-outlier (>50% dims): multi-factor dislocation — arbitrage
  5. Use SONA for regime prediction: mcp__plugin_ruflo-core_ruflo__neural_predict({ input: "anomaly types: [DETECTED], scores: [SCORES]" })
  6. Search historical pattern matches: mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search({ query: "ANOMALY_TYPE score RANGE", namespace: "trading-signals" })
  7. Present ranked signals: instrument, direction, confidence, anomaly type, entry/stop/target
  8. Store signals with a 24-hour TTL (intraday signals shouldn't pollute long-running memory; the MemoryConsolidator.sweepExpired() pass introduced in ADR-125 Phase 4 — shipped in @claude-flow/memory@3.0.0-alpha.18 — sweeps them out after they expire): mcp__plugin_ruflo-core_ruflo__memory_store({ key: "signal-TIMESTAMP", value: "SIGNALS_JSON", namespace: "trading-signals", expiresAt: Date.now() + 24 * 60 * 60 * 1000 })
信息
Category 数据科学
Name trader-signal
版本 v20260716
大小 2.38KB
更新时间 2026-07-18
语言