Getting Volume and Open_Interest for last trading date after close
Hi,
Last night at 20:07 I ran my C# API to get OHLC, Volume and OI for ESc1 and ESc2. At that time the API returned:
03/04/19 00:00
2814
2819.75
2767.5
2791.25
0
0
So, I got 0 for OI and Volume. This is more than 3 hours after the CME close.
When I run it again this morning I get:
03/04/19 00:00
2814
2819.75
2767.5
2791.25
1791972
2445886
So now data is correct. I need to have this data at the same time as the other data is available.
Why did it return 0 last night?
Code I used:
object volumeObject;
double? volume = null;
if (record.TryGetValue("NDA_VOLUME", out volumeObject))
volume = (double)volumeObject;
object open_interestObject;
double? open_interest = null;
if (record.TryGetValue("NDA_OPEN_INTEREST", out open_interestObject))
open_interest = (double)open_interestObject;
Thank you!
Best Answer
-
In resolution to case 07416365 the content team confirmed that for S&P 500 E-mini futures (ESc1 and ESc2) the exchange publishes volume and open interest on the collection feed at the following times: from Monday through Thursday, the exchange sends the values at 3 am GMT. For Friday's data, they send the values at 9:45 pm on Sunday.
0
Answers
-
@jerome your code looks fine, but it does not show what data you are requesting. Judging by the fields that you are using, I am guessing, it is a time series request, daily, withView('NDA_RAW'). Could you show the request params?
0 -
Hi Zhenya,
Please find the code below:
Thanks
public void Launch(String ric, DateTime dt)
{
Console.WriteLine("Get RIC: "+ ric);
//Console.WriteLine("");
request = timeSeries.SetupDataRequest(ric)
.WithView("NDA_RAW")
.WithAllFields()
.WithInterval(CommonInterval.Daily)
.From(dt)
// .WithNumberOfPoints(50)
.OnDataReceived(DataReceivedCallback)
.CreateAndSend();
//Console.Write("finished");
}0 -
@jerome so ```dt``` is today-50?
0 -
Sry - let me re-paste..
request = timeSeries.SetupDataRequest(ric)
.WithView("NDA_RAW")
.WithAllFields()
.WithInterval(CommonInterval.Daily)
.From(dt)
.OnDataReceived(DataReceivedCallback)
.CreateAndSend();0 -
Sry - let me re-paste..
request = timeSeries.SetupDataRequest(ric)
.WithView("NDA_RAW")
.WithAllFields()
.WithInterval(CommonInterval.Daily)
.From(dt)
.OnDataReceived(DataReceivedCallback)
.CreateAndSend();0 -
Sry - let me re-paste..
request = timeSeries.SetupDataRequest(ric)
.WithView("NDA_RAW")
.WithAllFields()
.WithInterval(CommonInterval.Daily)
.From(dt)
.OnDataReceived(DataReceivedCallback)
.CreateAndSend();0 -
DateTime dt = new DateTime(2018, 12, 1);
0 -
@jerome
I opened case 07416607 with Refinitiv Helpdesk on your behalf to investigate at what time volume and open interest should be populated in NDA_RAW view for these futures.0 -
@jerome it is not clear why you got this issue, might have been a content issue. The only thing I can recommend at this point is keep an eye on this and report it should this happen again.
So, next time you see this, compare your output to the following Excel function. If it shows zeros as well, you can safely assume this is a content issue and report it to the support desk.
=RHistory("ESc1","NDA_RAW.Nda_date;NDA_RAW.Nda_open_interest;NDA_RAW.Nda_volume;","INTERVAL:1D",,"CH:Fd")
0 -
ok - will check it again tonight
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 162 App Studio
- 4 Block Chain
- 5 Bot Platform
- 17 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
- 370 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 中文论坛