Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

BTCUSD data not coming into Indicator

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

    BTCUSD data not coming into Indicator

    Hello,

    I am trying to load BTCUSD from Coinbase. I see data on the chart all the way through to today, however it does not come into indicator after 2020. I put there Print and it only displays data up until 2020 in output window, but chart displayed all the way till 2022.

    Thanks



    #2
    Hi RedDuke, thanks for posting. Can you please post the test script you are using? I can pull data up to today with my test script. Please also make sure you are connected to Coinbase so it loads historical and real time data up to today.

    Kind regards,
    -ChrisL
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      All script does just 1 command Print(Times[0[0]); in main window.

      Thanks
      Last edited by RedDuke; 09-14-2022, 03:56 PM.

      Comment


        #4
        Hi, thanks for the follow up. Here are some things you can try:

        1. Close out of NinjaTrader, go to Documents\NinjaTrader 8\db, delete the "cache" folder, then test the connection again.
        2. Test the Kinetick End Of Day connection (Daily charts only)
        3. Repair the installation by running the installer from the link below:
        NinjaTrader is a futures trading platform that delivers integrated multi-device trading. Discover our best platform to trade futures for active futures traders.
        Chris L.NinjaTrader Customer Service

        Comment


          #5
          Hi Chris,

          Kinetick is fine, no issues. The issue is with Coinbase only. I tried all of the above. I have not seen such issue ever where chart shows Bars but main method is not being triggered for them. Just load 1, 2 or 3 hour chart of BTCUSD and Print data to output window. Charts will show Bars and output window will not have them

          Thanks

          Comment


            #6
            Hi, thanks for the follow up. Please try a test on a different computer if possible. The connection is working on my end so there must be something specifically wrong with your development environment that is causing this. Just to be exact here, this is all my script is running and on BTCUSD I am getting data up to today:

            protected override void OnBarUpdate()
            {
            Print(Close[0] + " " + Time[0]);
            }​
            Chris L.NinjaTrader Customer Service

            Comment


              #7
              Hi Chris,
              Correct this is the only code. For example, do you see 2022 data on both chart and output window? Please load last 5 years.
              Thanks

              Comment


                #8
                Hi RedDuke, I have data on the chart and in the output window. If you see bars on the chart then the output window should reflect this output.
                Chris L.NinjaTrader Customer Service

                Comment


                  #9
                  Hm, it always reflects but not in this instance. I will try to wipe out all data and see if it helps.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by f.saeidi, Today, 05:56 AM
                  1 response
                  2 views
                  0 likes
                  Last Post Jltarrau  
                  Started by Jltarrau, Today, 05:57 AM
                  0 responses
                  4 views
                  0 likes
                  Last Post Jltarrau  
                  Started by Stanfillirenfro, Yesterday, 09:19 AM
                  7 responses
                  51 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by TraderCro, 04-12-2024, 11:36 AM
                  4 responses
                  70 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Started by Mindset, Yesterday, 02:04 AM
                  1 response
                  15 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Working...
                  X