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

Adding additional orders to Atm Strategy

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

    Adding additional orders to Atm Strategy

    Through an indicator I submit Atm Strategy orders using the following method:

    NinjaTrader.NinjaScript.AtmStrategy.StartAtmStrate gy()

    Using NinjaScript how can I add a new order to an existing AtmStrategy? Am aware of the StrategyBase class but can't seem to figure out how to add additional orders and associated them with an active Atm Strategy.










    Last edited by martyn73; 11-17-2019, 03:36 PM.

    #2
    Hello martyn73, thanks for your post.

    Adding a contract to an ATM that is already active will need to be submitted as a feature request. Currently, if you call StartATMStrategy twice with the same parameters a new ATM will be created.

    I will reply with a feature tracking ID in the next couple of business days.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Chris, are you saying this is an undocumented feature but still possible? Or is there no method at all available to interact this way with active strategies, like you can using Chart Trader? Thanks.

      Comment


        #4
        Hello martyn73,

        This is not possible and would need to be submitted as a feature request. The only methods to interact with an ATM would be the ones listed in the help guide section for working with ATM's in NinjaScript. There is currently no means to add to an ATM once it has been submitted. For what you are asking you would instead need to use the Managed order handling or Unmanaged in a strategy or the addon account methods in other areas. ATM's work outside of your script so they would be very limited in what you can do from code.


        As Chris noted he would need to put in a feature request for this inquiry, once he has further information on that he will reply back with a tracking number.
        JesseNinjaTrader Customer Service

        Comment


          #5
          Please submit a feature request for this. Thanks.

          Comment


            #6
            Hi martyn73,

            Sorry, I forgot to post the tracking ID, please see below:

            SFT-4410
            Chris L.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by TraderBCL, Today, 04:38 AM
            0 responses
            1 view
            0 likes
            Last Post TraderBCL  
            Started by Radano, 06-10-2021, 01:40 AM
            19 responses
            606 views
            0 likes
            Last Post Radano
            by Radano
             
            Started by KenneGaray, Today, 03:48 AM
            0 responses
            4 views
            0 likes
            Last Post KenneGaray  
            Started by thanajo, 05-04-2021, 02:11 AM
            4 responses
            470 views
            0 likes
            Last Post tradingnasdaqprueba  
            Started by aa731, Today, 02:54 AM
            0 responses
            5 views
            0 likes
            Last Post aa731
            by aa731
             
            Working...
            X