Yeah, so beanhub-import is somewhat similar to other importers, but one 
major difference is that it will parse existing Beancount files and 
manipulate them directly. It's taking a more data pipeline approach 
compared to other importers:

[image: BeanHub import flow diagram]

Personally, I like a declarative approach more because if I ever want to 
change the inserted transactions, I can modify the rule and rerun the 
import command. I recommend checking out the demo repository and try it out 
here:

https://github.com/LaunchPlatform/beanhub-import-demo

I have prepared some mock data and sample rules in the repository already. 
You should be able to change the import rules, rerun import, and run git 
diff to see the difference you made with the changes.

On Sunday, July 7, 2024 at 1:45:33 PM UTC-7 [email protected] wrote:

> On Thursday, July 4, 2024 at 3:12:56 AM UTC+2 Fang-Pen Lin wrote:
>
>  I haven't spent too much effort on this end yet, but I built 
> beanhub-import and open-sourced it a while back, and I think it could help 
> your case a little bit on the importing part: 
>
> https://github.com/LaunchPlatform/beanhub-import
>
> It's a rule-based beancount import engine designed to act like a data 
> pipeline system. As long as you can export your trading records as a CSV 
> file or any other machine-readable format, you should be able to build your 
> own beanhub-extract <https://github.com/LaunchPlatform/beanhub-extract> 
> extractor class to help read the transactions from the file. I envision you 
> can write beanhub-import rules to ingest your trading records like this:
>
>
>
> So, the *beanhub-import *seems to be another tool in the family of *beangulp  
> *and *red's importers*
>
> https://groups.google.com/g/beancount/c/X7BkR7sHmHk/m/o1-hNWjpCAAJ
>
> I haven't experimented yet with any of these tools but as I see one of the 
> unique features of your tool are
>
>
>    - *Auto-update existing transactions* - When you update the rules or 
>    data, corresponding Beancount transactions will be updated automatically.
>    - *Auto-move transactions to a different file* - When you change the 
>    rules to output the transactions to a different file, it will 
> automatically 
>    remove the old ones and add the new ones for you
>
>  Am I correct?
>
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/beancount/76928696-e5c4-475b-b1fe-ebad57fa6540n%40googlegroups.com.

Reply via email to