Use a DataScope Select connection to retrieve timeseries data for one
security.
Create a Refinitiv DataScope Select connection by using a username and password. The
appearance of the connection object c in the MATLAB® workspace indicates a successful connection.
c = datascopeSelect("username","password")
Retrieve timeseries data for the ABDE.O security. Using the
timeseries function, retrieve the ask price for the past five
days.
Refinitiv DataScope Select connection, specified as a connection object created with
datascopeSelect.
Security, specified as an N-by-2 string array or cell array of
character vectors. The first column of the string array or cell array identifies the
security. The second column identifies the type of security (for example, Reuters Instrument Code, or RIC).
Example: ["IBM.N","Ric"]
Fields, specified as a string array or cell array of character vectors. You can
search for fields in MyRefinitiv.
Example: ["Ask Price","Previous Close Price"]
Start date of the date range, specified as a datetime array,
string scalar, character vector, or numeric scalar.
Example: datetime("yesterday")
Data Types: double | char | string | datetime
End date of the date range, specified as a datetime array, string
scalar, character vector, or numeric scalar.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.