Yeah I was afraid of that. The nice thing about Ledger doing it is that if a new symbol shows up, it deals with it, whereas an external script needs to be told what symbols are desired. Thanks for the tip, I've got some other ideas.
Dave On Thursday, July 31, 2014 6:00:57 AM UTC-7, Craig Earls wrote: > > The stock price update function in ledger has been severely neglected > for a long time. I recommend against using it. Use an outside shell > script to grab prices. I use a python script to update my price > database daily then use ledger for the number crunching. > > On Thu, Jul 31, 2014 at 4:27 AM, Jostein Berntsen <[email protected] > <javascript:>> wrote: > > On 30.07.14,22:22, Dave Wells wrote: > >> Some more detail: I use the command > >> > >> $ ledger bal assets:investments:stocks -VQ > >> > >> and the following is appended to my price database: > >> > >> P 2014/07/30 22:16:43 AAPL $98.150 > >> P 2014/07/30 22:16:43 F $17.460 > >> P 2014/07/30 22:16:43 VALE $14.380 > >> P 2014/07/30 22:16:44 F $17.460 > >> P 2014/07/30 22:16:45 AAPL $98.150 > >> P 2014/07/30 22:16:45 F $17.460 > >> P 2014/07/30 22:16:46 VALE $14.380 > >> P 2014/07/30 22:16:46 F $17.460 > >> > >> My Assets:Investments:Stocks account has not sub-accounts. If I run the > >> balance command on something higher up in the hierarchy, like Assets, > then > >> I get a lot more duplicates (17 entries for three stocks and a mutual > >> fund.) Any tips? > >> > > > > Have you checked what happens if you just use it like this? > > > > ledger bal assets:investments:stocks --download > > > > Jostein > > > > > > -- > > > > --- > > You received this message because you are subscribed to the Google > Groups "Ledger" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Craig, Corona De Tucson, AZ > enderw88.wordpress.com > -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
