AI-powered cryptocurrency prediction system for research and educational purposes. Combines GPT-4, technical analysis, and news sentiment to predict 1-hour price movements.
Research Goals:
- Evaluate AI prediction accuracy in crypto markets
- Analyze correlation between technical indicators and price movements
- Measure news sentiment impact on volatility
- Create benchmarks for future research
- 🤖 AI Analysis: OpenAI GPT-4 integration
- 📈 Technical Analysis: RSI, MACD, SMA, EMA indicators
- 📰 News Integration: Real-time news analysis
- ⏰ Automated Trading: Hourly analysis cycles
- 📊 Visualization: Dual-panel prediction charts
- 📄 Reports: HTML dashboards with performance metrics
BTC/USDT prediction chart with price projection and RSI analysis
- Python 3.8+
- OpenAI API key
- NewsAPI key
git clone <repository-url>
cd CrpytoPredictor
pip install -r requirements.txtCreate .env file:
OPENAI_API_KEY=your_openai_api_key_here
GPT_MODEL=gpt-4-turbo
NEWSAPI_KEY=your_news_api_key_hereCreate coins.csv:
symbol,name
btc,Bitcoin
eth,Ethereum🚀 CRYPTO PRICE PREDICTOR v3.0
============================================================
1. 📊 Single Coin Analysis
2. 🎯 Check Overall Success Rate
3. ⏰ Start Hourly Auto Analysis
4. 📈 Check Current Price
5. 📋 View Prediction Logs
6. 🔍 Check Pending Predictions
7. 📊 Successful/Failed Prediction Details
8. 📄 Create Modern HTML Report
9. 🚪 Exit
Make your selection (1-9): 1
Enter coin symbol (e.g: btc, eth): BTC
🔍 bitcoin (BTC) analysis starting...
💰 Current Price: 113386.0 USDT
📈 Prediction: RISE
🎯 Price Range: 113450.0-114200.0
📝 Analysis: Mixed technical signals and neutral news sentiment suggest little change in BTC price in the next hour.
📊 Confidence: 70%
✅ BTC analysis completed and savedMonaCrpytoPredictor/
├── tester.py # Main system
├── .env # API credentials
├── coins.csv # Target cryptocurrencies
├── template.html # Report template
├── requirements.txt # Dependencies
├── data/
│ ├── simple_predictions.csv
│ └── results.csv
└── reports/
├── *.html # HTML reports
└── *.png # Chart images
Predictions:
timestamp,symbol,current_price,prediction,price_range,status
2025-08-05 15:02:32,WIF,0.912,RISE,0.913-0.925,COMPLETEDResults:
timestamp,symbol,initial_price,final_price,prediction,success,success_rate,reason
2025-08-05 14:02:26,SOL,170.88,171.01,RISE,True,0.8,Rise successful: 0.08% profit- Visit OpenAI Platform
- Get API key
- Add to
.envasOPENAI_API_KEY
- Register at NewsAPI
- Get free API key
- Add to
.envasNEWSAPI_KEY
For research and educational purposes only. Not financial advice. Cryptocurrency trading carries high risk.
