Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Event Driven ATM Strategies

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

    Event Driven ATM Strategies

    In the future, it would be nice if NT would add event driven ATM routines like the current routines for generated orders (i.e. OnExecution() OnOrderUpdate() etc). It would be nice to know when an ATM order was filled, cancelled, or changed. Having an event driven model would help write cleaner more understandable code IMO.

    #2
    Thanks for the suggestion aslane - couldn't you run the ATM relevant parts on each tick in the OnBarUpdate() to achieve a closer feedback time for the individual events?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Yes, I use the Ninja provided model of running entry code on FirstTickOfBar, and the rest on each tick. I just think it makes more sense to separate out the logic and be event driven.

      I could flip the question, and ask why would Ninja implement the event driven model for non-ATM orders? It just is not consistent.

      Comment


        #4
        Correct, this is unfortunately not possible at this time - thanks again for the suggestion though.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by esmall, Today, 07:14 PM
        0 responses
        1 view
        0 likes
        Last Post esmall
        by esmall
         
        Started by Option Whisperer, 05-09-2024, 07:58 PM
        6 responses
        25 views
        0 likes
        Last Post Option Whisperer  
        Started by rayyyu12, Today, 05:38 PM
        0 responses
        12 views
        0 likes
        Last Post rayyyu12  
        Started by xepher101, Yesterday, 12:19 PM
        2 responses
        30 views
        0 likes
        Last Post xepher101  
        Started by thumper57, Today, 04:30 PM
        0 responses
        8 views
        0 likes
        Last Post thumper57  
        Working...
        X