dis
-Interested User-
Posts: 24
Joined: Apr 16, 2007
|
Posted: Jun 8, 2007 08:44 AM
Msg. 1 of 2
It would be a great addition to existing capabilities if requests and received data could be marked with some identifier.
Here’re my reasoning:
1. Request method must return request id: void RequestMinuteHistory (BSTR bsSymbol, long lDays, long lInterval); Change methods return a value from void to long - assign the identifier to the request.
LONG RequestMinuteHistory (BSTR bsSymbol, long lDays, long lInterval); so it would be possible to keep it until the event is raised.
2. Add the identifier to the event's arguments: STDMETHOD OnMinuteCompleted (LONG id, INT iMinutesReceived, VARIANT Time, VARIANT Open, VARIANT Close, VARIANT High, VARIANT Low, VARIANT Volume, VARIANT IntVolume) By this way, I'll see that data is received properly.
The same can be done for daily methods/events.
As for the backward capability the methods have to stay as they are now. However, is it possible to add the new methods with identification support in the near future?
The feature is very important for my application.
Thanks for your consideration.
|
DTN_Steve_S
-DTN Guru-
Posts: 2096
Joined: Nov 21, 2005
|
Posted: Jun 8, 2007 09:41 AM
Msg. 2 of 2
Implementing these changes would essentially require creation of a new interface. We have discussed the posibility of a new interface but there is currently no development time allocated for this. When we do implement a new interface into IQFeed, this suggestion will be taken into consideration.
Unfortunately, this does not translate into something that will happen "in the near future".
|