Can I get to know how to use Python API and then how to do batch downloads for company's financials?

Posting this query on behalf of client -

(email address: xxxxx )


Here's the client question:

I need to download data (balance sheet, income statement and cash flow) for many companies. I would be highly grateful if you could send me the Python codes of how to do same and how to connect using Refinitiv API for that task. Please let me know if there is another way to do this bulky download faster.

Tagged:

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @Gilhang.MayAnne

    There are a lot of examples available in CodeBook.

    The client can start with EX_01_04_01__Eikon_Data_API_Get_Data.ipynb in the /__Examples__/01. Data Retrieval & Discovery/01.04. Eikon Data API/ directory that demonstrates how to use the get_data() function to retrieve Fundamental & Reference data and Real-time Snapshot data from Eikon or Refinitiv Workspace.

    You can specify the list of RICs and fields in the get_data method.

    df, err = ek.get_data(['GOOG.O','MSFT.O', 'FB.O'], ['TR.Revenue','TR.GrossProfit'])
    df

    You can also use the Data Item Browser (DIB) or Code Creator (CODECR) tool to search for available fields.


Answers