Skip to content

tafengchenfrank/crypto-project-newest

Repository files navigation

💰 Hybrid Bitcoin Price Prediction

使用多變量 LSTM 模型結合技術指標與基本面數據,預測比特幣未來價格走勢的深度學習專案。


📌 專案特色

  • 使用 Binance API 擷取比特幣歷史 OHLCV(技術面資料)
  • 整合新聞情緒分數與宏觀經濟指標(基本面資料)
  • 應用多變量 LSTM 預測模型
  • 預測未來 1 小時或 1 天的 Open / High / Low / Close 價格
  • 視覺化預測結果(折線圖 + 高低價區間)

📁 專案結構

crypto-project/ ├── py/ │ ├── data/ │ │ ├── btc_klines.csv ← 技術面資料(Binance K線) │ │ ├── news_sentiment.csv ← 基本面:新聞情緒 │ │ └── macro_indicators.csv ← 基本面:指數如 DXY / NASDAQ / CPI │ ├── scripts/ │ │ ├── fetch_btc_klines.py │ │ ├── fetch_news_sentiment.py │ │ └── fetch_macro_data.py │ └── models/ │ ├── hybrid_lstm_predictor.py ← 模型核心邏輯 │ └── train_and_predict_lstm.py ← 訓練並預測主程式


🔧 安裝環境

建議使用 Python 3.10 或以上,並安裝下列套件:

pip install -r requirements.txt
requirements.txt 範例如下:
pandas
numpy
matplotlib
scikit-learn
torch

About

newest crypto project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors