PDA

View Full Version : Easy switch from Sim to Real


Zardoz
04-20-2006, 06:20 AM
Is there an easy way through Ninja to switch the auto trader in TS to sim and real trading? If I code the real account # in the OIF file and pass to ninja, the trade will be live. Is there some way I can switch it to simulation through Ninja or do I have to change the code in Trade Station each time.



thx

Had a bit of a fiasco, when I heard the lady's voice announcing a trade but could not see it via the dome. In trying to figure what was happening I finally did a "flatten everything" and ended up selling my whole stock portfolio.

NinjaTrader_Ray
04-20-2006, 06:36 AM
How about adding a parameter to your TS strategy "Account" and then changing it there?
Sorry about the closing the portfolio.

Zardoz
04-24-2006, 06:17 AM
Yes I could probably code that. Will also have to put something in there so that every time I make a change to one of the parmI don't get a new OIF file being produced making Ninja re-enter the last trade.

Z