mertcan93/stock_models
0
๐ 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
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
# Normalize data with scaler
scaled_data = crypto_scaler.transform(your_crypto_data)
# Make prediction
prediction = crypto_model.predict(scaled_data)๐ Model Specifications
โ ๏ธ 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
