Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error - holds invalid strategy template name

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

    Error - holds invalid strategy template name

    I am attempting to Place an order with the Command

    client.Command("PLACE", "SIM101", instrument, action, quantity, "MARKET", 0, 0, "DAY", "", orderId, "OrderStrat", "money22");


    In the log file it is showing the following error

    11/13/2008 11:33:19 AM,ATI,OIF, 'PLACE;SIM101;AUDCAD;BUY;1;MARKET;0;0;DAY;;17941AD 0371246BA8B16467ACF3C4S51;OrderStrat;money22' holds invalid strategy template name 'OrderStrat',
    11/13/2008 11:33:17 AM,ATI,AT, 'PLACE;SIM101;AUDCAD;BUY;1;MARKET;0;0;DAY;;17941AD 0371246BA8B16467ACF3C4S51;OrderStrat;money22' processing ,

    I can not find any details on this error message - can you advise?

    Thanks

    #2
    Try "Sim101" instead or even a blank string "" so it can default to the account setup in the ATI tab. http://www.ninjatrader-support.com/H...de.html?ATITab
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks - I changed that and it resolved that error. Althrough after exiting NT and restarting - I am back to this same error.

      11/13/2008 4:33:24 PM,ATI,OIF, 'PLACE;Sim101;AUDCAD;SELL;3;MARKET;0;0;DAY;;C2E930 9E4E574D7485FA034642AC1052;WizStrategy;money1' holds invalid strategy template name 'WizStrategy',


      Would this indicate that there is something wrong with the Strategy?

      Comment


        #4
        It would indicate you have no strategy named "WizStrategy".
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Okay - I can get this to work if I use a strategy template created through the ATM Strategy templates -


          However, this does not work for me when trying to use NinjaScript Strategies that I created. Is this correct?

          Comment


            #6
            That is correct. You can find more information here: http://www.ninjatrader-support.com/H...arameters.html
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Tim-c, Today, 02:10 PM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by Taddypole, Today, 02:47 PM
            0 responses
            2 views
            0 likes
            Last Post Taddypole  
            Started by chbruno, 04-24-2024, 04:10 PM
            4 responses
            50 views
            0 likes
            Last Post chbruno
            by chbruno
             
            Started by TraderG23, 12-08-2023, 07:56 AM
            10 responses
            401 views
            1 like
            Last Post beobast
            by beobast
             
            Started by lorem, Yesterday, 09:18 AM
            5 responses
            25 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Working...
            X