I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
The router suggests wildly different routes depending on TradeType: EXACT_OUTPUT vs EXACT_INPUT.
The routes for EXACT_OUTPUT are particularly inefficient.
Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
I'm submitting a ... [x] bug report [ ] feature request [ ] question about the decisions made in the repository [ ] question about how to use this project
Summary
The router suggests wildly different routes depending on TradeType:
EXACT_OUTPUT
vsEXACT_INPUT
.The routes for
EXACT_OUTPUT
are particularly inefficient.Example output comparing the two modes:
Sample code to reproduce: https://github.com/yodlmeister/smart-order-router-bug