I m getting this message when I try to download or reload XRPUSD from coinbase. Also, i only get 2 decimal digits when its set to four. NT doesn't record live data with XRPUSD, but does the default cryptos.
Error on executing DB command: System.Data.SqlServerCe.SqlCeException (0x80004005): A foreign key value cannot be inserted because a corresponding primary key value does not exist. [ Foreign key constraint name = FK__Strategy2Order__0000000000000403 ] 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.NinjaScript.StrategyBase.DbUpdate() at NinjaTrader.Cbi.DB.DBThread()
I use version 16.3 because its the only one that will work with my strategies with cryptocurrency. The new updates wont allow me to start the strategy with cryptocurrency, others i can.
Every time i shutdown and reopen NT8 I lose all my workspace and strategies setup. There is a white box says something about database error and i select ignore to continue, otherwise wont finish start.
These issues are extremely frustrating. I've tried reinstalling and importing backups. I am afraid to try anything because I'll lose my workspace again and Ill have to reenter everything.
Thanks,
Erik
Comment