About trader-train
A skill for training neural prediction models with neural-trader, reviewing metrics, generating forecasts, and comparing model types. It also stores results and trains SONA on outcomes.
Key features
- 01Train LSTM, transformer, and N-BEATS models
- 02Review loss and validation metrics
- 03Generate forecasts with confidence intervals
- 04Compare model performance
- 05Store results and train SONA
Use cases
- 01Train a model for a specified ticker
- 02Forecast a ticker over a chosen horizon
- 03Compare prediction model types
- 04Save results for later analysis
MCP support
Uses Ruflo memory storage to save training results in the trading-analysis namespace and calls neural_train to train SONA on model outcomes.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ ruvnet/ ruflo --skill trader-trainAfter installing, type/trader-trainin Claude Code to confirm it loaded.
Details
From the project READMETrain neural prediction models using neural-trader's ML engine.
Steps:
- Ensure neural-trader is available:
npm ls neural-trader 2>/dev/null || npm install --ignore-scripts neural-trader - Train the specified model:
npx neural-trader --model lstm --symbol TICKER --confidence 0.95 npx neural-trader --model transformer --symbol TICKER --predict npx neural-trader --model nbeats --symbol TICKER --decompose - Review training output: loss curves, validation metrics, prediction accuracy
- Generate predictions with confidence intervals:
npx neural-trader --model MODEL --symbol TICKER --predict --horizon 5d - Compare model performance across types:
npx neural-trader --model-compare --symbol TICKER --models "lstm,transformer,nbeats" - Store model results (canonical
trading-analysisnamespace per ADR-126 Phase 1 — was previously stored to undeclaredtrading-models):mcp__plugin_ruflo-core_ruflo__memory_store({ key: "model-MODEL-TICKER-DATE", value: "TRAINING_RESULTS", namespace: "trading-analysis" }) - Train SONA on model outcomes:
mcp__plugin_ruflo-core_ruflo__neural_train({ patternType: "trading-model", epochs: 10 })
Comments
Markdown supported