Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM strategy events

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

    ATM strategy events

    Would ATM strategy fire onPositinUpdate, on Execution, onOrderUpdate events.

    #2
    junkone, for the ATM's in NinjaScript strategy please use the dedicated GetAtmStrategy... methods for those purposes (a coded example would be found in the 'SampleAtmStrategy installed per default).'

    Comment


      #3
      i understand which methods that i need to use to manage the ATM strategy. i want to know which of these events would also be fired when i am running a ATM strategy.
      ØOnConnectionStatus() - Called when a connection state changes
      ØOnExecution() - Called when a strategy generated order is filled
      ØOnFundamentalData() - Called on any change in fundamental data
      ØOnMarketData() - Called on any change in a level 1 market data stream
      ØOnMarketDepth() - Called on any change in a level 2 market data stream
      ØOnOrderUpdate() - Called when a strategy generated order changes state
      ØOnPositionUpdate() - Called when a strategy generated position changes
      ØOnStartUp() - Called once when a script first starts up
      ØOnTermination() - Called once when a script is terminated

      Comment


        #4
        The ATM strategies you call from your NinjaScript strategy are not event driven, so the OnOrderUpdate and OnExecution relying on passing the IOrders in for reference would not be useful in this context. Other methods you listed would work as regular in any NinjaScript strategy though.

        Comment


          #5
          how about onPositionUpdate.
          infact, i was playing around with it and onPositionUpdate was not firing consistently. Did not know if it was supposed to fire on ATM orders.

          Comment


            #6
            The ATM equivalent for this would be the GetAtmStrategyMarketPosition() - http://www.ninjatrader-support.com/H...yPosition.html

            Comment


              #7
              Guys: unfortunately we would not be able to provide you with trading advice or recommendations.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Mindset, 04-21-2026, 06:46 AM
              0 responses
              102 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by M4ndoo, 04-20-2026, 05:21 PM
              0 responses
              144 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by M4ndoo, 04-19-2026, 05:54 PM
              0 responses
              71 views
              0 likes
              Last Post M4ndoo
              by M4ndoo
               
              Started by cmoran13, 04-16-2026, 01:02 PM
              0 responses
              125 views
              0 likes
              Last Post cmoran13  
              Started by PaulMohn, 04-10-2026, 11:11 AM
              0 responses
              79 views
              0 likes
              Last Post PaulMohn  
              Working...
              X