~/condor/routines/ are available to all agents. Condor includes several built-in routines for common trading tasks.
Built-in Routines
Directory Structure
Hello World Example
The simplest routine to understand the structure:Price Monitor (Continuous)
A continuous routine that monitors price and sends alerts:Creating Custom Global Routines
Add your own routines to~/condor/routines/:
- Create a Python file with
Configclass andrunfunction - The routine is auto-discovered on next Condor start
- Access via
/routinesin Telegram
Global routines are shared across all agents. For agent-specific routines, place them in the agentβs
routines/ folder instead.
