Triage Position Mismatch

From Triage Documentation

Jump to: navigation, search



The Triage Position Mismatch application will send you alerts when your live trading positions at the TradeStation servers do not match your strategy positions.

A voice phone, SMS, email, fax, instant messenger, RSS, Twitter or Facebook alert is sent whenever a critical mismatch occurs. Simply install TradeWatch -- that’s all it takes to start sending TradeStation position mismatch alerts anywhere you go.

Quick Start

  1. Please make sure you are in TradeWatch “test” mode (which can be set with the TradeWatch program tray-icon on your Windows taskbar).
  1. Insert $Triage_Mismatch into any chart where you have your own strategy running that you would like information reported to you via TradeWatch.
  2. Set the input parameters to your desired settings. You can use the defaults to see it in action.
  3. Wait for your $Triage_Mismatch report to trigger.
  4. Check your message log under the view log menu in the tray-icon.
  5. If the alerts are being sent to you as you expect, then set TradeWatch to “live” mode and position mismatch alerts will be sent to you at any time and wherever you go.

Input Parameters

ttAccount_Name: Name of account to watch; only one account can be selected. Be sure to enter it exactly as you see it in your Trade Manager window.
ttSymbol: Type in the symbol you want to watch for a mismatch. If left blank then the symbol in data1 used in your strategy is used as the default. Most clients will just leave this setting blank "".
ttTolerate: How long to tolerate a position mismatch before alerting you? 				

1s = 1 second, 1m = 1 minute, 1h = 1 hour

For example, "1h20m20s" means tolerate a mismatch for 1 hour, 20 minutes and 20 seconds.

"1m1s" means tolerate a mismatch for 1 minute and 1 second.
ttInterval: What is the interval to keep reminding you if a position is mismatched after the first alert is sent.

1s = 1 second, 1m = 1 minute, 1h = 1 hour		
ttKeep: How long after the first position mismatch event triggers to keep sending an alert? This setting is to prevent constantly alerting you too often once you receive the first alert.

1s = 1 second, 1m = 1 minute, 1h = 1 hour
ttUnits: How many units of shares or contracts to tolerate a position mismatch?

Most users may set this setting at zero (0), so that any mismatch is not tolerated. For some larger traders of tens of thousands of shares, a few hundred shares may be acceptable before alerting.
ttMsg_Type: Choose the message type you are sending:

"printlog"     = message is sent to TS print log
"phone"        = voice message to phone
"sms"          = text message to mobile phone
"fax"          = text page to fax machine
"email"        = message to email
"yahoo"        = message to Yahoo IM
"msn"          = message to MSN IM
"aim"          = message to AIM (AOL) IM
"icq"          = message to ICQ IM
"gtalk"        = message to Google Talk IM
"rss"          = message to RSS Feed
"twitter"      = message to Twitter account
"facebook"     = message to Facebook account

Please see Triage Messaging User’s Guide for more information about this parameter and how to use it.
ttMsg_Dest: Send messages to one or more destination addresses or numbers.

Please see Triage Messaging User’s Guide for more information about this parameter and how to use it.
Messaging Service Example Destination
Mobile Phone or Device via Short Message (SMS) 14155551111
Text-to-Voice Phone Message to any Telephone or Cell Phone +14155552222
Text Fax to any Facsimile Device +1-415-555-3333
E-mail Relay bypassing tradition SMTP and Mail Clients
Yahoo Instant Messenger yahoousername
AOL ("AIM") Instant Messenger AOLusername
Microsoft MSN or Live Instant Messenger
Google Talk Instant Messenger
ICQ Instant Messenger 570102039432
Twitter™ Account Twitter Alias
Facebook™ Account Facebook Alias


Please make sure you enable intrabar order generation and calculation if you do not see alerts being generated. You can find the enable checkbox when you go to Format Strategy under the calculation tab.

Personal tools