Skip to content
TakoAPI
Back to skills

vibetrading-code-gen

by liuhaonan00

Coding Agents & IDEs
510Downloads reported by clawskills.sh
1Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Generate executable Hyperliquid trading strategy code from natural language prompts.

Description

What This Skill Does

Converts natural language trading ideas into executable Python strategies for the Hyperliquid exchange. Generated code includes Hyperliquid API integration, error handling, logging, and risk management. A built-in validation system checks syntax and compatibility, then applies automatic fixes before delivering the final files.

Produces complete, validated strategy files with Hyperliquid API wrappers already wired in, skipping the manual work of implementing exchange connectivity and error handling from scratch.

When to Use It

  • Turn an RSI oversold/overbought idea into a runnable BTC trading bot
  • Set up a grid trading strategy across a specific ETH price range
  • Build a bot that follows VibeTrading AI signals for automated entries and exits
  • Backtest a generated strategy against historical Hyperliquid price data before going live
  • Auto-fix Python compatibility issues in trading scripts targeting older runtimes

Example Workflow

INPUT

User asks: Generate a BTC RSI strategy, buy 0.01 BTC when RSI below 30, sell when above 70

AGENT
  1. 1

    Parses the prompt to extract symbol (BTC), strategy type (RSI), thresholds (30/70), and position size (0.01 BTC)

  2. 2

    Selects the RSI strategy template and fills in extracted parameters

  3. 3

    Generates a complete Python strategy class with Hyperliquid API calls, logging, and a configuration block

  4. 4

    Runs the validation system to check syntax, imports, and Python 3.6+ compatibility

  5. 5

    Applies automatic fixes for any detected issues and re-validates

OUTPUT

A validated Python strategy file, a configuration template with all parameters, a validation report, and usage instructions for running and monitoring the bot

Requirements

  • HYPERLIQUID_API_KEY environment variable
  • HYPERLIQUID_ACCOUNT_ADDRESS environment variable
  • Hyperliquid account
  • TELEGRAM_BOT_TOKEN environment variable (optional, for trade alerts)

Installation

clawhub install liuhaonan00/vibetrading-code-gen

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links