Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add instrument in OnBarUpdate

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

    Add instrument in OnBarUpdate

    Hi,

    Is there way to add instrument in OnBarUpdate? Please help me if this is possible in NinjaTrader.

    Thanks,
    Irfan

    #2
    Hi Rana.irfan,

    Thank you for posting.

    You cannot add an instrument in the OnBarUpdate() method. Only in the Initialize() method.

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      No, but why?

      Comment


        #4
        Thanks,

        I am working on a project in which I get signal from trade ideas API about specific Instrument and want to send order on this instrument.How can I add this instrument when signal is arrived from Trade Ideas API.

        Comment


          #5
          Hi,

          Can any one tell me, Is there a way to send order on specific instrument ? if this instrument is not added in the strategy .

          Comment


            #6
            Rana.irfan,

            This is not possible as the script would need to know what instrument to send the order to which would required adding the instrument in some capacity to the script.
            Cal H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            627 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            359 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            105 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            562 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            567 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X