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