My comprehension, is that if "age exceeds the --price-exp" is *set*,
then I expect that it is not downloaded. I --price-exp is *not set*, I
would accept whatever value, old or not.
> 2. Valid Option combinations: --download does nothing if -V isn't
> specified. Should ledger silently accept this, warn about the missing -V
> option or stop and report?
an option "--download" that does nothing, is this an option ? ;-) For
me here, a warn message is expected. I do not think a stop is
required.
My 2 cents
Thierry
On Dec 8, 1:31 pm, Craig Earls <ender...@gmail.com> wrote:
> I agree about warnings if options don't make sense. I thought about making
> --download imply --market since that is the only way info from downloaded
> quotes is used.
A warning is enough for me. About implying, my personal way of working
is to prefer the explicit way to the implicit way, so I would prefer
here to not imply --market if --download is used. On the other side,
is there a use case of using --download without --market ? I do not
think so...
> As far as stale prices I think you are saying that if getquote returns a
> stale price it should be rejected as if it it were never downloaded. Is
> that correct?
My first thoughts are:
- If price-exp=20111201, and stale price is *before* expiry date, then
silently do *not* accept that stale price.
- If *no* price-exp=20111201, then any stale price *is* acceptable.
Thierry