Error on executing DB command: code = Constraint (19), message = System.Data.SQLite.SQLiteException (0x800027AF): constraint failed FOREIGN KEY constraint failed at System.Data.SQLite.SQLite3.Reset(SQLiteStatement stmt) at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt) at System.Data.SQLite.SQLiteDataReader.NextResult() at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCo mmand cmd, CommandBehavior behave) at System.Data.SQLite.SQLiteCommand.ExecuteReader(Com mandBehavior behavior) at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery(C ommandBehavior behavior) at NinjaTrader.NinjaScript.StrategyBase.DbAdd() at NinjaTrader.Cbi.DB.DBThread()
I don't think I've added anything to the code that would be accessing a database I haven't already been using. I have 1 minute dataseries and tick dataseries added for NQ that has already been working fine before now.
Comment