Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy ID

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

    Strategy ID

    Hi All,
    quick question (that I couldn't find on the manual), is the Strategy ID property unique? Does this property changes when the strategy is disabled/enabled?

    I'm looking for a reference which is stable as soon as the strategy is created, therefore I tought using strategy ID would have been a good idea. But I need to make sure that this string doesn't change when the strategy is disabled, and when it's re-enabled it stays the same. According to what I see it should change only when the strategy is created. Can you please confirm?

    Thanks
    Antonio

    #2
    Hello Antonio,

    Thank you for your post.

    Are you referring to the atmStrategyID in NinjaScript? Or the StrategyID in ATI Interface (http://www.ninjatrader.com/support/h...rameters.htm)?

    The atmStrategyID will be unique to each instance of an ATM Strategy in your NinjaScript code. The Strategy ID in the ATI Interface is a unique string that you create for the strategy.

    Comment


      #3
      Originally posted by phi3zz0 View Post
      Hi All,
      quick question (that I couldn't find on the manual), is the Strategy ID property unique? Does this property changes when the strategy is disabled/enabled?

      I'm looking for a reference which is stable as soon as the strategy is created, therefore I tought using strategy ID would have been a good idea. But I need to make sure that this string doesn't change when the strategy is disabled, and when it's re-enabled it stays the same. According to what I see it should change only when the strategy is created. Can you please confirm?

      Thanks
      Antonio
      Just create your own ID as a string parameter, and set it yourself.

      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
      30 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
      40 views
      0 likes
      Last Post CarlTrading  
      Working...
      X