Re: [Share] Report Scripts for Ledger CLI with Gnuplot

2017-01-15 Thread Manish Rai Jain
I'm in a similar boat. I've been using ledger for over a year now, but long for a good data visualization tool to work with ledger. I tried a solution mentioned in http://plaintextaccounting.org/, but it doesn't seem to work. Your scripts seem like a step in the right direction. Would be great if

Re: "Shadow Accounts" to Track Ownership Stakes

2017-01-15 Thread Brian Exelbierd
On Sat, Jan 14, 2017, at 06:26 PM, APL wrote: > I'd like to use Ledger to track the finances of a two-person > household, recording transactions to both aggregate household accounts > and individual ownership stakes. > > Two questions: > * Is there a preferred way to do this? > * Supposing I

Re: Using Python to add virtual postings

2017-01-15 Thread John Wiegley
> "A" == APL writes: A> Is it possible to embed Python code in a Ledger file and use it to add A> virtual postings to existing transactions based on tag values? Yes, that should be possible. The "python" directive lets you inject arbitrary Python code, such as a

Re: "Shadow Accounts" to Track Ownership Stakes

2017-01-15 Thread Pete Keen
I do something like this to run my sinking funds and have documented it here: https://www.petekeen.net/program-your-finances-envelope-budgeting Basically you can use automated transactions to get close to what you want, although I'm not sure how you use the value of a tag like that to cook an

"Shadow Accounts" to Track Ownership Stakes

2017-01-15 Thread APL
I'd like to use Ledger to track the finances of a two-person household, recording transactions to both aggregate household accounts and individual ownership stakes. Two questions: - Is there a preferred way to do this? - Supposing I do this using tags to identify "shadow accounts," how

Using Python to add virtual postings

2017-01-15 Thread APL
I just wrote a lengthy post about using shadow accounts in Ledger, but it seems to have disappeared. Instead of re-composing it, let me ask a simple question: Is it possible to embed Python code in a Ledger file and use it to add virtual postings to existing transactions based on tag values?

Re: [Share] Report Scripts for Ledger CLI with Gnuplot

2017-01-15 Thread Jason Check
Thanks for posting. These look great! On Monday, January 2, 2017 at 12:38:48 PM UTC-6, Shaodong Di wrote: > > Hi, I've been using Ledger for a year now. I made 6 script with Gnuplot > based on Ledger's default report script. They plot good graphs, detailed > can be found on my blog post: >