New issue 229: Trading with Beancount: AVC example wrong (regarding conmission)

https://bitbucket.org/blais/beancount/issues/229/trading-with-beancount-avc-example-wrong



Martin Michlmayr:



Trading with Beancount chapter "Average Cost Booking":



> 2014-02-01 * “Selling 5 shares at market price 550 USD”



>  Assets:Investments:Stock               -5 GOOG {*}



>   Assets:Investments:Cash           2759.95 USD

 

>  Expenses:Commissions                 9.95 USD

 

>  Income:Investments:CapitalGains



5 * 550 = 2750 minus 9.95 commission means that assets:investments:cash should 
be 2740.05, not 2759.95 (2750 plus 9.95 commission).



Also, {*} I believe should be {} according to the new syntax.




-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20180310235327.20560.81798%40celery-worker-107.ash1.bb-inf.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to