For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 0 0 2

Hi, I am trying to fetct historical option chain data for TSEC weighted index (.TWII). could you guys help me with the instrument chain RIC for the same.

pythondss-rest-apidatascope-select#product
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.

Hi @vmaharshi ,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thank you,

AHS

Hi,

Please be informed that a reply has been verified as correct in answering the question, and marked as such.

Thank you,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
5.8k 21 2 6

Hi @vmaharshi, If you are using Python, I would advise using RD. You can find code examples using RD on Codebook and GitHub. I used them for build the below, does it meet your request?

import refinitiv.data as rd
rd.open_session()
rd.get_data(
    universe=rd.discovery.Chain(name="0#.TWII"),
    fields=['TR.Revenue.date', 'TR.Revenue', 'BID', 'ASK'],
    parameters={'SDate': "2023-12-01", 'EDate': '2023-12-04', 'Frq': 'D'})

1701713365473.png


1701713365473.png (40.5 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.

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.