Hi..
If i am scanning a multiple stocks then the "SetOption("MaxOpenPositions", 1 )" will set the MAX open position of 1 at any given point to each stock or combined of all the stocks?Means If i am scanning
for A,B stocks and signal is generated in the same bar for both A and B then can i have position on both A and B right? But the second signal for A or B won't allow .
Please correct me if my understanding is wrong.I already read the user guide.
"MaxOpenPositions" is the maximum number of simlutaneously open positions (trades) in portfolio backtest/optimization.
During explorations, it does not limit the result (Filter1 decides what is displayed) so there you will see both raw signals.
On the other hand, during a backtest if you set it to 1 you'll get ONLY 1 open position (the other signal will be ignored). In such a case the backtester will use the signal with a higher PositionScore.
This document explains it well (in particular, see the Backtest Mode section):
1) The idea behind an exploration is simple - one variable called Filter controls which symbols/quotes are accepted. If "true" (or 1) is assigned to that variable for given symbol/quote it will be displayed in the report.