Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Programatically change account associated with Strategy

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

    Programatically change account associated with Strategy

    Hi,

    I'm relatively new to strategies (I've coded several indicators). From what I can see, you have to turn a strategy off in order to change the account a strategy is active with. So my quick question is - from code external to a running strategy, for instance from code triggered by clicking a button, is it possible to turn off the strategy, change the account with which it is associated, and turn it back on? I didn't see anything in the API, but somehow it seems to me I've seen doing this referenced somewhere.

    Thanks,

    Gordon

    #2
    Hello,

    You cannot do this in NT6.5, but I believe you can in NT7 right right clicking, but I can have someone confirm that for NT7 if you would like. Just reply.
    DenNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    56 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    143 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    160 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    96 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    276 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X