payee limiting question

2014-07-30 Thread Eric Abrahamsen
For the longest time I haven't been able to use payee limiting in reports in any convenient way, and I'm finally getting around to bringing it up here. I am using git ledger, built on archlinux. Here's the basic problem: [eric@pellet ~]$ ledger reg assets:receivable --limit 'payee=~/CBI/'

Changes to capital gains/losses makes final cost irrelevant

2014-07-30 Thread Nathan Grigg
I am in favor of the recent changes to Equity:Capital Gains, etc, which allow you to book the gains to whichever account you want. The downside is that the final cost is now ignored. Here is an example: 2014-06-30 Sell stock Assets:Stock -40 TWTR {$30} @ $50 Assets:Cash $2,000

Re: payee limiting question

2014-07-30 Thread Jostein Berntsen
On 30.07.14,17:13, Eric Abrahamsen wrote: For the longest time I haven't been able to use payee limiting in reports in any convenient way, and I'm finally getting around to bringing it up here. I am using git ledger, built on archlinux. Here's the basic problem: [eric@pellet ~]$ ledger reg

Re: payee limiting question

2014-07-30 Thread Eric Abrahamsen
Nathan Grigg nat...@nathangrigg.net writes: On Jul 30, 2014, at 2:13 AM, Eric Abrahamsen e...@ericabrahamsen.net wrote: [eric@pellet ~]$ ledger reg assets:receivable and CBI [eric@pellet ~]$ ledger reg assets:receivable @CBI {displays all postings for assets:receivable} It

Re: payee limiting question

2014-07-30 Thread Martin Blais
On Wed, Jul 30, 2014 at 6:03 AM, Nathan Grigg nat...@nathangrigg.net wrote: On Jul 30, 2014, at 2:13 AM, Eric Abrahamsen e...@ericabrahamsen.net wrote: [eric@pellet ~]$ ledger reg assets:receivable and CBI [eric@pellet ~]$ ledger reg assets:receivable @CBI {displays all postings for

Re: payee limiting question

2014-07-30 Thread Martin Blais
On Wed, Jul 30, 2014 at 5:13 AM, Eric Abrahamsen e...@ericabrahamsen.net wrote: For the longest time I haven't been able to use payee limiting in reports in any convenient way, and I'm finally getting around to bringing it up here. I am using git ledger, built on archlinux. Here's the basic

Re: payee limiting question

2014-07-30 Thread Nathan Grigg
On Jul 30, 2014, at 7:13 AM, Martin Blais bl...@furius.ca wrote: So then what does this one mean: ledger reg assets:receivable @CBI Is it to be or'ed? Yes -- --- You received this message because you are subscribed to the Google Groups Ledger group. To unsubscribe from this group and

Re: payee limiting question

2014-07-30 Thread Eric Abrahamsen
Nathan Grigg nat...@nathangrigg.net writes: On Jul 30, 2014, at 7:16 AM, Martin Blais bl...@furius.ca wrote: This is perhaps a second question, but I'm confused as to the meaning of Ledger's filter expressions. When you say: ledger reg assets:receivable and @CBI Does it mean: Select

Re: payee limiting question

2014-07-30 Thread Eric Abrahamsen
Nathan Grigg nat...@nathangrigg.net writes: On Jul 30, 2014, at 7:13 AM, Martin Blais bl...@furius.ca wrote: So then what does this one mean: ledger reg assets:receivable @CBI Is it to be or'ed? Yes Thanks, that makes a lot more sense. I had assumed that the @CBI was simply being

Re: payee limiting question

2014-07-30 Thread Martin Blais
On Wed, Jul 30, 2014 at 2:43 PM, Nathan Grigg nat...@nathangrigg.net wrote: On Jul 30, 2014, at 7:16 AM, Martin Blais bl...@furius.ca wrote: This is perhaps a second question, but I'm confused as to the meaning of Ledger's filter expressions. When you say: ledger reg assets:receivable

Re: Proper way to download stock quotes

2014-07-30 Thread Dave Wells
Some more detail: I use the command $ ledger bal assets:investments:stocks -VQ and the following is appended to my price database: P 2014/07/30 22:16:43 AAPL $98.150 P 2014/07/30 22:16:43 F $17.460 P 2014/07/30 22:16:43 VALE $14.380 P 2014/07/30 22:16:44 F $17.460 P 2014/07/30 22:16:45 AAPL