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 Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    647 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    369 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    108 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    572 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    573 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X