On Mon, Jul 14, 2014 at 4:34 PM, Stefano Zacchiroli <z...@upsilon.cc> wrote:
> On Sun, Jul 13, 2014 at 08:08:04PM -0400, Martin Blais wrote: > > 2014/06/03 Sell the lot > > Assets:Investing:Stocks -10 MSFT @ $510 > > Assets:Investing:Cash > > So, this looks incorrect to me --- or, better, I've learned from > folklore and first hand experience that with ledger-cli you should never > reduce without specifying the lot price (or, even better, I should > probably state that the semantics of what happens if you do *not* > specify lot price is unclear to me). > > So I've changed this part of your example in: > > 2014/06/03 Sell the lot > Assets:Investing:Stocks -10 MSFT {$500} @ $510 > Assets:Investing:Cash > > see attached avgcost3.lgr > I had also tried this before I sent out my email. The result is the same (without the patch). -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.