Documentation

reuters

Create Reuters sessions

Syntax

  • c = reuters(session,service) example
  • c = reuters(session,service,username,ipaddress) example
  • c = reuters(session,service,[],[],1) example

Description

example

c = reuters(session,service) creates a connection c to Reuters® Market Data System (RMDS) using the Reuters session name session and service name service.

example

c = reuters(session,service,username,ipaddress) creates a Reuters connection with Data Access Control System (DACS) authentication using the user name username and IP address ipaddress of the machine running RMDS.

example

c = reuters(session,service,[],[],1) creates a Reuters connection to access only real-time data from RMDS.

Examples

collapse all

Connect to RMDS

Connect to RMDS with session name 'myNS::remoteSession' and service name 'dIDN_RDF' without DACS authentication.

c = reuters('myNS::remoteSession','dIDN_RDF')
c =    

  reuters with properties:

                             session: [1x1 com.reuters.rfa.internal.session.SessionImpl]
                                user: []
                            position: []
                         application: '182'
                          standardPI: [1x1 com.reuters.rfa.common.StandardPrincipalIdentity]
                              client: [1x1 com.mathworks.toolbox.datafeed.MatlabReutersClient]
                         serviceName: 'dIDN_RDF'
                          eventQueue: [90 com.reuters.rfa.internal.common.EventQueueImpl]
                marketDataSubscriber: [1x1 com.reuters.rfa.internal.session.md.MarketDataSubscriberImpl]
    marketDataSubscriberInterestSpec: [1x1 com.reuters.rfa.session.MarketDataSubscriberInterestSpec]
                     mdsClientHandle: [1x1 com.reuters.rfa.internal.common.HandleImpl]
                               defDb: [369 com.reuters.ts1.TS1DefDb]

reuters returns a Reuters connection object c with these properties.

  • Reuters session object

  • User identifier

  • DACS position

  • MATLAB® application identifier

  • Reuters Standard Principle Identity object

  • Reuters client object

  • Service name for connecting to the data server

  • Event queue object

  • Event source object

  • Event source interest specification object

  • Handle for event stream

  • Historical data field list

Close the Reuters connection.

close(c)

Connect to RMDS Using DACS Authentication

Connect to RMDS using DACS authentication with session name 'myNS::remoteSession', service name 'dIDN_RDF', user name 'ab123', and data server IP address '111.222.333.444/net'.

c = reuters('myNS::remoteSession','dIDN_RDF',...
            'ab123','111.222.333.444/net')
c = 
 
  reuters with properties:

                         session: [1x1 com.reuters.rfa.internal.session.SessionImpl]
                            user: 'mw335'
                        position: '111.222.333.444/net'
                     application: '182'
                      standardPI: [1x1 com.reuters.rfa.common.StandardPrincipalIdentity]
                          client: [1x1 com.mathworks.toolbox.datafeed.MatlabReutersClient]
                     serviceName: 'dIDN_RDF'
                      eventQueue: [0 com.reuters.rfa.internal.common.EventQueueImpl]
            marketDataSubscriber: [1x1 com.reuters.rfa.internal.session.md.MarketDataSubscriberImpl]
marketDataSubscriberInterestSpec: [1x1 com.reuters.rfa.session.MarketDataSubscriberInterestSpec]
                 mdsClientHandle: [1x1 com.reuters.rfa.internal.common.HandleImpl]
                           defDb: []

reuters returns a Reuters connection object c with these properties.

  • Reuters session object

  • User identifier

  • DACS position

  • MATLAB application identifier

  • Reuters Standard Principle Identity object

  • Reuters client object

  • Service name for connecting to the data server

  • Event queue object

  • Event source object

  • Event source interest specification object

  • Handle for event stream

  • Historical data field list

Close the Reuters connection.

close(c)

Connect to RMDS for Only Real-Time Data

Connect to RMDS with session name 'myNS::remoteSession' and service name 'IDN_SELECTFEED'. Leave user name and DACS position blank. Specify the last argument equal to 1 to retrieve only real-time data.

c = reuters ('myNS::remoteSession','IDN_SELECTFEED',[],[],1)
c = 

  reuters with properties:

                         session: [1x1 com.reuters.rfa.internal.session.SessionImpl]
                            user: []
                        position: []
                     application: '182'
                      standardPI: [1x1 com.reuters.rfa.common.StandardPrincipalIdentity]
                          client: [1x1 com.mathworks.toolbox.datafeed.MatlabReutersClient]
                     serviceName: 'IDN_SELECTFEED'
                      eventQueue: [1 com.reuters.rfa.internal.common.EventQueueImpl]
            marketDataSubscriber: [1x1 com.reuters.rfa.internal.session.md.MarketDataSubscriberImpl]
marketDataSubscriberInterestSpec: [1x1 com.reuters.rfa.session.MarketDataSubscriberInterestSpec]
                 mdsClientHandle: [1x1 com.reuters.rfa.internal.common.HandleImpl]
                           defDb: []

reuters returns a Reuters connection object c with these properties.

  • Reuters session object

  • User identifier

  • DACS position

  • MATLAB application identifier

  • Reuters Standard Principle Identity object

  • Reuters client object

  • Service name for connecting to the data server

  • Event queue object

  • Event source object

  • Event source interest specification object

  • Handle for event stream

  • Historical data field list

Close the Reuters connection.

close(c)

Connect to RMDS Using RTIC (TIC-RMDS Edition)

Connect to RMDS using an RTIC (TIC-RMDS Edition) connection without DACS authentication with session name 'myNS::remoteRTICSession' and service name 'IDN_RDF'.

c = reuters('myNS::remoteRTICSession','IDN_RDF')
c = 
 
  reuters with properties:

                             session: [1x1 com.reuters.rfa.internal.session.SessionImpl]
                                user: []
                            position: []
                         application: '182'
                          standardPI: [1x1 com.reuters.rfa.common.StandardPrincipalIdentity]
                              client: [1x1 com.mathworks.toolbox.datafeed.MatlabReutersClient]
                         serviceName: 'IDN_RDF'
                          eventQueue: [0 com.reuters.rfa.internal.common.EventQueueImpl]
                marketDataSubscriber: [1x1 com.reuters.rfa.internal.session.md.MarketDataSubscriberImpl]
    marketDataSubscriberInterestSpec: [1x1 com.reuters.rfa.session.MarketDataSubscriberInterestSpec]
                     mdsClientHandle: [1x1 com.reuters.rfa.internal.common.HandleImpl]
                               defDb: []

reuters returns a Reuters connection object c with these properties.

  • Reuters session object

  • User identifier

  • DACS position

  • MATLAB application identifier

  • Reuters Standard Principle Identity object

  • Reuters client object

  • Service name for connecting to the data server

  • Event queue object

  • Event source object

  • Event source interest specification object

  • Handle for event stream

  • Historical data field list

Close the Reuters connection.

close(c)

Connect to RMDS Using RTIC (TIC-RMDS Edition) Using DACS Authentication

Connect to RMDS using an RTIC (TIC-RMDS Edition) connection with DACS authentication with:

  • Session name 'myNS::remoteRTICWithDACs'

  • Service name 'IDN_RDF'

  • User name 'ab123'

  • Data server IP address '111.222.333.444/net'

c = reuters('myNS::remoteRTICWithDACs','IDN_RDF',...
            'ab123','111.222.333.444/net')
c = 
 
  reuters with properties:

                             session: [1x1 com.reuters.rfa.internal.session.SessionImpl]
                                user: 'mw427'
                            position: '192.168.107.130'
                         application: '182'
                          standardPI: [1x1 com.reuters.rfa.common.StandardPrincipalIdentity]
                              client: [1x1 com.mathworks.toolbox.datafeed.MatlabReutersClient]
                         serviceName: 'IDN_RDF'
                          eventQueue: [2 com.reuters.rfa.internal.common.EventQueueImpl]
                marketDataSubscriber: [1x1 com.reuters.rfa.internal.session.md.MarketDataSubscriberImpl]
    marketDataSubscriberInterestSpec: [1x1 com.reuters.rfa.session.MarketDataSubscriberInterestSpec]
                     mdsClientHandle: [1x1 com.reuters.rfa.internal.common.HandleImpl]
                               defDb: []

reuters returns a Reuters connection object c with these properties.

  • Reuters session object

  • User identifier

  • DACS position

  • MATLAB application identifier

  • Reuters Standard Principle Identity object

  • Reuters client object

  • Service name for connecting to the data server

  • Event queue object

  • Event source object

  • Event source interest specification object

  • Handle for event stream

  • Historical data field list

Close the Reuters connection.

close(c)

Input Arguments

collapse all

session — Session namestring

Session name, specified as a string to denote a Reuters session.

Data Types: char

service — Service namestring

Service name, specified as a string to denote the service for connecting to the Reuters data server.

Data Types: char

username — User namestring

User name, specified as a string to denote your Reuters user identification.

Data Types: char

ipaddress — IP addressstring

IP address, specified as a string to identify the machine running the Reuters data server.

Data Types: char

Output Arguments

collapse all

c — Reuters connectionconnection object

Reuters connection, returned as a Reuters connection object with these properties.

Property

Description

session

Reuters session object

user

User identifier

position

DACS position

application

MATLAB application identifier

standardPI

Reuters Standard Principle Identity object

client

Reuters client object

serviceName

Service name for connecting to the data server

eventQueue

Event queue object

marketDataSubscriber

Event source object

marketDataSubscriberInterestSpec

Event source interest specification object

mdsClientHandle

Handle for event stream

defDb

Historical data field list

More About

collapse all

Tips

  • Before using this function, you must configure your environment for connecting to a Reuters data server. For details, see Reuters Configurations.

  • You can connect to the Reuters data server without DACS authentication. For example, use this code.

    c = reuters('myNS::remoteSession','IDN_CONFLATED');

  • When you connect to RMDS without DACS authentication, ignore these informational messages that can appear in the Command Window.

    Oct 5, 2007 2:28:31 PM 
    com.reuters.rfa.internal.connection.
    ConnectionImpl initializeEntitlements
    INFO: com.reuters.rfa.connection.ssl....
    			myNS.RemoteConnection
    DACS disabled for connection myNS::RemoteConnection
    

  • When you connect to RMDS with DACS authentication, ignore these informational messages that can appear in the Command Window.

    Oct 5, 2007 2:27:14 PM ...
    com.reuters.rfa.internal.connection.
    ConnectionImpl$ConnectionEstablishmentThread runImpl
    INFO: com.reuters.rfa.connection.sass3.myNS.RTICwithDacs
    Connection successful: ...
    				componentName :myNS::RTICwithDacs, 
    subscriberRVConnection: 
    {service: 9453, network: 192.168.107.0;225.2.2.8, 
    daemon: tcp:192.168.107.131:9450} 
    Oct 5, 2007 2:27:14 PM 
    com.reuters.rfa.internal.connection.sass3....
    				Sass3LoggerProxy log
    INFO: com.reuters.rfa.connection.sass3.myNS.RTICwithDacs
    SASS3JNI: Received advisory from RV session@
    (9453,192.168.107.0;225.2.2.8,tcp:192.168.107.131:9450):
     _RV.INFO.SYSTEM.RVD.CONNECTED
    Oct 5, 2007 2:27:14 PM 
    com.reuters.rfa.internal.connection.ConnectionImpl 
    makeServiceInfo
    WARNING: com.reuters.rfa.connection.sass3....
    				myNS.RTICwithDacs
    Service list configuration has no 
    				alias defined for network 
    serviceName IDN_RDF
    

Was this topic helpful?