Main Content

datascopeSelect

Refinitiv DataScope Select connection

Since R2023a

Description

The datascopeSelect function creates a datascopeSelect object. The datascopeSelect object represents a Refinitiv™ DataScope Select connection.

Creation

Description

example

c = datascopeSelect(username,password) creates an object that represents a Refinitiv DataScope Select connection.

c = datascopeSelect(username,password,timeout,url,mediatype,debugmodevalue) also specifies this options:

  • Timeout in seconds

  • DataScope Select URL

  • REST API call media type

  • MATLAB® HTTP library debug value

Input Arguments

expand all

DataScope Select username, specified as a string scalar or character vector. You need a Refinitiv DataScope Select license to create a username.

DataScope Select password, specified as a string scalar or character vector. You need a Refinitiv DataScope Select license to create a password.

Timeout value in seconds, specified as a positive number.

Example: 1000

Data Types: double

DataScope Select URL, specified as a string scalar or character vector.

REST API call media type, specified as a string scalar or character vector.

MATLAB HTTP library debug value, specified as 0 or 2. To return a verbose output for HTTP requests, set this value to 2.

Data Types: double

Output Arguments

expand all

DataScope Select connection, returned as a datascopeSelect connection object.

Properties

expand all

This property is read-only.

DataScope Select username required to make the connection, returned as a string scalar or character vector.

Timeout value in seconds, specified as a positive number. The timeout value is used when making connections and data requests.

Data Types: double

This property is hidden.

MATLAB HTTP library debug value, specified as 0 or 2. To return a verbose output for HTTP requests, set this value to 2.

Data Types: double

This property is hidden.

REST API call media type, specified as a string scalar or character vector.

This property is hidden.

DataScope Select URL, specified as a string scalar or character vector.

Object Functions

endofdayRequest end-of-day data from Refinitiv DataScope Select
intradayRequest intra-day data from Refinitiv DataScope Select
timeseriesRequest timeseries data from Refinitiv DataScope Select

Examples

collapse all

Create an object representing a Refinitiv DataScope Select connection.

с = datascopeSelect("username","password")
    с = 
 
   datascopeSelect with properties:
 
     Username: "username"
      TimeOut: 200

Version History

Introduced in R2023a