Can I retrieve User Created Time Series (UCTS) data from Datastream?
5 次查看(过去 30 天)
显示 更早的评论
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?
采纳的回答
MathWorks Support Team
2013-4-24
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Risk Management Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!