ExchangeUnion / market-maker-bot

MM Bot for OpenDEX. Make profits via arbitrage between OpenDEX and a connected CEX account like Binance 🤖
GNU Affero General Public License v3.0
105 stars 20 forks source link

Add `PRICE_UPDATE_THRESHOLD` to config, add sanity check #79

Open kilrau opened 3 years ago

kilrau commented 3 years ago

https://github.com/ExchangeUnion/market-maker-tools/pull/77 implemented a 0.1% PRICE_UPDATE_THRESHOLD, meaning arby won't update orders on OpenDEX side if price on CEX side moves less than 0.1%. Previously it would update orders with every single price move, causing quite a flood of order updates on the network.

This follow-up issue is about: