Commodity 24 character limit

Skip to first unread message

Dan Andersson

unread,
Jan 2, 2024, 2:40:52 AM1/2/24
to Beancount
Hi,

Can someone please add a plugin/setting to customize this limit (get this added to the v2 branch and released)? If you want payment for this work, you could PM me.

I need a higher limit (around 100 chars) to keep the commodity name unique (using prefixes) across not just brokers, but also subaccounts within same broker. Not to mention some actual parts of the commodity name can be quite long already (e.g. "230915P00177500" for options).

Thanks,
Dan


Martin Blais

unread,
Jan 3, 2024, 10:44:05 PM1/3/24
to bean...@googlegroups.com
Why would you encode that in the commodity name? You can add an account name for each broker, and als for subaccounts, or use met a-data.


--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/f36f6e60-37fb-4f81-ba27-67c7c30949e7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages