Thank you!  I never realized the pricedb format would accept a timestamp.

On Saturday, February 8, 2025 at 5:36:49 PM UTC-6 John Wiegley wrote:

> >>>>> "JR" == Jim Robinson <[email protected]> writes:
>
> JR> Neither entry, ledger txn or pricedb entry, has a timestamp. I am
> JR> inferring that ledger was  coded to decide to use the last txn entry to
> JR> determine the "current" price of the shares when one is available,
> JR> otherwise use the last pricedb entry?
>
> Yes, this is exactly right.
>
> JR> One obvious way to work around this would be to add another pricedb 
> entry
> JR> using today's date, but I was wondering if there was some better way to
> JR> tell ledger to prefer the pricedb entry?
>
> It was intended taht you add a price entry with a later time. For example, 
> a
> price entry at midnight the next day or 23:59 that day, should be taken as
> “truth” for all entries of that day.
>
> John
>

-- 

--- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/ledger-cli/a207fe46-8932-4107-9019-a4b2a1c362afn%40googlegroups.com.

Reply via email to