TradingView → Hyperliquid bridge
Pine v6 alerts become Hyperliquid orders, paper mode by default.
Build it in MemeLex →What it builds
Pine v6 strategy emitting JSON alert() payloads {secret, action, coin, size}. TypeScript Express server validating the secret, idempotency keys and payload types; Hyperliquid order placement via the official SDK or signed exchange endpoint using an API wallet key from .env. Paper mode simulates fills. Tests for payload validation and risk checks.
- Venue: TradingView webhooks + Hyperliquid exchange API
- Places orders: paper/dry-run by default, max position, daily loss limit and kill switch. Live mode needs LIVE_TRADING=true.
- Keys only from your local .env. README covers the venue's API terms, rate limits and regional restrictions.
Sample project
files
strategy.pine src/server.ts src/risk.ts src/hyperliquid.ts test/risk.test.ts config.json .env.example package.json README.md
sample output
[PAPER] BUY 0.05 BTC @ 68,210 · reason=alert ema-cross · daily PnL -$12 / limit -$100
MemeLex generates code, not trade calls. Not financial advice.