Command Rules

In general, whenever you access a TradeStation desktop menu item, select a toolbar icon, or press a hot key, you are running a command. Many commands can also be run by simply typing them on the Command Line. This topic covers the rules and syntax for the four basic command categories that can be entered on the Command Line including Symbol, Interval & Range, Action, and Macro.

There are some general guidelines for using all four types of commands. In addition, there are specific rules that apply only to Action commands, for instance.

  • Command names cannot include spaces.
  • Command names are not case-sensitive.
  • A command will not be performed until you press ENTER, except in the case of selecting a command from the Command Line Entry History lists.
  • You must include a space between the command and any required or optional parameter.
  • Parameters may include spaces.
  • Multiple command categories may be separated by double semi-colons ( .action1;; SYMB interval;; .macro;; .action2 )
  • If you enter a parameter that does not exist, the command will be executed as if the parameter was not entered in the first place. For example, if you enter the command OpenWorkspace My Winners, and there is no workspace named "My Winners", the command will open the MyWork directory in the same way as if you had entered OpenWorkspace, without a parameter.
Related Topics

Action Command Rules

Interval and Range Command Rules

Macro Command Rules

Symbol Command Rules

Enter a Command on the Command Line

Set a Command Line Preference

View Command Line Errors