Bot Orchestration
Deploy V2 Script
Deploy a new Hummingbot instance with a V2 script.
Creates a new Docker container running Hummingbot configured with a specified script and optional script configuration. The container is automatically started and begins executing the trading strategy.
This is the primary method for deploying custom scripts. For controller-based strategies, use deploy-v2-controllers instead.
The deployment process:
- Creates a new Docker container from the specified Hummingbot image
- Mounts necessary volumes (configs, credentials, scripts)
- Sets up MQTT communication for bot control
- Creates a bot run record in the database for tracking
- Starts the container with the specified script (if auto-start enabled)
post/bot-orchestration/deploy-v2-script
Request body
Example request
{
"instance_name": "my-scalping-bot",
"credentials_profile": "binance_main",
"image": "hummingbot/hummingbot:latest",
"script": "v2_with_controllers",
"script_config": "dman_maker_config"
}Response
Successful Response
object required