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
REFINITIV
Question by Bondy_Bo · Nov 09, 2015 at 02:45 PM · excelcomadfinAdxRtHistorytime-series

OK, so how do I get the Eikon for Excel/Eikon - Microsoft Office default AdxRtHistory fields then?

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 DevTrev · Nov 09, 2015 at 03:33 PM

The AdxRtHistory Class of the AdxRtLib library is the older method of retrieving time series data (interday or greater only) retained as it is a Class of the AdfinX Real Time rtx.dll Library. There are two considerations to using AdxRtHistory, 1) it can only be used for Interday or greater time periods, NOT Intraday and 2) the field names are of the old form (DATE, CLOSE etc), dating from 3000 Xtra and Powerplus 32.

To retrieve the default (all) fields use .RequestHistory("*") and then, when the data has been returned, use the ExistingFields property, an array holding the field names. Note that, unlike RHistoryAPI there is no need to infer the underlying category.fieldname, the names are the same as those that would be used in the actual request.

In the Visual Basic Editor, Tools, References for the AdfinX Real Time (or look for rtx.dll in the X/Bin, Y/Bin or Z/Bin of the TR Eikon installation directory)

Dim WithEvents myAdxRtHist As AdfinXRtLib.AdxRtHistory 
Private Sub cmdGetInterday_Click() 
Set myAdxRtHist = CreateReutersObject("AdfinXRtLib.AdxRtHistory") 

With myAdxRtHist 
	.FlushData 
	.ErrorMode = Dialogbox 
	.Source = "IDN" 
	.ItemName = "VOD.L" 
	.Mode = [H8].Value 
	.RequestHistory ("*") ' "*" requests all fields. 
End With 
Exit Sub 

Private Sub myAdxRtHist_OnUpdate(ByVal DataStatus As AdfinXRtLib.RT_DataStatus) 
Dim c As Integer 
Dim availablefields As Variant 
' If working with ALL fields request, can use .ExistingFields 
availablefields = myAdxRtHist.ExistingFields 

For c = 0 To UBound(availablefields, 1) 
Debug.Print availablefields(c, 0) 
Next c
End Sub
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 >
1 Person is following this question.

Related Questions

How does AdfinX, DEX2 RSearch etc., now stored in X, Y or Z Bin folders, affect my VBA API calls?

Corporate Action Field In Excel

Can I determine the Connection state of Eikon Excel with VBA?

Rtcontribute Function

RSearch(): Maximum number of instruments retrieved

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges