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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    50 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    16 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X