Hi, How one goes about setting up a constant rebalace of a given sid or sids that is controlled by some other condition, Ie:
if value X is above value Y, close open position on security N and reopen the same position on the same session (harvesting any gain/loss), repeat the process the next day (given the X above Y setup is still in place)
i could do that with a schedule function (by just scheduling a recheck few minutes after the first check) but theres probably a more intelligent way
Thank you