Trader signal

From ruvnet/ruflo · View interactive version

Trader signal is an AI agent skill from the GitHub repository ruvnet/ruflo. Generate trading signals using npx neural-trader anomaly detection engine with Z-score scoring and neural prediction

How to use this skill

Skill file

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

  1. Scan for signals:

```bash

npx neural-trader --signal scan --symbols <TICKERS> --live

```

With a specific strategy:

```bash

npx neural-trader --signal scan --strategy <name> --symbols <TICKERS> --live

```

Without --live the scan runs on deterministic synthetic bars (dataSource: "synthetic"). Check dataSource in the result; if it is not yahoo-finance (including when the live fetch failed and fell back), present the result as a demo and propose no entry, stop or target.

  1. If --strategy specified, load strategy filters:

mcp__plugin_ruflo-core_ruflo__memory_retrieve({ key: "strategy-NAME", namespace: "trading-strategies" })

  1. neural-trader classifies anomalies automatically:
  1. Use SONA for regime prediction:

mcp__plugin_ruflo-core_ruflo__neural_predict({ input: "anomaly types: [DETECTED], scores: [SCORES]" })

  1. Search historical pattern matches:

mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search({ query: "ANOMALY_TYPE score RANGE", namespace: "trading-signals" })

  1. Present ranked signals: instrument, direction, confidence, anomaly type, entry/stop/target
  2. 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", ttl: 86400 }) (ttl is in seconds; expiresAt is not a memory_store parameter and would be ignored, leaving the signal in memory forever)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.