Error on executing DB command: System.Data.SqlServerCe.SqlCeException (0x80004005): A duplicate value cannot be inserted into a unique index. [ Table name = Strategies,Constraint name = PK__Strategies__00000000000003AB ]
at System.Data.SqlServerCe.SqlCeCommand.ProcessResult s(Int32 hr)
at System.Data.SqlServerCe.SqlCeCommand.ExecuteComman dText(IntPtr& pCursor, Boolean& isBaseTableCursor)
at System.Data.SqlServerCe.SqlCeCommand.ExecuteComman d(CommandBehavior behavior, String method, ResultSetOptions options)
at System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQue ry()
at NinjaTrader.NinjaScript.StrategyBase.DbAdd()
at NinjaTrader.Cbi.DB.DBThread()
It seems that all strategies are running but what should i do with all these errors?
Comment