strategy-on-actions
OfficialDefine trading bot event logic and actions.
Finance & Accounting#trading#variables#event handlers#order management#risk controls#bot strategy#indicator conditions
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, andon_actionswith the correct payload shapes and filtering semantics. - State management via variables: Uses persistent
variableswith safe evaluation rules plusSetVariable/ClearVariableupdates for multi-step strategies. - Comprehensive action catalog: Documents how to start/stop bots and positions, create/remove orders safely (including
markto prevent duplicates), and implement conditional flow withActionsandBreak. - Entry lifecycle control: Guides correct usage of
enter_price: Forcevsenter_price: Waitand when to invokeForceStartPosition.
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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.