zelos-alpha / demeter

Better backtest toolkit for Uniswap v3 and Aave.
https://medium.com/zelos-research
MIT License
39 stars 9 forks source link

Change fee calc #2

Closed Maltmark closed 1 year ago

Maltmark commented 1 year ago

This PR adds logic to fee updates to collect fees for more cases than the current state (only on swap ends between position):

32ethers commented 1 year ago

Thanks for your pull request, I'm reviewing and will give feed back asap.

32ethers commented 1 year ago

.

Very good idea, But I think I should look into the whole picture before I merge.