Re: Announcing: Abandon

2013-06-01 Thread Martin Blais
Apologies for the duplicate messages. (I have an oddball setup with my google group emails, and after a bounce I thought the messages were pending rejected.) On Fri, May 31, 2013, at 23:50, Martin Blais wrote: Hi Harshad, Notes below. On Fri, May 31, 2013, at 12:32, Harshad RJ wrote

Re: alias on sub-accounts

2013-06-07 Thread Martin Blais
On Fri, Jun 7, 2013, at 9:07, krist...@adellica.com wrote: Hi folks! Using ledger-cli here for small-business accounting. We've got accounts like this: Salary:Collegue1 Salary:Collegue2 Salary:Collegue3 And we'd like to make aliases to all of these, like this: alias

Re: how to build and install python bindings for ledger 3.0 on debian wheezy

2013-06-17 Thread Martin Blais
Is there any specific reason that ledger can't be built as a Python extension module? Something specific at static initialization? On Mon, Jun 17, 2013, at 11:55, Tim Crews wrote: On Saturday, June 15, 2013 11:34:16 PM UTC-7, c b wrote: Hi, I just built ledger 3.0 from sources on

Re: how to build and install python bindings for ledger 3.0 on debian wheezy

2013-06-17 Thread Martin Blais
Wiegley wrote: Martin Blais goo...@furius.ca javascript: writes: Is there any specific reason that ledger can't be built as a Python extension module? Something specific at static initialization? Ledger *does* build as Python module, but until you make install, you can just

Re: how to build and install python bindings for ledger 3.0 on debian wheezy

2013-06-17 Thread Martin Blais
ImportError: No module named ledger exit On Monday, June 17, 2013 9:54:21 PM UTC-7, Martin Blais wrote: It's PYTHONPATH not PYTHON_PATH. On Tue, Jun 18, 2013, at 0:52, c b wrote: Hi John, Thanks for your response. I did a make install and see the following files

Fwd: Re: Announcing: Abandon

2013-07-14 Thread Martin Blais
On Sun, Jul 14, 2013, at 11:56, Harshad RJ wrote: Martin, I couldn't reply earlier and couldn't work on abandon either (a clairvoyant name for the project :) Until now, that is. Some comments below. On Sat, Jun 1, 2013 at 9:20 AM, Martin Blais goo...@furius.ca wrote: If you're

Fwd: Re: Announcing: Abandon

2013-07-14 Thread Martin Blais
(Sorry, forwarding, still having google groups mailing problems. I think this never made it.) - Original message - From: Martin Blais bl...@furius.ca To: ledger-cli@googlegroups.com, Mark Alexander ma...@pobox.com Subject: Re: Announcing: Abandon Date: Sat, 01 Jun 2013 09:35:09 -0400

Re: Beginning and ending dates

2013-07-27 Thread Martin Blais
FWIW, In Beancount I've decided to just choose (inclusive begin, exclusive end) everywhere. The user just has to specify the dates accordingly. I find it less confusing to avoid the extra complexity and impose a single method. Also, assertions are taken to mean at midnight at the beginning of

Re: Adjustments

2013-08-03 Thread Martin Blais
On Sat, Aug 3, 2013, at 0:29, Harshad RJ wrote: On Sat, Aug 3, 2013 at 3:16 AM, John Wiegley jo...@newartisans.com wrote: It is the sequence of transactions that matters, not their date ordering. Oh I didn't know that. It would have tripped me too had I used ledger in this manner. This

Re: Adjustments

2013-08-06 Thread Martin Blais
On Tue, Aug 6, 2013, at 3:49, Christophe Rhodes wrote: Simon Michael si...@joyful.com writes: I have to say, this explanation makes no sense to me. In general I expect *ledger to use the dates I've provided to model the order of events. So far this has worked pretty well for me. I think

Re: Adjustments

2013-08-06 Thread Martin Blais
On Tue, Aug 6, 2013, at 4:04, Harshad RJ wrote: But isn't parse order an internal detail of the implementation? Different parsers work differently, especially in the context of included files. I think, in the very least, parse order needs to be re-defined in user terms, independent of

Re: how to collapse sub-accounts?

2013-08-06 Thread Martin Blais
On Tue, Aug 6, 2013, at 14:46, John Wiegley wrote: Myles English mylesengl...@gmail.com writes: but how can I remove the Gum line and add it to the Food?, thus: For a balance report that would be --depth=2, but I'm not sure if it works that way in the register or not. Certainly worth a

Re: Dutch accounting

2013-11-28 Thread Martin Blais
What exactly do you mean by Dutch accounting? On Wed, Nov 27, 2013, at 6:20, Jan-Marc Verlinden wrote: Hi there. Im new to Ledger, but not to accounting. Here is our situation; we deliver services for homecare in the Netherlands. We have build an app that can handle all invoicing for

Re: Accountant interface

2013-12-09 Thread Martin Blais
I use wget/curl to bake beancount's web interface and translate all the links into a static copy, zip that up, and email it to my accountant. There is an option not to render the source, so only data from the relevant period actually shows up (and the source file has all account numbers and

Re: Accountant interface

2013-12-09 Thread Martin Blais
In any case, one of the goals of Beancount v2 is to provide a dead-simple data structure that would allow to write a single Python script that processes that list of transactions and outputs it in the format of your choice, do processing on it, etc. Ledger's Python bindings probably allows you

Events... registers... hmmmm

2013-12-10 Thread Martin Blais
Hi Ledgerians, I have this feature I want to rename in Beancount, which is a bit of an oddball feature. It's a dedicated directive, that looks like this: -MM-DD event TYPE arbitrary content... The idea is to record dated changes to some specific value, and then be able to report

Re: Events... registers... hmmmm

2013-12-11 Thread Martin Blais
On Wed, Dec 11, 2013, at 13:19, Simon Michael wrote: Hi Martin, nicely explained. What about note ? I already use note, for another directive which allows you to insert a note to be rendered in an account's journal, it looks like this: -MM-DD note ACCOUNT ... some sentence... e.g.

Importing example in Beancount v2

2014-01-12 Thread Martin Blais
Hi, (This is about Beancount, not Ledger) I haven't released the Beancount rewrite yet - though stable, I do want to complete documentation and do a few more things before I make it final - but some new users have asked me for an example of how I deal with import. So I took some time to write

Re: YNAB style budgeting

2014-01-16 Thread Martin Blais
On Tue, Jan 14, 2014 at 9:22 AM, Kaito Michishige m...@mkaito.com wrote: I was thinking that I could just subdivide my accounts like Assets:Checking:Food, and then query Assets:Checking for an overall balance, along with the balance of each bucket. The issue I'm facing is tracking the cash

Re: Reckon wants your csv files

2014-01-24 Thread Martin Blais
These would be better done in two separate steps IMHO: 1. extract the data from whichever external source format (e.g. OFX) into an internal transaction data structure 2. complete incomplete imported transaction objects by adding missing legs using the past Ledger history About (1): CSV files

Re: Another reason to use ledger

2014-02-09 Thread Martin Blais
DE bookkeeping I also find it useful to answer questions like these: Where did I have dinner with so-and-so a few years ago? That place was great, or, I want to see this piece of furniture. How much did I originally pay for it? I don't think you need DE bookkeeping to do this, but doing it gives

Re: Reckon wants your csv files

2014-02-11 Thread Martin Blais
much rather that code live in an external project shared with others. I'm thinking about forking it out and starting a new codebase for it. On Fri, Jan 24, 2014 at 9:57 AM, Martin Blais bl...@furius.ca wrote: These would be better done in two separate steps IMHO: 1. extract the data from

Re: Another reason to use ledger

2014-02-13 Thread Martin Blais
On Thu, Feb 13, 2014 at 1:38 PM, Tim Crews t...@code-affinity.com wrote: In this case, your ledger file has become the center of an impromptu semantic web of information about your life. Obviously, that wasn't what ledger was designed for. But our finances are one of the few areas in life

Re: Reckon wants your csv files

2014-02-27 Thread Martin Blais
perhaps some of these ideas are already employed in other manners. My comments on each stage (and one of my own added) below... --Andy On Tuesday, February 11, 2014 3:40:41 PM UTC-5, Martin Blais wrote: Thinking about this more, there's the potential for a nice big project independent

Re: Reckon wants your csv files

2014-02-27 Thread Martin Blais
On Thu, Feb 27, 2014 at 11:45 AM, Martin Blais bl...@furius.ca wrote: Here is the design doc for it: Design Doc for LedgerHub https://docs.google.com/document/d/11u1sWv7H7Ykbc7ayS4M9V3yKqcuTY7LJ3n1tgnEN2Hk/edit?usp=sharing Please (anyone) feel free to comment in the margins (right-click

Re: Reckon wants your csv files

2014-03-03 Thread Martin Blais
read your Google Doc and comment on it. How nice to see that! Thanks. -- Andy On Thursday, February 27, 2014 11:45:50 AM UTC-5, Martin Blais wrote: Hi Andy, This thread has been sitting in my inbox for a while, waiting for me to reply with the following. (I was hoping to get

Re: Yet Another Balance Sheet and Profit/Loss Statement Question

2014-03-21 Thread Martin Blais
On Thu, Mar 20, 2014 at 2:52 PM, Rick F r...@farnbach.com wrote: Well, now that I'm dealing with a real accountant to get my taxes done, I have to produce these accounting reports. How to produce these reports has been covered already on this list, but to summarize (assuming you have the

Re: Shares: calculating average cost

2014-04-19 Thread Martin Blais
On Fri, Apr 18, 2014 at 7:14 PM, Martin Michlmayr t...@cyrius.com wrote: In order to calculate the average cost, you need to create a transaction which removes all existing lots (make sure to get cost and date right) and adds the correct number of the commodity at the total price:

Re: Shares: best way to show opening balances?

2014-04-19 Thread Martin Blais
I don't understand why you need to manually insert an opening balances entry. That's something the system should do for you. The way I handle this in Beancount is that you have different views on your transactions. A view is a subset of transactions. The most obvious one is by year, but there are

Re: Shares: best way to show opening balances?

2014-04-19 Thread Martin Blais
of a disturbance. On Sat, Apr 19, 2014 at 11:42 AM, Martin Blais bl...@furius.ca wrote: I don't understand why you need to manually insert an opening balances entry. That's something the system should do for you. The way I handle this in Beancount is that you have different views on your

Re: Shares: calculating average cost

2014-04-20 Thread Martin Blais
On Sun, Apr 20, 2014 at 9:16 AM, Martin Michlmayr t...@cyrius.com wrote: * Martin Blais bl...@furius.ca [2014-04-19 14:37]: 2014-03-02 * Calculate average cost of AAA Assets:Investments -1 AAA {10.00 GBP} [2014-02-01] @ 10.00 GBP Assets:Investments -1 AAA

Re: Shares: best way to show opening balances?

2014-04-20 Thread Martin Blais
On Sun, Apr 20, 2014 at 9:19 AM, Martin Michlmayr t...@cyrius.com wrote: * Martin Blais bl...@furius.ca [2014-04-19 14:42]: The way I handle this in Beancount is that you have different views on your transactions. A view is a subset of transactions. The most obvious one is by year

Re: Shares: best way to show opening balances?

2014-04-20 Thread Martin Blais
On Sat, Apr 19, 2014 at 11:15 PM, John Wiegley jo...@newartisans.comwrote: Martin Blais bl...@furius.ca writes: Why don't you fix that problem instead of putting these annoying constraints? Virtual transactions in C++Ledger involve a runtime calculation that gets applied to every

Re: Status of beancount

2014-04-20 Thread Martin Blais
On Sun, Apr 20, 2014 at 9:27 AM, Martin Michlmayr t...@cyrius.com wrote: Martin, can you share the status of beancount? I had a quick look last evening and it seems you've been very active lately. I'm also impressed by the documentation. Sure. The current version is a complete rewrite of my

Re: Status of beancount

2014-04-23 Thread Martin Blais
On Wed, Apr 23, 2014 at 2:10 PM, Stefano Zacchiroli z...@upsilon.cc wrote: On Mon, Apr 21, 2014 at 05:18:30PM -0400, Martin Blais wrote: Yep, see beancount/examples/basic: https://hg.furius.ca/public/beancount/file/tip/examples/basic/basic.beancount You should be able to run bean-web

Building on Ubuntu 12.04

2014-04-25 Thread Martin Blais
Hi, I'm trying to build Ledger from source on a vanilla Ubuntu 12.04 in order to write a script to convert Ledger files to other formats. I just burnt 3 hours fiddling and fiddling to get this working, I think I've hit all the issues so far: - the utf8.h missing file, - older version of cmake

Re: Building on Ubuntu 13.04

2014-04-25 Thread Martin Blais
Sorry I meant, 13.04, not the LTS. On Fri, Apr 25, 2014 at 10:47 PM, Martin Blais bl...@furius.ca wrote: Hi, I'm trying to build Ledger from source on a vanilla Ubuntu 12.04 in order to write a script to convert Ledger files to other formats. I just burnt 3 hours fiddling and fiddling

Re: Building on Ubuntu 13.04

2014-04-26 Thread Martin Blais
. I'd like to eventually use the Ledger parser from Python to convert into Beancount data structure so you can all try/use the web interface I built. On Sat, Apr 26, 2014 at 2:47 AM, Jostein Berntsen jber...@broadpark.nowrote: On 25.04.14,22:52, Martin Blais wrote: Sorry I meant, 13.04

Re: org-mode Links

2014-04-26 Thread Martin Blais
On Sat, Apr 26, 2014 at 6:18 AM, Esben Stien b...@esben-stien.name wrote: Craig Earls ender...@gmail.com writes: The first use in ledger-cli is to link each transaction to a document, which is pretty important in accounting;) Well no, not exactly. The thing you do in importing financial

Re: Building on Ubuntu 13.04

2014-04-28 Thread Martin Blais
I'm hitting this very same error message. Quick attempts to fix add #include memory did not succeed. (Moved on, had other cats to whip.) On Mon, Apr 28, 2014 at 10:25 AM, Jostein Berntsen jber...@broadpark.nowrote: On 26.04.14,11:57, Martin Blais wrote: Thanks Jostein, I already have all

Re: Unable to build

2014-05-04 Thread Martin Blais
I haven't looked into it, but is there an easy way to disable the pch? That may be an avenue that could point to the problem. I recall that pch on gcc has been problematic at some point. On Sun, May 4, 2014 at 5:35 AM, thierry th...@free.fr wrote: 1) Here is what I did - install

Re: Building on Ubuntu 12.04

2014-05-07 Thread Martin Blais
On Tue, Apr 29, 2014 at 4:09 AM, John Wiegley jo...@newartisans.com wrote: Martin Blais bl...@furius.ca writes: - the utf8.h missing file, Need to update the submodules. Had done it and fixed that problem. But the problem showed up, you may want to have that fixed or remove that dep

Re: Building on Ubuntu 12.04

2014-05-07 Thread Martin Blais
On Wed, May 7, 2014 at 2:20 PM, John Wiegley jo...@newartisans.com wrote: Martin Blais bl...@furius.ca writes: Hmm... Also, be aware that the dependency just moved up to 1.55. I always build manually the latest. This just forced me to update, easy one. I'm not sure it's wise

Re: [GSoC'14] Adding fixed precision support and extending test suite for Ledger-CLI

2014-05-07 Thread Martin Blais
On Wed, May 7, 2014 at 8:33 PM, John Wiegley jo...@newartisans.com wrote: tripun goel tri...@gmail.com writes: The point to note is that Ledger-CLI uses multiple precision floating point numbers via MPFR library. Hi Tripun, welcome to Ledger development. :) Ledger-CLI does not use

Re: Unable to build

2014-05-07 Thread Martin Blais
Almost (see error log). I managed to link that target by manually adding the missing libs (I forgot how CMake works): -lboost_system -lboost_filesystem -lboost_regex -lboost_date_time -lboost_iostreams On Wed, May 7, 2014 at 2:31 PM, Kane O'Donnell odonnell.k...@gmail.comwrote: 2) also

Re: [GSoC'14] Adding fixed precision support and extending test suite for Ledger-CLI

2014-05-10 Thread Martin Blais
On Thu, May 8, 2014 at 11:15 PM, John Wiegley jo...@newartisans.com wrote: Martin Blais bl...@furius.ca writes: Just out of curiosity: why don't you just use decimal representation? Wouldn't that be enough? In which case does it help? Rationals take move all of the decision making out

Re: Taxes

2014-05-10 Thread Martin Blais
Hi Alex, Can you describe in more detail how you'd like this to look like? Here's what I think you're saying (please correct me if I'm wrong): For this kind of input: 2014-05-11 open Liabilities:CreditCard BRL 2014-05-11 open Expenses:CoolStuff BRL,USD 2014-05-11 open

Re: Taxes

2014-05-10 Thread Martin Blais
On Sun, May 11, 2014 at 12:48 AM, Martin Blais bl...@furius.ca wrote: Hi Alex, Can you describe in more detail how you'd like this to look like? Here's what I think you're saying (please correct me if I'm wrong): For this kind of input: 2014-05-11 open Liabilities:CreditCard BRL

A Slow-Tech Approach to Tracking Spending

2014-05-12 Thread Martin Blais
FYI. Interesting article re. tracking your money: http://mobile.nytimes.com/2014/05/12/your-money/household-budgeting/a-slow-tech-approach-to-tracking-spending.html With all the great tools to track spending, I’ve really struggled with this issue. By concluding that automation may actually cost

Re: Warehouse Management System

2014-05-13 Thread Martin Blais
On Tue, May 13, 2014 at 10:29 AM, Martin Michlmayr t...@cyrius.com wrote: * Zack Williams zdw...@gmail.com [2014-05-13 06:55]: John W. did mention something about commodity notes a while back, but I'm not sure if that made it in. They have been there for a long time: 2014-05-13 * Test

Re: Warehouse Management System

2014-05-13 Thread Martin Blais
On Tue, May 13, 2014 at 4:27 PM, John Wiegley jo...@newartisans.com wrote: Martin Blais bl...@furius.ca writes: Is there any benefit in having both the date and a string to identify a lot? I'm currently using an optional date to identify lots, but this got me thinking, maybe it would

Re: Warehouse Management System

2014-05-13 Thread Martin Blais
On Tue, May 13, 2014 at 10:10 PM, Martin Michlmayr t...@cyrius.com wrote: * Martin Blais bl...@furius.ca [2014-05-13 17:13]: Hmmm interesting. What's a scenario in which this is useful? One example: show me all shares I purchased before date X. Might be useful for example when the way

Re: Warehouse Management System

2014-05-13 Thread Martin Blais
(Sorry I put a zero too many in the example; still valid though, look at the dates). On Tue, May 13, 2014 at 11:11 PM, Martin Blais bl...@furius.ca wrote: On Tue, May 13, 2014 at 10:10 PM, Martin Michlmayr t...@cyrius.com wrote: * Martin Blais bl...@furius.ca [2014-05-13 17:13]: Hmmm

Re: Change in definition of cost

2014-05-14 Thread Martin Blais
On Wed, May 14, 2014 at 6:15 PM, Martin Michlmayr t...@cyrius.com wrote: John and I had a long discussion on IRC a few days ago which resulted in a patch that changes the definition of cost in ledger (-B). The background of the discussion was bugs #712 and #713. Bug #712 is about

LedgerHub

2014-05-14 Thread Martin Blais
I finally created a home page for LedgerHub: http://furius.ca/ledgerhub/ The source code is available here: https://hg.furius.ca/public/ledgerhub/ -- --- You received this message because you are subscribed to the Google Groups Ledger group. To unsubscribe from this group and stop receiving

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-16 Thread Martin Blais
Really? This surprises me. I read this as a reasonable assumption and looked up the Ledger doc for it but could not find it. It makes sense to me that one may want to restrict balancing transactions to accounts with no virtual transactions at all and vice-versa, segregating accounts by whether

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-17 Thread Martin Blais
On Sat, May 17, 2014 at 1:37 PM, Harshad RJ harshad...@gmail.com wrote: On Sat, May 17, 2014 at 10:40 PM, Lifepillar lifepil...@lifepillar.comwrote: 2013/05/17 * Myself Assets:Checking:Myself $3500.00 Income:Salary:Family Allowance $-100.00 Income:Salary:Taxable:Net

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-17 Thread Martin Blais
On Sat, May 17, 2014 at 7:06 PM, Martin Michlmayr t...@cyrius.com wrote: * Martin Blais bl...@furius.ca [2014-05-17 13:52]: - Your non-taxable allowance can be tracked in a separate contra income account (that is, one with a positive amount). That's what I do for some of my deductions

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-17 Thread Martin Blais
On Sat, May 17, 2014 at 9:04 PM, Martin Blais bl...@furius.ca wrote: On Sat, May 17, 2014 at 7:06 PM, Martin Michlmayr t...@cyrius.com wrote: Income:US:Google:Deductions:Medical .XX USD Income:US:Google:Deductions:TransitPreTax.XX USD

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-18 Thread Martin Blais
On Sat, May 17, 2014 at 9:04 PM, I'm starting to think that I should start creating a distinct expense account for each tax year, because that's how both the Canadian and US governments handle it: amounts that you post get booked to a particular year I'd use tags. That would work

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-19 Thread Martin Blais
​ Martin Blais bl...@furius.ca writes: It would be useful to build a list of real-world use cases of virtual postings and see if they can all be solved without or not - make a compelling argument about the need for virtual postings. I'd be interested to know your solution

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-19 Thread Martin Blais
On Mon, May 19, 2014 at 8:04 PM, Martin Michlmayr t...@cyrius.com wrote: * Martin Blais bl...@furius.ca [2014-05-19 15:42]: If not, this is easily solved using subaccounts. I must say I'm with John on this: virtual accounts are a much more elegant solution in this case than what you propose

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-19 Thread Martin Blais
On Tue, May 20, 2014 at 12:15 AM, Martin Blais bl...@furius.ca wrote: Expenses:Taxes:US:TY2014:Google:Federal Expenses:Taxes:US:TY2014:Google:StateNY Expenses:Taxes:US:TY2014:Google:CityNYC ... I don't see the advantage of putting your employer's name there. If you really want

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-20 Thread Martin Blais
On Tue, May 20, 2014 at 6:06 AM, Stefano Zacchiroli z...@upsilon.cc wrote: On Sat, May 17, 2014 at 11:37:01PM -0400, Martin Blais wrote: Now the truly, wonderfully great thing is how much *power* we have using our little text files. It's exhilarating. I can write a little script

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-21 Thread Martin Blais
On Tue, May 20, 2014 at 12:45 AM, Martin Blais bl...@furius.ca wrote: On Tue, May 20, 2014 at 12:15 AM, Martin Blais bl...@furius.ca wrote: Expenses:Taxes:US:TY2014:Google:Federal Expenses:Taxes:US:TY2014:Google:StateNY Expenses:Taxes:US:TY2014:Google:CityNYC I got the ordering

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-05-21 Thread Martin Blais
On Wed, May 21, 2014 at 2:46 PM, John Wiegley jo...@newartisans.com wrote: Martin Blais bl...@furius.ca writes: If the community accounts straddle the real accounts, you just filter by the CommunityX bit. Imagine for a moment the worse case, that all real accounts have all community

Re: Sub account balancing problem

2014-05-29 Thread Martin Blais
On Thu, May 29, 2014 at 4:27 PM, Craig Earls ender...@gmail.com wrote: I saw Johns response about--empty but this idea from Martin strikes me as wrong. If you have a hierarchical account tree I think it oy makes sense to have postings on the leaves of the tree. In Martina example it would

Re: Sub account balancing problem

2014-05-29 Thread Martin Blais
On Thu, May 29, 2014 at 5:15 PM, Martin Michlmayr t...@cyrius.com wrote: * Martin Michlmayr t...@cyrius.com [2014-05-29 16:41]: * Craig Earls ender...@gmail.com [2014-05-29 13:27]: I saw Johns response about--empty but this idea from Martin strikes me as wrong. If you have a

Re: 'equity' cannot accept virtual and non-virtual postings to the same account

2014-06-02 Thread Martin Blais
On Tue, May 20, 2014 at 9:00 AM, Martin Blais bl...@furius.ca wrote: On Tue, May 20, 2014 at 6:06 AM, Stefano Zacchiroli z...@upsilon.cc wrote: On Sat, May 17, 2014 at 11:37:01PM -0400, Martin Blais wrote:In particular, I'm personally annoyed that when I batchly update ledger files

Re: Automatically Credit an Account

2014-06-02 Thread Martin Blais
Why don't you build a tool for printing out the result of these rule-based modifications? Do you think that would be useful? Is it possible? I see a lot of questions like: Why doesn't my rule such and such work? I see unexpected results in the register. If Ledger had a command to expand

Re: Automatically Credit an Account

2014-06-03 Thread Martin Blais
On Mon, Jun 2, 2014 at 8:55 PM, Martin Blais bl...@furius.ca wrote: Why don't you build a tool for printing out the result of these rule-based modifications? Do you think that would be useful? Is it possible? I see a lot of questions like: Why doesn't my rule such and such work? I see

Re: Automatically Credit an Account

2014-06-04 Thread Martin Blais
On Wed, Jun 4, 2014 at 4:23 AM, Jostein Berntsen jber...@broadpark.no wrote: On Wednesday, June 4, 2014 7:32:22 AM UTC+2, Martin Blais wrote: On Mon, Jun 2, 2014 at 8:55 PM, Martin Blais bl...@furius.ca wrote: Why don't you build a tool for printing out the result of these rule-based

Re: Automatically Credit an Account

2014-06-07 Thread Martin Blais
On Wed, Jun 4, 2014 at 1:16 PM, Martin Blais bl...@furius.ca wrote: On Wed, Jun 4, 2014 at 4:23 AM, Jostein Berntsen jber...@broadpark.no wrote: This sounds like a great feature. Can you give an example on how it works? Sure. I attached an example input file (input.beancount). Run

Re: Installing beancount on Ubuntu 14.04

2014-06-08 Thread Martin Blais
Hi Oliver, My setup.py file was falling out-of-date, sorry about that. (I tend to use it in-place, so I don't always notice installation breaks.) I just pushed an update for it, it should work now. https://hg.furius.ca/public/beancount/rev/9268622a6c17 Thanks for reporting the issue, On Sun,

Aligning transactions (was: Re: 'equity' cannot accept virtual and non-virtual postings to the same account)

2014-06-09 Thread Martin Blais
On Mon, Jun 2, 2014 at 8:38 AM, Martin Blais bl...@furius.ca wrote: On Tue, May 20, 2014 at 9:00 AM, Martin Blais bl...@furius.ca wrote: On Tue, May 20, 2014 at 6:06 AM, Stefano Zacchiroli z...@upsilon.cc wrote: On Sat, May 17, 2014 at 11:37:01PM -0400, Martin Blais wrote:In particular

Re: Aligning transactions (was: Re: 'equity' cannot accept virtual and non-virtual postings to the same account)

2014-06-09 Thread Martin Blais
On Mon, Jun 9, 2014 at 11:36 PM, Craig Earls ender...@gmail.com wrote: Do you realize that there is a function to already do this in ledger mode? clean up buffer Yes, but thanks for pointing it out Craig. Beancount's syntax has changed radically when I started version 2, and I stopped using

Re: Convert CSV Bank Statement to ledger

2014-06-10 Thread Martin Blais
Maybe someone could write up a more in-depth comparison of these tools within the LedgerHub design doc: https://docs.google.com/document/d/11u1sWv7H7Ykbc7ayS4M9V3yKqcuTY7LJ3n1tgnEN2Hk/ (If someone will write it up I'll include it.) On Tue, Jun 10, 2014 at 2:01 PM, John Wiegley

Re: Convert CSV Bank Statement to ledger

2014-06-10 Thread Martin Blais
On Tue, Jun 10, 2014 at 8:55 PM, Peter Ross pe...@emailross.com wrote: On 10 June 2014 19:31, Stefano Zacchiroli wrote: On Fri, May 30, 2014 at 09:54:39AM +0200, Jostein Berntsen wrote: I like to use reckon: Has anyone here used both reckon and icsv2ledger, and fancy posting a brief

Re: How to record and keep track of stock share ?

2014-06-12 Thread Martin Blais
Christophe, I was going to reply with the detail to this email, but I decided to write it up in my cookbook instead: http://furius.ca/beancount/doc/cookbook I've been fantasizing for a while about writing up detailed examples for all the things I've discovered for myself about bookkeeping over

Re: How to record and keep track of stock share ?

2014-06-12 Thread Martin Blais
On Thu, Jun 12, 2014 at 10:27 AM, Martin Michlmayr t...@cyrius.com wrote: * Martin Blais bl...@furius.ca [2014-06-12 02:05]: I don't understand how it works in your example. You're entering the positions with price conversion, using the @ sign: 2014-01-01 Details for shares

Re: How to record and keep track of stock share ?

2014-06-13 Thread Martin Blais
have a good solution for doing this at the moment, but I want to think of one. In particular, we should design a method that leads to easy entry by a user, with a correspondingly nice syntax. I'll be thinking about this; any ideas welcome. On Wednesday, June 11, 2014 11:05:54 PM UTC-7, Martin

Re: How to record and keep track of stock share ?

2014-06-14 Thread Martin Blais
On Fri, Jun 13, 2014 at 9:57 AM, Martin Blais bl...@furius.ca wrote: On Fri, Jun 13, 2014 at 9:01 AM, Rick F r...@farnbach.com wrote: The method used in the cookbook, is not correct. That's not exactly true: it's correct if your definition of capital gain does not take into account

Re: How to record and keep track of stock share ?

2014-06-15 Thread Martin Blais
I documented in more detail the problem that Rick brought up in a section in the cookbook document I'm building: https://docs.google.com/document/d/1WjARst_cSxNE-Lq6JnJ5CC41T3WndEsiMw4d46r2694/edit#heading=h.gy32bzj5jx1w (Feel free to comment.) On Sat, Jun 14, 2014 at 1:50 PM, Martin Blais bl

Re: How to record and keep track of stock share ?

2014-06-17 Thread Martin Blais
On Tue, Jun 17, 2014 at 4:00 AM, Jostein Berntsen jber...@broadpark.no wrote: On Saturday, June 14, 2014 7:50:32 PM UTC+2, Martin Blais wrote: On Fri, Jun 13, 2014 at 9:57 AM, Martin Blais bl...@furius.ca wrote: On Fri, Jun 13, 2014 at 9:01 AM, Rick F ri...@farnbach.com wrote: The method

Unrealized gains in Beancount not automatically added anymore

2014-06-17 Thread Martin Blais
Hi, I normally don't email about changes to Beancount, but I've made a change with some visible impact in Beancount today; the insertion of capital gains has moved to a plugin. I wasn't going to make any major changes before the next release, but this was required to clean up the loader API, so I

Re: How to record and keep track of stock share ?

2014-06-20 Thread Martin Blais
On Fri, Jun 20, 2014 at 8:50 AM, Martin Michlmayr t...@cyrius.com wrote: * Jostein Berntsen jber...@broadpark.no [2014-06-20 04:26]: ; Selling 2 ShareB at 2014/04/01 2014-04-01 Selling 2 ShareB Assets:Investments:Stocks:ShareB -2 ShareB @ 100€ Assets:SoldStocks:SoldB

Re: How to record and keep track of stock share ?

2014-06-21 Thread Martin Blais
On Sat, Jun 21, 2014 at 9:22 AM, Martin Michlmayr t...@cyrius.com wrote: * Martin Blais bl...@furius.ca [2014-06-20 23:16]: ; Selling 2 ShareB at 2014/04/01 2014-04-02 Selling 4 ShareA Assets:Investments:Stocks:ShareA -4 ShareA {20€} @ 30€ Assets:Cash

Inventory Booking - A Proposal for an Improvement on Command-Line Bookkeeping

2014-06-23 Thread Martin Blais
Dear Ledgerians, I've been doing some thinking about improving the booking method used in Beancount. In the following document, I summarize the issues with inventory booking and list some unsatisfied use cases, identify current shortcomings in both Beancount and Ledger (with specific examples),

Re: balance assertions semantics

2014-06-23 Thread Martin Blais
On Mon, Jun 23, 2014 at 12:30 PM, Simon Michael si...@joyful.com wrote: Hi all, In current hledger, a balance assertion like some:account $1 = $4 asserts that after the $1 posting, some:account's balance is $4. I learned from https://github.com/simonmichael/hledger/issues/195 that

Re: balance assertions semantics

2014-06-23 Thread Martin Blais
On Mon, Jun 23, 2014 at 4:08 PM, thierry th...@free.fr wrote: On Monday, June 23, 2014 6:42:19 PM UTC+2, Martin Blais wrote: Just to be clear, it also makes sense to do this in Beancount: 2014-06-20 balance Assets:Some:Account413.43 USD 2014-06-20 balance Assets:Some:Account

Re: balance assertions semantics

2014-06-23 Thread Martin Blais
On Mon, Jun 23, 2014 at 4:39 PM, thierry th...@free.fr wrote: And different from currency, as soon as you are trading, then multiple *commodity* is standard. BTW, it is not difficult to start trading, if your company is traded on any stock exchange, you can not avoid that your company is

Re: Inconsistent results.

2014-06-23 Thread Martin Blais
He could isolate the problem by copying the file and chopping it down, removing parts bit by bit until the problem stops manifesting, and only share and anonymify that minimal snippet. On Mon, Jun 23, 2014 at 8:36 PM, Craig Earls ender...@gmail.com wrote: This would be very high priority for

Re: Rounding in ledger

2014-06-23 Thread Martin Blais
is 5c. I *assume*, bank and investment accounts still show single cents, but I'm not sure (Martin Blais, can you comment?). Oh have they finally done that? I haven't noticed (I don't live there anymore). I think this would only apply to cash transactions anyhow. * Does rounding only happen

Re: installation headaches

2014-06-23 Thread Martin Blais
On Mon, Jun 23, 2014 at 10:21 PM, Francesco Ariis fa...@ariis.it wrote: On Mon, Jun 23, 2014 at 08:48:30PM -0500, o1bigtenor wrote:Let me be frank, what I would do is: 1. backup your data 2. reinstall debian jessie (testing) on your PC Because a clean start will feel a thousand

Re: Inconsistent results.

2014-06-23 Thread Martin Blais
On Mon, Jun 23, 2014 at 11:26 PM, Harshad RJ harshad...@gmail.com wrote: On Tue, Jun 24, 2014 at 7:34 AM, Martin Blais bl...@furius.ca wrote: anonymify that minimal snippet. ​Martin, that gives me an idea. Since beancount already has the ability to export transactions in ledger format

Re: How to record and keep track of stock share ?

2014-06-25 Thread Martin Blais
check how GnuCash or QuickBooks deals with it? Rick On Saturday, June 14, 2014 10:50:32 AM UTC-7, Martin Blais wrote: On Fri, Jun 13, 2014 at 9:57 AM, Martin Blais bl...@furius.ca wrote: On Fri, Jun 13, 2014 at 9:01 AM, Rick F ri...@farnbach.com wrote: The method used in the cookbook

Re: How to record and keep track of stock share ?

2014-06-25 Thread Martin Blais
On Wed, Jun 25, 2014 at 11:14 AM, Martin Blais bl...@furius.ca wrote: On Wed, Jun 25, 2014 at 1:08 AM, Rick F r...@farnbach.com wrote: Allowing the cost to show up in both places would break the accounting equation; this transaction must balance. So I've been thinking about this and I

Re: Inconsistent results.

2014-06-26 Thread Martin Blais
To reliably reproduce the problem, run the code in attachment. You will see about 1/4th of the outputs are empty. If you remove the alias, the problem mostly goes away; if you do, sometimes you will get a rare empty file too (about 1-2/1000). On Mon, Jun 23, 2014 at 10:04 PM, Martin Blais bl

Re: How to record and keep track of stock share ?

2014-06-27 Thread Martin Blais
On Fri, Jun 27, 2014 at 4:00 PM, Rick Farnbach r...@farnbach.com wrote: Great find. Breaks all financial transactions into a series of templates to be followed. I'll definitely use that book as a reference going forward. In regards to the current conversation, here's the relevant quote.

Re: How to record and keep track of stock share ?

2014-06-27 Thread Martin Blais
(in the U.S. at least) already have to deal with this situation. Does anyone know how accountants deal with this currently? Rick On Saturday, June 14, 2014 10:50:32 AM UTC-7, Martin Blais wrote: Would this then be the best way to calculate it? Nope. (Explanations below.) ; Initial

  1   2   3   4   >