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 Yenile
butonu 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
Relay Protocol MCP Server
An MCP server for the Relay Protocol REST API, enabling cross-chain bridging and token swapping operations.
SwitchBot MCP Server
Control SwitchBot devices interactively using the SwitchBot API.
EduBase
Interact with EduBase, a comprehensive e-learning platform with advanced quizzing, exam management, and content organization capabilities
MCP Cookie Server
Provides positive reinforcement to LLMs by awarding 'cookies' as treats.
Public Data Portal Short-term Forecast
Provides current weather information using the Korea Meteorological Administration's short-term forecast API.
MCP Epic Free Games
Provides access to information about free games on the Epic Games Store.
Arithmetic MCP Server
Performs basic arithmetic operations such as addition, subtraction, multiplication, and division.
LIFX
Control LIFX smart lights through the LIFX HTTP API.
N.I.N.A. Advanced API
Control the N.I.N.A. (Nighttime Imaging 'N' Astronomy) software through its Advanced API.
OpenHue MCP Server
Control Philips Hue lights using LLM interfaces via the OpenHue CLI.