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: yahoo returned zero currency data #77

Closed
uncentral opened this issue Jan 8, 2018 · 2 comments
Closed

Error: yahoo returned zero currency data #77

uncentral opened this issue Jan 8, 2018 · 2 comments

Comments

@uncentral
Copy link

runs well until this error:

error
2018/01/08 19:28:09 Currency recv: {"query":{"count":0,"created":"2018-01-08T18:28:07Z","lang":"en-US","results":null}}
2018/01/08 19:28:09 Fatal error retrieving config currencies. Error: yahoo returned zero currency data

@thrasher-
Copy link
Collaborator

thrasher- commented Jan 22, 2018

Unfortunately this is a random issue caused by Yahoo, their finance API use to work perfectly but now it occasionally doesn't return any currency data. In the latest version of GCT, it will switch the provider to 'fixer'.

You can also edit your config.json file as follows;

'CurrencyExchangeProvider": "fixer"

@daniel-cohen
Copy link
Contributor

@thrasher- Sorry to comment on closed issue, but I believe yahoo blocked the forex service completely and you can remove the yahoo specific code.
See: https://stackoverflow.com/questions/5108399/yahoo-finance-all-currencies-quote-api-documentation

This is the best free alternative I've found:
https://free.currencyconverterapi.com/

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