jayantkamble10000

Hyperliquid Trading Agent — AI skill for Claude Code

AI community

LLM-driven crypto trading agent for Hyperliquid paper-trading.

How to install Hyperliquid Trading Agent

This entry records only its repository, not the path inside it, so there is no exact command to give. Open jayantkamble10000/hyperliquid-trading-agent and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Hyperliquid Trading Agent does

LLM-driven crypto trading agent for Hyperliquid paper-trading. 3-layer architecture: research + quant signals + Claude (Haiku 4.5) with a hard-coded risk manager (mandatory scale-outs, force-close, signal-quality gate).

Alternatives in AI

  • Sentrux — Real-time architectural sensor that helps AI agents close the feedback loop, enabling recursive self-improveme 2.9k ★
  • Opennews MCP — News Aggregation · AI Ratings · Trading Signals · Real-time Updates 2.1k ★
  • User Research Skill — Cookiy AI Skill for AI agents (Claude, Codex, Cursor, OpenClaw) — end-to-end user research: AI interviews, syn 1.5k ★

README

Hyperliquid AI Trading Agent

An AI-powered trading agent that uses Claude to analyze markets and execute perpetual futures trades on Hyperliquid. Supports crypto, stocks, commodities, indices, and forex via HIP-3 markets.

What It Does

  1. Fetches real-time candle data and computes technical indicators (EMA, RSI, MACD, ATR, BBands, ADX, OBV, VWAP) locally from Hyperliquid
  2. Sends full market context to Claude, which decides buy/sell/hold for each asset
  3. Executes trades with take-profit and stop-loss orders
  4. Hard-coded safety guards enforce position limits, leverage caps, and loss protection

Tradeable Markets

All 229+ Hyperliquid perp markets plus HIP-3 tradfi assets:

  • Crypto: BTC, ETH, SOL, HYPE, AVAX, SUI, ARB, LINK, and 200+ more
  • Stocks: xyz:TSLA, xyz:NVDA, xyz:AAPL, xyz:GOOGL, xyz:AMZN, xyz:META, xyz:MSFT, xyz:COIN, xyz:PLTR...
  • Commodities: xyz:GOLD, xyz:SILVER, xyz:BRENTOIL, xyz:CL, xyz:COPPER, xyz:NATGAS, xyz:PLATINUM
  • Indices: xyz:SP500, xyz:XYZ100
  • Forex: xyz:EUR, xyz:JPY

Safety Guards

All enforced in code, not just LLM prompts. Configurable via `.env`:

Guard Default Description
Max Position Size 10% Single position capped at 10% of portfolio
Force Close -20% Auto-close positions at 20% loss
Max Leverage 10x Hard leverage cap
Total Exposure 50% All positions combined capped at 50%
Daily Circuit Breaker -10% Stops new trades at 10% daily drawdown
Mandatory Stop-Loss 5% Auto-set SL if LLM doesn't provide one
Max Positions 10 Concurrent position limit
Balance Reserve 20% Don't trade below 20% of initial balance

Setup

Prerequisites

  • Python 3.12+
  • Anthropic API key
  • Hyperliquid wallet (agent wallet as signer + main wallet with funds)

Configuration

cp .env.example .env
# Edit .env with your keys

Required environment variables:

  • ANTHROPIC_API_KEY — Claude API key
  • `HYPERLIQUID_P