Extracting all historical companies listed on the ASX using the Python API?

I've been using Eikon to extract the historical All Ordinaries Index from the ASX at various points in time (e.g. 10 years ago). However, I need a more complete list of companies as some are missing. Does anyone know if it is possible to get a complete list at various points in time of all the companies listed on the ASX?

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    It looks similar to this question.

    From TR function, you can convert it to Eikon Data API, as shown below.

    data = ek.get_data(".ATOI", 
    ["TR.IndexConstituentRIC",";TR.IndexConstituentName"],
    {'SDate':'2016-10-01',
    'CH':'Fd',
    'RH': 'IN'})
    data

    The output is:

    image

Answers