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

How can I specify the exchange in my search ? #66

Open
Bertrand-Bichat opened this issue Oct 9, 2020 · 1 comment
Open

How can I specify the exchange in my search ? #66

Bertrand-Bichat opened this issue Oct 9, 2020 · 1 comment

Comments

@Bertrand-Bichat
Copy link

Hi,

I want to use stock_quote for French actions (like here: https://www.google.com/search?channel=fs&client=ubuntu&q=cours+ai), but the "AI" symbol already exist in USA market. So when I use StockQuote::Stock.quote("AI"), it's the US action by default.

What is the best way to modify the code above to find "Air Liquide" data for french market (Paris) ?

@tyrauber
Copy link
Owner

tyrauber commented Oct 9, 2020

Hi @Bertrand-Bichat, not at the moment, I don't believe. The Gem uses the IEX Cloud API for stock quotes, although in a limited capacity (only a few endpoints). There is a more featured gem, iex-ruby-client, but I am not sure that supports that functionality either. The question is what IEX endpoint supports international symbols and how, but I am not seeing any documentation on that yet. I did find this though.

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