I want to optimize all stock Individually, and get “Net Profit” from the report.
Here is the sample code about get “Net Profit”：
if( Status("action") == actionPortfolio )
bo = GetBacktesterObject();
bo.Backtest(); // run default backtest procedure
st = bo.GetPerformanceStats(0); // get stats for all trades
NetProfit = st.GetValue("NetProfit");
But when I used “Individual Optimize”, it always occurred an error：
Notice. Customer Backtester is NOT yet supported in Multithreaded Individual Optimization.
If I delete “SetCustomBacktestProc(”")", I can’t get “Net Profit” from the report.
Can you help me solve the problem or give me some option?
Re-read my previous reply. It contains all necessary info. Optimization output list IS already a CSV and contains Net Profit out of the box. No need for CBT. Just press Ctrl+C to copy or batch to export.