Re: Decimal(): understanding, syntax

2020-08-07 Thread Martin Blais
On Sat, Aug 8, 2020 at 12:31 AM Daniele Nicolodi wrote: > On 07/08/2020 15:49, nugget wrote: > > Hi all, > > i get these very long decimal numbers when using the Decimal() method. > > See my minimal example. How can I fix this? > > What is exactly the problem you want to "fix"? > > 1/9 is a

Re: Linear git history

2020-08-02 Thread Martin Blais
I'm indifferent (I use log --graph so it's always clear enough to me). I can rebase in the future if you prefer. On Sun, Aug 2, 2020 at 9:41 PM Martin Michlmayr wrote: > * Daniele Nicolodi [2020-08-02 16:16]: > > I don't have much experience with Github managed projects, but it seems > > that

ameritrade2beancount.py

2020-08-02 Thread Martin Blais
I just shared / checked-in some code that can use the Ameritrade API and convert a list of transactions to Beancount: https://github.com/blais/ameritrade/commit/1b5ddae18ba3abbff19a9538e2e4f1cab3fed84a This has worked a lot better for me than parsing the CSV downloads they provide (I switched at

Re: Gnucash->Beancount: Retained Losses missing from beancount balance sheet

2020-08-01 Thread Martin Blais
when I explore the FILE.beancount using 'bean-web > FILE.beancount' and followed by localhost:8080 in the browser, the balance > sheet on web-browser works correctly and does not have this problem. > > Thanks, > Anand > > On Saturday, August 1, 2020 at 5:14:22 PM UTC-5, Martin Blais wro

Re: Gnucash->Beancount: Retained Losses missing from beancount balance sheet

2020-08-01 Thread Martin Blais
How are you producing your balance sheet? What tool and options are you using? On Sat, Aug 1, 2020 at 5:56 PM Anand Gupta wrote: > After converting from gnucash to beancount I compared the balance sheet > from both. > > It turns out that Gnucash automatically computes a line item in Equity >

Re: bean-price has now moved to https://github.com/beancount/beanprice

2020-07-26 Thread Martin Blais
from Fava installations. > I also use only packaged stable version. > > On Sunday, July 26, 2020 at 5:24:39 AM UTC+3 bl...@furius.ca wrote: > >> On Sat, Jul 25, 2020 at 4:18 PM Daniele Nicolodi >> wrote: >> >>> On 25/07/2020 13:14, Martin Blais wrote: >&g

Re: bean-price has now moved to https://github.com/beancount/beanprice

2020-07-25 Thread Martin Blais
On Sat, Jul 25, 2020 at 4:18 PM Daniele Nicolodi wrote: > On 25/07/2020 13:14, Martin Blais wrote: > > On Sat, Jul 25, 2020 at 2:23 PM Daniele Nicolodi > Would it make sense to have v2 depend on the new project instead that > > having the code in two places? beancount

Re: bean-price has now moved to https://github.com/beancount/beanprice

2020-07-25 Thread Martin Blais
On Sat, Jul 25, 2020 at 2:23 PM Daniele Nicolodi wrote: > On 25/07/2020 11:14, Martin Blais wrote: > > Hi, > > As discussed prior on this mailing-list, bean-price has now moved away > > from the beancount repository to a new repository under the same > > umbrella

bean-price has now moved to https://github.com/beancount/beanprice

2020-07-25 Thread Martin Blais
Hi, As discussed prior on this mailing-list, bean-price has now moved away from the beancount repository to a new repository under the same umbrella organization: https://github.com/beancount/beanprice The code has been removed from beancount/master, yet it lingers in beancount/v2 (where the

Visidata

2020-07-25 Thread Martin Blais
Hi, I discovered a pretty awesome tool yesterday related to text files / tables / text processing in the console, I thought I'd highlight it here since I suspect a lot of you might be interested in this. I've had it in the back of my mind to build a renderer / visualizer for CSV files for curses,

Re: Goodbye bean-web, bean-bake, bean-report. What about bean-price?

2020-07-25 Thread Martin Blais
On Fri, Jul 17, 2020 at 3:16 AM Martin Michlmayr wrote: > * Martin Blais [2020-07-05 23:04]: > > I just deleted: > > - bean-report (use bean-query or Fava) > > I'm not sure that's a great idea. While bean-report was a second > class citizen compared to bean-query, i

Re: Beancount for cryptocurrencies: Portfolio value with API prices

2020-07-25 Thread Martin Blais
Thanks for sharing these Kirill, added to the contrib document. On Mon, Jun 1, 2020 at 7:44 AM Kirill Goncharov wrote: > Hi, > > I want to share some tools that I created. > > Beancount cryptoassets: https://github.com/xuhcc/beancount-cryptoassets > This package contains price sources for

Re: Tracking different ways of accounting at the same time?

2020-07-25 Thread Martin Blais
On Wed, May 27, 2020 at 3:48 PM James Cook wrote: > Disclaimer: If I were a practical person, the below would be a > non-issue because I would simply track my income in currency and leave > it at that. Please assume at least part of my motivation is just > having fun tracking the world the way I

Re: Beancount v3 - Constraints & budgeting

2020-07-24 Thread Martin Blais
On Mon, Jul 6, 2020 at 7:31 AM Justus Pendleton wrote: > The v3 goals & design document expresses an openness to some kind of > support for budgeting semantics. > > Beancount does not support budgeting constraints explicitly, but I think >> it would be possible to extend the balance assertion

Re: Proposal on Cost Basis by Mark Lodato

2020-07-23 Thread Martin Blais
On Wed, Jul 22, 2020 at 10:07 AM Justus Pendleton wrote: > On Wednesday, July 22, 2020 at 3:53:33 PM UTC+7 Andrzej wrote: > >> >> As one point of data, I would like to track both adjusted and unadjusted >> cost basis (in scripts, so it can be some low level representation). >> > FWIW, I'm in a

Re: Proposal on Cost Basis by Mark Lodato

2020-07-23 Thread Martin Blais
I think both of these approaches are sensible. Doing it at report time has the advantage of keeping the transactions free of cruft. A con though is that you can't just leverage an aggregation (via SQL) to compute what you need. Doing it by modifying transactions explicitly rebooks the bits and

Re: Querying event status as of certain date (more automation, categorizing based on home/away status)?

2020-07-21 Thread Martin Blais
In v3, the different directives will be exposed as separate data tables with corresponding fields. I use Event directives to roughly track my location (event I name "location"), mainly for the purpose of immigration and other government eligibility stuff. I use them for address changes, and a

Proposal on Cost Basis by Mark Lodato

2020-07-21 Thread Martin Blais
Just posting this a little more widely in case people missed the original thread. Mark Lodato and I are having a design discussion on reviewing cost basis for v3 in order to handle commissions right (using the "adjusted" cost basis). Multiple options being discussed:

Re: Automation being the key to success (aka Know Thyself) featuring ofxclient and Selenium WebDriver

2020-07-18 Thread Martin Blais
On Sat, Jul 18, 2020 at 4:34 PM TRS-80 wrote: > > On 2020-07-16 22:32, Martin Blais wrote: > > https://github.com/blais/baskets > > Well, I suppose this thread was worth it, if only to flush this > heretofore unknown project out from the depths of Martin's secret > labo

Re: Making Beancount Mode Great (I mean, Minor) Again

2020-07-18 Thread Martin Blais
I don't remember the details, what I do remember is that Stefan said to me it would be better as a minor mode along with a bunch of rationale, and that registered, and then someone did it, and so IIRC I just waved at it and let it happen; all I can remember, frankly. Like TRS-80, I did feel a bit

Re: Beancount - V3: G... - Are you considering fixing beancount'...

2020-07-18 Thread Martin Blais
roups.google.com/g/beancount/c/B2hxF6N7y6s > <https://www.google.com/url?q=https://groups.google.com/g/beancount/c/B2hxF6N7y6s=D=1594777902234000=AFQjCNFU7GdS-WOgqjeSXxSrrqnEDcxjIQ> > [image: User profile picture Martin Blais] Martin Blais > Yes, precisely. I have a way to do this, but it's n

Re: Automation being the key to success (aka Know Thyself) featuring ofxclient and Selenium WebDriver

2020-07-17 Thread Martin Blais
> > Looking inside the code I saw that in the setup.py (which give me the > error) you are referring to: > > name=“ameritrade” > > You didn’t mixed the projects, did you? ;-) > > > Regards. > > Tono. > > > > On 17 Jul 2020, at 04:32, Martin Blais wrote:

Re: Automation being the key to success (aka Know Thyself) featuring ofxclient and Selenium WebDriver

2020-07-16 Thread Martin Blais
TRS-80: I applaud you for automating your downloads using Selenium. It works really quite well and I'm using it myself to download ETF basket compositions (https://github.com/blais/baskets; warning: this isn't polished code). It works well, but I concur with Justus: if you don't run it very

Re: Beancount v3

2020-07-14 Thread Martin Blais
On Tue, Jul 14, 2020 at 8:50 AM Stefano Zacchiroli wrote: > Thanks for your feedback Martin. > > On Tue, Jul 14, 2020 at 01:33:34AM -0400, Martin Blais wrote: > > Yes, that should be the goal, though I have in mind a perhaps more > > restricted version where, like to

Re: Goodbye bean-web, bean-bake, bean-report. What about bean-price?

2020-07-14 Thread Martin Blais
Thanks everyone, this is useful. On Fri, Jul 10, 2020 at 7:28 PM Tilo Schwarz wrote: > Same here, running bean-price manually from time to time. > > Best Regards, > Tilo > > > > On Fri, Jul 10, 2020 at 7:44 AM Zhen Cheng wrote: > >> Same here. A cron job runs bean-price daily, with customed

Re: Beancount v3

2020-07-14 Thread Martin Blais
On Wed, Jul 8, 2020 at 2:39 PM wrote: > After reading through the v3 design document, once thing that wasn't > clear to me is whether it will be possible to access just the parser > without running booking from the exposed API. > > Today, I have a workflow which: > 1) Reads in my existing

Re: Beancount v3

2020-07-13 Thread Martin Blais
s if they were databases, for instance. On Saturday, July 4, 2020 at 8:34:50 AM UTC+2, Martin Blais wrote: >> >> Hi, >> Today I'm starting development on Beancount v3. >> >> This is going to be a pretty big change and will take a whil

Re: Beancount v3

2020-07-13 Thread Martin Blais
On Mon, Jul 6, 2020 at 6:18 PM Daniele Nicolodi wrote: > On 06/07/2020 03:00, Stefano Zacchiroli wrote: > > You mention you're gonna keep using flex/bison, which is for sure well > > known technology. However, the expressivity of bison grammars make it > > kinda hard to hack on existing parsers,

Re: Beancount v3

2020-07-13 Thread Martin Blais
On Mon, Jul 6, 2020 at 10:13 AM Stefano Zacchiroli wrote: > On Sat, Jul 04, 2020 at 11:48:00PM -0700, Justus Pendleton wrote: > > * Have a "bugmaster". This is a community member who isn't even > necessarily > > that acquainted with the code base (perhaps not even technical at all) > but > >

Re: Beancount v3

2020-07-13 Thread Martin Blais
On Mon, Jul 6, 2020 at 7:58 AM Stefano Zacchiroli wrote: > On Sat, Jul 04, 2020 at 03:09:34AM -0700, Andre Engelbrecht wrote: > > *Disclosure*: I've converted a couple of people from using webapps or > > spreadsheets to use ledger. They love ledger despite some of the > > nuance. I've been

Re: Beancount v3

2020-07-13 Thread Martin Blais
On Mon, Jul 6, 2020 at 5:00 AM Stefano Zacchiroli wrote: > On Sat, Jul 04, 2020 at 02:34:35AM -0400, Martin Blais wrote: > > Today I'm starting development on Beancount v3. > > > > This is going to be a pretty big change and will take a while. > > I've laid down t

Re: Is anyone using non UTF-8 encoded input files?

2020-07-10 Thread Martin Blais
TL;DR - UTF-8 is likely sufficient, but what do I know, I operate only in English and French... - v3 will support UTF-8 everywhere in the syntax, via RE/flex - no point in changing something so deep in v2 at this stage, it'll just cause a lot of flex-related bugs on something we're getting rid of

Re: Beancount v3

2020-07-06 Thread Martin Blais
igure out this detail later. In theory if we can build binaries, we should be able to package it. > On Saturday, July 4, 2020 at 9:34:50 AM UTC+3, Martin Blais wrote: >> >> Hi, >> Today I'm starting development on Beancount v3. >> >> This is going to be a pret

Re: Beancount v3

2020-07-06 Thread Martin Blais
On Sat, Jul 4, 2020 at 3:27 AM Martin Michlmayr wrote: > * Martin Blais [2020-07-04 02:34]: > > This is going to be a pretty big change and will take a while. > > I've laid down the details in this document: > > > https://docs.google.com/document/d/1qPdNXaz5zuDQ8M9uoZF

Re: Goodbye bean-web, bean-bake, bean-report. What about bean-price?

2020-07-06 Thread Martin Blais
n. I >> chose beancount because it's simple. >> >> The rewrite and the architecture changes in v3 may be needed to keep the >> project interesting, but v2 is good for my needs, and I don't think my >> accounting needs will change in a few decades, so I'll keep using v2.

Re: Goodbye bean-web, bean-bake, bean-report. What about bean-price?

2020-07-06 Thread Martin Blais
take a while, but at some point I'll stop development on v2 entirely. I think it might make sense for me to move bean-price to another repo in v2 and let that evolve as it may. Let me tinker with that idea for a bit. > On Monday, July 6, 2020 at 6:04:31 AM UTC+3, Martin Blais wrote: > >&g

Re: Goodbye bean-web, bean-bake, bean-report. What about bean-price?

2020-07-06 Thread Martin Blais
On Sun, Jul 5, 2020 at 11:17 PM Daniele Nicolodi wrote: > On 05/07/2020 21:04, Martin Blais wrote: > > Hi, > > A > > per > https://docs.google.com/document/d/1qPdNXaz5zuDQ8M9uoZFyyFis7hA0G55BEfhWhrVBsfc/ > > I just deleted: > > - bean-web (use Fava) > >

Goodbye bean-web, bean-bake, bean-report. What about bean-price?

2020-07-05 Thread Martin Blais
Hi, A per https://docs.google.com/document/d/1qPdNXaz5zuDQ8M9uoZFyyFis7hA0G55BEfhWhrVBsfc/ , I just deleted: - bean-web (use Fava) - bean-bake (unfortunately no replacement) - bean-report (use bean-query

Re: Beancount v3

2020-07-04 Thread Martin Blais
On Sat, Jul 4, 2020 at 1:36 PM James Cook wrote: > > > > There's a downside to the method you're using: there's no price and > mistakes will go unchecked. > > It would be more robust to use @, let Beancount do its thing, and to > write a plugin to strip the price and insert the postings. > >

Re: Beancount v3

2020-07-04 Thread Martin Blais
On Sat, Jul 4, 2020 at 10:54 AM James Cook wrote: > On Sat, 4 Jul 2020 at 06:34, Martin Blais wrote: > > Hi, > > Today I'm starting development on Beancount v3. > > > > This is going to be a pretty big change and will take a while. > > I've laid down the deta

Re: Beancount v3

2020-07-04 Thread Martin Blais
parts together as a "distribution" for "pure users" e.g. as a >> docker container or maybe other formats. >> >> I see a danger of trying to do too much. If possible I would try to have >> a smaller first step that converts over to the new archite

Beancount v3

2020-07-04 Thread Martin Blais
Hi, Today I'm starting development on Beancount v3. This is going to be a pretty big change and will take a while. I've laid down the details in this document: https://docs.google.com/document/d/1qPdNXaz5zuDQ8M9uoZFyyFis7hA0G55BEfhWhrVBsfc/

Re: Beancount Migration to Github

2020-07-02 Thread Martin Blais
On Thu, Jul 2, 2020 at 2:06 PM TRS-80 wrote: > On 2020-05-22 17:56, Martin Blais wrote: > > Dear Beancount users, > > The Beancount repository and issue tracker has been migrated to > > Github > > I know you were against it for a long time, but as you correctly poi

Re: how to balance?

2020-07-01 Thread Martin Blais
One template for creating a shared project is described here: https://docs.google.com/document/d/1FRcJqUfeAMQO6KjG94w6rF7VajMGJaFplmF1Wu0rCHY/ Basically, a dedicated ledger is created for the project. Contributions by each participation is accounted as income postings. Expenses and Assets are

Re: how to balance?

2020-07-01 Thread Martin Blais
Anthony, We're going to need much more details. First, there's only a single currency in your example, so no conversion is possible, surely you've got other transactions. How are you planning to organize this? Are planning to just track your own share of the shared investment, or are you going to

Re: Is there any Beancount user that uses the hi_IN locale?

2020-06-29 Thread Martin Blais
I think Japan also has another system, IIRC blocks of four, I don't recall the details. One of the things we might want to do for v3 is make it possible to specify the locale within Beancount itself (insulating it from its environment) and perhaps bring back the checks (simply removing the commas

Re: Export beancount ledger to PostgreSQL

2020-06-27 Thread Martin Blais
hout any treatment > to the DB. > > Thank you very much for your work. Using Beancount for a while and more > and more happy. > > Cheers. > > Tuno. > > > On 28 Jun 2020, at 00:18, Martin Blais wrote: > > > > It's already been there for a while: > > &

Re: Export beancount ledger to PostgreSQL

2020-06-27 Thread Martin Blais
It's already been there for a while: https://github.com/beancount/beancount/blob/master/beancount/scripts/sql.py The problem is that one still needs to aggregate positions together by currency and cost and so on, so it's difficult to use a regular database unless you have everything in a single

Re: Incorrect trial balance with inventory lots?

2020-06-21 Thread Martin Blais
On Mon, Jun 22, 2020 at 1:05 AM Jay Goel wrote: > Thank you for the swift response! > > re: Implicit Prices - okay, now I understand the behavior of this plugin, > which is to use market value, not book value, of inventories. In my case, I > care most about book value. I will need to read up on

Re: Incorrect trial balance with inventory lots?

2020-06-21 Thread Martin Blais
On Sun, Jun 21, 2020 at 11:42 PM wrote: > Hello! I'm a newcomer to Beancount and text-based accounting, and I'm > working on moving from spreadsheets to Beancount for my small business. I > am using "inventories" to track physical inventory - in my case, notebooks > which I make and sell. > > My

Re: Pinto: an interactive CLI for adding transactions to Beancount

2020-06-14 Thread Martin Blais
Thanks Sean, added to the contribs list. On Sun, Jun 14, 2020 at 7:57 AM wrote: > Hi all, > > I'd like to share a small Python project I've been developing on and off > over the last year or so to scratch my own itch when it comes to Beancount: > Pinto . >

Re: Release 2.3.0

2020-06-09 Thread Martin Blais
You got it. Sorry (my brain still on the Mercurial train.) On Wed, Jun 10, 2020 at 12:58 AM yegle wrote: > Hi Martin, > > Did you forgot to push the tags? > https://github.com/beancount/beancount/tree/2.3.0 is still 404. > > On Tue, Jun 9, 2020 at 9:42 PM Martin Blais wrote:

Release 2.3.0

2020-06-09 Thread Martin Blais
Hi, I just tagged master as 2.3.0. TL;DR: Not many new features, mainly small bug fixes: - There's a new --no-cache option to bean-check which disables and clears the cache - Minor performance enhancements. - Changes submitted by users to CSV importer example. Here is a full list of changes

Re: How is precision for reports determined?

2020-06-03 Thread Martin Blais
Beancount runs statistics on your inputs, and attempts to figure out the desired - tolerance (for balancing transactions and interpolation) - precision (for rendering numbers) In v3 this will get completely redesigned and better documented, it's a constant source of confusion. In the meantime I

Re: Keeping data in Spreadsheets, but using beancount

2020-05-25 Thread Martin Blais
fine. Just have your script generate text and then have Beancount process that text instead of creating your own stream of transactions. On Monday, May 25, 2020 at 3:17:37 AM UTC+2, Martin Blais wrote: >> >> I wouldn't suggest that; probably better to produce the text file from >>

Re: multiple transactions of the same commondity on the same day

2020-05-25 Thread Martin Blais
On Mon, May 25, 2020 at 9:15 AM wrote: > On Sunday, May 24, 2020 at 9:44:22 PM UTC-7, Martin Blais wrote: >> >> Just for fun I quickly added syntax for an optional time after the date >> but just for Transaction directives here: >> https://github.com/beancount

Re: multiple transactions of the same commondity on the same day

2020-05-24 Thread Martin Blais
30 runs Not even using it yet. That's an 8.7% cost on the average run time. On Sun, May 24, 2020 at 11:12 PM Martin Blais wrote: > On Wed, May 13, 2020 at 8:37 AM wrote: > >> My 401k plan applies the 'Mega Back Door' Roth conversion for me >> automatically. >>

Re: multiple transactions of the same commondity on the same day

2020-05-24 Thread Martin Blais
On Wed, May 13, 2020 at 8:37 AM wrote: > My 401k plan applies the 'Mega Back Door' Roth conversion for me > automatically. > This means that I have something like the following in my input file: > > 2020-02-04 * "CONTRIBUTION - AFTER TAX POST" > Income:Salary-5000

Re: How to track various factors in ESPP

2020-05-24 Thread Martin Blais
On Sun, May 24, 2020 at 12:12 PM Michael Jaison wrote: > Thank you Martin for your answers. > > * Discount income tax is postponed to day of sale. Even though the income >>> is earned in 2019, it is only taxable in 2020. How to account for this? >>> >> >> Do you mean that you want to recognize

Re: Keeping data in Spreadsheets, but using beancount

2020-05-24 Thread Martin Blais
I wouldn't suggest that; probably better to produce the text file from your spreadsheets via a script. Also, you can use xlrd to read Excel spreadsheets. Furthermore, it's possible to use Google sheets as well if you prefer all this stuff online, there's some examples in the codebase. On Sun,

Re: How to track various factors in ESPP

2020-05-24 Thread Martin Blais
On Sun, May 24, 2020 at 4:36 AM Michael Jaison wrote: > Most of the companies offer ESPP stock options, which has a complicated > tax implications as well. > > Example: > Grant date: 2019-01-01, Price: $100 > Vest date: 2019-06-30, Price: $110 > Discount price: $85. (15% discount on lower

Re: Beancount Migration to Github

2020-05-23 Thread Martin Blais
On Sat, May 23, 2020 at 11:53 AM Stefano Zacchiroli wrote: > Hi again Martin, > > On Fri, May 22, 2020 at 05:56:33PM -0400, Martin Blais wrote: > > The Beancount repository and issue tracker has been migrated to Github, > at > > this location: > > as far as I can t

Re: Not linking through furius.ca

2020-05-22 Thread Martin Blais
fect! Thank you! On Friday, May 22, 2020 at 6:39:18 PM UTC+3, Martin Blais wrote: >> >> Thanks to the work of Kirill Goncharov (and Dominik Aumayr's predecessor >> static codebase reference) the conversion of Google docs to HTML via >> Markdown works quite well. The

Beancount Migration to Github

2020-05-22 Thread Martin Blais
Dear Beancount users, The Beancount repository and issue tracker has been migrated to Github, at this location: http://github.com/beancount/beancount This is now the official location for Beancount source code, for further development, and for filing any new tickets and issues. Moving

Not linking through furius.ca

2020-05-22 Thread Martin Blais
Thanks to the work of Kirill Goncharov (and Dominik Aumayr's predecessor static codebase reference) the conversion of Google docs to HTML via Markdown works quite well. The final product is really slick: https://beancount.github.io/docs/. I think in terms of documentation this is the sweet spot I

Re: Beancount issues

2020-05-22 Thread Martin Blais
> On Friday, May 22, 2020 at 6:54:22 AM UTC+3, Martin Blais wrote: >> >> On Wed, May 20, 2020 at 3:45 PM Kirill Goncharov >> wrote: >> >>> If you'd prefer to move it (I didn't know it was possible to move a repo >>>> across users) you can wait, if I

Re: Beancount issues

2020-05-21 Thread Martin Blais
ncount-docs/issues/14). > > On Wednesday, May 20, 2020 at 10:11:35 PM UTC+3, Martin Blais wrote: >> >> On Wed, May 20, 2020 at 2:35 PM Kirill Goncharov >> wrote: >> >>> I'd love for you to move that repo under " >>>> http://github.com/bea

Re: Beancount issues

2020-05-20 Thread Martin Blais
On Wed, May 20, 2020 at 6:04 PM Martin Blais wrote: > On Tue, May 19, 2020 at 9:56 AM Martin Blais wrote: > >> On Tue, May 19, 2020 at 5:28 AM Martin Michlmayr wrote: >> >>> * Martin Blais [2020-05-18 04:24]: >>> > Martin: Did you want to go beyond th

Re: Beancount issues

2020-05-20 Thread Martin Blais
On Tue, May 19, 2020 at 9:56 AM Martin Blais wrote: > On Tue, May 19, 2020 at 5:28 AM Martin Michlmayr wrote: > >> * Martin Blais [2020-05-18 04:24]: >> > Martin: Did you want to go beyond this and create a mapping? >> >> I have a mapping now for some users.

Re: Beancount issues

2020-05-20 Thread Martin Blais
gt;> > > This subdirectory is not present in the beancount package downloaded from > PyPI. > Also, the documentation generator fails to read 'tools' subdirectory, I > can't figure out why. But I added documentation pages for 'loader', > 'prices' and 'web' which were missing. > St

Re: Beancount issues

2020-05-20 Thread Martin Blais
" subdirectory. Let me know if I help with anything to make this happen, > On Tuesday, May 19, 2020 at 4:57:14 PM UTC+3, Martin Blais wrote: >> >> On Tue, May 19, 2020 at 5:28 AM Martin Michlmayr wrote: >> >>> * Martin Blais [2020-05-18 04:24]: >>

Re: Beancount issues

2020-05-19 Thread Martin Blais
On Tue, May 19, 2020 at 5:28 AM Martin Michlmayr wrote: > * Martin Blais [2020-05-18 04:24]: > > Martin: Did you want to go beyond this and create a mapping? > > I have a mapping now for some users. For quite a few people I cannot > find a mapping. I think once we've done

Re: Beancount Revisited

2020-05-18 Thread Martin Blais
On Mon, May 18, 2020 at 11:05 PM Runar Petursson wrote: > > > On Sun, May 17, 2020 at 11:59 PM Martin Blais wrote: > >> On Sat, May 16, 2020 at 11:01 PM Runar Petursson wrote: >> >>> Hey Everyone (and esp Martin!), >>> >>> After over

Re: Envelope Plugin for Fava

2020-05-18 Thread Martin Blais
Thanks for sharing Brian, I've added a link to the contribs doc. On Sat, May 16, 2020 at 10:49 PM Brian Ryall wrote: > i will look into better error reporting. this is my first plugin to fava > so I am not sure what is possible. > > I do think repeating allocations would be useful (and also

Re: Airline miles: expiry and value reporter for Fava, Beancount [fava_miler]

2020-05-18 Thread Martin Blais
Thanks Red, I added a link to the contrib doc. On Wed, May 6, 2020 at 2:08 AM Red S wrote: > This is a simple but useful extension I've used for a while, and would > like to share. > > Github > pip install fava-miler

Re: Beancount issues

2020-05-18 Thread Martin Blais
Sorry I lost that thread. I just pulled it up now and looked at the tickets, looks very nice indeed, thanks for this test run Kirill. Did you do anything beyond running https://github.com/jeffwidman/bitbucket-issue-migration? I see you have your own fork. It's a bummer the author of all tickets

Re: Beancount Revisited

2020-05-17 Thread Martin Blais
On Sat, May 16, 2020 at 11:01 PM Runar Petursson wrote: > Hey Everyone (and esp Martin!), > > After over 10 years on my TODO list I've finally gotten around to > migrating to Beancount. It's Awesome! I'm glad I waited from those early > versions, as the product has really come along and is a

Re: "Purchased" leave hours

2020-05-16 Thread Martin Blais
On Sat, May 16, 2020 at 6:55 PM wrote: > New to Beancount, but already loving it! > > Automating imports from PDF statements was surprisingly straightforward. > Using subprocess.run() to calling tabula-java with the --guess flag yields > excellent results. > Thx Tabula is great indeed, though I

Re: Who Says Beancount Documentation Style is Boring !!!!

2020-05-16 Thread Martin Blais
Thanks for the nice words Vinit, it's always nice to hear from people who are enjoying the production Though the source will remain in gdocs, I'd like to integrate Kirill Goncharov's super nice conversion eventually Probably the next version (I'm already making some secret motions and steps toward

Re: Automatically adding the @ price to postings

2020-05-11 Thread Martin Blais
On Mon, May 11, 2020 at 3:29 PM jitin wrote: > Hi, > > I have postings which are something like: > > 2017-04-03 * "someone" > Income:Sales:International -42.5 USD > Equity:Drawings 2524.68 INR > Expenses:Banking:PaypalCharges > > However Benacount reports them as 4 transactions in a

Re: Documentation is now read-only

2020-05-11 Thread Martin Blais
Martin: Yes, Kirill's docs are awesome. You've got some newfound Kix power on the Beancount docs; use them wisely. On Mon, May 11, 2020 at 3:14 AM Martin Michlmayr wrote: > * Kirill Goncharov [2019-08-02 02:18]: > > Docs now available at GitHub Pages: >

Re: Emacs autocomplete for payee

2020-05-07 Thread Martin Blais
On Thu, May 7, 2020 at 12:49 PM wrote: > Hi there, > > I just started with Beancount and find it might just be the right tool for > me. Thanks for a great software. > > While I am editing each transaction, I find payee is a very useful info > especial in fava interface, where you can click payee

Re: Question on query output on per transaction basis.

2020-05-02 Thread Martin Blais
, i know you are in the process of migrating > to new version control system. > > On Thursday, April 30, 2020 at 9:52:37 PM UTC-4, Martin Blais wrote: >> >> Use bean-bake, or if you cannot, write a script that will upload journals >> to a spreadsheet. >> >> >> O

Re: Why is booking done before plugins

2020-05-02 Thread Martin Blais
Yes. It's a catch 22. Booking first allows some more interpolation, and interpolation first allows some more booking. Choosing do to one before the other provides different benefits. I wrote a doc somewhere with a bunch of examples trying to wrap my head around this, and came up with this

Re: Lowercase starting account

2020-05-01 Thread Martin Blais
Less ambiguous grammar Not going to change On Fri, May 1, 2020, 14:30 wrote: > Hello, > > After extensively using beancount to track my personnal and "classic" > trading accounts I'm in the process of creating a crypto one. > I didn't notice so far but after trying to create an account named

Re: No position matches error

2020-05-01 Thread Martin Blais
The commissions will trip up the p/l calculation a bit I don't have a good workaround See older posts on the list about that On Fri, May 1, 2020, 02:54 wrote: > Alright, this is starting to make some sense :) My country (Finland) uses > FIFO method so I marked the relevant account as such: >

Re: No position matches error

2020-04-30 Thread Martin Blais
On Thu, Apr 30, 2020 at 9:32 PM Martin Michlmayr wrote: > * salmi.tuo...@gmail.com [2020-04-30 12:03]: > > 2) Is the booking method (strict, fifo, lifo, average, none) somehow > > relevant in this and if so, what implications each one has? Since I > > can't manage which lots I sell from by

Re: Question on query output on per transaction basis.

2020-04-30 Thread Martin Blais
Use bean-bake, or if you cannot, write a script that will upload journals to a spreadsheet. On Thu, Apr 30, 2020 at 9:12 PM Red S wrote: > Right, but it groups postings together by transaction, which is exactly > what transactions are: groups of postings. > > If this is not what you want, what

Re: Beancount issues

2020-04-25 Thread Martin Blais
Saturday, April 25, 2020 at 7:48:35 AM UTC-7, Martin Blais wrote: >> >> Nothing changed. >> I'm too busy to deal with it, a few weeks ago I was set to move the whole >> thing to github manually but now it looks like there's a bunch of easier >> solutions are coming arou

Re: Beancount issues

2020-04-25 Thread Martin Blais
Nothing changed. I'm too busy to deal with it, a few weeks ago I was set to move the whole thing to github manually but now it looks like there's a bunch of easier solutions are coming around (converters to github that will also import issues, heptapod to stick with mercurial, etc.). Atlassian

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-31 Thread Martin Blais
e to run > Thanks > > On Sunday, 29 March 2020 19:43:05 UTC+1, Martin Blais wrote: >> >> This is incorrect >> see in attachment my comments and output of bean-query print >> Basically, your usage of an automated posting everywhere makes you think >> it work

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-29 Thread Martin Blais
tation is a big > beancount file with lots of examples. I know that there are some sparse > examples in the google docs, but having a big ledger file with every day > examples and all well commented would be very useful to understand how > people should do day to day transaction

Re: Beancount issues

2020-03-28 Thread Martin Blais
Thank you Daniele. Just as I had pretty much decided to give in to the Github... I had ruled out Heptapod as it seemed to have only a few projects it itself owned just even last week (and now I see the list growing, so it's morphing into a hosting solution). Let me think about this a bit more.

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-28 Thread Martin Blais
ot; >>> Assets:Coinbase:ETH 4.81321544 ETH {339.82 GBP} >>> Assets:Coinbase:Fees 24.37 GBP >>> Equity:Opening-Balances >>> >>> Now I get a different error: 'Transaction does not balance'. Which >>> doesn't make sense to me because the math s

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-28 Thread Martin Blais
el I'm > missing about how beancount works? > > I've tried a lot of different variations to these 4 transactions and every > time I get a different error. > > > > On Friday, 27 March 2020 12:36:55 UTC, Martin Blais wrote: >> >> Your balance has a mix of positive a

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-27 Thread Martin Blais
gt; (to specify that the conversion should deduct from the `Assets:Coinbase:ETH > 2.13226701 ETH {443.62 GBP}` account) I get a 'Transaction does not > balance' error. > > > > On Friday, 27 March 2020 04:06:41 UTC, Martin Blais wrote: >> >> You probably have other trans

Re: Stock splits / share class change

2020-03-26 Thread Martin Blais
There's no special handling. Like you said... they're infrequent On Thu, Mar 19, 2020 at 4:24 PM Red S wrote: > When stock split or share class changes occur, the cost of many (tens, > hundreds) of dated lots may need to be scaled, while retaining the dates, > as mentioned here: > > >

Re: New tool: Tax loss harvester for beancount

2020-03-26 Thread Martin Blais
ster >> I find the fava extension most useful and plan to maintain it. 'm not yet >> sure if I'll maintain the command line tool, in addition. >> >> On Saturday, March 7, 2020 at 6:37:13 PM UTC-8, Martin Blais wrote: >>> >>> Thank you for sharing RedS! I've added

Re: Stuck on non-descriptive error message 'No position matches'

2020-03-26 Thread Martin Blais
You probably have other transactions before this one that make the balance of that account negative, and so it's trying to match that positive ETH posting against existing positions with a cost basis of 339.82. Run bean-doctor context with the filename and line number around that transaction to

Re: Beancount issues

2020-03-22 Thread Martin Blais
On Sun, Mar 22, 2020 at 8:48 PM Martin Blais wrote: > Kirill: Thanks, I managed to re-export from scratch using git-remote-log. > Despite this being a completely separate export, it did manage to update > the github.com/beancount/beancount repo, so it must be using stable > hashes o

<    1   2   3   4   5   6   7   8   9   10   >