>>>>> Craig Earls <
ende...@gmail.com> writes:
> Yes, one way is to establish a multi-exchange rate, i.e. 1 pesata = .3 Euro
> + .9 dollars. Or in this case 1 VIFDF = 0.1 Bond +0.5 Stock + 03 Cash
> I don't think the math core could do something like that out of the box
> without major changes.
Mostly that's true, but the changes wouldn't be as you might think. In
commodity.h there is a price_point_t structure, with member "amount_t price".
That would have to be changed to value_t price, and then all the code which
uses it would have to change to know about value_t.
There would have to be a restriction that prices in journal files could *not*
use multiple-exchange rates, since AMOUNT * COST must be an amount (single
commodity). Changing _that_ would be huge. But in terms of reporting only,
extending to allow multiple-exchange rates would not be too terrible.
What I would need to see is a really compelling reason to add this extra
complexity. Is it only the asset allocation question that needs this?
John