Bot Orchestration
Deploy V2 Controllers
Deploy a V2 strategy with controllers.
This is the recommended method for deploying multi-controller trading strategies. The endpoint automatically:
- Generates a unique timestamped instance name to prevent conflicts
- Creates the script configuration file combining all specified controllers
- Deploys a new Docker container with the v2_with_controllers.py script
- Creates a bot run record for tracking
Controllers are pre-configured strategy components that can be combined to create sophisticated trading strategies. Examples include:
- DMan Maker: Directional market making with inventory management
- Grid Strategy: Grid-based trading for ranging markets
- XEMM: Cross-exchange market making
The generated instance name follows the format: {instance_name}-{YYYYMMDD-HHMMSS} to ensure uniqueness across deployments.
post/bot-orchestration/deploy-v2-controllers
Request body
Example request
{
"instance_name": "dman-maker",
"credentials_profile": "binance_main",
"controllers_config": [
"dman_maker_btc_config"
],
"max_global_drawdown_quote": 1000,
"max_controller_drawdown_quote": 250,
"image": "hummingbot/hummingbot:latest"
}Response
Successful Response
{"stackTrail":"paths:/bot-orchestration/deploy-v2-controllers:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}