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 DannyP96, 05-18-2026, 02:38 PM
              1 response
              27 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, 05-11-2026, 05:56 AM
              0 responses
              117 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 05-10-2026, 08:12 PM
              0 responses
              69 views
              0 likes
              Last Post CarlTrading  
              Started by Hwop38, 05-04-2026, 07:02 PM
              0 responses
              226 views
              0 likes
              Last Post Hwop38
              by Hwop38
               
              Started by CaptainJack, 04-24-2026, 11:07 PM
              0 responses
              414 views
              0 likes
              Last Post CaptainJack  
              Working...
              X