syntax error, prices for stocks

29 views
Skip to first unread message

SKlmcanskl

unread,
Jan 25, 2021, 8:12:59 PM1/25/21
to Beancount

Hello

following are the errors for the price directive on my emacs
I have stocks for retirement

I cannot find the error

/home/family281/Documents/Emacs/2020beancount.beancount:35:      syntax error, unexpected FLAG, expecting CURRENCY

/home/family281/Documents/Emacs/2020beancount.beancount:35:      Invalid token: 'etlifeBond'

/home/family281/Documents/Emacs/2020beancount.beancount:36:      syntax error, unexpected FLAG, expecting CURRENCY

/home/family281/Documents/Emacs/2020beancount.beancount:36:      Invalid token: 'etlifeMidCap'

/home/family281/Documents/Emacs/2020beancount.beancount:37:      syntax error, unexpected FLAG, expecting CURRENCY

/home/family281/Documents/Emacs/2020beancount.beancount:37:      Invalid token: 'etlifeEAFE'

2014-01-01 open Assets:Metlife:MetlifeBond USD
2014-01-01 open Assets:Metlife:MetlifeMidCap USD
2014-01-01 open Assets:Metlife:MetlifeEAFE USD
2014-01-01 open Assets:Metlife:MetlifeRussell USD
2014-01-01 open Assets:Metlife:MetlifeStockIndex USD

2014-05-25 price MetlifeBond        26.70 USD
2014-05-25 price MetlifeMidCap      63.21 USD
2014-05-25 price MetlifeEAFE        23.64 USD
2014-05-25 price MetlifeRussell     63.62 USD
2014-05-25 price MetlifeStockIndex  53.15 USD

/home/family281/Documents/Emacs/2020beancount.beancount:48:      syntax error, unexpected ACCOUNT, expecting CURRENCY

Adam Wolenc

unread,
Jan 25, 2021, 8:57:34 PM1/25/21
to bean...@googlegroups.com
2014-01-01 open Assets:Metlife:MetlifeBond BONDFUND
2014-05-25 price BONDFUND        26.70 USD


--
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/c9b52112-5cbc-41f3-acf1-c3f6420d70cen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages