Pure Market Making
This strategy allows Hummingbot users to run a market making strategy on a single trading pair on IDEX.
It places limit buy (bid) and limit sell (ask) orders on the order book at prices relative to the mid-price with spreads equal to
order_refresh_timeseconds, the strategy replaces existing orders with new orders with refreshed spreads and order amounts.
This guide will show how to setup a pure market making strategy on IDEX.
To create a strategy on Hummingbot, we must enter the
Hummingbot will ask you
"What is your market making strategy?"and you'll select
"pure_market_making"as shown here:
Next, you'll be ask to specify which connector to use. Here's you must choose IDEX:
Now we'll enter the market pair we'll be operating on. In this example we'll use
Enter your spread parameter for bids and asks in percentage form:
In our example, we're usnig a 1% spread (which can be considered a tight spread).
Now we'll enter our order frequency. This means how often we want to cancel and replace
asksin seconds (so if you want to refresh orders every 15 minutes: 15x60=900 seconds).
We'll use 5 seconds in our example
Next, we specify the amount of tokens the bot will be operating with on each trade. In our example we'll use 555 IDEX tokens.
You'll be asked if you'd like to use the ping pong feature. The ping pong strategy tries to keep buys and sells balanced by only creating orders on the opposite side of an order that is filled. It will keep on creating orders on the opposite side of the filled order as long as
ping_pongis set to enabled.
Once these parameters have been defined, you'll be asked to save your strategy configuration. Enter a name for it and press enter.
Now you can start your strategy by running the
startcommand, as shown here
Hummimgbot will start operating using the parameters you've provided. A more in-depth guide about how to configure the pure market making strategy can be found here:
Our friends at Hummingbot have also made a comprenhensive video on how to setup a market making strategy, check it out here: