0
$\begingroup$

Can I use AlphaVantage to pull data from Asian stock markets? I've been able to do it for others such as the London stock exchange, India stock exchange, Australian stock exchange etc. but haven't got it working for Japan/Shanghai/Hong Kong/Shenzhen stock exchanges. Do they have data for these? And if so, what are the stock exchange codes to feed into the URL?

I've tried for example the following (for the Tokyo stock exchange, looking up symbol 4446):

https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=TYO.4446&apikey=myapikey

$\endgroup$
1
$\begingroup$

All of the examples just got tested. They all work for me with my API key. Just swap in your API key below, and you should be all set.

For Tokyo:

Sony: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=6758.T&apikey=your_api_key

Hitachi: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=6501.T&apikey=your_api_key

For Hong Kong:

Tsingtao Brewery: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=0168.HK&apikey=your_api_key

For Shanghai:

Agricultural Bank of China: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=601288.SS&apikey=your_api_key

For Shenzhen:

Huawen Media Group: https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=000793.SZ&apikey=your_api_key

$\endgroup$
0
$\begingroup$

The problem: you do not know the correct ticker that Alpha Vantage can take.

The solution: Use the search endpoint to find the ticker.

Let's say we want to find the correct ticker for Tsingtao Brewery listed in Hong Kong and Shanghai:

  1. Search for the ticker: https://www.alphavantage.co/query?function=SYMBOL_SEARCH&keywords=tsingtao+brewery&apikey=my-api-key

  2. From the results, we see that the correct ticker is 0168.HKG for Hong Kong, and 600600.SHH for Shanghai.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.