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
QGold
A server for natural language processing of asset prices and financial modeling for withdrawal rate impact analysis.
Overseerr
Interact with the Overseerr API to manage movie and TV show requests.
Text-to-Speech (TTS)
A Text-to-Speech server supporting multiple backends like macOS say, ElevenLabs, Google Gemini, and OpenAI TTS.
ShapeBridge
MCP Agent to understand 3D models
SwitchBot
Control SwitchBot smart home devices through its official API, enabling automation and integration with AI assistants.
Time MCP Server
Enables time awareness for large language models.
CostPlusDrugs.com
A Model Context Protocol (MCP) server that provides AI agents with affordable access to Cost Plus Drugs pharmacy services, offering transparent medication pricing and comprehensive drug information.
Simtheory
MCP client with model switching, assistants and agentic mode.
MCP-Airflow-API
MCP-Airflow-API is an MCP server that leverages the Model Context Protocol (MCP) to transform Apache Airflow REST API operations into natural language tools. This project hides the complexity of API structures and enables intuitive management of Airflow clusters through natural language commands.
maven-indexer-mcp
A Model Context Protocol (MCP) server that indexes your local Maven repository (~/.m2/repository) and Gradle cache ( ~/.gradle/caches/modules-2/files-2.1) to provide AI agents with tools to search for Java classes, method signatures, and source code.