Posts: 26
Threads: 8
Joined: Nov 2020
Reputation:
0
I think a great feature of Alera is the ability to set a soft cap or hard cap for the number of trades in a system. Would it be possible to be able to have a setting where you could limit the number of new trades in one day? For example, you might have a system set to take a maximum of 10 trades, but in any one day, you only want it to take 5 new trades.
Posts: 105
Threads: 27
Joined: Sep 2018
Reputation:
6
02-09-2022, 08:42 PM
(This post was last modified: 02-09-2022, 08:43 PM by admin.)
I can look into this, but it's not easy to compute the number of trades per day -- we don't really work with trade data anywhere right now (except for displaying the trades IB says were made). One way to implement this would be to look at the number of positions in your portfolio X and set the cap to min(10,X+5) every day -- although "every day" would not be well defined, unless you provide a specific time every day to trigger this process.