Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
7 1 0 4

Getting Contract Code for Futures ( H M U Z) for Front RIC

Hi I have been using Eikon Data API for Python, I wanted help for the following topics in Futures Contracts:

  1. Is there any way I find the Tick Size through Eikon Data API (For Example: for 0#FFc1)
  2. Any way can I find the Delivery Code (H M U Z) for the front most or subsequent RIC (Example: 0#FFc1 has the front most RIC as FFQ3 as per the current date)


    I don't mind using Refinitiv Data API as well
eikon-data-apipython#product#contentpython 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
1.4k 5 3 6

Hi @dhruv.singh.1

You can get the alias RIC code using rd library. The information for the tick size is also available but not for all the instrument and needs to be parsed from a string.

rd.discovery.search(
    view = rd.discovery.Views.SEARCH_ALL,
    filter = "RIC eq 'FFc1'",
    select = "AliasRIC,FuturesContractTermsRIC,ContractSpec"
)

The result of ContractSpec is CBT/FF which is the page that is displayed in a free form text and not the structured data so it's not so easy to parse it, however for 0#FF: contracts it does not contain information about the tick size. Another sample that you can test is LCOc1 where you can see contract tick size details:

1692005153995.png



1692005153995.png (86.7 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
7 1 0 4

Hi, @marcin.bunkowski01
Thank-You so much for this, Will try these.
Really appreciate your help


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.