• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT8 Bitmex time error

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

    NT8 Bitmex time error

    Hello,

    I have downloaded the latest Bitmex connector and added it to my NT8. The connector provides live and historical data (yes, they fixed it).

    Unfortunatly the candles and dates are not synchronised. In the attachment you can see 3 charts.
    TopLeft - TradingView chart that shows yesterdays candle date
    Bottom Left - Bitmex UI chart that shows yesterdays candle date
    Bottom Right - NT8 chart candles.The last candle has tomorrows date!
    TopRight - NT8 time zone settings

    Why is this happening and how can I fix it?

    Thank you in advanced.
    Attached Files

    #2
    Hello redevil5k,

    Thank you for your post. For BitMEX support inquires, you will need to contact to BitMEX directly. We do not have any resources to assist BitMEX clients at this time. See the below, publicly available link for BitMEX Support.

    https://www.bitmex.com/app/support
    Eric B.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      I understand. I was hoping there was a way to fix it from NT since they are much slower to respond.

      Thank you.

      Comment


        #4
        I have downloaded the latest Ninjatrader 8 (8.0.15.1) and noticed there is Coinbase connector. I happily added it. Removed all BTCUSD charts. Deleted all historical data from Tools->Historical data and closed NT8. Deleted db\cache folder, db\day\BTCUSD, db\minute\BTCUSD, db\tick\BTCUSD folders. As far as I know that 100% removes old data for an instrument.

        I then opened Ninjatrader. Connected to Coinbase connection, and added a daily chart for BTCUSD CryptoCurrency Type, and another one with Forex type. Both are showing that today's candle is September 4th! The live feed is working.

        Can you repeat the steps above to confirm?

        Comment


          #5
          NinjaTrader stamps a bar with the closing time of the bar. For example, a minute bar with a time of 9:31:00 AM has data from 9:30:00 AM through 9:30:59 AM. Using end of bar time stamps is required in order to be able to plot multiple series of differing time frames within a single chart all accurately synchronized to time.

          With day charts, we can expect the time stamp to be tomorrow when the end of the daily session is tomorrow's date. The data is not incorrect. This is expected and is how bar's are built in NinjaTrader.
          Patrick G.NinjaTrader Customer Service

          Comment


            #6
            That is normal.However, there is a bigger issue. I have attached two screenshots. NT8Date_EURUSD shows 3 platforms. NT8, TradingView and FXCM web Trading Station. All have the same candle on the same date. I picked that candle because it is easy to find and you can verify easily.

            The NT8DateError also shows 3 platform. NT8, TradingView and Coinbase Pro. Here only NT8 shows that the same candle (again picked so that it is easy to find) on 26th instead of 24th.

            This has nothing to do with closing candle time. That is 2 days of date discrepancy. Can someone please add Coinbase connection and open a daily BTCUSD chart and find the same candle with and read the date? This takes less than 1 minute.
            Attached Files

            Comment


              #7
              On my end, I see this bar time stamped as the 24th:

              https://www.screencast.com/t/f5eXQWZ1XxTv

              You're connected to Coinbase, right?

              What is your PC's time zone and region settings?

              What is NinjaTrader's time zone?

              What is your chart's trading hours template? To check, right-click on your chart > .Data Series,
              Patrick G.NinjaTrader Customer Service

              Comment


                #8
                Ok. Then it is my computers issue.

                Yes, I'm connected to Coinbase.

                PC time zone: (UTC +01:00) Sarajevo, Skopje, Warsaw, Zagreb
                PC region: Croatia

                NinjaTrader time zone: (UTC +01:00) Sarajevo, Skopje, Warsaw, Zagreb

                Chart trading hours: <Use instrument sttings>
                I tried changing them to 24/7 but nothing changed.

                Comment


                  #9
                  If you change NinjaTrader's time zone to Eastern US time, does the issue persist? Follow these steps:
                  • Change the time zone within NinjaTrader
                  • Shut down NinjaTrader
                  • Navigate to Documents > NinjaTrader 8 > db folder
                  • Delete the 'Cache' folder
                  • Restart NinjaTrader
                  Patrick G.NinjaTrader Customer Service

                  Comment


                    #10
                    I have done this just now, but the date is now 25th. Still 1 day too late.

                    Comment


                      #11
                      I have no idea how, but I had to restart NT8 and I clicked reload historical data, and now the dates are good! I must have done this at least 20 times before.

                      I tried the same with Bitmex, but it is still broken.

                      Comment


                        #12
                        Originally posted by redevil5k View Post

                        I tried the same with Bitmex, but it is still broken.
                        Please follow Eric's instructions from post #2 and reach out to BitMEX. Please let me know what they report.
                        Patrick G.NinjaTrader Customer Service

                        Comment


                          #13
                          Already did. Still waiting for a response. Thank you for your help.

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by danitralla, Yesterday, 03:33 AM
                          1 response
                          20 views
                          0 likes
                          Last Post NinjaTrader_ShawnB  
                          Started by ninjo, Yesterday, 11:54 AM
                          0 responses
                          6 views
                          0 likes
                          Last Post ninjo
                          by ninjo
                           
                          Started by deblanka, Yesterday, 08:56 AM
                          0 responses
                          13 views
                          0 likes
                          Last Post deblanka  
                          Started by Boonfly8, 03-22-2019, 12:30 PM
                          7 responses
                          24 views
                          0 likes
                          Last Post sledge
                          by sledge
                           
                          Started by Sohal, Yesterday, 05:02 AM
                          2 responses
                          23 views
                          0 likes
                          Last Post techmint  
                          Working...
                          X