Great stuff Luciano, thank you for sharing, I'll definitely have a good
look at it when I find a bit of time.

Red: Related to investments, I'm in the process of cleaning up and
building common data structures specifically for trading accounts, in a new
repo called "beanbuff". Find related codes here:
https://github.com/beancount/beanbuff/tree/master/beanbuff
At the moment it's just the importers I'm sharing, but I'm working on
making the conversion to an intermediate trade log consistent across them
and to convert that trade log to Beancount. I'm finding that having a flat
table trade log is more useful for analysis and am still on the fence about
representing thousands of 1000's of transactions for temporary positions in
Beancount inputs. I tend to separate the long term stuff (e.g., a long
position on an ETF held for years, with associated covered calls) from
active trading (e.g., a strangle on BIDU held for 20 days, a /ZCN21-/ZCZ21
calendar spread, etc.), those things don't matter much in the long run and
I think it might make more sense to summarize the impact of trading to just
a single transaction per week and to keep all the detail in separate files
analyzed by custom scripts doing various breakdowns on P/L.




On Wed, Mar 31, 2021 at 10:33 PM redst...@gmail.com <redstre...@gmail.com>
wrote:

> Nice to see others writing importers. And great, comprehensive
> documentation too! Thanks for sharing this.
>
> I'm wondering if your import scripts can be used for building investment
> transactions? How do you handle balance assertions? How do you handle
> institutions that include multiple tables in a single csv? And I'm curious:
> why not use bean-file (I don't know what it's called in beangulp) for
> archiving?
>
> Finally, would you be willing to share institution specific configs with
> the community?
>
> On Tuesday, March 30, 2021 at 1:46:53 PM UTC-7 Luciano Fiandesio wrote:
>
>>
>> Hello, cheers! I would like to share *Beanborg*, a small project I have
>> been working on to semi-automatically import CSV transactions into a
>> Beancount ledger.
>>
>> From the *README*:
>>
>> Goals and key features
>>
>> Beanborg has two main design goals:
>>
>>    - automatic matching of transaction data with the correct Expense
>>    accounts
>>    - speed, the tool is designed to process several financial CSV file
>>    in few seconds
>>
>> Other features:
>>
>>    - a sophisticated and extendible rule-based system
>>    - avoid duplicates during the import
>>    - highly configurable
>>    - smart archiving function: when archiving a CSV file, the file is
>>    renamed using the start and end date of the CSV file
>>
>> I have been using this tool for the last 18 months. Happy to share in
>> case someone wants to try it out:
>> https://github.com/luciano-fiandesio/beanborg
>>
>> Feedback welcome!
>>
>> Luciano
>>
>>
>> --
> 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://groups.google.com/d/msgid/beancount/cf06f1e0-a09b-4ae6-950b-a341dfb8a89en%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/cf06f1e0-a09b-4ae6-950b-a341dfb8a89en%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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://groups.google.com/d/msgid/beancount/CAK21%2BhMzJZD8TZBu2tLTxZamawBMR%2BO14XwXpS_DT7HC0LK7Sg%40mail.gmail.com.

Reply via email to