Commit Graph

5 Commits

Author SHA1 Message Date
ramseshk bbd309db6b Live node running on Hyperliquid Testnet — 898 USDC, BTC $63,927
Fixed imports and API compatibility for NautilusTrader 1.231.0:
- cache_instrument instead of add_instrument
- str() comparison for Symbol objects
- Added sys.path for local module imports

Node monitors BTC/ETH prices and funding rates every 10s.
Running as background process on the VPS.
2026-08-04 03:04:59 +00:00
ramseshk 1d836307f5 Fix node.py sync (previous commit had broken file from failed upload)
Properly synced live/node.py with the _load_key() function
that reads from env var or .env file as fallback.
2026-08-04 02:47:53 +00:00
ramseshk b43b54fd6a Wire up Hyperliquid testnet wallet and secure key management
Connected live node to Hyperliquid Testnet with wallet
0xc939...2507. Verified: 210 perps + 1309 spot instruments.

Key management:
- .env file (gitignored) for local development
- .env.example as template
- systemd Environment= for production
- node.py loads from env var or .env fallback

Wallet currently has 0 balance — needs mainnet deposit then
testnet faucet claim before live trading.
2026-08-04 02:47:27 +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