Big loops -
Big loops -
23 Feb 2022, 14:33
I have developed a cBot that self-optimises by iterating through historical data while varying certain parameters.
This works correctly when 'live', and can iterate through about 9000000 passes a minute, but when backtesting the method exits the loop prematurely, after 10000 iterations.
Is this defensive programming, and if so can it be bypassed?
Replies
jordynlaubscher
24 Feb 2022, 11:19
( Updated at: 21 Dec 2023, 09:22 )
RE:
amusleh said:
Hi,
Can you provide a sample code that can reproduce this issue?
Hi Amusleh
In attempting to reproduce the issue under simplified conditions, I have determined that it is only the log file that is truncated. The misleading part was that only data pertaining to the loop is truncated, lines printed before the loop are not. I've attached an image, but resolved the issue.
@jordynlaubscher
amusleh
24 Feb 2022, 08:43
Hi,
Can you provide a sample code that can reproduce this issue?
@amusleh