Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MySQL database

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

    MySQL database

    Can I use a prefabbed MySQL database for backtesting? I can't seem to find any information. I'm guessing it's not possible.

    #2
    Hello hedron,

    MySQL databases is outside of the scope we can offer support. Some community members may have an expertise in this area and can lend you a hand.

    Let us know if we may assist further.

    Comment


      #3
      Interesting topic...

      @Ninjatrader_Eric, can you point us to documentation or source code that describes how NT accesses supported backtest data?

      Comment


        #4
        Hello RandyT,

        Thank you for the post.

        From NinjaScript you would utilize the price data objects to retrieve data during a backtest: https://ninjatrader.com/support/help...riceseries.htm

        The overall NinjaTrader source code and backtesting source code is closed source so this would not be available.

        I look forward to being of further assistance.

        Comment


          #5
          I fully understand that NT is closed source. However, thought you might be able to shed some light on the code (or some external SDK) that would cover how NT interacts with the time series database. That would be the info we would need to be able to point NT to other databases as sources of time series data.

          Comment


            #6
            Hello RandyT,

            Thank you for the reply.

            The Data loading and series etc.. on the platform are all custom and not exposed externally. This is all designed in-house by the NinjaTrader developers so there would be no other information on these objects outside of what we document in the help guide.

            What specifically are you trying to do with your outside data source? Is this to import some form of data?
            For importing historical data the only suggested route would be to use the historical data import tool: https://ninjatrader.com/support/help...ta_manager.htm

            For any other types of data, you are using C# so you could use whatever method to load that data that you wish via an indicator/strategy/addon.

            Please let me know if I may be of further assistance.

            Comment


              #7
              I have years of data which I have preprocessed to calculate Augmented ****ey Fuller, Hurst Exponent, etc for applying other machine learning and forecasting algorithms. Being able to use this data directly in a strategy while backtesting would greatly speed up the process.

              I know of other timeseries data that it would also be interesting to develop add-ons for those data sources as well.

              I'll take a look at the links you provided, but it would be a nice feature request to at least expose some of this information so that some of us could create connectors for MySQL, PostgreSQL, REST APIs, mongodb, etc.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              57 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              37 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              18 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              20 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              49 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X