Plotting trades with portfolio with multiple assets and multiple strategies #283
-
I am struggling to plot portfolio trades or p&l when the portfolio consists of multiple assets (grouped together) and multiple strategies. Let's say, I wanted to plot the trades of the Apparently, I am getting the indexing wrong. What's the correct way to do it? When plotting the P&L, I am wondering if I can use all assets (=columns) of one particular strategy at once? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Pass |
Beta Was this translation helpful? Give feedback.
-
Hmm, can you please elaborate? Where exactly do I have to pass it? |
Beta Was this translation helpful? Give feedback.
Hmm, can you please elaborate? Where exactly do I have to pass it?
Also, when plotting the pure P&L, can't I plot the trades from all securities within a portfolio without setting
group_by=False
? I am talking about this chart: