Python Datareader Stock Exchange Market Options

I use Datareader to get stock quotes from Yahoo finance. I would like to get the Euronext Paris values ​​on the stock market, and not the standard values ​​(NYSE, I think).

    import pandas.io.data as web
    import time
    today = time.strftime(\"%m/%d/%Y\")
    valeur = web.DataReader('ING.PA',data_source='yahoo',start='1/1/2000',end=today)

Is there an option in the Datareader method to indicate that I want Euronext closure values?

I saw in the Yahoo Finance API that there is an x ​​tag for the Exchange, which can be useful for pinpointing the market in which you want to get the values ​​( http://www.marketindex.com.au/yahoo-finance-api ), but I do not see any example that I can pass to this x tag to try it. And I don’t know if I can use the equivalent in Datareader afterwards.

I also have a page describing google_exchange codes indicating the one I am looking for ("EPA"), but I cannot transfer it to the DataReader. https://github.com/mdengler/stockquote/blob/master/stockquote.py

Does anyone know this? thanks in advance

+4
source share
1 answer

The suffix in the code .PAindicates the exchange you want to receive, in this case in Paris.

Take a look at Yahoo Finance to see the various symbols that you can use according to the exchange from which you want to receive data. Then use the appropriate character in the call.

Symbol      Name            Last Trade  Type    Industry/Category   Exchange
ING.PA      Ingenico Group  101.45      Stock   Business Services   PAR
ING.SW      INGENICO GROUP  116.30      Stock                       EBS
IIE.F       INGENICO GROUP  100.90      Stock   Business Services   FRA
IIE.SG      INGENICO GROUP  102.88      Stock   Business Services   STU
INGIY       Ingenico Group  23.05       Stock                       PNK
INGNV.PA    Ingenico S.A.   98.33       Stock                       PAR
IIEF.EX     INGENICO GROUP  115.49      Stock                       EUX
IIE.BE      INGENICO GROUP  106.70      Stock   Business Services   BER

Here is a quote from the Yahoo Finance API page .

1 4 . . Apple AAPL. , , , .

  • , , , ".AX" (, BHP.AX).
  • , , , ".L" (, BLT.L).
+2

Source: https://habr.com/ru/post/1607541/


All Articles