CoolFace
Modelpublic

mertcan93/stock_models

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
Model Card

๐Ÿ“ˆ 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

ModelTimeframeAsset TypeUse Case
stockmodelcrypto_5m5 minutesCryptocurrenciesShort-term crypto prediction
stockmodeldailyDailyStocksLong-term stock prediction
stockmodel1h1 hourStocksMedium-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