Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM Strategy Mutiple Contracts Question

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

    ATM Strategy Mutiple Contracts Question

    Question: How do I access/address/specify a contract that was initiated by using an ATM in a strategy that submitted multiple orders with multiple stops/targets/trailing stops?

    Is everything created using one "orderId" or can I access each leg(profit target) or a 3 leg ATM?

    Hope this makes sense? I looked on the forum but could find a match.

    Scenario: I have ATM with 3 profit targets each having a unique stop. I want to change just one of the profit targets not all 3. If I submit 3 separate orders I have 3 order id's but I don't see this for an ATM. I am guessing i can't do it hence the reason for using the ATM in the first place.
    Last edited by ct; 07-25-2013, 08:45 AM.

    #2
    Hello ct,

    To be able to get the status of a an ATM Strategy Stop loss or Profit target order in a Automated Strategy you would use the GetAtmStrategyStopTargetOrderStatus() method. In this method you would have to pass it the AMT Strategy ID when you submitted your order but then you may specify which target you will be looking for like "Target1" or "Stop1" for the individual orders.



    To change them you would use the AtmStrategyChangeStopTarget() method just like you are getting the status of it.


    Let me know if I can be of further assistance.
    JCNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    60 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    145 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    161 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    97 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    283 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X