Can I retrieve User Created Time Series (UCTS) data from Datastream?
1 view (last 30 days)
Show older comments
In Thomson Reuters API, Datastream offers a feature called User Created Time Series (UCTS) for end users to upload their own data. Can these data be retrieved, in MATLAB, in exactly the same way as other Datastream data?
Accepted Answer
MathWorks Support Team
on 24 Apr 2013
Yes, you can request UCTS data that was created outside of MATLAB. Note, however, that you cannot create UCTS data from MATLAB.
Here are the steps you would follow:
1. Create a UCTS with EXCEL TSCACMOD and then request it as below.
Note: the UCTS must be created with the same Datastream id (red)
2. Do not forget to add ~# (green) before!
At the command line in MATLAB, do the following:
>> Connected = datastream('DS:XDSM16','xxxxx','Datastream','<http://dataworks.thomson.com/Dataworks/Enterprise/1.0'>)
Connected =
user: 'DS:XDSM16'
password: '*******'
datasource: 'Datastream'
endpoint: '<http://dataworks.thomson.com/Dataworks/Enterprise/1.0/webserviceclient.asmx'>
wsdl: '<http://dataworks.thomson.com/Dataworks/Enterprise/1.0/webserviceclient.asmx?WSDL'>
>> a = fetch(Connected, 'TSCACMOD~#XDSM16')
a =
Source: 'Datastream'
Instrument: 'TSCACMOD~#XDSM169'
StatusType: 'Connected'
StatusCode: '0'
StatusMessage: ''
CCY: 'E'
DATE: {262x1 cell}
DISPNAME: 'TSCACMOD'
FREQUENCY: 'D'
P: {262x1 cell}
SYMBOL: 'TSCACMOD'
0 Comments
More Answers (0)
See Also
Categories
Find more on Condensed Matter & Materials Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!