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

The exchange query is not supported by the service "Exchanger\Service\Chain". #38

Closed
ghost opened this issue Dec 18, 2017 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Dec 18, 2017

Althought getting the latest rate works perfectly I am having problems using swap::historical().

I get this error
The exchange query "EUR/USD" is not supported by the service "Exchanger\Service\Chain".
even when i use the example from the docs Swap::historical('EUR/USD', Carbon\Carbon::yesterday());

Any ideas ? Ive tried it with google and European Central bank

@florianv
Copy link
Owner

Hey @al6s1976 :)

Google and ECB don't support historical rates. Check the table here https://github.com/florianv/laravel-swap#services to see which services support it.
For a free service, you can use Fixer for example.

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

1 participant