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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        60 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        145 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        161 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        97 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        283 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X