| # π Stock & Crypto Prediction Models | |
| This repository contains machine learning models trained for stock and cryptocurrency price prediction. | |
| ## π Models | |
| ### πͺ Cryptocurrency Models | |
| - **stock_model_crypto_5m.joblib** - 5-minute price prediction model for cryptocurrencies | |
| - **scaler_crypto_5m.joblib** - Data preprocessing scaler for crypto model | |
| ### π Stock Models | |
| - **stock_model_daily.joblib** - Daily price prediction model for stocks | |
| - **scaler_daily.joblib** - Data preprocessing scaler for daily model | |
| - **stock_model_1h.joblib** - 1-hour price prediction model for stocks | |
| - **scaler_1h.joblib** - Data preprocessing scaler for hourly model | |
| ## π§ Usage | |
| ### Loading Models | |
| ```python | |
| import joblib | |
| import numpy as np | |
| # Crypto 5-minute model | |
| crypto_model = joblib.load('stock_model_crypto_5m.joblib') | |
| crypto_scaler = joblib.load('scaler_crypto_5m.joblib') | |
| # Stock daily model | |
| daily_model = joblib.load('stock_model_daily.joblib') | |
| daily_scaler = joblib.load('scaler_daily.joblib') | |
| # Stock hourly model | |
| hourly_model = joblib.load('stock_model_1h.joblib') | |
| hourly_scaler = joblib.load('scaler_1h.joblib') | |
| ``` | |
| ### Making Predictions | |
| ```python | |
| # Normalize data with scaler | |
| scaled_data = crypto_scaler.transform(your_crypto_data) | |
| # Make prediction | |
| prediction = crypto_model.predict(scaled_data) | |
| ``` | |
| ## π Model Specifications | |
| | Model | Timeframe | Asset Type | Use Case | | |
| |-------|-----------|------------|----------| | |
| | stock_model_crypto_5m | 5 minutes | Cryptocurrencies | Short-term crypto prediction | | |
| | stock_model_daily | Daily | Stocks | Long-term stock prediction | | |
| | stock_model_1h | 1 hour | Stocks | Medium-term stock prediction | | |
| ## β οΈ Important Notes | |
| - Models are trained based on historical data | |
| - Not investment advice | |
| - Preprocess your data appropriately before use | |
| - Each model must be used with its corresponding scaler | |
| ## π License | |
| MIT License - see .gitattributes file for details |