OK, so how do I get the Eikon for Excel/Eikon - Microsoft Office default AdxRtHistory fields then?
Best Answer
-
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 Sub0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛