Hi all 

Right now I am trying to create a custom fee model that can help me calculate the fee based on a certain percentage of the total net profits at year end. However, the current custom fee model can only be done for a specific security/when a certain order is made. 

Tried: self.Portfolio.FeeModel = CustomFeeModel(self) but couldn't work. I also realised that self.Portfolio has no SetUpFeeModel. Hence was unable to set up the fee model for the portfolio.

Can someone please advise how I can go about doing this? Thank you! Appreciate your help here!