Hey, I'm curious as to unrealisedprofitpercent tracks the profit percent as a total of the portfolio, or as a total of the security.

For example, if my $1000 position is losing -$100, and my portfolio is $10000. Is security.Holdings.UnrealizedProfitPercent = 0.1 (as a percentage of my position) or 0.01(as a percentage of my portfolio)?

Regards

Author