RomelTorres / alpha_vantage

A python wrapper for Alpha Vantage API for financial data.
MIT License
4.3k stars 741 forks source link

How to get fundamental data for stocks in other exchanges ? #343

Closed SudeshnaBora closed 1 year ago

SudeshnaBora commented 1 year ago

I am not able to fetch any fundamental data for stocks other than NASDAQ. Is this a known limitation ? An example:

I want to fetch the fundamental data for INDIGO trading in NSE or BSE.

Steps 1:

  1. Search for the symbol:
    
    https://www.alphavantage.co/query?function=SYMBOL_SEARCH&keywords=indigo&apikey=[apiKey]

{ "bestMatches": [ { "1. symbol": "INDIGO.BSE", "2. name": "InterGlobe Aviation Ltd", "3. type": "Equity", "4. region": "India/Bombay", "5. marketOpen": "09:15", "6. marketClose": "15:30", "7. timezone": "UTC+5.5", "8. currency": "INR", "9. matchScore": "0.8000" } ] }

2. Get overview of the company 

https://www.alphavantage.co/query?function=OVERVIEW&symbol=INDIGO.BSE&apikey=YDUI9TGWSVE7ZPWV

This gives an empty json 

3. Try to get the fundamental data 
    data = {
        "function":"BALANCE_SHEET",
        "symbol":"INDIGO.BSE",
        "outputsize":"full",  
        "datatype":"json",
        "apikey": [apikey]
    }
    return requests.get("https://www.alphavantage.co/query", data).json()

This gives empty json. 
AlphaVantageSupport commented 1 year ago

[2023-07] Temporarily closing this issue due to inactivity.