Hi, Not trying to use ledger-cli for portfolio tracking, but as a reporting tool for accounting books, but I have a situation here that I am trying to resolve.
Here's the original state: 2016/09/10 Assets:Shares:SomeBroker 3000 "A68U" Assets:Savings:SomeBank $899.53 Equity:Opening Balances Which is OK, and gives rise of course to this *balance*: $799.53 3000 A68U Assets $799.53 Savings:SomeBank 3000 A68U Shares:SomeBroker $-799.53 -3000 A68U Equity:Opening Balances -------------------- 0 If we make a stock purchase transaction: 2017/03/30 Assets:Shares:SomeBroker 870 "A68U" @ $0.919 Assets:Savings:SomeBank -$799.53 The balance report then gives: 3870 A68U Assets:Shares:SomeBroker $-799.53 -3000 A68U Equity:Opening Balances -------------------- $-799.53 870 A68U What can we usually do to get Asset = Equity (disregarding Liability for clarity's sake) without getting the difference here? Is that something that anyone will want? I do know that if I do -V it gives me this: $3556.53 Assets:Shares:SomeBroker $-3556.53 Equity:Opening Balances -------------------- 0 Just want to check if I am missing anything here. And if there's a better way to do this with multiple commodities. Thanks, Vito On Friday, 24 April 2009 19:35:47 UTC+8, Tim Docker wrote: > > a stock purchase/sale. Is there a convention for this? > > The ledger sample file shows 50 AAPL @ $30, but in that case it's > credited against "Equity", and the manual suggests that the Equity > account should be reserved for initial balances. > > Should I have a new top level account for the market(ie different > to Equity,Assets,Income, and Expenses)? ie something like: > > > 2004/05/01 * Investment balance > Assets:Brokerage 50 AAPL @ $30.00 > Market:Stock > > This doesn't feel quite right. What do others do? I guess the > approach would be the same for the purchase of any asset which > has ongoing value. > > Also, is it possible to get the dollars paid and shared received > to go to separate sub accounts? I could do something like: > > 2004/05/01 * Investment balance > Assets:Stocks 50 AAPL @ $30.00 > Assets:Stocks $1500 > Assets:Trading Account $-1500 > Market:Stock > > but it seems messy to have to manually calculate the transfer > amount. > > Any tips or pointers would be appreciated. > > Tim > -- --- 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.