• 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, 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 jtrading82, Today, 04:05 PM
            1 response
            9 views
            0 likes
            Last Post bltdavid  
            Started by sgordet, Today, 08:07 PM
            1 response
            2 views
            0 likes
            Last Post bltdavid  
            Started by smcllr, Today, 08:04 PM
            0 responses
            2 views
            0 likes
            Last Post smcllr
            by smcllr
             
            Started by 5element, Today, 02:46 PM
            1 response
            22 views
            0 likes
            Last Post Emma1
            by Emma1
             
            Started by jeronymite, Today, 04:47 PM
            0 responses
            11 views
            0 likes
            Last Post jeronymite  
            Working...
            X