Hi Martin, sorry for the late reply. For some reason I never got this digest in my email inbox.
OK, understood about the underscores and using dashes instead. Problem is that the tickers for these funds in Google Finance use underscores - which means updating the prices on a regular basis won't work, if I understood the part of price fetching correctly Thanks Sagar On Sunday, October 29, 2023 at 11:44:47 AM UTC+8 bl...@furius.ca wrote: > The problem is not your currencies, it's the account names. > Account names do not support underscores. Use dashes instead. > (They probably should (mabe), but I'm not going to change the syntax in > stable/v2). > > I'm not sure what the invalid currency error is, needs more detail > > On Sat, Oct 28, 2023 at 11:34 PM 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+...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beancount/CAAP45exGz6rcYUAj5AgCgzQFn16DRKxprbse74R3bUJR2UuTTw%40mail.gmail.com >> >> <https://groups.google.com/d/msgid/beancount/CAAP45exGz6rcYUAj5AgCgzQFn16DRKxprbse74R3bUJR2UuTTw%40mail.gmail.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/9b8c52e6-298a-45db-ba93-59f09ea4d993n%40googlegroups.com.