Bug requesting timeseries with DataGrid
I'm trying to basically replicate the following excel formula using the DataGrid api:
=TR(".AXJO","TR.TradePriceClose.date;TR.TradePriceClose","SDate=20160101 EDate=20161010 Frq=D",B3)
To do that my request ends up looking like:
{
"Entity": {
"W": {
"fields": [
{ "name": "TR.TradePriceClose.date" },
{ "name": "TR.TradePriceClose" }
],
"instruments": [ ".AXJO" ],
"parameters": { "SDate": "2016-01-01", "EDate": "2016-10-10", "Frq": "D" }
},
"E": "DataGrid"
}
}
However while the excel formula works fine, the dates & close prices end up being returned misaligned when using DataGrid. The end of the response payload looks like the following:
...
[".AXJO", "2016-09-27T00:00:00Z", 5452.925],
[".AXJO", "2016-09-28T00:00:00Z", 5483.031],
[".AXJO", "2016-09-29T00:00:00Z", 5467.39],
[".AXJO", "2016-09-30T00:00:00Z", 5475.431],
[".AXJO", "2016-10-03T00:00:00Z", ""],
[".AXJO", "2016-10-04T00:00:00Z", ""],
[".AXJO", "2016-10-05T00:00:00Z", ""],
[".AXJO", "2016-10-06T00:00:00Z", ""],
[".AXJO", "2016-10-07T00:00:00Z", ""],
[".AXJO", "2016-10-10T00:00:00Z", ""]
Note that 5475.431 is the close price for Oct 10. The number of blanks corresponds to the number of holidays in the window, so eg a request for the last 10 days of data will appear to have worked just fine.
Best Answer
-
As of 5 May, I've received the test result as follows:
...
[".AXJO","2016-09-27T00:00:00Z",5405.9],
[".AXJO","2016-09-28T00:00:00Z",5412.4],
[".AXJO","2016-09-29T00:00:00Z",5471.3],
[".AXJO","2016-09-30T00:00:00Z",5435.9],
[".AXJO","2016-10-03T00:00:00Z",5478.5],
[".AXJO","2016-10-04T00:00:00Z",5484],
[".AXJO","2016-10-05T00:00:00Z",5452.9],
[".AXJO","2016-10-06T00:00:00Z",5483],
[".AXJO","2016-10-07T00:00:00Z",5467.4],
[".AXJO","2016-10-10T00:00:00Z",5475.4]Below is the screenshot result comparing to TR Eikon Excel:
Please confirm whether it is the result that you expect or not.
0
Answers
-
I can replicate this issue with UDF (cpurl://apps.cp./Apps/UDF). I have contacted the Data Grid team to verify the problem.
0 -
Thanks Jirapongse. I can't find any other way to get the correct date for the price, and TR.TradePriceClose isn't supported by ADC. Appreciate you guys looking into it. Oddly, unlike the currency problem I reported previously, this works fine in Excel.
0 -
The developer would like to confirm the API that you are using to access the data grid. Is it App Studio - Web SDK (JET) or Eikon Scripting API (Python)?
0 -
I was actually just testing it directly with the UDF app; down the track it was for integration in a scripting api project.
0 -
Hi Pimchaya, it "resolves" my query in as much as admitting there is a bug - it hasn't actually been fixed nor is there an ETA or just an issue tracker where I can track the status. For the time being I've found too many bugs in dealing with Eikon's various APIs that we've put using it on hold until it has matured.
0 -
Please submit your query to My Account, https://my.thomsonreuters.com and click "RAISE A CASE". Then, an appropriate consultant will contact you and assist you on this.
0 -
The fix of this issue is expected by the end of this month (April).
0
Categories
- All Categories
- 6 AHS
- 39 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛