Series and Portfolio() function

Hi P123 and community member!

I would like to plot factors for a portfolio using the Portfolio() function. Somehow this does not work:
UnivMedian(“Portfolio(1502344)”,“EarnYield”)

  1. what am I doing wrong
  2. any workaround?
  3. @P123: why is Portfolio() not enabled in Series. This would open up quite a huge possibility to track the development of a portfolio over time (not position size-weighted, but at least give us an idea)

Thanks
whotookmynickname

I second this… pretty sure I asked for the same thing not that long ago. It would be very helpful for understanding Sim behavior over time.

Not sure why it would be disabled.

Perhaps to prevent circular dependencies?

@P123. Any inputs from your side on my questions?

This was a feature request: https://www.portfolio123.com/mvnforum/viewthread?thread=11765 . We have a lot of feature requests to consider, and it’s one of them. I hope we’ll be able to fulfill this one and many others soon.