Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Changing Quantity

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

    Changing Quantity

    Hi Developers....

    is it possible to change the quantity of an ATM strategy template on runtime?
    e.g. I have a template named 3TargetBreakEven, which handles 3 targets and a quantity of 6 lots (fx trading). Depending on my moneymanagement rules I want to increase or decrease the positionssize.
    The stops and taregts are changeable...but the size...mmmhhhh

    I'm a little bit confused about because ATM is able to handle multiple orders with paired OCO's (target/stop). But with the most flexible NT script there is no way to implement an elegant exit strategy like the ATM does!!!

    Who knows the answer?

    Thx guys
    Markus

    #2
    Hello Markus,

    The Order qty-field will allow you to change the order quantity before submitting the entry order with the ATM strategy attached.

    If you are already in a position with an ATM strategy, you can submit an additional entry order with the same ATM strategy attached to scale in. To scale out you can submit an order with the order quantity ( Order qty: ) set to your liking.

    Upon scaling in, the ATM strategy selection setting in the properties menu is important to understand. Please see the link below for more information.
    Last edited by NinjaTrader_Jason; 11-27-2008, 10:32 AM.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Hi Jason!

      Sorry, but I had forgotten to say that I'm triggering the ATM via NinjaScript. I do not use the DOM or ChartTrade to place an order based on an ATM template.
      I'm famillar to use the scale in/out functionality with DOM/ChartTrader.

      In the API ther is no way to change the quantity of a template. Right?

      Greetings
      Markus


      Originally posted by NinjaTrader_Jason View Post
      Hello Markus,

      The Order qty-field will allow you to change the order quantity before submitting the entry order with the ATM strategy attached.

      If you are already in a position with an ATM strategy, you can submit an additional entry order with the same ATM strategy attached to scale in. To scale out you can submit an order with the order quantity (Order qty set to your liking.

      Upon scaling in, the ATM strategy selection setting in the properties menu is important to understand. Please see the link below for more information.
      http://www.ninjatrader-support.com/H...ategyMode.html

      Comment


        #4
        just an other question

        Is it possible to get informed within the "OrderUpdate" or OnExecution" methods if an order was executed/updated by an ATM order?

        Or do I get information about the time the order was executed?

        I'm using NT script to start an ATM, please remark!

        Thanks
        Markus

        Comment


          #5
          Originally posted by cicondo View Post

          In the API ther is no way to change the quantity of a template. Right?
          Correct, this is not possible.
          RayNinjaTrader Customer Service

          Comment


            #6
            Originally posted by cicondo View Post
            Is it possible to get informed within the "OrderUpdate" or OnExecution" methods if an order was executed/updated by an ATM order?

            Or do I get information about the time the order was executed?

            I'm using NT script to start an ATM, please remark!

            Thanks
            Markus
            Unfortunately this is not possible.
            RayNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by DJ888, Today, 10:57 PM
            0 responses
            1 view
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by MacDad, 02-25-2024, 11:48 PM
            7 responses
            158 views
            0 likes
            Last Post loganjarosz123  
            Started by Belfortbucks, Today, 09:29 PM
            0 responses
            7 views
            0 likes
            Last Post Belfortbucks  
            Started by zstheorist, Today, 07:52 PM
            0 responses
            7 views
            0 likes
            Last Post zstheorist  
            Started by pmachiraju, 11-01-2023, 04:46 AM
            8 responses
            151 views
            0 likes
            Last Post rehmans
            by rehmans
             
            Working...
            X