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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    50 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    16 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    22 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X