Wire up real Hyperliquid integration and funding rate API

Replaced the placeholder live node with a proper NautilusTrader
TradingNode that connects to Hyperliquid Testnet using the
official adapter. Added:

- common/hyperliquid_api.py: direct REST calls to Hyperliquid's
  info endpoint for funding rates, predicted fundings, and
  asset contexts
- backtests/run_backtest.py: CLI runner for strategy backtests
- Updated funding_rate_arb.py to fetch real funding rates
  instead of using a hardcoded placeholder
- Added requests to requirements.txt
This commit is contained in:
ramseshk
2026-08-03 11:37:47 +00:00
parent b59dcc3629
commit c1da0cbe65
5 changed files with 366 additions and 25 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
# Nautilus Trader
# Core
nautilus-trader>=1.210.0
# Data & Math
numpy>=1.24.0
pandas>=2.0.0
pyyaml>=6.0
requests>=2.28.0
# Visualization
matplotlib>=3.7.0