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

Coingecko Farming Simulate missing graphics #10

Open
PowerPress opened this issue Dec 7, 2021 · 2 comments
Open

Coingecko Farming Simulate missing graphics #10

PowerPress opened this issue Dec 7, 2021 · 2 comments

Comments

@PowerPress
Copy link

CoinGecko - Farming Simulate section when I follow the example I do not get the graphics just the following below. How can I receive the additional data?

import defi.defi_tools as dft
pair = ['huobi-token','tether']
apr = 45
dft.farmSimulate(pair, apr, start='2021-01-01')
Downloading huobi-token
Downloading tether
{'Token 1': 'huobi-token', 'Token 2': 'tether', 'start': '2021-01-01', 'fixed APR': '45%', 'Buy & Hold': '51.45%', 'Impermanent Loss': '-5.95%', 'Farming Rewards': '84.08%', 'Farming + Rewards - IL': '141.49%'}

@kenstack
Copy link

kenstack commented Feb 5, 2022

add plt.show() in line 331

@gauss314
Copy link
Owner

thanks!

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

3 participants