Generate trading signals using npx neural-trader anomaly detection engine with Z-score scoring and neural prediction
Install
npx skills add https://github.com/ruvnet/ruflo --skill trader-signalSKILL.md
Generate trading signals using neural-trader's anomaly detection engine.
Steps:
- Ensure neural-trader is available:
npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader - Scan for signals:
With a specific strategy:npx neural-trader --signal scan --symbols <TICKERS> --live
Withoutnpx neural-trader --signal scan --strategy <name> --symbols <TICKERS> --live--livethe scan runs on deterministic synthetic bars (dataSource: "synthetic"). CheckdataSourcein the result; if it is notyahoo-finance(including when the live fetch failed and fell back), present the result as a demo and propose no entry, stop or target. - If --strategy specified, load strategy filters:
mcp__plugin_ruflo-core_ruflo__memory_retrieve({ key: "strategy-NAME", namespace: "trading-strategies" }) - 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
- Use SONA for regime prediction:
mcp__plugin_ruflo-core_ruflo__neural_predict({ input: "anomaly types: [DETECTED], scores: [SCORES]" }) - Search historical pattern matches:
mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search({ query: "ANOMALY_TYPE score RANGE", namespace: "trading-signals" }) - Present ranked signals: instrument, direction, confidence, anomaly type, entry/stop/target
- 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 })(ttlis in seconds;expiresAtis not amemory_storeparameter and would be ignored, leaving the signal in memory forever)
Related skills
swarm-orchestrationruvnet2.1KMulti-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple files and modules. Use when: 3+ files need changes, new feature implementation, cross-module refactoring, API changes with tests, security-related changes, performance optimization across codebase, database schema changes. Skip when: single file edits, simple bug fixes (1-2 lines), documentation updates, configuration changes, quick exploratiagent-arch-system-designruvnet1.4KAgent skill for arch-system-design - invoke with $agent-arch-system-designagent-workflowruvnet1.4KAgent skill for workflow - invoke with $agent-workflowsecurity-auditruvnet1.4KComprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement. Use when: authentication implementation, authorization logic, payment processing, user data handling, API endpoint creation, file upload handling, database queries, external API integration. Skip when: read-only operations on public data, internal development tooling, static documentation, styling changes.