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 sephichapdson, Today, 11:36 PM
            0 responses
            1 view
            0 likes
            Last Post sephichapdson  
            Started by bortz, 11-06-2023, 08:04 AM
            47 responses
            1,612 views
            0 likes
            Last Post aligator  
            Started by jaybedreamin, Today, 05:56 PM
            0 responses
            9 views
            0 likes
            Last Post jaybedreamin  
            Started by DJ888, 04-16-2024, 06:09 PM
            6 responses
            19 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by Jon17, Today, 04:33 PM
            0 responses
            6 views
            0 likes
            Last Post Jon17
            by Jon17
             
            Working...
            X