Triage Data Quality

From Triage Documentation

Jump to: navigation, search



The Triage Data Quality indicator will check your TradeStation data delay and accuracy. The indicator does this by checking your data trade times against your computer date time.

It will also check if your data is within an acceptable range, and if your data matches online real-time data sources. A voice phone, SMS, email, fax, instant messenger, RSS, Twitter or Facebook alert is sent whenever your data quality fails.

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_DataQuality 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_DataQuality 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 alerts will be sent to you at any time and wherever you go.

Input Parameters

ttIntervalTime: How often to check data quality?

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

For example, "2m20s" means to check every 2 minutes and 20 seconds.
ttThresholdTime: How long to tolerate the data time delay before sending an alert?
ttMaxMultiple: What is the maximum multiple of the current price range to report a bad tick of data? Value must be from 0 to 1. 

For example, 0.5 means 50% change in price is too big of a price difference to be considered normal. You will be sent an alert.
ttPriceDev_Web: The deviation of price between TradeStation data and the online web data sources.

For example, if you are running the symbol IBM, then 0.5 means if the prices of online real-time websites differ from TradeStation's real time price by 50 cents or more, you will be sent an alert.
ttWebsites: Which online web sites with real-time quotes to watch?

If you don't want to check websites and TradeStation prices, then just leave this parameter blank "".

google           = Google Finance
yahoo            = Yahoo Finance
freerealtime     =
msn              = MSN Money Central
nasdaq           = Nasdaq Exchange Website
cnbc             = CNBC

You can use more than one website as a source, such as: "google,yahoo".
ttShowPlot: Show which plot in a chart?
1 = plot the data delay
2 = plot the price deviation
"1,2" = show both plots
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


If you get a "Waiting for account…" message in your chart for the $Triage_DataQuality indicator, then you must check to see if you are online and connected to the TradeStation trade server. You cannot retrieve account information without being connected.

You can find your trade server status at the lower right hand corner of your TradeStation application. If the trading status is red, then you are not connected.

Personal tools