florianv / swap

:currency_exchange: Currency exchange rates library

Home Page:https://florianv.github.io/swap/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No definition found for Table yahoo.finance.xchange

moiroca opened this issue · comments

No definition found for Table yahoo.finance.xchange

Same here, database down?

@diederikstuvia

I still have this issue but I temporarily fixed my issue by having a fallback using GoogleFinanceProvider instead of using YahooFinanceProvider. This might help you:

$chainProvider = new \Swap\Provider\ChainProvider([
new \Swap\Provider\YahooFinanceProvider($httpAdapter),
new \Swap\Provider\GoogleFinanceProvider($httpAdapter)
]);

Hope this issue will be fixed sooner!

Looks like the database is down yes. I tried to select values directly from their console and it failed.
Let's wait some time and see if this is a temporary problem.

In the meantime, you can use the solution suggested by @moiroca 👍

Thanks guys! Works like a charm.

The issue seems to be fixed in Yahoo's end