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

Import data from DB

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

    Import data from DB

    Hello!

    Can anybody tell me, is there a way to import instruments price data in NinjaTrader from database (MS SQL Server for example)? Im currently have database with real-time data in it, and Id like to use to use this data with NT.

    As I see, there is no such functionality in NinjaTrader, but maybe it can be done by scripting or in some other way?

    If there is no way to import real-time data, maybe there is a possibility to import historical data, without manual generation of txt files?

    #2
    You would need to provide the data in this format

    ... and import it by Tools->Historical data->Import

    Comment


      #3
      Thanx for your answer!

      Im already doing this.
      But its laborious to do it manually every time.

      Is there a way to make NT taking this data directly from DB (by c# programming) or at least automate files import for not to do this by hands for each instrument?

      The problem is that I need data for Russian stocks and as I know, there is no brokers, who provide it in compatible with NT format.

      Comment


        #4
        >> Is there a way to make NT taking this data directly from DB
        Unfortunately not

        Comment


          #5
          Would be nice to eventually open this up to API so we could "programatically import" tick data histories into NinjaTrader. Either a C# API or even a simple COM/OLE scriptable type API for calling via JavaScript or VBScript.

          For example, AmiBroker's one man dev team has had a nice COM/OLE API for years to programmatically controlling its application (http://www.amibroker.com/guide/objects.html) which I use all the time to automate the import of dozens of custom futures data histories purchased from http://www.TickData.com/.
          Last edited by jdfagan; 06-15-2010, 04:08 PM.

          Comment


            #6
            Hello Jdfagan,

            Thank you for your comments and suggestions.
            Ryan M.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by geotrades1, Today, 10:02 AM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by ender_wiggum, Today, 09:50 AM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by rajendrasubedi2023, Today, 09:50 AM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Started by bmartz, Today, 09:30 AM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by geddyisodin, Today, 05:20 AM
            3 responses
            27 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X