Hi,
Is there a way of sending a new value to an existing variable in the pipeline?
For example if I have "x=1" hardcoded at algo launch and in the function "before trading start" I check to see the value of the portfolio is now a certain size "p >= 1000". Since the portfolio is now greater than 1000 I want to send a new value to "x", say "x =2".
Is there a way of doing this similar to ".add()" for factors?
Thanks