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-api#productdatascope-select
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.

1 Answer

· Write an Answer
Upvotes
Accepted
6.1k 21 3 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.