Re: Mapping ledger's fixated prices/costs to beancount

2019-02-18 Thread Martin Blais
On Sat, Jan 19, 2019 at 7:07 PM Martin Michlmayr wrote: > ledger has the concept of fixated prices/costs which tells it not to > revalue it according to the current pricedb but to always use the > specified cost/price; see > https://www.ledger-cli.org/3.0/doc/ledger3.html#Fixated-prices-and-costs

Re: Balance assertions problems

2018-01-08 Thread Martin Blais
https://groups.google.com/d/msg/ledger-cli/vwkrPh74NFI/foXlCRxXO7IJ https://groups.google.com/d/msg/ledger-cli/12fncF-Abrg/i7ova_zkAgAJ http://furius.ca/beancount/doc/proposal-balance On Mon, Jan 8, 2018 at 12:02 PM, Michael Cooper wrote: > Ledger cares a lot about the order of transactions, and

Re: Select sql queries

2017-12-27 Thread Martin Blais
I've implemented this idea in Beancount. You can reduce all this double-entry bookkeeping reporting stuff to filter & aggregations, but it won't work generically: unless you have just a single currency and no cost basis, the aggregator functions need to support special semantics for those--that's a

Re: beancount to ledger

2017-12-21 Thread Martin Blais
Beancount has a "bean-report ledger" subcommand. On Thu, Dec 21, 2017 at 12:50 AM, Vikas Rawal wrote: > Is there a script/command to convert a beancount file to a ledger file? > Would be grateful for any pointers. > > Vikas > > -- > > --- > You received this message because you are subscribed t

Re: pricedb api data source?

2017-11-07 Thread Martin Blais
Beancount has a simple "bean-price" tool which is used to pull down price directives. https://bitbucket.org/blais/beancount/src/8013b905c17a/beancount/prices/?at=default It supports just a few sources, but contributions are welcome. (I could easily be extended to support Ledger price syntax, and I

Re: Tracking car expenses

2017-10-27 Thread Martin Blais
Idea: - Turn on Google Location Services on your phone - After a while, download the JSON file for it - Write a Python script to extract the already labeled "driving" segments - Estimate distance from the start/end coordinates of each these - Sum it up. Less time, though it would report trips not i

Re: Issue when moving lot prices

2017-10-26 Thread Martin Blais
The problem with this method is that one has to manually compute and insert the aggregate cost basis on every reduction. (FWIW, I intended to automate this in Beancount, and did all the changes to support various booking methods (e.g. FIFO) and they work... but I ran out of steam and left a single

Re: Issue when moving lot prices

2017-10-24 Thread Martin Blais
Hi Ismael, In your specific case, what I would do is avoid even doing the adjustments, and when I need to make a sale, just sum up the cost bases in all the historical lots to obtain the average cost basis at that point and record a sale with that basis. The sum of the units, and the sum of the co

Re: Rounding?

2017-04-10 Thread Martin Blais
You should file a bug ticket, the error message is insufficiently clear. On Mon, Apr 10, 2017 at 10:04 PM, Bill Harris < bill_har...@facilitatedsystems.com> wrote: > Kushal, > > Oops. Thanks! I could have sworn that I had typed $12.41, but I clearly > had not. That works, too, and I like it.

Re: Generating comma automatically in ledger-mode (newbie)

2017-03-26 Thread Martin Blais
I'd be surprised if noone ever added that to Emacs. You can't automatically insert commas until a number has finished being typed - it's ambiguous - but the first non-number character (e.g., space) after typing a number could be configured to automatically trigger the addition of the commas in the

Re: Ledger for Personal usage vs Small Business usage

2017-03-05 Thread Martin Blais
On Sun, Mar 5, 2017 at 10:56 AM, John Wiegley wrote: > > "M" == Marcos writes: > > M> 2. Yes. It is possible to encrypt text files too. > > If you have just one Ledger file, you can encrypt it with Gpg, and then > use a > wrapper script that unencrypts it and feeds the result via a pipe to

Re: How many Emacs, Vim, Sublime, Atom.io users here?

2017-02-22 Thread Martin Blais
tment to mother. > > > On Wed, Feb 22, 2017 at 12:09 Martin Blais wrote: > >> On Wed, Feb 22, 2017 at 1:05 PM, James wrote: >> >> Emac users, >> Do you ever get tired of the ctrl and alt keys? >> I notice from some of the documentations, there is lots of ctrl an

Re: How many Emacs, Vim, Sublime, Atom.io users here?

2017-02-22 Thread Martin Blais
On Wed, Feb 22, 2017 at 1:05 PM, James wrote: > Emac users, > Do you ever get tired of the ctrl and alt keys? > I notice from some of the documentations, there is lots of ctrl and alts . > That useless Caps-Lock key conveniently proximous to your left pinky finger can (should!) be converted int

Re: How many Emacs, Vim, Sublime, Atom.io users here?

2017-02-21 Thread Martin Blais
Emacs. On Tue, Feb 21, 2017 at 2:00 PM, James wrote: > Hi, > I just want to conduct a quick survey here. Could everyone here advise > which is their preferred text editor for ledger input? > > I am currently Vim and am having a hard time making rapid entries > (because auto completion only occ

Re: Cost and prices: an example from the manual

2017-01-24 Thread Martin Blais
On Wed, Jan 25, 2017 at 12:32 AM, Martin Michlmayr wrote: > * Martin Blais [2017-01-25 00:07]: > > > > 2012-04-10 My Broker > > > > Assets:Brokerage:Cash $750.00 > > > > Assets:Brokerage-10 AAPL {$50.00} @ $75.00 > > > &g

Re: Cost and prices: an example from the manual

2017-01-24 Thread Martin Blais
On Tue, Jan 24, 2017 at 5:47 PM, Martin Michlmayr wrote: > * Lifepillar [2017-01-24 11:55]: > > 2012-04-10 My Broker > > Assets:Brokerage:Cash $750.00 > > Assets:Brokerage-10 AAPL {$50.00} @ $75.00 > > Income:Capital Gains > > > > and now Ledger correctly reports th

Re: Formatting decimals

2017-01-20 Thread Martin Blais
On Fri, Jan 20, 2017 at 12:31 PM, John Wiegley wrote: > > "G" == Greg writes: > > G> Hopefully an easy answer. Is there an easy way to set the output to > G> default to two decimals? > > I have actually long wanted a feature for forcing the display > characteristics > of a given commodity,

Re: Beginner questions about transaction format and transaction verification

2017-01-02 Thread Martin Blais
On Mon, Jan 2, 2017 at 4:30 PM, ubeatlenine wrote: > Hi, > First let me say that I've been very impressed with *ledger and the plain > text accounting community since I started using ledger last week. Ledger is > an insanely powerful tool that meshes perfectly with my usual way of doing > things

Re: Sorting lines in reports

2017-01-01 Thread Martin Blais
On Sat, Dec 31, 2016 at 2:40 PM, Jakob Mattsson wrote: > Yeah, I've been doing something along those lines (slightly altering the > names of my accounts) to get it to the order I want - or close at least. > > What I think would be more elegant is being able to sort on something that > would produ

Re: New to ledger - how to ease in from gnucash?

2016-12-22 Thread Martin Blais
On Thu, Dec 22, 2016 at 4:19 PM, Oon-Ee Ng wrote: > On Sat, Nov 26, 2016 at 2:49 AM, Martin Blais wrote: > > On Thu, Nov 24, 2016 at 6:12 AM, Oon-Ee Ng > wrote: > > If you like, you can also use a plugin that auto-declares all the > accounts > > for you. > > A

Re: Monthly average expenses for budgeting

2016-12-17 Thread Martin Blais
and > uses unpopular syntax, agreed. But, once you get past that, it's a delight > to work with and the end result is just astounding. We couldn't be happier > having made the decision to switch to Wiki. > > > On Sat, Dec 17, 2016 at 07:56:43PM -0500, Martin Blais wrote:

Re: Monthly average expenses for budgeting

2016-12-17 Thread Martin Blais
On Sat, Dec 17, 2016 at 7:25 PM, Manish Rai Jain wrote: > > - And this is where Wiki really shines -- that is templates. You see a > section which is incorrect, needs work, out of date, or want to have a > special note, add a warning; you can add a special highlighted box in Wiki. > That adds a r

Re: Monthly average expenses for budgeting

2016-12-17 Thread Martin Blais
On Sat, Dec 17, 2016 at 8:20 AM, Brian Exelbierd wrote: > On Sat, Dec 17, 2016, at 01:39 PM, Manish Rai Jain wrote: > > Thanks! That definitely helps. > > I think the documentation needs updating (documentation being one of my > main gripes with ledger). I'd suggest a solution: Host the documenta

Re: Link Params with acprep

2016-12-02 Thread Martin Blais
Hi James, If you'd like to share your plans we might be able to save you some time. I've thought about the idea of using SQL to carry out these reports front to back, wrote a number of export scripts to postgresql from Beancount, a custom SQL parser, could probably save you some time. The summary

Re: New to ledger - how to ease in from gnucash?

2016-11-25 Thread Martin Blais
On Thu, Nov 24, 2016 at 6:12 AM, Oon-Ee Ng wrote: > So as an update, I did a gnucash to ledger conversion and took a look > with hledger, general accounts seem fine. > > However running ledger2beancount.py produced what looks like a valid > beancount file, except I got TONS of Invalid account nam

Re: Ledger Hackathon next month?

2016-10-30 Thread Martin Blais
It's a bit stretched, but I'll be in the bay area 12/5 and 12/6, working in the day, but if it's at night I'd try to show up. Wouldn't mind helping out with Python support and meeting people. LMK, On Sat, Oct 29, 2016 at 5:05 PM, John Wiegley wrote: > Hi Ledger users, > > Alexis and I were thi

Re: How should dividend transactions be formatted?

2016-10-11 Thread Martin Blais
It's the same Conceptually just a row in a relational table Metadata, account name, whatever The only thing that matters is that you can select the rows you want to calculate aggregations On Oct 11, 2016 23:48, "Martin Michlmayr" wrote: > * James Blachly [2016-10-11 19:30]: > > I have fixed thi

Re: How should dividend transactions be formatted?

2016-10-11 Thread Martin Blais
I put mine in the account name itself., e.g. Income:US:Broker:Main:VTI:Dividend On Tue, Oct 11, 2016 at 10:30 PM, James Blachly wrote: > Background: When using ledger-autosync with OFX files from Fidelity, > non-reinvested dividend transactions are not formatted correctly: > https://github.com/

Re: How to handle bank transfer delays

2016-09-14 Thread Martin Blais
support a simple automatic scheme for moving things to temporary accounts and some syntax support for it. We can have our cake and eat it too. On 9/14/16 7:18 AM, Martin Blais wrote: > >> As mentioned previously, this may leave one with a non-zero trial balance >> at date 9/1

Re: How to handle bank transfer delays

2016-09-14 Thread Martin Blais
As mentioned previously, this may leave one with a non-zero trial balance at date 9/11. Some people may not care. I don't like the idea of a balance sheet with missing amounts, especially on days with large transfers. On Mon, Sep 12, 2016 at 12:06 PM, Simon Michael wrote: > I use posting dates,

Re: How to handle bank transfer delays

2016-09-11 Thread Martin Blais
the scope of my own finances > Bank1:account1 -> Bank2:account2, not with the outside world so hopefully > there is not so much additional work neccessary. > > > Am Sonntag, 11. September 2016 01:49:31 UTC+2 schrieb Martin Blais: >> >> That problem has been discussed befo

Re: How to handle bank transfer delays

2016-09-10 Thread Martin Blais
That problem has been discussed before on the list; look for "settlement date" in the archives, both in the context of Ledger and Beancount. There's no implicit solution, but you can explicitly move the funds "virtually" to a temporary account as you describe, that works, it's a bit verbose. The t

Re: How to use ledger in my (unusual) workflow?

2016-08-07 Thread Martin Blais
e from the online statement for > the final one. > > Best, > > Alexandre > Sent from my iPhone > > On 6 de ago de 2016, at 01:46, Martin Blais wrote: > > On Fri, Aug 5, 2016 at 4:39 PM, Alexandre Rademaker > wrote: > >> >> Maybe tomorrow you can be

Re: ledger-autosync: CSV support

2016-08-07 Thread Martin Blais
probably not needed for eg journal or timeclock files. > > For CSV specifically, I'm thinking the position marker will be the last > CSV record processed. It could be elaborated later to consider timestamps, > checksums etc. if needed. > > > > > > On 8/6/16 10:19 PM

Re: ledger-autosync: CSV support

2016-08-07 Thread Martin Blais
On Sun, Aug 7, 2016 at 1:19 AM, Erik Hetzner wrote: > Hi Martin, > > On Sat, 06 Aug 2016 21:16:40 -0700, > Martin Blais wrote: > > > > > > Storing a checksum for the imported row suffers from the problem that if > > the user does not immediately copy t

Re: ledger-autosync: CSV support

2016-08-06 Thread Martin Blais
On Wed, Aug 3, 2016 at 1:44 AM, Erik Hetzner wrote: > Hi all, > > I have added some basic CSV support to ledger-autosync. It has not been > released > on pypi, but is available currently via source on gitlab and github. > > The features works much like the existing OFX file support in > ledger-au

Re: Trial balance from ledger

2016-08-06 Thread Martin Blais
On Sat, Aug 6, 2016 at 8:20 PM, Simon Michael wrote: > On 8/5/16 10:31 PM, Vikas Rawal wrote: > >> My auditor, who does not use ledger, wants me to give him trial balances. >> How can I create trial balance from ledger? >> > > Going by https://en.wikipedia.org/wiki/Trial_balance , I think this is

Re: How to use ledger in my (unusual) workflow?

2016-08-05 Thread Martin Blais
On Fri, Aug 5, 2016 at 4:39 PM, Alexandre Rademaker wrote: > > Maybe tomorrow you can be especially motivated to write, leaving ideas, > who knows! I would appreciate some thoughts! ;-) > > One of my nightmares is reimbursements. Every travel that I make for a > conference start with the trip app

Re: Does anyone have a hledger to beancount converter?

2016-06-13 Thread Martin Blais
Beancount doesn't convert from ledger nor hledger. I set out to write a converter at some point but I couldn't get the ledger Python API working quickly and on Mac and Linux and so I gave up. one could write a ledger/hledger parser to do this, would be another idea. Note that if you use beancount

Re: Verify account balance from bank statement

2016-06-02 Thread Martin Blais
On Thu, Jun 2, 2016 at 7:17 AM, Ben Finney wrote: > Martin Blais writes: > > > The problem here is that if you organize your transactions by account > > as in the above, some of the postings will have applied before their > > due date. > > Right. As was said befo

Re: Verify account balance from bank statement

2016-06-02 Thread Martin Blais
On Thu, Jun 2, 2016 at 5:51 PM, Simon Michael wrote: > On 6/2/16 4:17 AM, Ben Finney wrote: > >> Martin Blais writes: >> >>> But this can be fixed: someone could implement a second processing >>> pass in Ledger and accumulate the balances in date ord

Re: Verify account balance from bank statement

2016-06-01 Thread Martin Blais
On Wed, Jun 1, 2016 at 5:53 AM, Chris Bennett wrote: > Thanks Martin > > 1) I manage to maintain sorted order for all transactions of bank > accounts, and my balance assertion at open is at top, balance > assertion at close is at bottom. Works well for my workflow. > > 2) I was aware of the bean

Re: Verify account balance from bank statement

2016-05-31 Thread Martin Blais
On Mon, May 30, 2016 at 6:45 PM, Ben Finney wrote: > Martin Blais writes: > > > 1. AFAIK in Ledger this will only work if you keep your entries in > > sorted order for each account, which I think is not always possible > > (think of a transaction which posts to two ac

Re: Verify account balance from bank statement

2016-05-30 Thread Martin Blais
Two notes: 1. AFAIK in Ledger this will only work if you keep your entries in sorted order for each account, which I think is not always possible (think of a transaction which posts to two accounts each of which has balance assertions, e.g. a transfer between checking and savings account). I think

Re: Keeping track of per-payee meta-data with Ledger

2016-05-17 Thread Martin Blais
IMO you're going about this the wrong way: By double-posting to another Income account, you're screwing up your income statement - "net income" won't produce the correct amount since you're posting twice the same amounts. You're using the wrong solution by generating postings where all you really n

Re: Charts software for ledger?

2016-04-26 Thread Martin Blais
On Tue, Apr 26, 2016 at 5:18 AM, Manuel Amador (Rudd-O) wrote: > On 04/22/2016 11:03 AM, Lifepillar wrote: > > > > I don't know whether this might fit what you're looking after, but the > > approach I have been using for a while (and which I am satisfied with) is > > to let Ledger output the data

Re: Charts software for ledger?

2016-04-22 Thread Martin Blais
On Wed, Apr 20, 2016 at 6:55 PM, Manuel Amador (Rudd-O) wrote: > On 04/20/2016 09:00 PM, Craig Earls wrote: > > Since i have never gotten python to work without segfaults i cant answer > > After writing a small app that iterates through Ledger transactions and > plots them, it has become exceedin

Re: Using ledger for shared expenses

2016-04-22 Thread Martin Blais
On Fri, Apr 22, 2016 at 1:59 AM, Erik Hetzner wrote: > Hi Martin, > > A few quick points: > > On Thu, 21 Apr 2016 13:33:02 -0700, > Martin Blais wrote: > > > > > […] > > > 2016/01/01 * "Paying the rent" > > Assets:Bank:Checking

Re: Using ledger for shared expenses

2016-04-21 Thread Martin Blais
On Tue, Apr 19, 2016 at 10:52 AM, Sébastien Gross wrote: > Hi there, > > This might be an ultra-classic use-case of ledger here I am facing. > > Let's plot the scene: > > > - They have their own bank account (Alice and Bob) and a Join account > It's "joint", not "join". > > - Alice and Bob ren

Re: ledger Python balances at date?

2016-04-20 Thread Martin Blais
For plotting net worth, you don't need every day, every week or every month is plenty sufficient. And you'll have to reconcile all of these to a single currency. Given how fast Ledger is, it's conceivable to run a loop and make multiple invocations of the binary for each week and parse its output

Re: Charts software for ledger?

2016-04-20 Thread Martin Blais
On Wed, Apr 20, 2016 at 3:43 PM, Manuel Amador (Rudd-O) wrote: > Hi! I'm looking for a program that will help me chart my net worth and > other such things such as expenses. > > The few programs I have found have deplorable installation instructions > ("run this program, it will download some my

Beancount Updates - 2016-03-20

2016-03-20 Thread Martin Blais
Detailed changes in Beancount from 2016-02-16 to 2016-03-20: 2016-03-20 - Implemented beancount.ingest.importers.regexp and beancount.ingest.importers.config mixin classes to help support functionality which used to be available in LedgerHub. - Removed the temporary beancount.ingest

Re: LedgerHub is officially dead; revamped code has been merged into Beancount

2016-03-20 Thread Martin Blais
ount.ingest" package: https://bitbucket.org/blais/beancount/src/tip/src/python/beancount/ingest/ Comments welcome, On Mon, Feb 22, 2016 at 12:25 AM, Martin Blais wrote: > > Merged LedgerHub back into beancount under a new "beancount.ingest" > package. >

Re: twitter tweaks

2016-03-20 Thread Martin Blais
The PTA website looks really nice. Kudos :-) On Sun, Mar 20, 2016 at 8:07 PM, Simon Michael wrote: > G'day all. FYI I'm going to try using hashtags a little differently in > @LedgerTips' and my own posts on Twitter. > Basically, moving from: > > #ledgercli = everything Ledger/hledger/Beancount/

Re: Understanding the valuation function and the market function

2016-03-20 Thread Martin Blais
rrency conversions, the Trading Accounts (search the mailing-list for a link) method can be used; I'm already handling this automatically in Beancount but I'm planning to make this simpler and give the user more control over these by automating the insertion of Trading Accounts postings t

Re: Understanding the valuation function and the market function

2016-03-19 Thread Martin Blais
Why are you trying to do this? Can you provide context... what's the use case? On Sat, Mar 19, 2016 at 3:58 PM, Jakob Mattsson wrote: > Thanks, -H gives me the output I expected in this example! > > Now, the problem is that I don't want to value ALL commodities at > their acquisition price, on

Re: XML import

2016-03-13 Thread Martin Blais
6 at 8:45:12 PM UTC+1, Martin Blais wrote: >> >> Ralf: Did you ensure your XML file has a proper processing instruction? >> i.e., does it begin, on its very first line, with "> >> >> On Sun, Mar 13, 2016 at 3:39 PM, Ralf Ebert wrote: >> >>> This

Re: XML import

2016-03-13 Thread Martin Blais
Ralf: Did you ensure your XML file has a proper processing instruction? i.e., does it begin, on its very first line, with " wrote: > This does not seem to happen in v3.1.1: > > While parsing file "ledger.xml", line 3: > Error: Unexpected whitespace at beginning of line > While parsing file "ledger

Re: Valued inventory with transformations

2016-02-28 Thread Martin Blais
On Sat, Feb 27, 2016 at 8:06 AM, Antonio A. Carrillo Hernández < antonio.a.carri...@gmail.com> wrote: > Hello. > > I'm trying to implement (abuse?) with ledger an inventory system with > valued goods and I also want to let it 'transform' (kind of manufacturing) > the commodities while maintaining

Re: Related accounts and running totals

2016-02-28 Thread Martin Blais
So much to say, so little time. Here: the correct way to do this is to track this in a separate account, like this: http://furius.ca/beancount/doc/shared Another way is for you to pay all the expenses and "bill" your roommate by creating and maintaining him/her a dedicated liabilities account. Yo

Beancount Updates - 2016-02-16

2016-02-21 Thread Martin Blais
Here's all the changes that occurred in Beancount since 12/13/15 to 2/22/16 (now). 2016-02-22 - Merged LedgerHub back into beancount under a new "beancount.ingest" package. The new protocol for importers can be read at: /home/blais/p/repos/beancount1/src/python/beancount/ingest/import

LedgerHub is officially dead; revamped code has been merged into Beancount

2016-02-21 Thread Martin Blais
Merged LedgerHub back into beancount under a new "beancount.ingest" package. The new protocol for importers can be read at: /home/blais/p/repos/beancount1/src/python/beancount/ingest/importer.py There are three new scripts: bean-identify bean-extract bean-file

Re: ANN: plaintextaccounting.org, a new site for ledger-likes

2016-02-18 Thread Martin Blais
I can see how that makes sense in theory but in practice it'll probably end up only adding one more mailing-list to the To: field and users will still post general CLI accounting questions on the Ledger list. Not convinced it'll actually improve the crosstalk situation much. In any case, I'm indiff

Re: new docs site, anyone ?

2016-02-14 Thread Martin Blais
On Sun, Feb 14, 2016 at 4:50 AM, John Wiegley wrote: > >>>>> Martin Blais writes: > > > You can write the text in Emacs and import it later on when you > reconnect if > > you're stuck on a flight or a train, as John mentions (how often does > that &

Re: new docs site, anyone ?

2016-02-12 Thread Martin Blais
On Fri, Feb 12, 2016 at 11:21 PM, Martin Blais wrote: > On Fri, Feb 12, 2016 at 7:49 PM, Ben Finney > wrote: > >> Martin Blais writes: >> >> > On Wed, Feb 10, 2016 at 1:48 AM, Dominik Aumayr >> wrote: >> > >> >

Re: Resetting income/expense accounts to zero yearly..

2016-02-12 Thread Martin Blais
On Fri, Feb 12, 2016 at 8:53 PM, Chris Bennett wrote: > > The feature I thought for this is the ability to add an assertion over an > > arbitrary period of time. > > This is related to budgeting, to some extent. > > For example, you should be able to say "assert that between this date and > > tha

Re: new docs site, anyone ?

2016-02-12 Thread Martin Blais
On Fri, Feb 12, 2016 at 7:49 PM, Ben Finney wrote: > Martin Blais writes: > > > On Wed, Feb 10, 2016 at 1:48 AM, Dominik Aumayr > wrote: > > > > > And I also get why people might want something else […]: > > > > > > - Ideological reasons

Re: new docs site, anyone ?

2016-02-12 Thread Martin Blais
On Wed, Feb 10, 2016 at 1:48 AM, Dominik Aumayr wrote: > As a member of the beancount community I can see how Google Docs has huge > benefits in the practical world: > > - WYSIWYG > - Editable by everyone with an account > - Changesets > - Inline-comments > - It feels like a document, not a websi

Re: new docs site, anyone ?

2016-02-09 Thread Martin Blais
On Tue, Feb 9, 2016 at 7:55 PM, John Wiegley wrote: > >>>>> Martin Blais writes: > > > What's wrong with Google Docs? > > I do not trust it stay around as long as Ledger will, and I wouldn't want > to > have to scrape and convert all the text

Re: Balance assertion for a top level account

2016-02-09 Thread Martin Blais
On Tue, Feb 9, 2016 at 8:16 AM, Chris Bennett wrote: > > I remember this coming up in the ML in the past, but can't find a > > reference. I want to refactor some of my accounts & transactions, but > > want to avoid breaking the resultant value for top level accounts > > (since the data has alrea

Re: new portal site for ledger-likes; content, naming

2016-02-09 Thread Martin Blais
On Mon, Feb 8, 2016 at 12:41 PM, Simon Michael wrote: > Continuing the "new docs site, anyone ?" thread. I've called it "portal > site" this time to suggest a landing and jump-off page, rather than a > reworking of existing docs (an interesting but separate topic). > > I have an itch and a vision

Re: new docs site, anyone ?

2016-02-08 Thread Martin Blais
On Mon, Feb 8, 2016 at 9:08 AM, John Hendy wrote: > On Sun, Feb 7, 2016 at 12:59 PM, Martin Blais wrote: > > On Sun, Feb 7, 2016 at 11:44 AM, Simon Michael wrote: > >> > >> We have a lot of docs, in various states of freshness, specific to each > >> implem

Re: Ledger and the accountancy equation

2016-02-07 Thread Martin Blais
my sh*t together and actually finish it, so I can call the docs "finished." That might feel good. On Sun, Feb 7, 2016 at 6:26 AM, Stefano Zacchiroli wrote: > On Sat, Feb 06, 2016 at 05:25:12PM -0500, Martin Blais wrote: > > The last thing is: If you read an accounting text, you ne

Re: new docs site, anyone ?

2016-02-07 Thread Martin Blais
Actually I'd argue that would be "late Gen-X pre-Millenial". For Millenials you'd have to stream a self-destructing 3s video clip on a cell phone. On Sun, Feb 7, 2016 at 1:31 PM, Craig Earls wrote: > If we really wanted to make it easy to find info we could ask john about a > name change. "Ledg

Re: new docs site, anyone ?

2016-02-07 Thread Martin Blais
+1 It's like golang for Go On Sun, Feb 7, 2016 at 1:48 PM, nx wrote: > I always have good luck using "ledger cli" in the search terms. > > On Sun, Feb 7, 2016 at 1:31 PM Craig Earls wrote: > >> If we really wanted to make it easy to find info we could ask john about >> a name change. "Ledger"

Re: new docs site, anyone ?

2016-02-07 Thread Martin Blais
On Sun, Feb 7, 2016 at 11:44 AM, Simon Michael wrote: > We have a lot of docs, in various states of freshness, specific to each > implementation. Also many informative blog and mail list posts. Much of > this is hard to find. > Is it? Reading Stefano's recent ledger list post, I think, not for

Re: Ledger and the accountancy equation

2016-02-06 Thread Martin Blais
Save yourself some pain: Flush your brain from the "debit" and "credit" terminology. Your have accounts. Period. All accounts are treated the same from the calculation point of view, that is, amounts get "posted" to them. Think: the number gets added to the balance at that date. The balance is sim

Re: Getting started; assigning accounts to bank .csv data

2016-02-04 Thread Martin Blais
On Thu, Feb 4, 2016 at 12:41 PM, Simon Michael wrote: > Hi Stefano, I agree. Many things should be more straightforward and > better documented. > > I think we could pick out a few common tasks to focus our > tool-building/documenting efforts on. Eg: > > 1. importing bank data and CSV generally.

Re: Getting started; assigning accounts to bank .csv data

2016-02-03 Thread Martin Blais
that this linkage can probably be done by the > computer. > > > > > >> >> Michael >> >> > On 4 Feb 2016, at 15:26, John Hendy wrote: >> > >> > On Tue, Feb 2, 2016 at 10:07 PM, Martin Blais wrote: >> >> On Tue, Feb 2,

Re: Getting started; assigning accounts to bank .csv data

2016-02-03 Thread Martin Blais
John Hendy wrote: > > > > On Tue, Feb 2, 2016 at 10:07 PM, Martin Blais wrote: > >> On Tue, Feb 2, 2016 at 10:48 PM, John Hendy wrote: > >>> > >>> On Monday, February 1, 2016 at 10:41:26 PM UTC-6, Martin Blais wrote: > >>>> > >>&

Re: Getting started; assigning accounts to bank .csv data

2016-02-03 Thread Martin Blais
On Wed, Feb 3, 2016 at 11:48 AM, Erik Hetzner wrote: > On Tue, 02 Feb 2016 19:48:06 -0800, > John Hendy wrote: > > > > > > > > On Monday, February 1, 2016 at 10:41:26 PM UTC-6, Martin Blais wrote: > > > > > > - Merging new transactions with pre

Re: Getting started; assigning accounts to bank .csv data

2016-02-02 Thread Martin Blais
BTW, here's an auto-generated example file that looks similar to how I organize mine using org-mode: https://bitbucket.org/blais/beancount/src/tip/examples/example.beancount On Tue, Feb 2, 2016 at 11:07 PM, Martin Blais wrote: > On Tue, Feb 2, 2016 at 10:48 PM, John Hendy wrote:

Re: Getting started; assigning accounts to bank .csv data

2016-02-02 Thread Martin Blais
On Tue, Feb 2, 2016 at 10:48 PM, John Hendy wrote: > > On Monday, February 1, 2016 at 10:41:26 PM UTC-6, Martin Blais wrote: > >> On Mon, Feb 1, 2016 at 1:13 PM, John Hendy wrote: >> >>> Greetings, >>> >>> >>> It's a fresh year and I&

Re: Getting started; assigning accounts to bank .csv data

2016-02-01 Thread Martin Blais
On Mon, Feb 1, 2016 at 1:13 PM, John Hendy wrote: > Greetings, > > > It's a fresh year and I've been seeing ledger come up on the Org-mode > mailing list for some time and decided to give it a try. I'm coming > from Moneydance and just wanted to get away from the tedious GUI > method of adding in

Re: virtual postings

2016-01-09 Thread Martin Blais
On Thu, Jan 7, 2016 at 1:26 PM, Simon Michael wrote: > Re virtual postings (I think of them as (non-balanced) and > [separately-balanced] postings): I think it's good to allow them - the > non-balanced kind, at least - as an escape valve, since most users are > not expert in double entry bookkeep

Fwd: Re-naming accounts..

2016-01-05 Thread Martin Blais
On Mon, Jan 4, 2016 at 2:15 PM, John Wiegley wrote: > >>>>> Martin Blais writes: > > > Stay away from virtual postings, they break the accounting equation. You > > never need to use them, period. > > I disagree with this statement. I've used them t

Re: Managing combined books for spouses

2016-01-04 Thread Martin Blais
On Mon, Jan 4, 2016 at 4:51 AM, Stefano Zacchiroli wrote: > On Sun, Jan 03, 2016 at 10:33:32AM -0800, Martin Michlmayr wrote: > > - However, there are some things that belong to a specific person. > >Specifically, I track frequent flyer miles and other reward points > >and for that I cre

Re: Re-naming accounts..

2016-01-04 Thread Martin Blais
Stay away from virtual postings, they break the accounting equation. You never need to use them, period. They are a crutch that misleads many into not figuring things out. Beancount doesn't even support them and I've doing everything without so far without problems (though it has forced me to learn

Re: Re-naming accounts..

2016-01-02 Thread Martin Blais
You could easly write a wrapper script that applies your renames to another file and then runs your report on that. Always generate & delete the intermediate file. Beancount's approach would be different: A plugin would be used to rewrite the account names in the transactions data structures direc

GnuCash interest

2015-12-16 Thread Martin Blais
Interesting trend... https://www.google.com/trends/explore#q=gnucash (Before you bother trying: neither Ledger-cli nor Beancount register enough traffic to show up.) -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group

Beancount Updates - 2015-12-13

2015-12-14 Thread Martin Blais
It has been a while since I've sent an update. Here's all the changes that occurred in Beancount since 8/30 to 12/13 (now). 2015-12-13 - Fixed a minor bug with the loader cache whereby errors weren't getting emitted on a cache hit (Issue #92). 2015-12-12 - Made bean-web's --incognit

Re: Beancount Updates 2015-02-01

2015-12-08 Thread Martin Blais
Dec 6, 2015 at 10:13 PM, wrote: > On Monday, February 2, 2015 at 10:00:18 PM UTC-8, Martin Blais wrote: >> >> On Tue, Feb 3, 2015 at 12:09 AM, wrote: >> >>> One question: previously, if I wrote to the beancount file that a >>> bean-web process was already us

Re: Plotting my assets value - gets in the way

2015-11-18 Thread Martin Blais
On Mon, Nov 16, 2015 at 4:15 AM, Metin Akat wrote: > Hello and thanks for ledger - it's a great piece of software > > I have mostly completed my migration from gnucash, including the fancy > charts (a custom script that parses the outputs of "reg" and inserts them > into canvas.js > But for my la

Re: contra asset accounts

2015-11-06 Thread Martin Blais
On Fri, Nov 6, 2015 at 12:29 PM, danc2 wrote: > Hi all, does ledger support contra asset accounts? > > I need to write off a bad loan I made. I'm not an accountant, but it looks > like using a contra asset account is the way to handle these. Using an > expense account works (thanks sm!), but I'd

Re: question on multiple currency/invoicing

2015-10-31 Thread Martin Blais
On Sat, Oct 31, 2015 at 7:33 PM, Lifepillar wrote: > On 2015-10-31 21:00:00 +0000, Martin Blais said: > >> >> 2009/06/03 Exchange cash >>Assets:Cash £564.91 >>Assets:CashXCD -2,730.00 >>Income:C

Re: question on multiple currency/invoicing

2015-10-31 Thread Martin Blais
On Sat, Oct 31, 2015 at 4:39 PM, Lifepillar wrote: > The problem is this: My accounts (expenses etc) are mostly in Indian >> Rupees. >> I invoice the client in GBP. The money comes into the bank in India and >> get >> converted to the Indian Rupee at a conversion rate of the day it arrives >> in.

Re: Automated transaction with variable amount

2015-10-28 Thread Martin Blais
On Wed, Oct 28, 2015 at 2:32 PM, Rick F wrote: > Sorry I didn't see this sooner. This is the same problem I have when > closing my books for the year. I close out all of my expense and income > accounts and transfer the balance into retained earnings. > In my view, you shouldn't have to do thi

Re: Beancount Updates - 2015-06-29

2015-10-08 Thread Martin Blais
e how you can end up without setuptools installed > with a modern python3 installation. I think as long as you require that the > user has pip3 installed, through whatever means is appropriate to their > OS/environment, it'll pull in setuptools. > > Gary > > On Wednesday, Oc

Re: Beancount Updates - 2015-06-29

2015-10-07 Thread Martin Blais
7, 2015 at 6:44 PM, Gary Peck wrote: > > > On Thursday, July 2, 2015 at 3:14:33 PM UTC-7, Martin Blais wrote: >> >> On Thu, Jul 2, 2015 at 3:23 PM, Martin Blais wrote: >> >>> >>> I'd been having problems with setup.py in that it's supposed to

Re: Can I filter by Transaction, instead of Posting?

2015-09-27 Thread Martin Blais
Hi Michael, I don't think you're going in the right direction to achieve your goal of calculating your capital gains on Bitcoins using the FIFO method. Having transactions available from Ledger is not what you're after, because finding the postings corresponding to the postings not in Bitcoins wou

  1   2   3   4   5   >