Environment Setup
All configuration is managed through a.env file in your project root. Copy the example below and customize it for your needs.
.env
Core Configuration
API Keys
Configure exchange API credentials to enable data collection:| Variable | Type | Default | Description |
|---|---|---|---|
BINANCE_API_KEY | string | '' | Your Binance API key for authenticated requests |
BINANCE_API_SECRET | string | '' | Your Binance API secret |
API keys are optional for public data access. They’re only required for private account operations.
Default Trading Settings
| Variable | Type | Default | Description |
|---|---|---|---|
DEFAULT_CRYPTO | string | 'BTC/USDT' | Default cryptocurrency pair to display on launch |
DEFAULT_TIMEFRAME | string | '1h' | Default chart timeframe |
Available Cryptocurrencies
The following trading pairs are supported by default (config/settings.py:12-16):
- BTC/USDT, ETH/USDT, BNB/USDT, SOL/USDT
- ADA/USDT, XRP/USDT, DOGE/USDT, DOT/USDT
- MATIC/USDT, AVAX/USDT, LINK/USDT, UNI/USDT
Available Timeframes
Supported chart intervals (config/settings.py:18-25):
1m- 1 minute5m- 5 minutes15m- 15 minutes1h- 1 hour (default)4h- 4 hours1d- 1 day
Forecast Configuration
Basic Settings
| Variable | Type | Default | Description |
|---|---|---|---|
FORECAST_HOURS | int | 168 | Number of hours to predict (default: 7 days) |
AUTO_REFRESH_SECONDS | int | 30 | Auto-refresh interval for live data |
Internal Settings
These are configured in code (config/settings.py:59-61):
CACHE_TTL- Cache time-to-live: 60 secondsDATA_LIMIT- Maximum data points: 2000MIN_DATA_POINTS- Minimum required: 500
Machine Learning Models
Model hyperparameters are pre-configured for optimal performance (config/settings.py:31-54):
Prophet Model
XGBoost Model
Technical Indicators
Technical analysis indicators configuration (config/settings.py:64-72):
Alert Thresholds
Configure when Telegram alerts are triggered (config/settings.py:78-83):
UI Customization
Color scheme for the application interface (config/settings.py:86-94):
CUSTOM_CSS variable for metric cards, prediction boxes, and tab styling.
Next Steps
Exchange Setup
Configure Binance and Kraken API access
Telegram Alerts
Set up automated notifications