Loading...
Loading...
Agent skill that faithfully reproduces Hummingbot CLI commands (connect, balance, create, start, stop, status, history) via Hummingbot API. V1 focuses on core trading workflows. For DEX/LP strategies on Solana, use lp-agent instead.
npx skill4agent add hummingbot/skills hummingbot *,.
*,,.*
,,,, .,*
*,,,,,,,( .,,
*,,,,,,,, .,,, *
/,,,,,,,,,, .*,,,,,,,
.,,,,,,,,,,, .,,,,,,,,,,*
// ,,,,,,,,,,,,,,,,,,,,,,,,,,#*%
.,,,,,,,. *,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%&@
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%%%&
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,%%%%%%%%&
/*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,((%%%&
.** #,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,((((((((#.
** *,,,,,,,,,,,,,,,,,,,,,,**/(((((((((((*
,,,,,,,,,,,,,,,,,,,*******((((((((((
(,,,,,,,,,,,************((((((((@
*,,,,,,,,,,****************(#
,,,,,,,,,,,***************/
,,,,,,,,,,,***************/
,,,,,,,,,,****************
.,,,,,,,,***************'/
,,,,,,*******,
*,,,,,,********
,,,,,,,,/******/
,,,,,,,,@ /****/
,,,,,,,,
, */
██╗ ██╗██╗ ██╗███╗ ███╗███╗ ███╗██╗███╗ ██╗ ██████╗ ██████╗ ██████╗ ████████╗
██║ ██║██║ ██║████╗ ████║████╗ ████║██║████╗ ██║██╔════╝ ██╔══██╗██╔═══██╗╚══██╔══╝
███████║██║ ██║██╔████╔██║██╔████╔██║██║██╔██╗ ██║██║ ███╗██████╔╝██║ ██║ ██║
██╔══██║██║ ██║██║╚██╔╝██║██║╚██╔╝██║██║██║╚██╗██║██║ ██║██╔══██╗██║ ██║ ██║
██║ ██║╚██████╔╝██║ ╚═╝ ██║██║ ╚═╝ ██║██║██║ ╚████║╚██████╔╝██████╔╝╚██████╔╝ ██║
╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝Note: Hummingbot API supports V2 strategies only (V2 Controllers and V2 Scripts). V1 strategies are not supported and require the traditional Hummingbot client.
| Command | Description |
|---|---|
| List available exchanges and add API keys |
| Display asset balances across connected exchanges |
| Create a new bot configuration |
| Start a bot with a V2 strategy |
| Stop a running bot |
| Display bot status |
| Display bot trading history |
http://localhost:8000/hummingbot-deployhummingbot-api-clientpip3 install hummingbot-api-client./hummingbot-api/.envmake setup~/.hummingbot/.envHUMMINGBOT_API_URLAPI_USERAPI_PASShttp://localhost:8000adminadmin# List all available connectors
python scripts/connect.py
# List connectors with connection status
python scripts/connect.py --status
# Add API keys for an exchange
python scripts/connect.py binance --api-key YOUR_KEY --secret-key YOUR_SECRET
# Add API keys for exchange requiring passphrase
python scripts/connect.py kucoin --api-key YOUR_KEY --secret-key YOUR_SECRET --passphrase YOUR_PASS
# Remove credentials for an exchange
python scripts/connect.py binance --remove--api-key--secret-key--api-key--secret-key--passphrase--api-key--secret-key--api-key--secret-key--passphrase# Show all balances
python scripts/balance.py
# Show balances for a specific connector
python scripts/balance.py binance
# Show balances in USD
python scripts/balance.py --usd
# Show only non-zero balances
python scripts/balance.py --non-zero--usd# List available controller templates
python scripts/create.py --list-controllers
# List available scripts
python scripts/create.py --list-scripts
# List existing configs
python scripts/create.py --list-configs
# Create a controller config
python scripts/create.py controller my_mm_config --template pmm_v1| Controller | Best For | Key Features |
|---|---|---|
| pmm_v1 | CEX spot trading | Multi-level spreads, inventory skew, order refresh, price bands |
| pmm_mister | Spot & perpetuals | Position tracking, leverage, cooldowns, profit protection, hanging executors |
buy_spreadssell_spreadsorder_amountinventory_skewleveragetake_profitglobal_stop_lossbuy_cooldown_timesell_cooldown_timeposition_profit_protection# Interactive mode - prompts for strategy type
python scripts/start.py <bot_name>
# Start with a V2 Controller config
python scripts/start.py <bot_name> --controller <config_name>
# Start with a V2 Script
python scripts/start.py <bot_name> --script <script_name>
# Start with a V2 Script and config file
python scripts/start.py <bot_name> --script <script_name> --config <config_name>
# List running bots
python scripts/start.py --list--controller--scriptv2_with_controllersbtc_mm_boteth_arb_bot# Stop a bot by name
python scripts/stop.py <bot_name>
# Stop a bot and close all positions
python scripts/stop.py <bot_name> --close-positions
# Stop all running bots
python scripts/stop.py --all
# Examples
python scripts/stop.py my_bot
python scripts/stop.py arb_bot --close-positions# List all bots with status
python scripts/status.py
# Get detailed status for a specific bot
python scripts/status.py <bot_name>
# Get status with performance metrics
python scripts/status.py <bot_name> --performance
# Get live status (refreshes)
python scripts/status.py <bot_name> --liverunningstoppederrorstarting# Show trade history for a bot
python scripts/history.py <bot_name>
# Show summary statistics
python scripts/history.py <bot_name> --summary# 1. Connect to an exchange
python scripts/connect.py binance --api-key XXX --secret-key YYY
# 2. Check your balances
python scripts/balance.py binance
# 3. Create a bot config
python scripts/create.py controller btc_mm \
--template pure_market_making \
--connector binance \
--trading-pair BTC-USDT
# 4. Start the bot
python scripts/start.py btc_bot --controller btc_mm
# 5. Monitor status
python scripts/status.py btc_bot
# 6. Check history
python scripts/history.py btc_bot
# 7. Stop when done
python scripts/stop.py btc_bot| Error | Cause | Fix |
|---|---|---|
| API not running | |
| Bad credentials | Check |
| Invalid exchange name | Run |
| Exchange not connected | Run |