See John's email "A solution to the commodity pricing problem" on how this works: https://groups.google.com/forum/#!topic/ledger-cli/gpOW50XtCTo