Triage Network Inspector

From Triage Documentation

Jump to: navigation, search

Introduction

The Triage Network Inspector indicator will check the quality of your internet network from your computer to the last reachable “hop” before you reach the TradeStation data and trade servers. The indicator reports your network latency (the time it takes to reach TradeStation’s servers). You can visually inspect each hop’s response time.

When any internet connection along the network route is slow to respond within an acceptable response threshold you will receive a Triage alert.

You will know immediately when your internet network route is causing you to get slow data or sluggish responses from TradeStation servers. A voice phone, SMS, email, fax, instant messenger, RSS, Twitter or Facebook alert is sent whenever your network quality deteriorates so you can take preventative actions.

Triage Network Inspector Indicator applied to a TradeStation chart using symbol == BYT :

TriageNetworkTSSample1.png

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).
Install7.png
  1. Insert $Triage_Network into any chart with live data. We recommend using one of the diagnostic symbols: == BYT, == CPA, == CPU, == QUO, == TIK [remember the space and set the interval to 1 tick bar]
  2. Set the input parameters to your desired settings. You can use the defaults to see it in action.
  3. Wait for your $Triage_Network report to display results.
  4. If the indicator triggers a message, then check the log in 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

TriageNetworkTSParameters.png
ttNetTarget: What is the target network address you want to reach?

You may type in your own custom IP address such as "98.137.149.56".

Or you may choose the following inputs, and the indicator will automatically find the TradeStation servers that you are connected to.

"-1" = TradeStation Trade Server
"-2" = TradeStation Data Server
"-3" = TradeStation Historical Trade Server
"-4" = TradeStation Historical Data Server  

Be sure to include the quote characters " " in your parameter setting.
ttNetChkTime: How often in seconds to check the network path to TradeStation servers?

We recommend a setting not less than 20 seconds. This is because it takes time for each internet connection along the network path to respond. Also, if you check too often, those internet servers at peer points may refuse to respond.
ttBadResponse: What is the network latency (measured in milliseconds) that is considered a bad response time from a network hop? If any network hop exceeds this bad response time, you will get an alert.

We recommend setting this to somewhere between 300 to 500ms. You may have different network response requirements. Some traders may have extremely fast response times under 100ms, while others normally experience 100ms to 200ms times. What is considered a bad response may be subjective from trader to trader.

Please try out different settings and find one that best suits your network latency expectations for your internet connection.
ttShowHops: If set to true, show all the network hops and their latency along the network path to the target network address. Most clients choose this setting.

If set to false, just show the longest response time for the worst hop. 
ttColorStart: When plotting indicator and text values for each hop, what color is used to show the first hop?
ttColorEnd: When plotting indicator and text values for each hop, what color is used to show the last hop?
ttStackPlot: If set to true, then stack each hop latency time on top of the previous. This allows you to see each hop. If set to false, then show each hop plot as an absolute latency time value. This is the default setting for most users.
ttReportTimeOut: If set to true, then timeouts (no response from hops greater than 1000ms) are reported. If set to false, then timeouts are not reported.
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 me@email.com
Yahoo Instant Messenger yahoousername
AOL ("AIM") Instant Messenger AOLusername
Microsoft MSN or Live Instant Messenger msnname@hotmail.com
Google Talk Instant Messenger googlename@gmail.com
ICQ Instant Messenger 570102039432
Twitter™ Account Twitter Alias
Facebook™ Account Facebook Alias
Personal tools
Navigation