it will either not update when generate is clicked on.
Or It will keep the results from the previous test I performed.
I perform a test... generate trade performance... disable the strategy... use the go to function on the market replay... enable the strategy and run the test again with new parameters.
Below is the error I get when it doesn't update after pressing generate. When it keeps the previous tests results there is no error.
I do not know if this has anything to do with it but I have never had this problem till I updated NT to the most recent build.
5/3/2021 3:14:19 PM | DB | Error on executing DB command: System.Data.SqlServerCe.SqlCeException (0x80004005): A duplicate value cannot be inserted into a unique index. [ Table name = Executions,Constraint name = PK__Executions__0000000000000300 ] 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.Cbi.Execution.DbAdd() at NinjaTrader.Cbi.DB.DBThread() |
Comment