Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug: Connections and accounts multiply

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

    Bug: Connections and accounts multiply

    I did the following with B20: Reset SIM account while connected to flat live account with a running strategy, then disconnected and immediately reconnected to Zenfire.

    Now I have 2 connections showing up in control center, one disconnected and one live even though it is the same connection. In the Static DOM accounts dropdown menu there are 2 live accounts and 2 SIM accounts. Orders will show for one SIM account and not for the other. I didn't try anything with live account, to risky.
    Connecting again will add 3 connections and accounts. Accounts in control center do not multiply.

    A restart fixes this problem.

    Trace shows this:
    Code:
    2010-08-17 20:31:11:161 (Mirus LIVE) Cbi.Connection.Close9
    2010-08-17 20:31:11:162 (Mirus LIVE) Cbi.ConnectionStatusEventArgs.Process: Disconnected Disconnected
    2010-08-17 20:31:11:168 Cbi.ConnectionStatusEventArgs.Process, exception caught: Der Index war außerhalb des Arraybereichs.: ConnectionStatusEventArgs: Mirus LIVE: Primary connection=Disconnected, Price feed=Disconnected
    2010-08-17 20:31:30:924 (Unknown) Cbi.Connection.Connect0 Disconnected assembly=7.0.0.20 date=8/17/2010

    #2
    symphys, could you please clarify the first steps to this process? What do you mean by "while connected to flat live account"? It seems like having a strategy running on a live account is essential to this, but I'd like to double-check before testing that out.

    I did everything in your post while on a Sim account, but NinjaTrader deleted the strategy and reset the account and then reconnected without any unusual behavior.

    If the live account is necessary, will any strategy (including one that does absolutely nothing) do?
    AustinNinjaTrader Customer Service

    Comment


      #3
      At the moment I can't reproduce it so I don't know if any strategy will do.

      I was connected to a live account with zenfire. On this account a strategy was running part of the day. The strategy made 2 trades.
      Another strategy was running on SIM account. It made 1 trade, actually before the 2 live trades.
      As I was programming the second one I switched the strategies on and off.

      While reseting SIM there was no position in the market from both of the strategies.

      Comment


        #4
        symphys, thank you for the additional information. If you do find this event reproducible, please let us know how.
        AustinNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        47 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        23 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        33 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
        42 views
        0 likes
        Last Post CarlTrading  
        Working...
        X