D = getData(X,S,F)
returns data for the fields F for the xtrdr
instrument object, S, with fields corresponding to valid X_TRADER® API options. For details, see the Trading Technologies®X_TRADER API RTD Tutorial or X_TRADER API Class Reference.
X_TRADER connection, specified as a connection object created using xtrdr.
X_TRADER instrument, specified as an instrument object created using createInstrument or aliases with fields corresponding to valid
X_TRADER API options. For details, see the Trading Technologies
X_TRADER API RTD Tutorial or X_TRADER API Class Reference.
Example: x.Instrument(1)
Fields for the instrument object or aliases, S, specified as a
character vector, cell array of character vectors, string scalar, or string array.
F without a corresponding S are fields for all
instruments associated with the xtrdr session object,
X.