Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Easy switch from Sim to Real

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Easy switch from Sim to Real

    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.








    #2
    imported post

    How about adding a parameter to your TS strategy "Account" and then changing it there?
    Sorry about the closing the portfolio.
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      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

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by tsantospinto, 04-12-2024, 07:04 PM
      7 responses
      126 views
      0 likes
      Last Post aligator  
      Started by futtrader, 04-21-2024, 01:50 AM
      5 responses
      56 views
      0 likes
      Last Post NinjaTrader_Eduardo  
      Started by PeakTry, Today, 10:49 AM
      0 responses
      2 views
      0 likes
      Last Post PeakTry
      by PeakTry
       
      Started by llanqui, Today, 10:32 AM
      0 responses
      5 views
      0 likes
      Last Post llanqui
      by llanqui
       
      Started by StockTrader88, 03-06-2021, 08:58 AM
      45 responses
      3,994 views
      3 likes
      Last Post johntraderuser2  
      Working...
      X