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 COM /
avatar image
Question by jason.gunther · Aug 03, 2016 at 04:25 PM · eikoneikon-com-apirdata

invalid request parameter

I'm using the example vb code downloaded from

https://developers.thomsonreuters.com/system/files/downloadable/DEX2%20Samples%20using%20EikonDesktopDataAPI.zip

however I can't seem to retrieve the Strike Price for an option. The option I'm trying to get the strike price.

I enter AAPLH051609500.U in the Instruments list, and STRIKE_PRC in the Fields list, but I get an Error stating "Error : STRIKE_PRC is not a valid request parameter."

However when I use RDATA in excel it works fine. What am I missing?

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 Jirapongse · Aug 04, 2016 at 03:08 AM

To retrieve STRIKE_PRC, you can use AdxRtList instead of RDATA. Please see Tutorial 2 in this example. The example is C#.

AdxRtList = eikonConnect.CreateAdxRtList();
AdxRtList.OnUpdate += 
   new IAdxRtListEvents_OnUpdateEventHandler(adxRtList_OnUpdate);
AdxRtList.OnStatusChange += 
   new IAdxRtListEvents_OnStatusChangeEventHandler(adxRtList_OnStatusChange);

AdxRtList.Source = "IDN";
AdxRtList.RegisterItems("AAPLH051609500.U", "STRIKE_PRC");
AdxRtList.StartUpdates(RT_RunMode.RT_MODE_ONUPDATE);
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 Zhenya Kovalyov · Aug 04, 2016 at 06:26 AM

STIKE_PRICE is one of the fields on the real-time record AAPLH051609500.U, i.e. something you can view with the Quote app. The names for the real-time fields are capitalised, so it is easier for you to recognise them.

RData (or the =TR function) knows which database to query when you select the field in Formula Builder in Excel. The fields that require the use of AdfinX Real-time or the .NET Data API are kept in the Data Items of the Formula Builder under the Real-time category. Everything else in the Data Items can be accessed with DEX2.

Hope this helps!

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

Related Questions

RDATA batch request with individual Sdate parameters

How to choose which API "DEX2 CreateRData" or "EikonDesktopDataAPI CreateAdxRtList"

Receiving timeouts from Eikon DEX2 COM API on earnings forecast data

Exception while calling CreateRData on Dex2.RData

Excel API: formula builder - retreive data from local server

  • 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