How it Works¶
The diagram below illustrates how arbitrage works. The transaction involves two exchanges: Exchange A and a Exchange B. Hummingbot monitors the prices on both exchanges and transacts when a profit opportunity arises.
An opportunity arises when Hummingbot can buy on one exchange at a lower price and sell on the other exchange at a higher price.
- Similar to cross-exchange market making, you will need to hold inventory on two exchanges (a primary and secondary exchange), in order to be able to trade and capture price differentials (i.e. buy low on one exchange, sell high on the other).
- You will also need some Ethereum to pay gas for transactions on a DEX (if applicable).
Configuration Parameters and Walkthrough¶
The following walks through all the steps when running
create command. These parameters are fields in Hummingbot configuration files (located in the
/conf folder, e.g.
||Enter an exchange you would like to trade on.|
||Enter another exchange you would like to trade on.|
||Enter the token trading pair for the primary exchange.|
||Enter the token trading pair for the secondary exchange.|
||Minimum profitability target required to execute trades.|
Tip: Autocomplete Inputs during Configuration
When going through the command line config process, pressing
<TAB> at a prompt will display valid available inputs.