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
104 stars 20 forks source link

Fix order amount calculations #22

Closed ghost closed 4 years ago

ghost commented 4 years ago

This PR changes the logic around order amount calculations.

For sell orders we're now considering:

For buy orders we're now considering: