Documentation 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.
Overview
Thestatus command provides comprehensive information about your bot’s operational state. It performs validation checks, displays strategy status, and monitors active trading positions.
Basic Usage
View Current Status
Live Status Updates
Press the ESC key to exit live status mode and return to the command prompt.
Status Checks (Pre-Start Validation)
When no strategy is running,status performs these validation checks:
Strategy Check
Verifies:Failure:
- Strategy file is loaded
- All required parameters are configured
- Configuration is valid
Running Strategy Status
When a strategy is active, status shows:Active Orders
Details of all open orders:- Level (for multi-level strategies)
- Order type (bid/ask or buy/sell)
- Price
- Amount
- Age (how long the order has been open)
Current Positions
For perpetual/futures strategies:- Side (long/short)
- Size
- Entry price
- Current price
- Unrealized P&L
- Leverage
Asset Balances
Current vs starting balances:Performance Metrics
- Number of trades (buys/sells)
- Total trading volume
- Profit & Loss
- Return percentage
- Fees paid
Warnings
Recent application warnings and errors:Warnings are shown in development mode. The most recent warnings are displayed, limited to prevent clutter.
Strategy-Specific Status
Different strategies show customized status information:Pure Market Making
- Spread percentages
- Inventory skew settings
- Order refresh time
- Price ceiling/floor (if configured)
Cross-Exchange Market Making
- Maker vs taker market status
- Profitability of current opportunities
- Hedge ratio
AMM Arbitrage
- Price difference between markets
- Current profitability
- Gas costs (for DEX)
Avellaneda Market Making
- Calculated optimal spreads
- Risk parameter (gamma)
- Reservation price
Implementation Details
The status command is implemented in/hummingbot/client/command/status_command.py:114 and provides:
- Dual mode operation: Validation checks or running status
- Live update mode: Continuous status refresh
- Strategy-specific formatting: Each strategy customizes output
- Warning expiration: Old warnings automatically removed
- Async validation: Network checks with timeout protection
Paper Trading Indicator
If any exchange is in paper trading mode:Use Cases
Pre-Flight Check
Before starting, verify everything is ready:Monitor Active Strategy
Check on running bot:Live Monitoring
Continuously watch bot activity:Troubleshoot Issues
Diagnose problems:Troubleshooting
”Please import or create a strategy”
No strategy is loaded. Solution:“Invalid connections”
Exchange API credentials are wrong or expired. Solution:“Incomplete strategy configuration”
Required parameters are missing. Solution:Network Timeout
- Check internet connection
- Verify exchange is online
- Increase timeout:
Connectors Not Ready
- Initial connection
- First time connecting to an exchange
- After network interruptions
- Check exchange API status page
- Verify API permissions include trading and reading
- Restart the bot
Exchange Offline
- Check if exchange is down (status page)
- Verify internet connection
- Check firewall/VPN isn’t blocking connection
- Wait and retry
Status in Scripts
You can check status programmatically from external scripts using MQTT or the HTTP API (if enabled).Status vs History
status:- Real-time current state
- Active orders and positions
- Live performance metrics
- Connection validation
- Past trades and performance
- Completed transactions only
- Historical P&L calculations
- Time-period filtering
status for “what’s happening now” and history for “what happened before.”