• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

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, 02: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

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by deltaZ, Today, 03:10 PM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by escobar63, Today, 02:47 PM
        3 responses
        6 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by faisamtrader, Today, 10:31 AM
        1 response
        16 views
        0 likes
        Last Post NinjaTrader_Tyler  
        Started by ChazJ, Today, 09:48 AM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by maxie, Today, 10:01 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_Melissa  
        Working...
        X