Mapping a Continuous Futures Contract
NinjaTrader can map continuous contracts in one of two ways:
• | Automatically map to the next closest expiration date |
• | User defined contract mapping |
For automatic mapping, follow the instructions above for "How to map an individual futures contract" otherwise follow the instructions below.
If you run the TradeStation Automated Trading Interface through the email protocol or want to use the NTExternalFeed strategy to drive NinjaTrader Simulation Edition with a TradeStation continuous contract, follow the instructions below. We will use the "@ES" continuous contract symbol and front month of March 2009 for example purposes.
1. From the NinjaTrader Control Center window select the menu and select the menu item.
2. Highlight the ES contract from the main grid which is the NinjaTrader S&P 500 contract
3. Press the Edit button to bring up the Instrument Editor window
4. Select the Misc tab
5. Next to External set the value to "ES|03-09"
6. Press the OK button
* The symbol map name "ES|03-09" in the image below needs to be the TradeStation symbol base name.
Automated Trading Interface - Orders generated for "@ES" will now be routed to the NinjaTrader "ES 03-09" contract.
NTExternalFeed strategy - Data from your "@ES" chart will be sent to the NinjaTrader "ES 03-09" contract.
Please remember to change this when the contract rolls over. If your system is trading on the "ESH09" symbol you could just leave the symbol mapping in NinjaTrader to "ES" instead of the "ES|03-09" as shown above.
|