The example in reds-importers <https://github.com/redstreet/beancount_reds_importers/> should show you what you want. It's a very small script <https://github.com/redstreet/beancount_reds_importers/blob/main/beancount_reds_importers/example/import.sh>. Hope that helps.
Running the included examples: <https://github.com/redstreet/beancount_reds_importers/#running-the-included-examples> 1. cd <your pip installed dir>/example #eg: cd ~/.local/lib/python3.8/site-packages/beancount_reds_importers/example 2. ./import.sh OfxDownload.qfx # Imports investments 3. ./import.sh transactions.qfx # Import bank transactions; uses smart_importer to classify transactions On Thursday, May 15, 2025 at 1:11:31 PM UTC-7 Alen Šiljak wrote: > Hi, Patrick! > Thanks. I've seen your repo, along with the ones that built on top of it - > drnuke, uabean. Also reds importers. > What I miss with all these examples is - how to run the actual importer > file. There are just endless configurations and classes but I see no entry > points to execute any of this. > I assume the entry points were the executables in the previous version of > beangulp but those are no longer distributed. What is replacing them? > Cheers! > On Thursday, 15 May 2025 at 10:07:54 pm UTC+2 Patrick Ruckstuhl wrote: > >> Hi, >> >> I have an importer for ibkr, it might be useful for you or at least give >> you a starting point. >> >> <https://github.com/tarioch/beancounttools> >> >> < >> https://github.com/tarioch/beancounttools/blob/master/src/tariochbctools/importers/ibkr/importer.py >> > >> >> Regards, >> Patrick >> >> >> On May 15, 2025 9:43:43 PM GMT+02:00, "'Alen Šiljak' via Beancount" < >> [email protected]> wrote: >> >>> Hi! >>> I just spent several hours trying to figure out how to import >>> transactions into Beancount, hoping to replace some custom tools I was/am >>> using at the moment. Unfortunately, I am no better of than when I started. >>> At that point at least I had hope that there is something that works. Now >>> I'm afraid to dig deeper, considering I found nothing I can run >>> straightforward with Beancount v3. >>> The current document for data import also references non-existent tools. >>> I guess these were actual with v2. >>> >>> Hence I'd like to ask here if anyone can point me in any direction, >>> where I can get any working code with whatever dummy data. >>> What is the recommended way to import transaction? >>> >>> I am still unclear as to how the deduplication works. >>> I have read the current doc (Importing External Data in Beancount) but >>> am just more confused as to how things are supposed to work. What is >>> supposed to be run, by whom, etc. What fills the void left by the missing >>> executables? >>> >>> Cheers and thanks for any tips! >>> >>> -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/beancount/405de3bd-9aa2-40d4-9ad9-19c6f0e51fc7n%40googlegroups.com.
