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 argusthome, 03-08-2026, 10:06 AM
              0 responses
              84 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              47 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              29 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              32 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              66 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X