vibetrading-code-gen
от liuhaonan00
Coding Agents & IDEsКратко
Generate executable Hyperliquid trading strategy code from natural language prompts.
Описание
Что делает этот навык
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.
Когда его использовать
- 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
Пример сценария
User asks: Generate a BTC RSI strategy, buy 0.01 BTC when RSI below 30, sell when above 70
- 1
Parses the prompt to extract symbol (BTC), strategy type (RSI), thresholds (30/70), and position size (0.01 BTC)
- 2
Selects the RSI strategy template and fills in extracted parameters
- 3
Generates a complete Python strategy class with Hyperliquid API calls, logging, and a configuration block
- 4
Runs the validation system to check syntax, imports, and Python 3.6+ compatibility
- 5
Applies automatic fixes for any detected issues and re-validates
A validated Python strategy file, a configuration template with all parameters, a validation report, and usage instructions for running and monitoring the bot
Требования
- HYPERLIQUID_API_KEY environment variable
- HYPERLIQUID_ACCOUNT_ADDRESS environment variable
- Hyperliquid account
- TELEGRAM_BOT_TOKEN environment variable (optional, for trade alerts)
Установка
clawhub install liuhaonan00/vibetrading-code-genВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.