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

For a deeper look into our Elektron API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
REFINITIV
Question by William.Bonhote · Jan 08, 2020 at 04:01 PM · refinitiv-realtimetreprdp-apiwebsocketsrrto

How to retrieve option chain constituents

1. How can I retrieve all RICs within an Option chain?

2. Does this request add to my data consumption? For example, I retrieve all 800 RICs of a chain (just RICs, no pricing data). Does this request then count as 1 RIC or 800 RICs.

Relevant product is Elektron Websocket API

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 Gurpreet · Jan 08, 2020 at 06:01 PM

Hi @William.Bonhote, Please follow this tutorial on how to decode and use the chain RICs. Even though the article is for EMA API, the same concept of walking the chain and decoding the links and pages, applies to websocket API.

The chain RIC itself just contains the underlying constituents, so should not apply towards your data limits, but it is best to check with your Refinitiv account manager.

E.g: Getting the Option chain for Apple Inc, RIC 0#AAPL*.U

{
 "Fields":{
  "CONTEXT_ID":2271,
  "CURRENCY":"USD",
  "DDS_DSO_ID":8289,
  "DSPLY_NAME":"APPLE INC",
  "LONGLINK1":"AAPL.O",
  "LONGLINK10":"AAPLA102022000.U",
  "LONGLINK11":"AAPLM102022000.U",
  "LONGLINK12":"AAPLA102022500.U",
  "LONGLINK13":"AAPLM102022500.U",
  "LONGLINK14":null,
  "LONGLINK2":"AAPLA102020000.U",
  "LONGLINK3":"AAPLM102020000.U",
  "LONGLINK4":"AAPLA102020500.U",
  "LONGLINK5":"AAPLM102020500.U",
  "LONGLINK6":"AAPLA102021000.U",
  "LONGLINK7":"AAPLM102021000.U",
  "LONGLINK8":"AAPLA102021500.U",
  "LONGLINK9":"AAPLM102021500.U",
  "LONGNEXTLR":"1#AAPL*.U",
  "LONGPREVLR":null,
  "MKT_SECTOR":"0",
  "OFF_CD_IND":"CUS",
  "PREF_DISP":2210,
  "PREF_LINK":"1#AAPL*.U",
  "PROD_PERM":77,
  "RDNDISPLAY":160,
  "RDN_EXCHD2":"OPQ",
  "RDN_EXCHID":"   ",
  "RECORDTYPE":120,
  "REF_COUNT":13,
  "SPS_SP_RIC":".[SPSOPRABBO1VAE1",
  "TRD_UNITS":"2DP "
  ...

and requesting data for the first link:

"Fields":{
  "ACVOL_1":null,
  "ACVOL_UNS":null,
  "ADJUST_CLS":79.17,
  "ANA_EXP_DT":"2020-01-11",
  "ANA_EXP_DY":3,
  "AQ_ASK":199.22,
  "AQ_BID":null,
  "ASK":82.95,
  "ASKSIZE":116,
  "ASK_COND_N":null,
  "ASK_EXID":"PHO",
  "ASK_INDCTV":null,
  "ASK_TONE":"X",
  "BCAST_REF":"100",
  "BID":82.2,
  "BIDSIZE":116,
  "BID_ASK_DT":"2020-01-07",
  "BID_COND_N":null,
  "BID_EXID":"PHO",
  "BID_INDCTV":null,
  "BID_TONE":"X",
  "BKGD_REF":"AAPLA1020C220000",
  "BLKCOUNT":null,
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.

avatar image
REFINITIV
Answer by wasin.w · Jan 09, 2020 at 08:40 AM

Hello @William.Bonhote

You may check the Building a Chain Expander application using Elektron Websocket API and .NET Core C# article as an example of how to subscribe Chain data with the Elektron WebSocket API.

Comment
SupDev1

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.

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 >
8 People are following this question.

Related Questions

Missing keys in delete action when dealing with MarketByOrder domain.

Websocket receive some characters as ???

ERT : Access Denied

ERT Cloud Web Update Frequency in WebSocket Api

Using EZD with Websockets

  • 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
  • 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
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges