I need your support for using Eikon Desktop API in Matlab.
Following instructions:
I'm trying, without success, to "traslate" the C# code into Matlab script.
I'm not a developer and I don't know the C# programming language, then I find it difficult to translate examples shown in the tutorial in Matlab script.
My needs are as follows:
(Source:
GetViewList is a method that is part of the "Interface" object ThomsonReuters.Desktop.SDK.DataAccess.TimeSeries.ITimeSeriesDataService
To use it in MATLAB you have to do a workaround (https://www.mathworks.com/matlabcentral/answers/98980-can-i-call-hidden-methods-from-a-net-object-through-the-interface -which-it-tools-in-matlab-7-13).
I created the class in Matlab to load the libraries as shown in the web page example: https://developers.thomsonreuters.com/article/using-eikon-net-sdk-matlab
ts = t.Assembly {1} .AssemblyHandle.GetType('ThomsonReuters.Desktop.SDK.DataAccess.TimeSeries.ITimeSeriesDataService'),
but this object doesn't contain GetViewList method
2. Given the isin code data (eg "US0378331005"), I would like to retrieve all existing trading venue code (ric code).
Specifically, I would like to use the RequestSymbols method (source: https://developers.thomsonreuters.com/eikon-apis/net-apis-use-custom-applications/learning?content=8725&type=learning_material_item)
but I'm not able to create a Matlab script.
3. given the ric code (eg "AAPL.O"), I would like to retrieve time series of closing prices (CLOSE) and daily volumes between a range of arbitrary dates.
I advised the following web pages:
but I can't build the script in Matlab that has in output time series of date, price close and volume. Kind Regards,
Mario
Hi Mario,
1. I don't see how the thread on the Mathworks forum you referenced is relevant here. Yes, GetViewsList method is a member of ITimeSeriesDataService interface. In the timeseries data retrieval example in my article I create an instance of ITimeSeriesDataService object and store it in timeSeries variable:
timeSeries = t.Services.TimeSeries;Then I use timeSeries variable to call SetupDataRequest method, which is a member of ITimeSeriesDataService interface: timeSeries.SetupDataRequest(...)