strategy-on-actions

Official

Define trading bot event logic and actions.

AuthorLivTorgEx
Version1.0.0
Installs0

System Documentation

What problem does it solve?

LivTorgEx strategy builders need a precise way to script what bots do at analysis ticks, indicator candle closes, position open/close events, and manual UI triggers.

Core Features & Use Cases

  • Event handler structure: Defines on_analysis, on_indicators, on_created, on_finished, and on_actions with the correct payload shapes and filtering semantics.
  • State management via variables: Uses persistent variables with safe evaluation rules plus SetVariable/ClearVariable updates for multi-step strategies.
  • Comprehensive action catalog: Documents how to start/stop bots and positions, create/remove orders safely (including mark to prevent duplicates), and implement conditional flow with Actions and Break.
  • Entry lifecycle control: Guides correct usage of enter_price: Force vs enter_price: Wait and when to invoke ForceStartPosition.

Quick Start

Ask your AI agent to generate a professional block that uses on_indicators to set an indicator flag in a variable and then uses on_analysis to ForceStartPosition, with on_finished stopping the bot after closing the position.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: strategy-on-actions
Download link: https://github.com/LivTorgEx/strategy-skill/archive/main.zip#strategy-on-actions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.