Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding order(s) to an open ATM strategy position

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

    Adding order(s) to an open ATM strategy position

    When trading manually, orders can be added to an open ATM strategy and when filled, the OCO stops and targets will increment and decrement quantity appropriately to stay in sync with the net open position size.

    My question is, how can we similarly add orders to an open ATM strategy position using NinjaScript?

    #2
    drmartell, that would only be possible if the ATM was opened by a NinjaScript strategy through the AtmStrategyCreate(), you would have a new unique order id then but reuse the atm strategy id.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    120 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    174 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    92 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    134 views
    0 likes
    Last Post cmoran13  
    Working...
    X