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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    476 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    317 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    255 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    340 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    306 views
    0 likes
    Last Post CarlTrading  
    Working...
    X