Sorry, I forgot to mention that I'm only facing this issue for securities
in this name format.

Other securities, like ITC or INFY, dont have this issue.

For them, I'm able to track like:
Assets:Broker:ITC  100 ITC {10 USD}
Assets:Broker:INFY  100 INFY {9 USD}

Thanks
Sagar


On Sun, Oct 29, 2023 at 11:31 AM Sagar Shankar <sa...@scubed.in> wrote:

> Hi,
>
> I'm trying to import my mutual fund transactions into Beancount. The
> mutual fund security names are in the format, "ADIT_BSL_FRON_YK3Z7Z", which
> are the ticker names from Google Finance.
>
> Initially I had tried to create transactions like:
> Assets:Broker:ADIT_BSL_FRON_YK3Z7Z  100 ADIT_BSL_FRON_YK3Z7Z {10 USD}
> Assets:Broker:ADIT_BSL_NIFT_136TO8I  100 ADIT_BSL_NIFT_136TO8I {9 USD}
> and so and so forth.
>
> This threw up a "Invalid Token" error. So I thought, maybe Beancount has
> some restrictions on account names. So then I moved to the following format:
> Assets:Broker  100 ADIT_BSL_FRON_YK3Z7Z {10 USD}
> Assets:Broker  100 ADIT_BSL_NIFT_136TO8I {9 USD}
> and I'm now getting an "Invalid Currency" error.
>
> I'm following the examples from this page -
> https://beancount.github.io/docs/how_inventories_work.html, as what I
> want to achieve is:
> 1. Track per security inventory
> 2. Track cost basis and networth, the latter by pulling the latest market
> price from Google Finance.
>
> Appreciate any advice on how to get this working
>
> Thanks
> Sagar
>
>

-- 
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/CAAP45eyKS%3DCX0YRBwuBEGEYzM8MSsev2pcAa9NnRYAsotPdqOA%40mail.gmail.com.

Reply via email to