# 📈 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