Open asmodehn opened 5 years ago
Interesting, I do see the issue, when you have multiple crosses with different 'base' price currencies their profitability is recorded in different currencies, and the sort function on them fails. Should be an easy fix, I'll take a close look early next week if no one else gets to it before then. We should add some unit tests to tests/logic/libraries/arbitrage_test.py to catch this scenario in the future as well.
I am running this strategy :
When multiple crosses are detected (hence why I need to pass 3 orderbooks), this happens :