Re: No position matches error

2020-04-30 Thread salmi . tuomas
Alright, this is starting to make some sense :) My country (Finland) uses FIFO method so I marked the relevant account as such: 2018-01-01 open Assets:Nordnet:EUNL EUNL "FIFO" And then I mark the selling transaction like this: 2020-03-10 * "EUNL sold" Assets:Nordnet:EUNL -20 EUNL {} @ 47.996 EU

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 bank,

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: No position matches error

2020-04-30 Thread Martin Michlmayr
* 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 bank, to me it seems like it > would make sense to use average method.

Re: Question on query output on per transaction basis.

2020-04-30 Thread Red S
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 exactly do you want? Send us a sample format. -- You received this message because you are subscribed to the Google Groups "Beancount" group. To

Re: Question on query output on per transaction basis.

2020-04-30 Thread mployby
yes, it outputs postings, not transactions. On Thursday, April 30, 2020 at 1:28:19 PM UTC-4, Red S wrote: > > Did you try: `journal` ? > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from

Re: No position matches error

2020-04-30 Thread Red S
You're on the right track with your questions. Responses inline: On Thursday, April 30, 2020 at 12:03:55 PM UTC-7, salmi...@gmail.com wrote: > > Thanks. Didn't get it yet but I have few questions. > > 1) After reading the doc it seems to me that I should specify which lots I > sold by using {} sy

Re: No position matches error

2020-04-30 Thread salmi . tuomas
Thanks. Didn't get it yet but I have few questions. 1) After reading the doc it seems to me that I should specify which lots I sold by using {} syntax, am I right? When I sell a part of my position, my bank does not let me to select which lots I'll sell. So I have difficulty in understanding ho

Re: No position matches error

2020-04-30 Thread Red S
This section of the documentation might help. Specifically: Reductions Augmentations vs. Reductions Homogeneous and Mixed Inventories Also, read this thread

Re: Question on query output on per transaction basis.

2020-04-30 Thread Red S
Did you try: `journal` ? -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://

Re: No position matches error

2020-04-30 Thread salmi . tuomas
Oh, and I am using Beancount version 2.1.2 -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscr...@googlegroups.com. To view this discussion on the we

No position matches error

2020-04-30 Thread salmi . tuomas
I already checked this thread which seemed like a similar problem but I couldn't apply it to my case: https://groups.google.com/forum/#!topic/beancount/Qvbcq-Sk5NY Anyway, I'm investing to a ETF with ticker EUNL monthly. Recently I sold some of my position and marked it to my ledger: 2020-03-10

Question on query output on per transaction basis.

2020-04-30 Thread mployby
Guys hi, I need to prepare general ledger for my cpa for specific period. Since he does not have beancount installed I originally i planned to use bean-bake, but now i think it will be easier to general excel files in fava. SELECT date, description, account, position FROM date > 2019-04-19

Re: OFX Importer for Investment Accounts

2020-04-30 Thread Red S
It's now on PyPI: *pip install beancount-reds-importers* See the examples directory in the installed files, or on github (eg: /usr/lib/python3.6/site-packages/beancount_reds_importers/example/my.import) On Wednesday, April 29, 2020 at 4:15:08 PM UTC-7, Red S wrote: > > I've cleaned it up and ch