Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by aNadjalin · Aug 05, 2020 at 02:15 PM · eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonchain-ric

Options from a chain ric for a specific month

Hello,

I want to retrieve options for a specific expiry month using the Eikon Data API, for the Swedish index ".OMXS30".

Using:

omxs30 = ek.get_data('0#OMXS30*.ST', fields=fields)[0]

where "fields" is a list, gives all options of course, but I'd like to narrow it down to a single month and year.

Looking at the chain constituents, they have a structure like "S30173000T0.ST". Trying to get all "S30" options with month "T0" using:

omxs30 = ek.get_data('S30*T0.ST', fields=fields)[0]

draws a blank.


Also, is there a way to retrieve options that are within say +/- 10% of the current underlying price, just as in the app OPTION WATCH? It would be great to be able to combine this with the specific moth selection mentioned above.


Thank you for your help.

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by chavalit-jintamalit · Aug 05, 2020 at 06:59 PM

Hi @aNadjalin

S30*T0.ST is not a valid RIC.


You can implement filter easily in your Python code

(Please change the field according to your needs, I am using CF_LAST for demonstration purpose)


ahs1.png (20.0 KiB)
ahs.png (32.8 KiB)
Comment
aNadjalin

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

avatar image
Answer by aNadjalin · Aug 06, 2020 at 05:06 AM

Thank you for a very clear and fast answer!

If I had included the err response from the API I would have seen that the RIC was wrong. Lesson learned.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

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

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
9 People are following this question.

Related Questions

Option Chain From MCX Future: MCGBN0

Why does not all chain ric work in get data in python?

How to retrieve full lists of all exchange codes and index RICs?

How to get the component RICs from <0#.STAR50>?

get_timeseries : Chain RIC closing yields

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges