Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Bug in StrategyAnalyzer
Collapse
X
-
Hello TraderFrank,
Thank you for your post.
The DefaultTraceListener is a class in .NET, there would not be an object to review. You can find more details at the following link: https://docs.microsoft.com/en-us/dot...ramework-4.7.2
As far as the NinjaTrader exception that was caught can you send us your Log and Trace files so we may look into the matter further?
You can do this by going to the Control Center-> Help-> Email Support. Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.
Please list 'ATTN: Patrick H' in the subject line and reference this thread in the body of the email.
I look forward to assisting you further.
-
Bug in StrategyAnalyzer
While backtesting my unmanaged strategy I'm seeing the following error. After this NT8 just dies.
Is there any way to get hold of the DefaultTraceListener.cs file to take a look at the code?
System.dll!System.Diagnostics.DefaultTraceListener .Fail(string message, string detailMessage) Line 108 at f:\dd\NDP\fx\src\compmod\system\diagnostics\Defaul tTraceListener.cs(108) System.dll!System.Diagnostics.TraceInternal.Fail(s tring message) Line 226 at f:\dd\NDP\fx\src\compmod\system\diagnostics\TraceI nternal.cs(226) NinjaTrader.Core.dll!NinjaTrader.Cbi.TradesPerform ance.Add(NinjaTrader.Cbi.Trade trade) NinjaTrader.Core.dll!NinjaTrader.Cbi.TradeCollecti on.Add(NinjaTrader.Cbi.Trade trade) NinjaTrader.Core.dll!NinjaTrader.Cbi.TradeCollecti on.Add(NinjaTrader.Cbi.Trade trade) NinjaTrader.Core.dll!NinjaTrader.Cbi.SystemPerform ance.Add(NinjaTrader.Cbi.Trade trade) NinjaTrader.Core.dll!NinjaTrader.Cbi.Position.Hand leExitExecution(NinjaTrader.Cbi.Execution exitExecution, NinjaTrader.Cbi.SystemPerformance performance) NinjaTrader.Core.dll!NinjaTrader.Cbi.Position.AddE xecution(NinjaTrader.Cbi.Execution execution, NinjaTrader.Cbi.SystemPerformance performance) NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Strat egyBase.AddExecution(NinjaTrader.Cbi.Position position, NinjaTrader.Cbi.Execution execution, NinjaTrader.Cbi.Order order) NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Strat egyBase.FillOrder(NinjaTrader.Cbi.Order order, double fillPrice, double slippage) NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Defau ltFillType.OnBar() NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Strat egyBase.ProcessBacktestOrders() NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Strat egyBase.OnOnBarUpdate(bool[] toProcess) NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Ninja ScriptBase.Update(int idx, int bip) NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Ninja ScriptBase.TickReplayOrUpdate() NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Ninja ScriptBase.SetState(NinjaTrader.NinjaScript.State state) NinjaTrader.Gui.dll!NinjaTrader.Gui.NinjaScript.St rategyRenderBase.SetState(NinjaTrader.NinjaScript. State state) NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Strat egyBase.RunBacktestInternal() NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Optim izers.Optimizer.RunBacktest(NinjaTrader.NinjaScrip t.StrategyBase template, NinjaTrader.NinjaScript.Parameter[] parameters) NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Optim izers.Optimizer.WaitForIterationsCompleted.Anonymo usMethod__1() WindowsBase.dll!System.Windows.Threading.Exception Wrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) WindowsBase.dll!System.Windows.Threading.Exception Wrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) WindowsBase.dll!System.Windows.Threading.Dispatche rOperation.InvokeImpl() mscorlib.dll!System.Threading.ExecutionContext.Run Internal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) WindowsBase.dll!MS.Internal.CulturePreservingExecu tionContext.Run(MS.Internal.CulturePreservingExecu tionContext executionContext, System.Threading.ContextCallback callback, object state) WindowsBase.dll!System.Windows.Threading.Dispatche rOperation.Invoke() WindowsBase.dll!System.Windows.Threading.Dispatche r.ProcessQueue() WindowsBase.dll!System.Windows.Threading.Dispatche r.WndProcHook(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) WindowsBase.dll!MS.Win32.HwndWrapper.WndProc(Syste m.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam, ref bool handled) WindowsBase.dll!MS.Win32.HwndSubclass.DispatcherCa llbackOperation(object o) WindowsBase.dll!System.Windows.Threading.Exception Wrapper.InternalRealCall(System.Delegate callback, object args, int numArgs) WindowsBase.dll!System.Windows.Threading.Exception Wrapper.TryCatchWhen(object source, System.Delegate callback, object args, int numArgs, System.Delegate catchHandler) WindowsBase.dll!System.Windows.Threading.Dispatche r.LegacyInvokeImpl(System.Windows.Threading.Dispat cherPriority priority, System.TimeSpan timeout, System.Delegate method, object args, int numArgs) WindowsBase.dll!MS.Win32.HwndSubclass.SubclassWndP roc(System.IntPtr hwnd, int msg, System.IntPtr wParam, System.IntPtr lParam) [Native to Managed Transition] [Managed to Native Transition] WindowsBase.dll!System.Windows.Threading.Dispatche r.PushFrameImpl(System.Windows.Threading.Dispatche rFrame frame) NinjaTrader.Core.dll!NinjaTrader.NinjaScript.Optim izers.Optimizer.SetState.AnonymousMethod__1() mscorlib.dll!System.Threading.ExecutionContext.Run Internal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) mscorlib.dll!System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) mscorlib.dll!System.Threading.ThreadHelper.ThreadS tart()Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Belfortbucks, Today, 09:29 PM
|
0 responses
3 views
0 likes
|
Last Post
by Belfortbucks
Today, 09:29 PM
|
||
Started by zstheorist, Today, 07:52 PM
|
0 responses
7 views
0 likes
|
Last Post
by zstheorist
Today, 07:52 PM
|
||
Started by pmachiraju, 11-01-2023, 04:46 AM
|
8 responses
150 views
0 likes
|
Last Post
by rehmans
Today, 06:44 PM
|
||
Started by mattbsea, Today, 05:44 PM
|
0 responses
6 views
0 likes
|
Last Post
by mattbsea
Today, 05:44 PM
|
||
Started by RideMe, 04-07-2024, 04:54 PM
|
6 responses
33 views
0 likes
|
Last Post
by RideMe
Today, 05:31 PM
|
Leave a comment: