During optimizing in the Portfoliobacktester it often just uses only 1 core instead of all 4.
I didn’t change the priority or anything else on the task manager. It seem like that it sometimes uses 4 and sometimes just 1 – nothing in between that.
Is this a known bug/feature?
using only 1 core during portfoliobacktest
Re: using only 1 core during portfoliobacktest
1) If your strategy uses definedllfunc/external/external method then I can tell with 90% probability - this is the reason of the problem. To avoid it check out ThreadSafeDuring optimizing in the Portfoliobacktester it often just uses only 1 core instead of all 4.
I didn’t change the priority or anything else on the task manager. It seem like that it sometimes uses 4 and sometimes just 1 – nothing in between that.
Is this a known bug/feature?
2) Check the registry: If you have the key HKEY_CURRENT_USER\Software\TS Support\Power Language\StudyRunner\NumberOfThreadsOnOptimization then delete it or set it's value to zero (0)