- ago
I've configured the Position Sizing in the following strategy to try and ensure that only 1 Position is ever open at any given time. But if you look at the Order Manager history in the following image, you'll see that it entered one position, and then another a few minutes later. Is there a reason for this? The strategy also has a condition block for "Number of Open Positions <= 0 (across Portfolio)".

Log file: https://www.dropbox.com/s/1pm0n7jienemc1h/error_2_buys.txt?dl=0

0
207
Solved
4 Replies

Reply

Bookmark

Sort
Glitch8
 ( 8.38% )
- ago
#1
These are backtest settings, they can't control what happens if two or more symbols submit signals.

What you want to look at is the new Trading Threshold in Preferences, Max Open Positions. It can prevent new positions from being entered if you currently have a specified number of open positions. This should work better but it still might not be 100% foolproof because it's difficult to control this with broker latencies and such a dynamic environment.
1
Best Answer
- ago
#2
Thanks, I hadn't seen "Max Open Positions" in Preferences. Does that apply "per strategy", meaning that if I set it to 1, it will allow me to have 1 position for each of the strategies running in the Strategy Monitor?
0
Glitch8
 ( 8.38% )
- ago
#3
No, it's across an Account.
0
Cone8
 ( 26.65% )
- ago
#4
QUOTE:
I hadn't seen "Max Open Positions" in Preferences.
To remove any doubt, it's found in Preferences > Trading > Trading Thresholds with the label Open Positions.
0

Reply

Bookmark

Sort