Hi,

I am building an options strategy. A position has multiple legs (e.g. short and long leg for a put credit  spread) and is entered as combo order. In the portfolio each leg is an individual holding (incl. individual unrealized PnL etc.). To evaluate take profit and stop loss, I need the unrealized PnL for the combo. 

Is there a way to create "combo holdings" in the portfolio? 

You can track the combos in a separate list/dataframe. Then you need to calculate values like unrealized PnL yourself. Since this seems a common task, I am wondering, if there is a common solution.

Thanks in advance