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!