Persisted price directive (table beancount_prices).
Storage-layer counterpart of Beancount.Directives.Price.
Fields
date- the day the price holds.commodity- the commodity being priced, e.g."AAPL".amount- price asDecimal.t().currency- quote currency ofamount, e.g."USD".metadata- arbitrary key/value map.file_order- zero-based position of the directive in the source.
Example
%Beancount.Schemas.Price{
date: ~D[2026-01-02],
commodity: "AAPL",
amount: Decimal.new("150"),
currency: "USD",
metadata: %{},
file_order: 9
}