Categorization issue with plugin

57 views
Skip to first unread message

Jesús Carrera

unread,
Sep 15, 2020, 6:47:59 AM9/15/20
to Beancount
I'm working on a plugin, but I'm stuck with what it looks to me like a bug. I opened an issue here https://github.com/beancount/beancount/issues/541 but I'm still waiting for answers. If it's not a bug it would be very helpful if you look at it and let me know what I'm missing. Thanks a lot for your time.

redst...@gmail.com

unread,
Sep 15, 2020, 2:00:54 PM9/15/20
to Beancount
You shouldn't need a plugin or anything special to do what you are attempting, if I'm understanding this correctly. The problem is, by including '{}', you're selling and buying instead of transferring. Leave them out instead:

2015-09-10 C "Move to wallet" ; C flags the transaction as cost transfer
  Assets:Exchange       -5 BTC
  Assets:Wallet        

2015-09-11 C "Move to exchange"
  Assets:Wallet       -5 BTC
  Assets:Exchange


Does that work?

Jesús Carrera

unread,
Sep 15, 2020, 5:16:07 PM9/15/20
to Beancount
I need the cost basis handled, as clarified in the Github issue by Martin. Let's continue the conversation there.
Reply all
Reply to author
Forward
0 new messages