Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Execution not Occur

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

    Execution not Occur

    Hi,

    I want to send market order on different instruments.These instrument i get from excel file . I add these instrument in initialize method.when i send long order , execution is occur but when i again send long order execution is not occur .

    Can you please help me what is happening in this case.

    Thanks
    Irfan

    #2
    Hello Irfan,

    Note that it is not supported to dynamically add instrument into the Initialize() method of NinjaTrader.

    With that said, are you verifying that the instruments that you have added in are being called inside of OnBarUpdate or that they are being added in properly?

    Happy to be of further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      Hi,

      Instruments that i have added are being called inside of OnBarUpdate so they are being added in properly.

      Please ask me if you have any further assistance.

      Thanks,
      Irfan

      Comment


        #4
        Hello Irfan,

        Could you possibly post some code so we can see what you are trying to do?

        Also, if you set TraceOrders to true do you see anything inside of the Output window?
        JCNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        647 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        368 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        571 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X