ProfitSight is the analytics & backtesting module of the Profitable-Forecast-Bot.
It provides advanced backtesting, per-trade metrics, forecast overlays, and automated test reports.
pip install -r requirements.txt
pip install streamlit plotly pandas pytest
# Profitable-Forecast-Bot
Profitability Forecast Bot – predicts mining returns using market trends and network stats.
## What this repo contains
- `src/data_fetcher.py` - fetches price & network data (CoinGecko).
- `src/mining_profitability.py` - calculates expected coin/day and USD profit.
- `src/forecast.py` - fits a Prophet model to price history and produces short-term forecasts.
- `Dockerfile`, `requirements.txt`, simple CI & tests.
## Quickstart (local)
1. Clone:
```bash
git clone https://github.com/RickCreator87/Profitable-Forecast-Bot.git
cd Profitable-Forecast-Bot
- Auto-fetch: If `coin_id=bitcoin`, the bot now fetches network difficulty (Blockchain.com API) and block reward (Blockchair API) automatically. No need to hardcode values.