/ruflo-neural-trader:traderfrom ruflo-neural-trader
Manages neural trading strategies — supports creation, backtesting, training, signal scanning, risk assessment, portfolio optimization, and live trading with optional cloud execution.
Ships in ruflo-neural-trader. Installing the plugin adds it to Claude Code.
$ARGUMENTS
Manage neural trading strategies via the neural-trader npm package. Parse subcommand from $ARGUMENTS.
Usage: /trader [options]
Subcommands:
strategy create <name> --type <momentum|mean-reversion|pairs|adaptive> -- Create a strategybacktest <strategy> --symbol <TICKER> --period <range> -- Run backtest (Rust/NAPI, 8-19x faster)train <model> --symbol <TICKER> -- Train neural model (lstm, transformer, nbeats)signal scan [--strategy <name>] -- Scan for trading signals via anomaly detectionrisk assess [--symbol <TICKER>] -- Calculate risk metrics (VaR, Sharpe, drawdown)portfolio optimize [--risk-target <number>] -- Optimize allocation via mean-variancelive --broker <name> [--swarm enabled] -- Start live trading with optional swarm coordinationhistory -- View trade history and performance summarycloud <backtest|train|sweep> <strategy-or-model> --symbol <TICKER> [--period 2020-2024] [--mc-paths 1000] -- Run a HEAVY job (long walk-forward, big Monte-Carlo, parameter sweep, model training) on an Anthropic Managed Agent cloud container instead of locally. Needs ANTHROPIC_API_KEY. See the trader-cloud-backtest skill + ADR-117. (Cost: a cloud session bills container time + tokens until terminated — the skill installs neural-trader once, reuses the env, pre-flights cheap, terminates eagerly.)Steps by subcommand:
strategy create:
npx neural-trader --strategy <type> --symbol <TICKER> --createnpx @claude-flow/cli@latest memory store --key "strategy-NAME" --value "CONFIG" --namespace trading-strategiesbacktest:
npx neural-trader --backtest --strategy <name> --symbol <TICKER> --period <range> --walk-forwardnpx @claude-flow/cli@latest memory store --key "backtest-ID" --value "RESULTS" --namespace trading-backtestsnpx @claude-flow/cli@latest neural train --pattern-type trading-strategy --epochs 10train:
npx neural-trader --model <lstm|transformer|nbeats> --symbol <TICKER> --confidence 0.95signal scan:
npx neural-trader --signal scan --symbols <TICKERS>npx neural-trader --signal scan --strategy <name>npx @claude-flow/cli@latest memory store --key "signal-TIMESTAMP" --value "SIGNALS" --namespace trading-signalsrisk assess:
npx neural-trader --risk assess --symbol <TICKER>
or: npx neural-trader --var --symbol <TICKER> --investment <amount>npx neural-trader --risk-tolerance 0.02 --symbol <TICKER> for position sizingnpx @claude-flow/cli@latest memory store --key "risk-ID" --value "METRICS" --namespace trading-riskportfolio optimize:
npx neural-trader --portfolio optimize
or: npx neural-trader --portfolio optimize --risk-target <number>npx neural-trader --portfolio rebalance to generate trade plannpx @claude-flow/cli@latest memory store --key "portfolio-TIMESTAMP" --value "ALLOCATION" --namespace trading-portfoliolive:
npx neural-trader --broker <name> --strategy <name> --swarm enabledhistory:
npx @claude-flow/cli@latest memory search --query "trade history" --namespace trading-historyFiles this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub digitalcrest01/ruflow --plugin ruflo-neural-trader7 plugins ship this exact command · first indexed May 13, 2026
Showing 6 of 7 plugins, one per repository first
Other plugins' commands for the same job