Global settings control how Hummingbot operates across all strategies. These settings are stored inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/hummingbot/hummingbot/llms.txt
Use this file to discover all available pages before exploring further.
conf/conf_client.yml and affect logging, notifications, rate limits, and more.
Client Configuration Map
The global configuration is managed by theClientConfigMap class, which defines all available settings.
Core Settings
Instance Identification
The instance ID is used for metrics collection and distinguishing between multiple bot instances.
Logging Configuration
Controls the verbosity of log output. Options:
DEBUG, INFO, WARNING, ERROR, CRITICALDirectory where log files are stored
Enable debug-level logging in the console output
Example Logging Config
Kill Switch
The kill switch automatically stops trading when profit/loss reaches a certain threshold.- Disabled (Default)
- Enabled
Percentage profit/loss at which to stop the bot. Negative values represent losses (e.g.,
-5 = stop at 5% loss, 10 = stop at 10% profit)Rate Oracle
The rate oracle provides price conversion rates for different tokens.Source for price rate data
binance- Binance exchange (default)coin_gecko- CoinGecko APIcoin_cap- CoinCap APIkucoin- KuCoin exchangegate_io- Gate.io exchangemexc- MEXC exchangecoinbase_advanced_trade- Coinbase
CoinGecko Configuration
CoinGecko API Tiers
CoinGecko API Tiers
- PUBLIC: Free tier, limited rate limits
- DEMO: Demo API key tier
- PRO: Professional tier with higher limits
CoinCap Configuration
Global Token Settings
Define the default display token for valuation.The token to use for displaying portfolio values (e.g., USDT, BTC, USD)
Symbol to display with token values (e.g., $, €, ฿)
API Rate Limits
Percentage of exchange API rate limits to use (1-100). Set to
50 to use only half of available rate limits, useful when running multiple bot instances.Database Configuration
Hummingbot stores trade data and state in a database.- SQLite (Default)
- External Database
Refer to SQLAlchemy dialects documentation for supported database engines.
Gateway Configuration
Settings for connecting to Hummingbot Gateway (for DEX trading).Gateway server hostname or IP address
Gateway server port
Use HTTPS for Gateway connections
MQTT Bridge
Connect Hummingbot to external systems via MQTT.MQTT Connection Settings
MQTT Connection Settings
mqtt_host: MQTT broker hostnamemqtt_port: MQTT broker port (default 1883)mqtt_username: Authentication usernamemqtt_password: Authentication passwordmqtt_namespace: Topic namespace prefixmqtt_ssl: Enable SSL/TLS encryption
MQTT Features
MQTT Features
mqtt_logger: Send logs to MQTTmqtt_notifier: Send notifications to MQTTmqtt_commands: Accept commands via MQTTmqtt_events: Publish bot events to MQTTmqtt_external_events: Subscribe to external eventsmqtt_autostart: Start MQTT bridge on bot startup
Performance Settings
Tick Size
Frequency (in seconds) at which strategies execute their logic. Lower values = more frequent execution but higher CPU usage.
Command Timeouts
Network timeout (in seconds) when fetching minimum order amounts during strategy creation
Network timeout (in seconds) for other API calls
Metrics & Telemetry
Anonymized Metrics
- Enabled (Default)
- Disabled
How often (in minutes) to send anonymized trading metrics to Hummingbot Foundation
Anonymized metrics help improve Hummingbot. No personal information or API keys are shared.
Error Logs
Send error logs to Hummingbot developers to help identify and fix bugs
UI Settings
Table Format
Display format for tables in the CLI. Options:
psql, grid, simple, plain, pipe, orgtbl, rst, mediawiki, html, latexColor Configuration
Autofill Import
What to auto-fill after importing a strategy:
start, config, or disabledMarket Data Collection
Enable market data collection for analysis
Data collection interval in seconds
Order book depth to collect
Balance Limits
Set maximum balance limits per exchange and asset:balance limit command to set these dynamically.
Editing Global Settings
Alternatively, use the
config command within Hummingbot to change settings interactively.
Related Resources
Config Files
Understanding configuration file structure
Paper Trading
Configure paper trading settings
Security
Secure your API keys and credentials