v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-0815390371.2 KB
Controllers

Get Controller

Get controller content by type and name.

Supports both single-file controllers (controller.py) and package-style controllers (controller/controller.py).

Args: controller_type: Type of the controller controller_name: Name of the controller

Returns: Dictionary with controller name, type, and content

Raises: HTTPException: 404 if controller not found

get/controllers/{controller_type}/{controller_name}

Path parameters

controller_type'directional_trading' | 'market_making' | 'generic' required

Types of controllers available

controller_namestring required

Response

Successful Response

object required