BTC & SOL Futures Analiz Dashboard
A real-time dashboard for comprehensive analysis of Bitcoin and Solana futures markets.
🚀 BTC & SOL Futures Analiz Dashboard
Bitcoin ve Solana futures piyasasının kapsamlı analizi için geliştirilmiş gerçek zamanlı dashboard.
✨ Özellikler
📊 Futures Analizi
- Açık Pozisyonlar (Open Interest): Toplam açık pozisyon değeri
- Fonlama Oranı: 8 saatlik fonlama oranları ve trendler
- Long/Short Oranı: Pozisyon dağılımı ve piyasa dengesizlikleri
- 24h Likidasyonlar: Long ve short likidasyonları
🎯 Piyasa İstihbaratı
- Piyasa Duygusu: Algoritmik sentiment analizi
- Akıllı Uyarılar: Kritik piyasa koşulları için otomatik uyarılar
- Gerçek Zamanlı Güncellemeler: 30 saniyede bir otomatik veri yenileme
🔧 Teknik Özellikler
- MCP Server Entegrasyonu: Crypto indicators MCP server desteği
- Binance API Fallback: Güvenilir veri kaynağı
- Responsive Tasarım: Mobile ve desktop uyumlu
- Modern UI: Glassmorphism ve gradient tasarım
🚀 Kurulum
Basit Kurulum
git clone https://github.com/bakiucartasarim/btc-sol-futures-dashboard.git
cd btc-sol-futures-dashboard
Canlı Sunucu
# Python ile
python -m http.server 8000
# Node.js ile
npm install -g http-server
http-server
# Tarayıcıda aç
open http://localhost:8000\n```\n\n### 🐳 Docker ile Çalıştırma\n```bash\n# Docker build ve run\ndocker build -t btc-sol-dashboard .\ndocker run -p 8080:8080 btc-sol-dashboard\n\n# Docker Compose ile\ndocker-compose up -d\n```\n\n### ☁️ Coolify Deployment\n1. Coolify dashboard'ında yeni proje oluşturun\n2. GitHub repository'nizi bağlayın: `https://github.com/bakiucartasarim/btc-sol-futures-dashboard.git`\n3. Build Type: `Dockerfile`\n4. **Port: `80`** (Nginx standard port)\n5. Health Check Path: `/health`\n6. Deploy butonuna tıklayın\n\n#### 🔧 Coolify Troubleshooting\n**502 Error çözümü:**\n- Port'u `80` olarak ayarlayın (8080 değil)\n- Build logs'ları kontrol edin\n- Health check endpoint'ini test edin: `/health`\n- Container restart yapın\n\n**CORS Error çözümü:**\n- Dashboard otomatik CORS proxy kullanır\n- Mock data fallback aktif\n- API erişimi otomatik olarak çözülür
🔧 MCP Server Konfigürasyonu
Dashboard, crypto-indicators-mcp server ile entegre çalışır:
{
"mcpServers": {
"crypto-indicators": {
"command": "node",
"args": ["path/to/crypto-indicators-mcp/index.js"],
"env": {
"EXCHANGE_NAME": "binance"
}
}
}
}
📊 Veri Kaynakları
Binance API Endpoints
- Open Interest:
/fapi/v1/openInterest - Funding Rate:
/fapi/v1/premiumIndex - Long/Short Ratio:
/fapi/v1/globalLongShortAccountRatio - 24h Ticker:
/api/v3/ticker/24hr
MCP Server Tools
calculate_rsi: RSI hesaplamacalculate_macd: MACD analizicalculate_bollinger_bands: Bollinger Bandsfetch_market_data: Piyasa verileri
🎛️ Kullanım
Coin Seçimi
- Bitcoin (BTC): Turuncu tema ile Bitcoin analizi
- Solana (SOL): Mor-yeşil tema ile Solana analizi
Manuel Güncelleme
🔄 Verileri Yenilebutonu ile anlık güncelleme- Loading state ile görsel geri bildirim
Uyarı Sistemi
- Yüksek Fonlama Oranı: >0.1% uyarısı
- Pozisyon Dengesizliği: Aşırı long/short oranları
- Yüksek Likidasyonlar: >$100M günlük likidasyonlar
- Volatilite Uyarıları: >10% fiyat değişimleri
📈 Piyasa Duygusu Hesaplama
// Sentiment algoritması
let score = 50; // Başlangıç (Nötr)
// Fonlama oranı etkisi
if (fundingRate > 0.05) score += 20;
else if (fundingRate < -0.05) score -= 20;
// Long/Short oranı etkisi
if (longShortRatio > 3) score += 15;
else if (longShortRatio < 1) score -= 15;
// Fiyat değişim etkisi
if (change24h > 5) score += 15;
else if (change24h < -5) score -= 15;
Sentiment Seviyeleri
- 0-24: Aşırı Korku 😨
- 25-44: Korku 😰
- 45-55: Nötr 😐
- 56-75: Açgözlülük 😊
- 76-100: Aşırı Açgözlülük 🤑
🎨 Tasarım Sistemi
Renk Paleti
- Bitcoin:
#f7931a(Turuncu) - Solana:
#9945ff(Mor) +#00d4aa(Yeşil) - Long Pozisyonlar:
#00ff88(Yeşil) - Short Pozisyonlar:
#ff4757(Kırmızı)
Animasyonlar
- Floating cards efekti
- Smooth transitions
- Loading states
- Hover interactions
🔧 Geliştirme
Dosya Yapısı
btc-sol-futures-dashboard/
├── index.html # Ana dashboard
├── README.md # Dokümantasyon
├── package.json # Proje konfigürasyonu
└── .gitignore # Git ignore kuralları
API Entegrasyonu
class MCPClient {
async fetchData(symbol, indicator) {
// MCP server bağlantısı
return this.callMCPServer(symbol, indicator);
}
async fallbackToAPI(symbol, indicator) {
// Binance API fallback
return this.callBinanceAPI(symbol, indicator);
}
}
📱 Responsive Breakpoints
- Desktop: >768px
- Tablet: 768px
- Mobile: <768px
🤝 Katkıda Bulunma
- Fork yapın
- Feature branch oluşturun (
git checkout -b feature/amazing-feature) - Commit yapın (
git commit -m 'Add amazing feature') - Push yapın (
git push origin feature/amazing-feature) - Pull Request açın
📄 Lisans
MIT License - detaylar için LICENSE dosyasına bakın.
🙏 Teşekkürler
⚡ Canlı Demo: GitHub Pages
🔔 Güncelleme: Dashboard her 30 saniyede otomatik güncellenir
💡 İpucu: En doğru veriler için VPN kullanarak Binance API'sine erişin
Related Servers
Aare.guru
Get water temperature and swimming conditions for the Aare river in Switzerland.
Tokyo WBGT MCP Server
Provides real-time and forecast WBGT (Heat Index) data for Tokyo from Japan's Ministry of the Environment.
Ultra MCP SS
An MCP server for programmatic control of smartscreen.tv displays via HTTP and MCP commands, with YouTube integration.
Etsy
A TypeScript-based MCP server for interacting with the Etsy API, featuring a simple notes system.
Texas Holdem MCP Server
A Texas Hold'em poker game server with an MCP API, built using Node.js and TypeScript.
Poke-MCP
Fetches Pokémon data from the PokeAPI and exposes it through a standardized MCP interface.
O'RLY MCP
Generates O'RLY? (O'Reilly parody) book covers.
MCP Weather Server
Provides real-time weather information and forecasts using the OpenWeatherMap API.
Stockfish
Enables AI to communicate with the Stockfish chess engine.
Baseball MCP
An MCP server for retrieving Major League Baseball (MLB) game results, schedules, and specific game details using the mlb-statsapi library.