Crash when optimising Logarithmic regression strategy

Section for all discussions related to development using Indicore API/SDK.

Moderator: admin

Re: Crash when optimising Logarithmic regression strategy

Postby sunshine » Fri Jul 29, 2011 2:27 am

We have investigated the issue.
The problem is in the strategy code. The strategy goes into an infinite loop due to improper implementation of the scanning of the table.
We will add the appropriate check so that in the next version an error message will appear in this case.
sunshine
 

Re: Crash when optimising Logarithmic regression strategy

Postby Exolon » Fri Jul 29, 2011 9:43 am

Great! Could you post a workaround (i.e. exactly where in the strategy this improper table handling happens and how to do it properly) so I can avoid the problem in the meantime?

I saw the potential for an infinite loop (or at least undefined behaviour) by iterating the trades table and modifying it (closing one and opening a new one in the opposite direction) at the same time, so I changed it to loop through the trades first and only exit/enter afterwards, but the problem is still there so I either did it wrong or the problem was in a different part. The trouble is, that seems to be the only loop in the Logarithmic regression strategy, and there seem to be none in the indicator?

Thanks for looking into this :)
Exolon
 
Posts: 31
Joined: Thu Jul 07, 2011 5:39 pm
Location: Ireland

Previous

Return to Discussions

Who is online

Users browsing this forum: No registered users and 11 guests