CarmineOptions / derisk-research

MIT License
4 stars 14 forks source link

Distinguish available liquidity per swap amm #120

Closed adrianvrj closed 1 month ago

adrianvrj commented 1 month ago

Closes #111

Current output

telegram-cloud-photo-size-1-5100694837539220366-y

lukaspetrasek commented 1 month ago

Closes #111

Current output

telegram-cloud-photo-size-1-5100694837539220366-y

Looking at the chart, the values are too large. Each bar should roughly correspond to tens of thousands of dollars, so the scale of 10^15 is too high. Please investigate whether you're working with the decimals correctly, or whether you're not adding the liquidity multiple times.

lukaspetrasek commented 1 month ago

Merged 🙏🏼