- ago
My custom C# event provider is returning some events.

It is 2:36 AM on 29 May, now in India. Some of the events emitted by my event provider are dated 12:05 PM on 28th May. The market on 28th May was already closed.

However I am not able to see the events dated 28th May on the Chart. The previous days' events are showing.

Emitted event in question


Chart not showing the 28 May events


What could be the problem?
0
228
Solved
2 Replies

Reply

Bookmark

Sort
- ago
#1
The time portion ("12:05pm" on the screenshot). It must be dropped.
0
Best Answer
- ago
#2
That helped.

I guess I have not taken the documentation seriously enough - the parameter name "lastUpdateDate" of the EventDataProvider.GetNewEventData method and the hint
QUOTE:
EventDataPoint supports both a parameterless constructor, and one which assigns values to the Name, Date, and optionally Value properties
.

Thanks Eugene. Please make it more clear in the documentation.
0

Reply

Bookmark

Sort