create-strategy

Generate and deploy LivTorgEx BotGroupSetting JSON strategies with validation and backtests.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/LivTorgEx/strategy-skill --skill create-strategy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-strategy
Source: https://github.com/LivTorgEx/strategy-skill/tree/main/skills/create-strategy
Command: npx skills add https://github.com/LivTorgEx/strategy-skill --skill create-strategy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the manual, error-prone process of designing LivTorgEx trading strategy bot-group configurations and deploying them to your server.

Core Features & Use Cases

  • Account-aware strategy creation: Fetches your API keys and existing bot groups, warns about access mode, and guides you to select the correct target.
  • Schema-validated strategy deployment: Builds a complete BotGroupSetting JSON (including indicators, conditions, and event/action wiring), validates it via MCP, then deploys using safe create-or-update semantics.
  • Optional safety checks and execution feedback: Runs a backtest for the deployed bot group to confirm expected behavior before relying on live trading.

Quick Start

Ask your AI agent: "Create a bot group strategy called RSI Scalper for OKX#BTC-USDT-SWAP using RSI(14) on the 1h chart to enter long when RSI drops below 30, with TP 3%, SL -1.5%, leverage 20x, margin 100 USDT, and max active bots set to 3."

Frequently Asked Questions about create-strategy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a trading strategy bot group without manually writing JSON configurations?

To deploy a trading strategy bot group without manual JSON, this Skill translates your natural language intent into a validated BotGroupSetting JSON and deploys it using safe create-or-update semantics. It automatically fetches your API keys and configures indicators, conditions, and event wiring.

How does server-side backtesting work before running a live trading strategy?

Server-side backtesting works by validating your deployed bot group's behavior on the server before live trading. After generating and deploying your BotGroupSetting JSON, the Skill optionally runs a backtest to confirm the strategy executes as expected.

Can I safely update an existing bot group strategy without overwriting the entire configuration?

You can safely update an existing bot group strategy by targeting the bot_group_id for safe partial updates. This prevents full overwrites, whereas updating by name replaces the entire configuration using the upsert_bot_group deployment method.

What is MCP-based context discovery and do I need it to create a LivTorgEx strategy?

MCP-based context discovery is a required mechanism that fetches your existing API keys and bot groups to guide strategy creation. It ensures account-aware deployment by warning about access modes and validating strict timeframe and field rules.

What are the limitations when using validate_bot_group for trading strategy deployment?

A key limitation is that validate_bot_group requires strict adherence to timeframe and field rules during server validation. If the generated BotGroupSetting JSON violates these schema constraints, the strategy deployment will fail before it can be upserted.

What's the best way to create a LivTorgEx bot group strategy with specific indicators and conditions?

The best way to create a LivTorgEx bot group strategy is to provide your parameters as a natural language prompt, such as specifying RSI thresholds, leverage, and margin. The Skill then builds the complete JSON schema, validates it, and deploys it directly.