crypto-prediction
v1.1.0
Published
This project predicts cryptocurrency prices (Bitcoin, for example) using machine learning (TensorFlow.js). It fetches historical data, processes it, trains a model, and predicts the future prices based on various time windows (1 hour, 24 hours, 7 days, et
Downloads
28
Readme
Crypto Price Prediction with TensorFlow.js
This project predicts cryptocurrency prices (Bitcoin, for example) using machine learning (TensorFlow.js). It fetches historical data, processes it, trains a model, and predicts the future prices based on various time windows (1 hour, 24 hours, 7 days, etc.).
Features
- Fetch Historical Data: Uses the CryptoCompare API to fetch historical Bitcoin data.
- Data Processing: Processes the data with technical indicators like RSI, EMA, and volume change.
- Model Training: Trains a neural network model using TensorFlow.js to predict future prices.
- Prediction: Predicts the price for a given future time window (e.g., 1 hour, 24 hours, 7 days).
- Customizable Time Windows: Switch between different timeframes for prediction (1 hour, 24 hours, 7 days).
- Model Persistence: Saves the trained model and loads it for future predictions.
Installation
To get started, you can install the package from npm.
npm install crypto-price-prediction