blind-monkeys / README.md
deanpowers's picture
Domain migration to blindmonkeys.org (proxies, sitemap, zone IDs, PSI, links) + sideways Score Required
30ed22f
|
Raw History Blame Contribute Delete
2.98 kB
# Blind Monkeys
**A transparent crypto analysis tool. Live at [blindmonkeys.org](https://blindmonkeys.org).**
Blind Monkeys scans 100 cryptocurrencies using composite scoring (Z-score, momentum, volatility, RSI) and displays live Bybit Futures Combo Bot performance. Our bot P&L is public — every visitor sees the same numbers in real time.
> "Don't be a blind monkey."
## What it does
- **Scans** — ranks coins by composite score, flags buy candidates
- **Market data** — live prices, 24h/7d/30d change, contango/backwardation, macro indicators (10Y Treasury, Fear & Greed, VIX)
- **Bot tracking** — live P&L from a real Bybit Futures Combo Bot, refreshed every 5 minutes via Google Cloud Storage
- **Transparency** — all visitors see the same live data
## What it does NOT do
- Doesn't place trades for you
- Doesn't hold your funds
- Isn't financial advice
- Doesn't guarantee profit
## Live transparency
- **Bot history:** [blindmonkeys.org/dart-performance](https://blindmonkeys.org/dart-performance)
- **Per-bot detail:** click any bot name in the table
## Tech stack
- **Python 3.9** + **Flask** (web framework)
- **gunicorn** (production server)
- **Bybit API v5** (bot P&L, mark prices)
- **CoinGecko** (coin metadata, OHLC)
- **FRED** (Treasury yields, VIX)
- **alternative.me** (Fear & Greed)
- **Google Cloud Run** (hosting)
- **Google Cloud Storage** (persistent data)
- **launchd** (macOS cron for the snapshot job)
## Architecture
The Bybit API key lives **only** on the operator's machine — never on the cloud. A local cron job fetches bot data every 5 minutes and pushes it to GCS. Cloud Run reads from GCS on each request.
## Running locally
```bash
git clone https://git.sr.ht/~deanpowers/blind-monkeys
cd blind-monkeys
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your keys
./run_local.sh
```
Then open `http://localhost:8080`.
**Requirements:** Python 3.9+, a FRED API key (free at [fredaccount.stlouisfed.org](https://fredaccount.stlouisfed.org/apikeys)).
## Configuration
Environment variables (in `.env`):
| Variable | Required | Purpose |
|---|---|---|
| `FRED_API_KEY` | Yes | Treasury yields, VIX |
| `FLASK_SECRET` | Yes | Session signing |
| `BYBIT_KEY` | Optional | Bot P&L (read-only) |
| `BYBIT_SECRET` | Optional | Bot P&L (read-only) |
| `TELEGRAM_BOT_TOKEN` | Optional | Scan alerts |
| `TELEGRAM_CHAT_ID` | Optional | Where alerts go |
| `CRON_SECRET` | Optional | Protect hourly scan |
| `GCS_BUCKET` | Optional | Enable GCS storage mode |
**Never commit `.env`.**
## Contributing
Issues and PRs welcome. For anything beyond a small fix, open an issue first.
## Changelog
See [CHANGELOG.md](./CHANGELOG.md) for what's new.
## Disclaimer
Provided for educational and informational purposes. **Not financial advice.** No responsibility for trading losses. Test with small amounts.
## License
MIT — see [LICENSE](./LICENSE).