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?

Dave


On Monday, July 28, 2014 4:14:30 PM UTC-7, Dave Wells wrote:
>
> I'm trying to use the --download/-Q option to download stock quotes. The 
> quotes are successfully retrieved and saved into my $LEDGER_PRICE_DB file, 
> but I consistently get duplicate quotes separated by just a couple of 
> seconds. Rather than paste the command I'm using, I'll just ask, What is 
> the proper way to do this?
>
> If it matters, I soft-linked to the perl script included with the 
> distribution for my getquote command (--getquote seems to be broken.)
>
> Thanks,
>
> Dave
>

-- 

--- 
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.

Reply via email to