Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Refinitiv Data Platform /
  • Refinitiv Data Platform Libraries /
avatar image
Question by laurens · Dec 06, 2021 at 03:52 PM · rdp-apirdpipa

get_option_analytics InstrumentTag = None

If I run the following code :

import refinitiv.dataplatform as rdp
import datetime
import asyncio

rdp.open_desktop_session('key')


test = rdp.ipa.FinancialContracts.get_option_analytics(universe = ["ADBEL232168000.U", "ADBEL232169000.U"])
print(test.data.df)

The InstrumentTag you would expect to return the inputted rics: e.g.

"ADBEL232168000.U" and  "ADBEL232169000.U"

however it returns None, how is this possible?

  InstrumentTag             InstrumentDescription         ValuationDate  \
0          None  CashOption_AMER_ADBEL232168000.U  2021-12-06T00:00:00Z   
1          None  CashOption_AMER_ADBEL232169000.U  2021-12-06T00:00:00Z   

     InstrumentCode               EndDate  StrikePrice OptionType  \
0  ADBEL232168000.U  2021-12-23T00:00:00Z          680    Vanilla   
1  ADBEL232169000.U  2021-12-23T00:00:00Z          690    Vanilla   

  ExerciseStyle ExerciseType OptionPriceSide  ... DeltaInDealCcy  \
0          AMER         CALL            Last  ...      21.519941   
1          AMER         CALL            Last  ...      18.542911   

   GammaInDealCcy RhoInDealCcy  ThetaInDealCcy VegaInDealCcy  \
0        0.433694     5.845998      -58.807432     43.694283   
1        0.386039     5.041941      -53.686586     34.581230   

                                  DiscountCurveId  \
0  IRCurve_USD-SwapSB/3MLibor_2021-12-06T00:00:00   
1  IRCurve_USD-SwapSB/3MLibor_2021-12-06T00:00:00   

                                  DividendCurveId ErrorCode  ErrorMessage  \
0  ForecastTable_ADBEDIVCF.OQ_0001-01-01T00:00:00                           
1  ForecastTable_ADBEDIVCF.OQ_0001-01-01T00:00:00                           

  ProcessingInformation  
0                        
1                        

[2 rows x 50 columns]

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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by nick.zincone · Dec 06, 2021 at 06:48 PM

Hi @laurens

The 'instrumentTag' wasn't designed to return the inputted RICs. It is a user-defined tag or closure, that will be populated based on how you set it. I think you may be referring to the field 'instrumentCode'.

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

why does RDP.get_historical_price_summaries work with some series but not others?

Is there a single reference document for the RDP library?

IPA Volatility Surfaces API - The underlying connection was closed: An unexpected error occurred on a send

How to resolve the error 'The service failed to build the volatility surface'

Timezone in get_historical_price_summaries

  • 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