ruvnet / trader-train
Train neural models (LSTM, Transformer, N-BEATS) on market data using npx neural-trader with confidence intervals
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 --ignore-scripts neural-traderTrain the specified model:
`bash
npx neural-trader --train --model lstm --symbol TICKER --epochs 50`--trainis required;--model X --symbol Talone is rejected ("Unknown command"), and--confidenceand--decomposedo not exist. In 2.8.11 the result carriesupstreamStub: true("neuralTrain returns a placeholder shape (no real LSTM/Transformer fit yet)"). Report that no model was fitted; never describe the output as a trained model or quote its numbers as accuracy.- Review training output: loss curves, validation metrics, prediction accuracy
Generate predictions with confidence intervals:
`bash
npx neural-trader --predict --model MODEL --symbol TICKER [--gpu]`--horizonis not supported, andneuralPredictis also a placeholder (upstreamStub: true) in 2.8.11.- Model comparison (
--model-compare) does not exist in the CLI. Without a real fit there is nothing to compare; say so rather than fabricating a ranking. 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({ modelType: "moe", epochs: 10 })(modelTypeis required; there is nopatternType). Skip this step when step 2 returned a stub, so placeholder runs do not train SONA.