Market Making Bot

Market making is an essential service to a market in provide liquidity for market participants who need to trade. Market makers take on inventory risk in exchange for collecting the bid-ask spread. Market makers compete to provide liquidity by tightening their quotes, which allows for markets to become more liquid and reduce the cost of trading for all participants.
Below we have provided a sample market making bot that reads the FTX mid price for spot markets and quotes around it on Entropy.
For the Volatility Perps, it reads from the oracle directly.