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).'
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        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
            BertrandNinjaTrader Customer Service

            Comment


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

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by HappyTrader76, 02-07-2023, 08:46 AM
              6 responses
              332 views
              0 likes
              Last Post SnailHorn  
              Started by geotrades1, Today, 07:54 AM
              6 responses
              12 views
              0 likes
              Last Post geotrades1  
              Started by Aviram Y, Today, 06:03 AM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by leonardomocci, Today, 08:28 AM
              0 responses
              2 views
              0 likes
              Last Post leonardomocci  
              Started by prisonbreaker82, 02-24-2024, 11:16 AM
              3 responses
              36 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Working...
              X