Get Your First Predictions in 5 Minutes
This quickstart guide will help you set up CryptoView Pro and generate your first cryptocurrency price predictions using machine learning.Prerequisites: Python 3.8+ installed on your system. Check with
python --version or python3 --version.Quick Setup
Install Dependencies
Install all required packages:This installs:
- streamlit: Web interface
- ccxt: Exchange connectivity
- xgboost: ML model for short-term predictions
- prophet: ML model for long-term predictions
- plotly: Interactive charts
- Plus supporting libraries (pandas, numpy, scikit-learn)
Your First Prediction
Once the application launches, follow these steps to generate your first forecast:Select Cryptocurrency
In the sidebar, choose your cryptocurrency:
- BTC/USDT - Bitcoin (most liquid, default)
- ETH/USDT - Ethereum
- SOL/USDT - Solana
- And 9 more options
Choose Timeframe
Select your analysis timeframe:
- 1h - Recommended for general analysis (default)
- 4h - For swing trading
- 1d - For position trading
- 15m - For active day trading
Shorter timeframes (1m, 5m) require more data points and may have higher noise.
Set Prediction Horizon
Choose how far ahead to predict:
- Short-term: 6-24 hours (uses XGBoost)
- Medium-term: 3-7 days (uses Hybrid model)
- Long-term: 1-4 weeks (uses Prophet)
Understanding Your Results
After training completes, you’ll see several visualizations and metrics:Price Chart with Predictions
- Blue candlesticks: Historical price action
- Orange line: Model predictions
- Shaded area: 95% confidence interval
- Technical overlays: Moving averages, Bollinger Bands
Key Metrics
Current Price
Latest market price from the exchange
Predicted Price
Forecast price at your selected horizon
Expected Change
Predicted percentage movement (green = up, red = down)
Confidence
Model confidence in the prediction (wider bands = less confidence)
Technical Indicators
- RSI Panel
- MACD Panel
- Volume Panel
Relative Strength Index below the main chart:
- Green zone (>70): Overbought - potential selling pressure
- Red zone (<30): Oversold - potential buying opportunity
- Middle (30-70): Neutral momentum
Example: Bitcoin 24-Hour Forecast
Here’s a typical workflow for predicting Bitcoin’s price 24 hours ahead:Quick Model Comparison
Test different models to see which performs best for your use case:Enable Telegram Alerts (Optional)
Get instant notifications for price movements and trading signals:Create Telegram Bot
- Open Telegram and search for @BotFather
- Send
/newbotand follow the instructions - Copy your bot token (looks like
123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11)
Get Chat ID
- Start a chat with your new bot
- Send any message to the bot
- Visit:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates - Find your
chat_idin the JSON response
Troubleshooting
Error: 'No module named ccxt'
Error: 'No module named ccxt'
The dependencies weren’t installed correctly.Solution:
Error: 'API rate limit exceeded'
Error: 'API rate limit exceeded'
You’re making too many requests to the exchange.Solution:
- CCXT automatically handles rate limiting
- Increase
CACHE_TTLinconfig/settings.py - Switch to a different exchange:
CryptoDataCollector('binance')
Predictions seem unrealistic
Predictions seem unrealistic
The model may need more training data or better parameters.Solution:
- Increase data limit:
limit=2000infetch_ohlcv() - Try a different model (Hybrid for medium-term)
- Use a longer timeframe (4h or 1d instead of 1h)
- Check for market anomalies (news events, flash crashes)
Application won't start on port 8501
Application won't start on port 8501
Port is already in use.Solution:Or kill the existing process:
Next Steps
Deep Dive: Installation
Complete installation guide with dependencies explained
Model Selection Guide
Learn when to use XGBoost vs Prophet vs Hybrid
Technical Analysis
Master RSI, MACD, and Bollinger Bands
Backtesting
Evaluate model performance on historical data
Exchange Configuration
Connect to Binance, configure API keys
Alert Configuration
Customize alert thresholds and notification rules
Example Projects
- Day Trader
- Swing Trader
- Position Trader
Goal: Predict Bitcoin movements for intraday trading
Reminder: These examples are for educational purposes. Always perform your own analysis and risk management before trading.