[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Custom Backtest doubles opt time?



PureBytes Links

Trading Reference Links

Hi All - I want to use the custom backtester interface for the first time, to add a custom metric. Without accessing the CBI, my AFL is 1,900 lines of code and takes 38 minutes to run 42,000 opt steps. Even adding the tiny test code below doubles the opt time to 1 hour and 12 minutes. Just wanted to ask any of the more experienced CBI users if this sounds normal - I am wondering if maybe there is something I should change...  Thanks very much!
 
Steve
 

SetCustomBacktestProc( "" );

if ( Status( "action" ) == actionPortfolio )

{

bo = GetBacktesterObject();

bo.Backtest();

TotalModeRevs = 5;

bo.AddCustomMetric( "Total Mode Reversals", TotalModeRevs );

}

 
__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___