Package Exports
- @neural-trader/neural
- @neural-trader/neural/src/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@neural-trader/neural) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@neural-trader/neural
Neural network training and prediction for Neural Trader.
Installation
npm install @neural-trader/neuralUsage
const {
neuralTrain,
neuralPredict,
NeuralTrader
} = require('@neural-trader/neural');
// Train a model
const model = await neuralTrain({
modelType: 'lstm',
data: trainingData,
epochs: 100
});
// Make predictions
const prediction = await neuralPredict({
modelId: model.id,
input: marketData
});
// Use neural trader class
const trader = new NeuralTrader({
modelType: 'transformer',
features: ['price', 'volume', 'sentiment']
});API
Classes
NeuralTrader- Neural trading system
Functions
neuralTrain()- Train neural networkneuralPredict()- Make predictionsneuralBacktest()- Backtest neural modelneuralEvaluate()- Evaluate model performanceneuralForecast()- Generate forecastsneuralOptimize()- Optimize model hyperparametersneuralModelStatus()- Get model status
License
MIT OR Apache-2.0