Net profit displayed but there are no trades in Strategy Analyzer

I ran the optimization and got a Summary result that were all 0s. Even though there are results that have Total net profit.

Why are there no trades?

There appears to be no instrument either. I suspect that may be part of the problem. What are you testing on?

I was optimizing on MES 3-26

Here is the larger screen.

That’s a bizarre bug that seems to crop up from time to time. If you set “IsInstantiatedOnEachOptimizationIteration = true;” in the defaults of the strategy you’re testing, do you still have this problem? Are you using the managed or unmanaged order approach?

I’m using managed order. I ran another one and this time got some results but the Total net profit from the table above does not match the total net profit from the table below?

I haven’t tried IsInstantiated … yet. Will do that next.