Main Content
xtrdr
Create X_TRADER connection
Description
The xtrdr
function creates an xtrdr
object, which represents an X_TRADER® connection. After you create an xtrdr
object, you can use
the object functions to create instrument notifiers, instruments, order sets, and order
profiles, and obtain current data. You can also submit orders to X_TRADER.
Note
Create only one X_TRADER connection per MATLAB® session. To create an X_TRADER connection, start a new MATLAB session.
Creation
Syntax
Description
creates an X_TRADER connection object c
= xtrdrc
. The
xtrdr
function starts X_TRADER or connects to an existing X_TRADER session.
Properties
Object Functions
createNotifier | Create instrument notifier for X_TRADER |
createInstrument | Create instrument for X_TRADER |
createOrderSet | Create order set for X_TRADER |
createOrderProfile | Create order profile for X_TRADER |
getData | Obtain current X_TRADER data |
close | Close X_TRADER connection |
Examples
Version History
Introduced in R2013a