Wrong Total Cost
Recently, a user highlighted that
Total Cost in StocksCafe was computed wrongly and he (I assumed it’s a he based on the username) is correct. I previously computed
Total Cost as “Sum of [buy price x number of shares] for each stock currently in portfolio”. However, this is inaccurate as he has pointed out, and I agree.
Therefore I have changed the definitions of
Total Cost and also introduced new terms:
Current Cost (or Current Positions Cost), and
Closed Cost (or Closed Positions Cost).
Current Cost = “Sum of [buy price x number of shares] for each stock currently in portfolio”
Closed Cost = “Sum of [buy price x number of shares] for each closed positions”
Total Cost = Current Cost + Closed Cost
Why Does It Matter?
These changes mostly affect the way percentages of various values are computed. For example, previously, …