| name | trader-train |
| description | Train neural models (LSTM, Transformer, N-BEATS) on market data using npx neural-trader with confidence intervals |
| allowed-tools | Bash Read mcp__ruflo__memory_store mcp__ruflo__memory_search mcp__ruflo__neural_train |
| argument-hint | <lstm|transformer|nbeats> --symbol <TICKER> |
Train neural prediction models using neural-trader's ML engine.
Steps:
- Ensure neural-trader is available:
npm ls neural-trader 2>/dev/null || npm install 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-analysis namespace per ADR-126 Phase 1 — was previously stored to undeclared trading-models):
mcp__ruflo__memory_store({ key: "model-MODEL-TICKER-DATE", value: "TRAINING_RESULTS", namespace: "trading-analysis" })
- Train SONA on model outcomes:
mcp__ruflo__neural_train({ patternType: "trading-model", epochs: 10 })