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 或你在用的任意编程智能体里。