Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Question: ninjatrader7 / db / tick / "instrument"

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

  • NinjaTrader_PatrickG
    replied
    A restore from a backup will overwrite, not append, NinjaTrader's files. First, I'd like to clarify some terminology and locations of files.

    Historical data is stored in the Documents > NinjaTrader 7 > db > tick, minute, and day sub-folders. I would not consider this the 'database'. The database would be the 'NinjaTrader.sdf' file you see within the db folder. This file contains critical information, however, doesn't have anything to do with historical data. From this point forward I'll be switching to 'historical data' terminology.

    If you copy/move the tick sub-folder to a new NinjaTrader db folder, you're effectively transferring that historical tick data.

    If you drill into these folders further, you'll fine data is listed by instrument and then files named by date. If you wanted to manually append data, you would need to make sure to manually transfer over the desired dates into the 'new' data folders.

    I am not sure that I follow why backups are involved at all in your steps at this point. It sounds like you could skip that step and just manually copy the desired data folders into your new NinjaTrader installation. If you're not replacing all data, you'll need to be very careful that you insert files in the right locations for their respective data type and instrument.

    Depending on your data provider and how far back the data is you're trying to transfer you may not need to do any of this manually. Many data providers supply several months or up to a year of tick data. You may want to first test on your new installation with your data provider connection is you can simply request the data on a chart or through the Historical Data Manager.

    Leave a comment:


  • pstrusi
    started a topic Question: ninjatrader7 / db / tick / "instrument"

    Question: ninjatrader7 / db / tick / "instrument"

    I'm recovering a database and want to merge "a new healthy data" with some healthy parts of the old faulty one.

    The "cleanest" method that I'm thinking would be:
    - Backup the new and healthy short database.
    - Restore old backup with the faulty database to save all raw data ( .ntd files ) to a secure location.
    - Uninstall NT and do a fresh install
    - Restore the last "healthy short new database"from the recent backup
    - Copy old raw ( .ntd files ) from old database to corresponding instruments in the new one, so I merge them as one.

    Question: In theory, if I had all .ntd files and copy them to an actual database, I'd have available that old data as well ? I imagine it wouldn't be a problem cause I'm not dealing with .sdf main files.

    Thanks!!

Latest Posts

Collapse

Topics Statistics Last Post
Started by giulyko00, Today, 12:03 PM
0 responses
2 views
0 likes
Last Post giulyko00  
Started by AttiM, 02-14-2024, 05:20 PM
12 responses
213 views
0 likes
Last Post DrakeiJosh  
Started by cre8able, 02-11-2023, 05:43 PM
3 responses
238 views
0 likes
Last Post rhubear
by rhubear
 
Started by frslvr, 04-11-2024, 07:26 AM
8 responses
117 views
1 like
Last Post NinjaTrader_BrandonH  
Started by stafe, 04-15-2024, 08:34 PM
10 responses
47 views
0 likes
Last Post stafe
by stafe
 
Working...
X