(self)
| 21 | return sum([s.shares * s.price for s in self._holdings]) |
| 22 | |
| 23 | def tabulate_shares(self): |
| 24 | from collections import Counter |
| 25 | total_shares = Counter() |
| 26 | for s in self._holdings: |
| 27 | total_shares[s.name] += s.shares |
| 28 | return total_shares |
| 29 | |
| 30 | |
| 31 |
nothing calls this directly
no outgoing calls
no test coverage detected