question

Upvotes
Accepted
11 1 2 4

Tick History via Pythin API

Hi,

Client is trying to extract the Tick History data via Pythin API ,can you pls advice how to get the ReportTemplateId of existing reports?

Regards,

Neha

#technologypython api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
82.3k 277 53 77

@neha.kabra

Sorry about the issue that you are facing.

You can use the following endpoint to get all report templates.

GET https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ReportTemplates 

The response looks like this:

1667554665712.png

The response contains the ReportTemplateID field.

Otherwise, you can use /Extractions/ReportTemplateGetByName endpoint to get the report template by it's name.

GET https://selectapi.datascope.refinitiv.com/RestApi/v1/Extractions/ReportTemplateGetByName(Name='Composit_ALL') 

The output is:

1667554894928.png

For more information, please refer to the DSS REST API Reference Tree.

I hope that this information is of help


1667554665712.png (54.4 KiB)
1667554894928.png (56.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
11 1 2 4

thanks @Jirapongse , this will work using Python APi, correct?


Regards,

Neha

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@neha.kabra

Yes, it is REST API so it will work with any programming languages that support HTTP requests including Python.

Upvotes
11 1 2 4

thanks @Jirapongse

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.