Given the speed and detailed response, I feel like I owe an explanation of why I asked!
I’m exploring whether hedging by sector could help address some of the challenges in managing long-short portfolios (as discussed previously on these boards), or perhaps volatility in long only portfolios. Early results suggest that factoring both market and sector variables makes return forecasting more accurate, something we can now do with AI Factor. But we still lack a way to review how a portfolio would perform under this approach.
@aschiff I'm having trouble finding a way to recreate this series. I believe I'm stuck on weighting the returns by SharesCur(0). Do you know how it can be done using P123 tools?
Following up here on the sector question and noticed there’s no documentation for #Bench [ i.e Close(0, #Bench) ] either. From where does this come and how it is computed, if proprietary? How do we know what series is being used for each stock?
Thanks Aaron. I was referring to the traditional ranking systems. Like here where there is no benchmark specified but at this point, I think this is being a bit pedantic:
Since I want to incorporate the sector beta into portfolio construction, is there a way to use the beta calc on an investable ticker, like it’s respective ETF (i.e XLF, for financials).
#Bench fails if used directly within a Ranking System. It only works if used in contexts that have a benchmark. This includes AI Factor features/target, also covering the use of AIFactor(...) within a Ranking System. In that context, it always uses the benchmark of the AI Factor.
Try something like the formula below, where $investablesector is of the form Eval(Sector = FINANCIAL, GetSeries("XLF"), Eval(…)). The Eval below exists only to save some computational work, since it would otherwise evaluate $investablesector twice.