A professional-grade tool for crypto hedge funds to analyze funding rates, backtest strategies, and manage risks across multiple exchanges.
- Supported Exchanges: Binance, Bybit, Kraken (real-time and historical data)
 - Real-Time Data: WebSocket feeds with sub-second latency
 - Backtesting: Includes leverage, fees, slippage, and stress testing
 - Risk Management: VaR, CVaR, position sizing, and stress scenarios
 - Strategies: Statistical arbitrage, cross-exchange arbitrage, momentum
 - Portfolio Tools: Multi-strategy aggregation and risk reporting
 - Alerts: Slack, Email, WhatsApp, Signal notifications
 
- Clone the repository:
git clone https://github.com/your-org/institutional-crypto-funding-analyzer.git cd institutional-crypto-funding-analyzer - Install dependencies:
pip install -r requirements.txt
 - Configure API keys in 
config/.env(see.env.template). - Run the setup script:
python scripts/setup.py
 
python -m src.funding_analyzer.core.analyzer- Fetches real-time funding rates
 - Runs a default statistical arbitrage backtest
 - Generates plots and CSV reports
 
Edit config/config.yaml for:
- Exchange API keys
 - Trading parameters (leverage, fees, slippage)
 - Notification settings
 
Test with data/sample_funding_rates.csv if API keys are unavailable.
MIT License
For educational and research purposes only. Trading involves significant risk.