Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy with Alternate Connections

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

    Strategy with Alternate Connections

    Hi all,

    How can I run a strategy using data feed A while trading with account B? I thought that just connecting to feed A before connecting to account B would do it. This works in backtests, and with the Sim account I can choose the connection I want, but with a live account it seems to only be using the account connection.

    #2
    Hello typedef struct,

    Yes, connecting to data feed A first will receive realtime data from data feed A, providing data feed A supports the instrument type that is selected for the strategy.

    When connected to multiple connections simultaneously in NinjaTrader, you will receive realtime data from the first connected connection on most occasions. Only when the first connection does not support a certain instrument type (stock, futures, forex, index), it will receive realtime data from the second connection. Please see the link below for information when using multiple connections.


    I assume you refer to the Control Center-->Strategies-tab, Connection column. It will always show the connection of the account the strategy is running on. It does not mean realtime data is received from this connection.

    Comment


      #3
      Thanks Jason,

      I'll have to investigate further why I'm getting these inconsistent results. I'm seeing data on a chart that directly contradicts that data my strategies seem to be trading on. I'll add some debugging and run in sim a bit and see if I can reproduce it there.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      68 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      39 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 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