3 Commits

Author SHA1 Message Date
ramseshk 232103e167 Add live dashboard with WebSocket PnL streaming, deploy at ftdt.io/cv
Built a tasteful dark-themed dashboard showing real-time strategy
performance. Components:

- dashboard/server.py: FastAPI + WebSocket backend that collects
  strategy metrics and streams them to connected clients
- dashboard/static/index.html: Clean single-page dashboard with
  equity curve (Chart.js), per-strategy PnL cards with Sharpe,
  win rate, drawdown, and a live trade log
- Deployed as a background process on port 9175, proxied by Caddy
  at ftdt.io/cv via handle_path

Also added docs/WALLET_SETUP.md with step-by-step instructions
for setting up a Hyperliquid testnet wallet and claiming faucet USDC.

Design: dark theme, JetBrains Mono for numbers, Inter for labels,
status dots with pulse animation. No bloat — one HTML file + vanilla JS.
2026-08-03 11:56:29 +00:00
ramseshk c1da0cbe65 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
2026-08-03 11:37:47 +00:00
ramseshk b59dcc3629 Initial project scaffold: five quant strategies for Hyperliquid Testnet
Set up the directory structure and wrote placeholder logic for:

- Order Book Imbalance: trades on L2 bid/ask skew
- Iceberg/TWAP detection: follows whale accumulation patterns
- Funding rate arbitrage: delta-neutral carry on perp funding
- Pairs trading: BTC/ETH spread mean reversion
- Avellaneda-Stoikov market making: optimal bid/ask quoting

Also added shared risk manager, portfolio tracker, and a plain-language strategy walkthrough in docs/.
2026-08-03 11:12:20 +00:00