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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    31 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X