Deployment
Deploy strategies to live exchanges from the dashboard or CLI.
Prerequisites
- Exchange API credentials added to your account
- A built and tested strategy
Adding Exchange Credentials
Via Dashboard
- Go to Deploy > Credentials > Add Credential
- Select exchange (Binance, Bybit, or Hyperliquid)
- Enter your API key and secret
- Optionally mark as testnet
- Click Test Connection to verify
Via CLI
bash
tradectl auth set binance
# Follow prompts for API key and secret
tradectl auth list # Show configured exchanges
tradectl auth remove binanceCredentials are encrypted with AES-256-GCM at rest and only decrypted in-memory during strategy execution.
Deploying a Strategy
Via Dashboard
- Go to Deploy > New Deployment
- Select a strategy
- Select credentials and symbols
- Configure parameters
- Click Deploy
Via CLI
bash
tradectl run --config config.jsonSet isEmulator: false in your config to trade live, or true for paper trading.
Run in the background as a daemon:
bash
tradectl run --config config.json --daemonValidate config without starting:
bash
tradectl run --config config.json --dry-runManaging Bots
bash
tradectl status # Show all running bots
tradectl status --config config.json # Show specific bot
tradectl logs --follow # Follow all bot logs
tradectl logs --config config.json --lines 100
tradectl stop --config config.json # Stop a specific bot
tradectl stop --all # Stop all botsMonitoring
Live deployments show:
- Real-time order fills via WebSocket
- Current positions and unrealized PnL
- Uptime and cumulative PnL
- Deployment logs
Open the monitor dashboard:
bash
tradectl monitor # Opens http://localhost:9100
tradectl monitor --url http://custom:9100Controls
| Action | Description |
|---|---|
| Stop | Gracefully stop the strategy (closes open positions) |
| Restart | Restart with the same configuration |
| Delete | Stop and remove the deployment |
Notifications
Configure alerts for trade fills, bot status changes, and errors via:
- Telegram
- Webhook