* Alen Šiljak <[email protected]> [2019-04-27 06:22]:
> "Non-standard root name Trading used; please set name_* option"
> 
> message in the resulting file. This is because I have a root "Trading:" 
> account for trading accounts, as implemented in GnuCash.
> I see no example in the sample yml file to see how to apply this option. 
> What does this refer to? Is it a beancount option or an option for the 
> export script?
> Would you mind giving me a syntax example, please? Thanks a lot!

It's a beancount option, see 
https://docs.google.com/document/d/1_-T_BvDtUjj9M7liZMNSkrL8pgC60TGMBlYCiV1e4ZM/edit

beancount can only have five account types so you probably want to
rename these accounts.  You can use the ledger2beancount account_regex
config to do mass renames.

>From the ledger2beancount docs:

Unlike ledger, beancount expects all account names to start with one
of five account types, also known as root names.  The default root names
are `Assets`, `Liabilities`, `Equity`, `Expenses`, and `Income`.  If you
want to use other root names, you can configure them using the beancount
options `name_assets`, `name_liabilities`, `name_equity`,
`name_expenses`, and `name_income`.

-- 
Martin Michlmayr
https://www.cyrius.com/

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/20190427132706.GA21736%40jirafa.cyrius.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to