Can I download data fetched by @DSGRID excel formula using the DswsClient API?

Prantik_Biswas
Prantik_Biswas Newcomer
edited May 16 in Datastream

I want to download data fetched by @DSGRID excel formula (for example : =@DSGRID("EWA#(USIIBUL,0.02), EWA#(USAAIIP-USAAIIN,0.02)"," ","2023-01-01","","D","RowHeader=true;ColHeader=true;DispSeriesDescription=false;YearlyTSFormat=false;QuarterlyTSFormat=false","") but without using excel.

I have many formulas like the above which needs to be downloaded quite regugarly and hence I want to automate the process. This exploration led me to the DswsClient API (Datastream Web Service - Test REST Service). Is it possible to download data given by @DSGRID formulas using the above API?

Tagged:

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @Prantik_Biswas

    Thank you for reaching out to us.

    I am using the DatastreamPy. The Python code looks like this:

    ds.get_data(tickers='EWA#(USIIBUL,0.02), EWA#(USAAIIP-USAAIIN,0.02)', start='2023-01-01', freq='D')
    
    image.png

Answers