08-23-2018, 01:53 PM
Hi there,
due to me having to restart my bots quite a bit at the moment due to bugs I was wondering if it was possible to pass along the 'exposed' variable or the portfolio using 'portfolioValueChanged' or 'portfolioChanged' events so that my strategy knows whether I am long or not upon restart.
Thanks!
due to me having to restart my bots quite a bit at the moment due to bugs I was wondering if it was possible to pass along the 'exposed' variable or the portfolio using 'portfolioValueChanged' or 'portfolioChanged' events so that my strategy knows whether I am long or not upon restart.
Thanks!