Creating a workspace within TradeStation with the correct naming convention is critical to enabling TradeStation to properly communicate with NinjaTrader.
From within TradeStation, you can create a new workspace by left mouse clicking on the menu File, selecting the menu name New, and then selecting the menu name Workspace. This will create an untitled workspace in TradeStation. You must then left mouse click on the menu File and select the menu name Save Workspace As... to provide a workspace name following the naming conventions listed below.
The workspace name must contain "NinjaTrader;" (one word, without the quotations) otherwise NinjaTrader will NOT process any trade signals received from TradeStation.
You can optionally add your brokerage account name(s) to the workspace name to identify an account that NinjaTrader will route orders to. If the account name is missing NinjaTrader will route orders to the default account (to set the default account from NinjaTrader left mouse click on the Tools menu, select the menu name Options, left click on the ATI tab, and then select the General tab). The account name must be specified as "Account=YourAccount" (without quotations) and where "YourAccount" is the name/number of your brokerage account.
Workspace Name Examples
Following are samples of valid TradeStation workspace names. Remember, you will separate functions with a semi colon ";".
The following workspace name routes orders to the Default account specified under Tools --> Options --> ATI tab
The following workspace name routes orders to account # 1235
The following workspace name routes an order to account #7777 and another order to account #1311 with the original strategy quantity multiplied by a factor of 2
The following workspace name routes orders to account #123 and maps trade signals generated by the $SPX.X chart to the S&P Emini March 2009 contract
You may create multiple workspaces provided that they each contain "NinjaTrader;" (without the quotations) in their name. For example, you could have two workspaces named "NinjaTrader1;" and "NinjaTrader2;"