A Streamlit web application for long-term crypto investors. Analyzes market phases (Accumulation/Distribution), detects 50+ candlestick patterns, provides entry signals, and monitors derivatives data (Open Interest, Funding Rate, Long/Short Ratio).
| Feature | Description |
|---|---|
| 📋 Watchlist Dashboard | Monitor multiple assets at a glance with A/D status |
| 🟢 Phase Zones | Shaded chart areas showing Accumulation/Distribution periods |
| 🛒 Simplified Wyckoff | Beginner-friendly labels: "Smart Money Buying/Selling" |
| ⭐ Entry Signals | Strong Buy/Sell when A/D + Pattern align |
| 🔄 Timeframe Compare | Daily vs Weekly alignment check |
| 50+ Patterns | Hammer, Doji, Engulfing, Morning Star, and more |
| 📈 Open Interest Monitor | Derivatives analysis with investment scoring |
Analyze futures market data for smarter investment decisions:
- Open Interest (OI): Track rising/falling OI with price divergence
- Funding Rate: Identify market sentiment (bullish/bearish bias)
- Long/Short Ratio: See market positioning at a glance
- Investment Score: 0-100 score combining all derivatives metrics
- Historical Signals: Visual markers showing past bullish/bearish signals
| OI Change | Price Change | Signal | Meaning |
|---|---|---|---|
| ↑ Rising | ↑ Rising | 🟢 Bullish | New money entering, trend strengthening |
| ↑ Rising | ↓ Falling | 🔴 Bearish | Short sellers entering aggressively |
| ↓ Falling | ↑ Rising | 🟡 Weak Rally | Short covering, may not sustain |
| ↓ Falling | ↓ Falling | 🟠 Capitulation | Liquidations, potential bottom |
Add your favorite coins (BTC, ETH, SOL, etc.) and see which ones are in Accumulation (🟢) or Distribution (🔴) at a glance.
Select a coin and click "Analyze" to see:
- Phase Zones: Green shaded areas = Accumulation periods
- Wyckoff Phase: Simple labels like "Smart Money Buying"
- Entry Signals: ⭐ markers when pattern + phase align
Check if Daily AND Weekly charts agree:
- ✅ Both bullish = High confidence entry
⚠️ Mixed = Wait for confirmation
Select a coin and analyze derivatives data:
- 4-Hour Resolution: ~3 months of data for short-term trends
- Daily Resolution: ~1 year of data for long-term analysis
- Investment Score: 0-100 rating based on derivatives health
- Frontend: Streamlit
- Data Sources:
- Yahoo Finance (
yfinance) - Default, native daily + weekly support - CryptoCompare API - Alternative source, best for daily timeframe
- Yahoo Finance (
- Derivatives: Coinalyze API
- Analysis: TA-Lib (Technical Analysis Library)
- Charts: Plotly
The app includes a toggle to switch between Yahoo Finance and CryptoCompare:
- Yahoo Finance (Default): Recommended for weekly timeframe analysis as it provides native weekly candlestick data
- CryptoCompare: Great for daily timeframe, but weekly data is simulated by aggregating daily candles (less accurate for weekly analysis)
# Clone repo
git clone https://github.com/foxy1402/candlestick-watcher.git
cd candlestick-watcher
# Install dependencies (requires TA-Lib C library)
pip install -r requirements.txt
# Run
streamlit run app.py
⚠️ Note: TA-Lib requires a C library. On Windows, use pre-built wheels. On Linux/Mac, install viabrew install ta-liborapt-get install libta-lib-dev.
- Push this repo to GitHub
- Go to share.streamlit.io
- Connect your repo, select
app.py - Add Secrets (Settings → Secrets):
COINALYZE_API_KEY = "your-api-key-here"
- Deploy!
- Sign up at coinalyze.net
- Get your free API key (1000 calls/month)
- Add to Streamlit Secrets as shown above
MIT
- Original pattern logic inspired by Caner Irfanoglu's article
- TA-Lib
- Coinalyze API for derivatives data