Hello,
I'm trying to do batch queries to retrieve Time Series data in non-interative non-callback mode.
I have not found any example on how to do this. all documentation and samples are showing callback interactive mode.
Please help me asap.
Thanks.
Have a look at the attached, the usage is:
new BulkDataRequestSetup() .WithRics("LCOc1", ".SPX") .WithFields("CLOSE", "TIMESTAMP") .WithInterval(new Interval(IntervalType.Daily, 1)) .WithNumberOfPoints(100) .OnDataReceived(DataReceivedCallback) .OnStatusUpdated(StatusUpdatedCallback) .CreateAndSend();
Should solve the 'batch' bit.
bulkdatarequestcs.txt
You can write a wrapper around this that will give you a synchronous result. Are you working on a Console application?
Thank you for answer, Zhenya!
But i want something different.
I want to create a service that will work on a computer with reuters eikon app. Then i want to send a soap-request from another computer to this service and receive a synchronous reply.
the call is as follows:
public class ReutersService: IReutersService{ public TimeSeriesResponse GetData(TimeSeriesRequest request) { if (request == null) { throw new ArgumentNullException("request"); } return request.GetResult(); }}