Can I retrieve User Created Time Series (UCTS) data from Datastream?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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?
Réponse acceptée
MathWorks Support Team
le 24 Avr 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Condensed Matter & Materials Physics dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!