The workspace name must contain "NinjaTrader;" (one word, without the quotations) otherwise NinjaTrader will NOT process any trade signals received from TradeStation.
Account Name
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 , 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.
Multiple Accounts
You can add multiple accounts in the workspace name to inform NinjaTrader to replicate the TradeStation order across more than one account. To do this add a comma "," (without the quotations) after each account name. For example; "Account=Account1,Account2"
Quantity Multiplier
You can optionally associate a quantity multiplier with each account that you have specified in the workspace name. This optional value will be multiplied by the TradeStation's strategy quantity amount. For example; if your TradeStation strategy has a quantity amount of 1 contract and you want to trade 2 contracts and you do not want to modify this amount in the strategy itself you can add "=2" after the account name in the workspace which would multiple the strategy contract amount by a factor of 2. The text would look like "Account=YourAccount=2"
Aliases - Chart Instrument "A" then Execute Orders in Instrument "B"
You can redirect orders to a different instrument than the instrument that your TradeStation strategy is actually running on. For example, you can run a strategy on $SPX.X but have orders actually placed to the S&P Emini contract. The text would look like "Map=$SPX.X,ESH09" where $SPX.X is the TradeStation chart instrument followed by a comma and then ESH09 which is the S&P Emini March 2009 contract which is the contract that will be traded. Since you can have multiple charts running in a workspace, you can add multiple mapping relationships. For example "Map=$SPX.X,ESH09,$COMPX,MSFT" would map the $SPX.X to ESH09 and $COMPX would map to MSFT.
|