Implementing proper cost basis tracking for shares

Clinton Popetz cpopetz@cpopetz.com
Wed, 1 Nov 2000 17:09:01 -0600


On Wed, Nov 01, 2000 at 05:00:35PM -0600, Rob Browning wrote:
> Dave Peticolas <dave@krondo.com> writes:
> 
> > To use the example above, Where are the 'Insitution',
> > 'Institution:MegaBank' and 'Institution:Fidelity' accounts?
> > 
> > Does 'Liabilities:CreditCards' include both 'MegaBank' and 'Fidelity'?
> 
> I realized I didn't actually address your specific examples...
> 
> In my example, I wasn't intending that there be *any* account
> associated with the direct children of Institutions, and in fact there
> would be no account associated with Institutions itself.  It's just a
> "container" label.

But it has to have some underlying structure somewhere, right?  By
that I mean someplace to store the list of accounts contained within
it, and possibly a pointer to its parent account.  So then it looks
like a "container account."  I guess it's a "meta-account" in that it
has no balance or associated type, and it can be deleted with no loss
of financial data.

My point is that it sounded initially (to me) like you were casting it
as part of a "view", which I read with a capital 'V' from MVC, but
it's actually part of the data model.


			-Clint