defi icon indicating copy to clipboard operation
defi copied to clipboard

Error in Farming + Rewards - IL

Open PowerPress opened this issue 3 years ago • 1 comments

pair = ['terra-luna','terrausd'] apr = 30 dft.farmSimulate(pair, apr, start='2021-01-01') Downloading terra-luna Downloading terrausd {'Token 1': 'terra-luna', 'Token 2': 'terrausd', 'start': '2021-01-01', 'fixed APR': '30%', 'Buy & Hold': '4470.13%', 'Impermanent Loss': '-79.13%', 'Farming Rewards': '64.44%', 'Farming + Rewards - IL': '4613.70%'}

Seems to be incorrectly adding the IL to the total instead of subtracting. Additionally not sure the farming rewards are correct on how it could be 64.44% when its been slightly over a year and the APR has more than doubled.

PowerPress avatar Jan 27 '22 22:01 PowerPress

Yes you are right, bug fixed now!

gauss314 avatar Apr 12 '22 01:04 gauss314