Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM strategy Code

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

    ATM strategy Code

    Hello,


    1.
    In atm strategy, by get unique orderid, use string myId = GetAtmStrategyUniqueId();
    can I use this orderid(myId) for OnOrderUpdate() in the same strategy?

    2.
    I found that in other strategies on the same chart, I can also get whether the order is filled or working by orderId in ATMStrategy,
    But can't get ATMStrategyId (always not retrieved),

    Am i right?

    #2
    Hello jetheil2,

    ATM's strategies are external to a NinjaScript strategy so you won't have OnOrderUpdate or OnExecutionUpdate events. The only ways to interact with the ATM would be the following items: https://ninjatrader.com/support/help...gy_methods.htm

    When using the other standard strategy methods from the managed or unmanaged appraoch you will be able to see the order events.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X