[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Farming + Rewards - IL #13

Open
PowerPress opened this issue Jan 27, 2022 · 1 comment
Open

Error in Farming + Rewards - IL #13

PowerPress opened this issue Jan 27, 2022 · 1 comment

Comments

@PowerPress
Copy link

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.

@gauss314
Copy link
Owner

Yes you are right, bug fixed now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants