Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backup data feed logic not working

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

    backup data feed logic not working

    dear sirs,


    today I observed a problem in NT. I am using Multibroker license.

    My setup is first connection IB, second connection PATS system.
    IB has backup data feed PATS and PATS has backup data feed IB.

    Today IB had a broken eurofarm marketdata connection, so I expected NT to fall back to the PATS system.

    This is the log message:
    04/03/2009 8.49 Default HMDS data farm connection is broken:euhmds2 2105

    But there was no fallback and no marketdata was taken from the PATS connection.
    To check wether the marketdata on PATS was available I disconnected the IB and had PATS as the only connection.
    Another problem showed up here:
    In the Control center -> Orders Tab I could see the marfket data for FDAX and FGBL, and this confirmed that PATS was transmitting market data.

    My open chart windows for FDAX and FGBL would however not receive this market data and they would not update and there was no bid or ask shown in the chart trader window.

    Please indicate a solutuon to have a working fallback market data connection.

    Best regards

    Andreas

    #2
    Hello zweistein,

    It is not necessary to assign each connection as backup if you connect to both simultaneously; if one connection is disconnected, you will still be connected to the other connection, which will provide the data from there on.

    Am I correct after the log message, you were still connected to IB; the lower left corner listed 'Connected - IB' in green?

    If so, NinjaTrader was still trying to retrieve the futures data from IB. Only when the first connection does not support the instrument type selected (futures, forex, equities, indices), it will retrieve the data from the second connection. Since you were still connected to IB, it tried to retrieve the data from IB, but you did not receive data, since the eurofarm feed was broken.

    Once disconnected you received real-time from Patsystems. Try right clicking in the charts and select 'Reload Historical Data' regarding the charts that did not update with real-time data.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Hi Jason,

      NT Control Center gave Connected->InteractiveBrokers in green.

      IB TWS gave MarketData button in orange with eurofarm disconnected.

      I would like to have NT switch automatically to the other working connection, PATS.

      Since my PATS has no historic data but only market data feed reload historical data will not work and it would not help as I didn't even get bid ask data in the charttrader window.

      NT could also elaborate the log message and act accordingly. Elaborate messages from TWS concerning MarketData!

      Any better way to have an automatic fallback?


      Andreas

      Comment


        #4
        Hello Andreas,

        Unfortunately this is not possible if the connection is indicated as green in NinjaTrader; you will need to disconnect manually.

        I will forward your suggestion to our development team and ask them if they can add this to the list of future considerations for the software.

        Thank you for your feedback.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Jason View Post
          Hello Andreas,

          Unfortunately this is not possible if the connection is indicated as green in NinjaTrader; you will need to disconnect manually.

          I will forward your suggestion to our development team and ask them if they can add this to the list of future considerations for the software.

          Thank you for your feedback.
          So if the IB connection is orange, then does it fallback to the second connection for data?

          Comment


            #6
            Hello tjendra,

            No, the orange color indicates NinjaTrader is connected, but not correctly. Only when the first connection is fully disconnected, the second connection is used.
            JasonNinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_Jason View Post
              Hello tjendra,

              No, the orange color indicates NinjaTrader is connected, but not correctly. Only when the first connection is fully disconnected, the second connection is used.
              But wouldn't that be weird? I mean the whole idea of having a secondary feed is that if there is something wrong with the primary feed, it would fallback on the secondary feed for data. Else, what's the secondary feed used for, unless it is only used to get symbols not available on the primary feed.

              And is there a difference between having the backup feed specified in Account Connection versus just connecting 2 feeds?

              Comment


                #8
                Hello tjendra,

                The orange color indicates there is still a connection, so it will not convert to the second connection. Usually the orange color indicates either the order or price server is not connected correctly.

                If the first connection does not support an instrument type and the second connection does, NinjaTrader will retrieve the data from the second connection. If the second connection is not connected, but setup as backup data feed, it will not retrieve data for the instrument type not supported by the first connection.
                JasonNinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by NinjaTrader_Jason View Post
                  Hello tjendra,

                  The orange color indicates there is still a connection, so it will not convert to the second connection. Usually the orange color indicates either the order or price server is not connected correctly.

                  If the first connection does not support an instrument type and the second connection does, NinjaTrader will retrieve the data from the second connection. If the second connection is not connected, but setup as backup data feed, it will not retrieve data for the instrument type not supported by the first connection.
                  But thats the main issue isn't it, orange color indicates either the order or price server is not connected correctly. So shouldn't it be getting the correct data from the secondary feed instead to make sure you are getting the correct data?

                  For the backup data feed, does it get used by the primary feed when it is orange color? Under what circumstances would the backup data feed be used then?

                  Comment


                    #10
                    As I mentioned, NinjaTrader will only convert to the second connection when the first connection is fully disconnected.

                    NinjaTrader will convert to the back up data feed if the primary feed is fully disconnected. This will only work if the back up data feed connection is live.
                    JasonNinjaTrader Customer Service

                    Comment


                      #11
                      Originally posted by NinjaTrader_Jason View Post
                      As I mentioned, NinjaTrader will only convert to the second connection when the first connection is fully disconnected.

                      NinjaTrader will convert to the back up data feed if the primary feed is fully disconnected. This will only work if the back up data feed connection is live.
                      Maybe let me put it this way instead. What should I do if I want to get correct data when the connection turn orange color which indicates either the order or price server is not connected correctly.

                      Since either the backup feed or the secondary feed won't work unless the primary feed is disconnected.

                      What you are saying so far, is that there is no way I can get correct data if the connection turn orange.

                      Comment


                        #12
                        Hello tjendra,

                        Disconnect the first connection and restart NinjaTrader. Check if you can get connected successfully as per the first connection (that appeared orange the previous session).

                        If not, connect to the data feed that normally is connected second only.
                        JasonNinjaTrader Customer Service

                        Comment


                          #13
                          Originally posted by NinjaTrader_Jason View Post
                          Hello tjendra,

                          Disconnect the first connection and restart NinjaTrader. Check if you can get connected successfully as per the first connection (that appeared orange the previous session).

                          If not, connect to the data feed that normally is connected second only.
                          I always can get successful connected to the first connection if I restart NT. What I am saying here is what if it turn orange during the trading session? What am I suppose to do? Restart NT everytime it turn orange? How is anybody able to trade live like that?

                          Also, it may turn orange for only 1 min and turn green again. So I am missing that 1 min of data which can impact my indicators. How should I get that missing 1 min of data to load correctly during a live trading session? That why the logical idea would be the backup feed should provide the data isn't it. But it doesn't, unless the first feed is disconnected.

                          Comment


                            #14
                            It should not turn orange on a frequent base. Do you experience many orange connections?

                            Right click in the chart and select 'Reload Historical Data' to reload missing historical data.

                            Check if you have software, such as (corporate) firewalls, spyware and anti-virus software that could be interfering the connection.
                            JasonNinjaTrader Customer Service

                            Comment


                              #15
                              Originally posted by NinjaTrader_Jason View Post
                              It should not turn orange on a frequent base. Do you experience many orange connections?

                              Right click in the chart and select 'Reload Historical Data' to reload missing historical data.

                              Check if you have software, such as (corporate) firewalls, spyware and anti-virus software that could be interfering the connection.
                              It turned orange a few times in a trading session for a few mins each time. I know that if I reload historical data it will get the correct data, but I am running a live strategy! That few mins might be when I need to get in or get out of a trade, by the time I finish reloading, the price level would not be where I want to get in/out initially isn't it?

                              Am I correct to say that NT can't load the correct data if a connection goes orange then and there is no way to remedy this problem in real time beside reloading historical data later.

                              I do not use software, such as (corporate) firewalls, spyware and anti-virus software on my trading computer.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by cmtjoancolmenero, 04-25-2024, 03:58 PM
                              14 responses
                              59 views
                              0 likes
                              Last Post NinjaTrader_ChelseaB  
                              Started by raffu, Yesterday, 11:41 AM
                              1 response
                              9 views
                              0 likes
                              Last Post NinjaTrader_Jesse  
                              Started by cmtjoancolmenero, Yesterday, 11:56 AM
                              1 response
                              13 views
                              0 likes
                              Last Post NinjaTrader_ChelseaB  
                              Started by reynoldsn, 04-21-2024, 07:53 PM
                              3 responses
                              25 views
                              0 likes
                              Last Post NinjaTrader_BrandonH  
                              Started by cmtjoancolmenero, Yesterday, 03:40 PM
                              1 response
                              14 views
                              0 likes
                              Last Post NinjaTrader_Jesse  
                              Working...
                              X