the local database where Ninja Trader stores its market data is really messy.
The more you are using Ninja Trader, the more frequently it happens that the local database gets corrupted, leading to wrong price charts.
Deleting the local database helps, but it is always very difficult to detect that your database is corrupted. Deleting the local database on a daily basis seems to be the only solution to me. Which really is a pain.
And now I just realized that the COT database can be corrupted too (https://ninjatrader.com/support/foru...r-critical-bug)
I have absolutely no idea why Ninja Trader does not use a REAL local database. It seems like it is storing the market data in different files, which is obviously very error prone.
I dont really know about C#, but most other programming languages provide very lightweight local database libraries for just such use cases.
I would highly recommend switching to a real local database instead of this file-based system because a real local database is faster, more reliable, has less code overhead and is less error prone.
Comment