Re: How to automatic wirte in .beanount file specific price information?

2018-05-16 Thread pannaimage322
Is work after I'm inserted the command “bean-price file.beancount >> file.beancount -i” in .bash_profile,When start Cygwin.exe it's automatic added today price of commodities into specific .beancount-file.The solution can be fully automatic do as title say.So Think you very much! 在

Re: How to automatic wirte in .beanount file specific price information?

2018-05-16 Thread Jason Chu
A command like bean-price file.beancount >> file.beancount Will create new price directives and append them to your beancount file. Assuming you wrote all your commodity price metadata correctly. Just be sure to remember both > otherwise you'll overwrite your entire beancount file. I use git to

Re: How to automatic wirte in .beanount file specific price information?

2018-05-16 Thread Floris Kruisselbrink
Hi! I think you don't completely understand the way beancount works. Nothing in beancount makes changes to the .beancount-files itself, only you do. All the beancount-tools (including bean-price) only read the file and process the information in some way. If you want the price directives in

Re: How to automatic wirte in .beanount file specific price information?

2018-05-16 Thread pannaimage322
Why Not anybody reply? 在 2018年5月15日星期二 UTC+8下午12:47:35,pannai...@gmail.com写道: > > Hi,everyone! > I get a problem that is when inserted those directive in .beanount > file: > > 2018-5-14 commodity USD > price:"CNY:yahoo/CNY=X" > name:"US Dollar" > >and the prices information not

How to automatic wirte in .beanount file specific price information?

2018-05-14 Thread pannaimage322
Hi,everyone! I get a problem that is when inserted those directive in .beanount file: 2018-5-14 commodity USD price:"CNY:yahoo/CNY=X" name:"US Dollar" and the prices information not automatic add into this file,like:

How to automatic wirte in .beanount file specific price information?

2018-05-14 Thread pannaimage322
Hi,everyone! I get a problem that is when inserted those directive in .beanount file: 2018-5-14 commodity USD price:"CNY:yahoo/CNY=X" name:"US Dollar" and the prices directive not automatic add into this file,What's wrong?What can I to do? tell me thank your. -- You received