f5ffe4baee
Add complete framework for testing and deploying quant strategies: Framework (framework/): - HyperliquidInstrumentCatalog: loads perps as NT CryptoPerpetual - HyperliquidDataProvider: real candle/orderbook/mark-price data - HyperliquidExecutionProvider: live + PaperExecutionProvider: simulated - BaseHlStrategy: shared NT strategy lifecycle with signal library - StrategyConfig: YAML-based parameter management - DeployOrchestrator: CLI for backtest -> paper -> live pipeline Backtesting (backtests/): - VBTBacktestRunner: VectorBT vectorized backtests on real HL candles - NTBacktestRunner: NautilusTrader event-driven backtest engine NT Strategy ports (strategies/nt/): - PairsTradingNT: BTC/ETH ratio Z-score mean reversion - HurstVPINNT: Hurst exponent regime + VPIN flow imbalance - ASMarketMakingNT: Avellaneda-Stoikov stochastic control MM E2E verified: real HL candles fetch, VectorBT backtest (Sharpe 5.2 on Hurst/VPIN), instrument catalog, deploy CLI --list, strategy signals. Existing live/node.py and paper_trader.py unchanged.
23 lines
314 B
Plaintext
23 lines
314 B
Plaintext
# Core
|
|
nautilus-trader>=1.210.0
|
|
numpy>=1.24.0
|
|
pandas>=2.0.0
|
|
pyyaml>=6.0
|
|
requests>=2.28.0
|
|
|
|
# Framework
|
|
vectorbt>=1.0.0
|
|
hyperliquid-python-sdk>=0.20.0
|
|
websockets>=12.0
|
|
|
|
# Dashboard
|
|
fastapi>=0.109.0
|
|
uvicorn[standard]>=0.27.0
|
|
|
|
# Visualization
|
|
matplotlib>=3.7.0
|
|
seaborn>=0.12.0
|
|
|
|
# Optional: dashboard
|
|
streamlit>=1.28.0
|