Use a DataScope Select connection to retrieve end-of-day 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.
d = datascopeSelect("username","password")
Retrieve end-of-day data for the ABDE.O security. Using the
endofday function, retrieve the ask price and previous close
price.
sec = ["ABDE.O","Ric"];
fields = ["Ask Price","Previous Close Price"];
d = endofday(c,sec,fields)
d =
1x4 table
IdentifierType Identifier Ask Price Previous Close Price
______________ __________ ________ __________________
Ric ABDE.O 163.66 170.03
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. Specify
Refinitiv end-of-day fields to retrieve end-of-day data. You can search for fields
in MyRefinitiv.
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.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.