View Full Version : Tradestation 8 and ATI
guerind
12-31-2006, 04:49 AM
I create trades from Tradestation 8.xvia the NT ATI. Can I use a custom NT exit strategy, that was setup in the NT SuperDom to manage me targets and stops? ( I have the custom NT strategy setup for 2 profit levels and changing the stop loss after the first profit targe is reached.)
If I can do this, could I get the RunCommand coding if my Exit strategy is named ER2?
Best regards,
Dan
NinjaTrader_Ray
12-31-2006, 04:53 AM
Not sure I understand 100% but if you are asking if you can reference an Exit strategy (not regular strategy) through the ATI the answer is no, it is not supported.
Ray
guerind
12-31-2006, 07:01 AM
Ray,
What are you referring to by a regular strategy?
Dan
NinjaTrader_Ray
12-31-2006, 09:55 AM
Strategy that submits stops and targets.
guerind
12-31-2006, 10:39 AM
Ray,
OK.......I will just write one for Tradestation........Do you have a sample profit/exit strategy for Tradestation?
Dan
NinjaTrader_Ray
12-31-2006, 11:04 AM
Dan,
Unfortunately we do not have any sample EL strategies.
Ray
guerind
01-01-2007, 12:19 AM
Ray,
Thanks for you assistance..
Best,
Dan
guerind
01-03-2007, 08:01 AM
Ray,
I have written code in Tradestation to submit orders to NinjaTrader......I am pasting in unique order ID's in each order.....I am getting the trades to NinjaTrader but the unique order ID's are not showing on the orders tab.....I checked the NinjaTrader log and the unique order ID's are included in the transmitted order.....
I am using the SIM account....
What is going wrong?
Best,
Dan
NinjaTrader_Ray
01-03-2007, 08:08 AM
Correct, they are not shown in the orders tab.
Ray
guerind
01-03-2007, 08:21 AM
Ray,
I cant find them under any tab......Should they not show up under orderID in NinjaTrader?
Dan
NinjaTrader_Ray
01-03-2007, 08:54 AM
Hi Dan,
They will not show up anywhere except maybe the log tab showing the ATI command. This is an internal user order id and not a system/exchange order id.
Ray
guerind
01-03-2007, 09:07 AM
Ray,
Oh Boy......then how do I get the current open trade ID assigned by the system?
Dan
NinjaTrader_Ray
01-03-2007, 10:00 AM
Programatically? In EL, create a variable, orderId and hold the order id value in this variable.
Ray