Details Of A Mobile Trading Alert

View as MarkdownOpen in Claude

Retrieve information about your MTA alert. Each login user only has one mobile trading assistant (MTA) alert with it’s own unique tool id that cannot be changed. MTA alerts can not be created or deleted, only modified. When modified a new order Id is generated.

Response

The alert description for the unique MTA alert on the account.
accountstring
Requestor's account ID
order_idlong
Alert's tracking ID. Can be used for modifying or deleting alerts.
alertNamestring
Human readable name of the alert.
tifstring
Time in Force effective for the Alert
expire_timestring
Returns the UTC formatted date used in GTD orders.
alert_activeenum

Returns if the alert is active [1] or disabled [0].

alert_repeatablelong
Returns if the alert can be sent more than once.
alert_emailstring
Returns the designated email address for sendMessage functionality.
alert_send_messagelong
Returns whether or not the alert will send an email.
alert_messagestring
Returns the body content of what your alert will report once triggered
alert_show_popuplong

Returns whether or not the alert will trigger TWS Pop-up messages

alert_play_audiolong
Returns whether or not the alert will play audio
order_statusenum
represent order statusAlways returns "Presubmitted".
alert_triggeredlong
Returns whether or not the alert was triggered yet.
fg_colorstring
Foreground color. Not applicable to API.
bg_colorstring
Background color. Not applicable to API.
order_not_editableboolean
Returns if the order can be edited.
itws_orders_onlylong
Returns whether or not the alert will trigger mobile notifications.
alert_mta_currencystring

Returns currency set for MTA alerts. Only valid for alert type 8 & 9.

alert_mta_defaultsstring
Returns current MTA default values.
tool_idlong
Tracking ID for MTA alerts only. Returns 'null' for standard alerts.
time_zonestring

Returned for time-specific conditions.

alert_default_typelong
Returns default type set for alerts. Configured in Client Portal.
condition_sizelong
Returns the total number of conditions in the alert.
condition_outside_rthlong
Returns whether or not the alert will trigger outside of regular trading hours.
conditionslist of objects
Returns all conditions