primitivefinance / portfolio_simulations

Moving to the new Arbiter framework to test Portfolio.
10 stars 0 forks source link

fix: arbitrageur always end up with quote token #23

Closed Autoparallel closed 1 year ago

Autoparallel commented 1 year ago

We need to always end up in ARBY. So if we need XToY on Portfolio, go swap on LE via YToX then XToY on Portfolio. The other direction is fine.

Autoparallel commented 1 year ago

Closed by #24