xtrdr

Create X_TRADER connection

Syntax

Description

example

X = xtrdr starts X_TRADER® or connects to an existing X_TRADER session.

Examples

expand all

Create a Connection to X_TRADER

X = xtrdr
x = 
 
  xtrdr with properties:

           Gate: [1x1 COM.Xtapi_TTGate_1]
    InstrNotify: []
     Instrument: []
       OrderSet: []

Output Arguments

expand all

X — X_TRADER connectionconnection object

X_TRADER connection, returned as a connection object for an X_TRADER session.

Limitations

  • You should only create one X_TRADER connection per MATLAB® session. To create a new X_TRADER connection, start a new MATLAB session.

See Also

Was this topic helpful?