Page 3: Configuring and Running Market Making Strategies

3. Configuring and Running Market Making Strategies

Market Making is one of the most fundamental strategies in Hummingbot, aiming to profit from the spread by simultaneously placing buy and sell orders.

3.1. Creating a Market Making Strategy

Use the create command to begin setting up a new Market Making strategy. Specify the exchange and trading pair you wish to use.

>>> create
...
Enter your strategy name (e.g. "pure_market_making")
...
Which exchange would you like to use? [binance]
Which trading pair would you like to trade? [ETH-USDT]

3.2. Editing the Configuration File (Config)

Hummingbot saves configurations as '.yml' files. Use the config command to adjust core parameters like spread, order size, and order quantity.

>>> config
...
bid_spread: 0.5 # Buy spread (0.5% relative to the market price)
ask_spread: 0.5 # Sell spread (0.5% relative to the market price)
order_amount: 10 # Order amount (in USDT)

3.3. Starting and Stopping the Strategy

After configuration, use the start command to run the bot, and the stop command to safely halt it.

>>> start
# The bot begins trading.
...
>>> stop
# The bot cancels all outstanding orders and shuts down.