Get MTA Alert
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.
See here for more information on MTA alerts.
Abap
Python
Abap
Response Object
account: String.
Requestor’s account ID
order_id: int.
Alert’s tracking ID. Can be used for modifying or deleting alerts.
alertName: String.
Human readable name of the alert.
tif: String.
Time in Force effective for the Alert
expire_time: String.
Returns the UTC formatted date used in GTD orders.
alert_active: int.
Returns if the alert is active or disabled.
alert_repeatable: int.
Returns if the alert can be sent more than once.
alert_email: String.
Returns the designated email address for sendMessage functionality.
alert_send_message: int.
Returns whether or not the alert will send an email.
alert_message: String.
Returns the body content of what your alert will report once triggered
alert_show_popup: int.
Returns whether or not the alert will trigger TWS Pop-up messages
alert_play_audio: int.
Returns whether or not the alert will play audio
order_status: String.
Always returns “Presubmitted”.
alert_triggered: int.
Returns whether or not the alert was triggered yet.
fg_color: String.
Always returns “#FFFFFF”. Can be ignored.
bg_color: String.
Always returns “#000000”. Can be ignored.
order_not_editable: bool.
Returns if the order can be edited.
itws_orders_only: int.
Returns whether or not the alert will trigger mobile notifications.
alert_mta_currency: String.
Returns currency set for MTA alerts. Only valid for alert type 8 & 9.
alert_mta_defaults: String.
Returns current MTA default values.
tool_id: int.
Tracking ID for MTA alerts only. Returns ‘null’ for standard alerts.
time_zone: String.
Returned for time-specifc conditions.
alert_default_type: int.
Returns default type set for alerts. Configured in Client Portal.
condition_size: int.
Returns the total number of conditions in the alert.
condition_outside_rth: int.
Returns whether or not the alert will trigger outside of regular trading hours.
conditions: Array of json objects.
Returns all conditions, formatted as [ {Condition1}, {Condition2}, {…} ]
condition_type: int.
Returns the type of condition set.
conidex: String.
Returns full conidex in the format “conid@exchange”
contract_description_1: String.
Includes relevant descriptions (if applicable).
condition_operator: String.
Returns condition set for alert.
condition_trigger_method: int.
Returns triggerMethod value set.
condition_value: String.
Returns value set.
condition_logic_bind: String
Returns logic_bind value set.
condition_time_zone:
Returns timeZone value set.

