Skip to main content
Global routines in ~/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:
Run it from Telegram:

Price Monitor (Continuous)

A continuous routine that monitors price and sends alerts:

Creating Custom Global Routines

Add your own routines to ~/condor/routines/:
  1. Create a Python file with Config class and run function
  2. The routine is auto-discovered on next Condor start
  3. Access via /routines in Telegram
Global routines are shared across all agents. For agent-specific routines, place them in the agent’s routines/ folder instead.