Posted By: VizTra
Accessing strategy returns - 12/22/21 11:04
Hello,
I'd like to know how to access strategy returns. I'm interested in using the volatility of the past strategy returns to scale positions accordingly, but am currently at a loss of how to get these returns as a series. I would think doing that via diff(Equity,1) might work but although the documentation says diff() is expecting 2 parameters I get an error telling me only to give one.
Kind regards
I'd like to know how to access strategy returns. I'm interested in using the volatility of the past strategy returns to scale positions accordingly, but am currently at a loss of how to get these returns as a series. I would think doing that via diff(Equity,1) might work but although the documentation says diff() is expecting 2 parameters I get an error telling me only to give one.
Kind regards