Difficulty accounting for stock sales in foreign currency

2021-04-28 Thread Caesar Schinas
I've been using beancount for a while for my everyday transactions, but am only recently getting around to trying to import my trading activity to my ledger as it seems much more complex. I'm having trouble with accounting for profit/loss on shares which are priced in a currency different to the m

Re: emacs beancount mode and multiple files for accounts

2021-04-28 Thread Jonathan Goldman
Isn’t this include directive you reference for the Beancount loader? (https://beancount.github.io/docs/beancount_language_syntax.html#includes) I’m asking how to have emacs Beancount mode be aware of all accounts even if the currently active file doesn’t list them all? Is there also and include m

Re: emacs beancount mode and multiple files for accounts

2021-04-28 Thread john.a.r...@gmail.com
Hi, Jonathan -- > Does beancount mode only look within the current document to create an > index of accounts for possible autocomplete? Is there anyway to modify this > to point to another file with all the accounts I have? I have a file called > "accounts.beancount" that contains all the bean

emacs beancount mode and multiple files for accounts

2021-04-28 Thread jrgo...@gmail.com
Hi everyone, I have emacs beancount mode working well. I really like it when I first tried to use beancount 1 year ago. I'm restarting everything now and want to modify to not put everything in one file. Does beancount mode only look within the current document to create an index of accounts f

A pre-commit hook for formatting beancount files

2021-04-28 Thread Haotian Wu
Hi all, I'm using git to manage my beancount ledgers and I love auto formatting. So I made a pre-commit hook for formatting beancount files: https://github.com/whtsky/pre-commit-beancount-format . I hope that's helpful to you. -- You received this message because y

Re: newbie question around getting going on smart_importer

2021-04-28 Thread 'Patrick Ruckstuhl' via Beancount
Hi Jonathan, Yes the way you describe makes a lot of sense. That way it limits the amount of config you have to manually train. Regards, Patrick On 28.04.2021 08:27, jrgo...@gmail.com wrote: Hi, I've finally gotten (a) account structure I want for now (b) importers working for my 3 core