Hi,
to change the price you can do
2021-08-25 price Apple 1.75 USD
See https://beancount.github.io/docs/beancount_language_syntax.html#prices
There are also a lot price fetchers, see
https://github.com/beancount/beanprice (or other custom fetchers)
The last thing to be aware, that beancount has both prices and costs.
Prices can change, but cost stays the same once you purchased a
commodity, this will allow you to calculate capital gains.
See
https://beancount.github.io/docs/beancount_language_syntax.html#costs-and-prices
Regards,
Patrick
On 25.08.2021 19:50, Toby wrote:
Hi
Is there an equivalent command of 'not' in Beancount. hledger has
not: function to filter accounts.
Ledger also has something similar. Does Fava (or Beancount) have
something similar?
Also I am trying to use the commodity function but I am struggling to
find a way to increase a price of a commodity. Is Beancount suitable
for this ?
Following is an example:-
2021-01-01 * "Purchase Apple 10 Apples for 1.50 USD "
Assets:Inventory:Apple 10 Apple @ 1.50 USD ;
Assets:Cash
2021-01-01 * "Cash Transaction for the Apple"
Expenses:Cash 15.00
Assets:Cash
Suppose I wanted to increase the price of the Apple. How would I go
about doing so?
For example if I paid 5.00 USD for Fuel and wanted to factor that in
to the inventory price.
Is it possible to do this on Beancount?
Thanks
--
You received this message because you are subscribed to the Google
Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/29436d55-a2c1-4372-a64c-60ea75a7ea76n%40googlegroups.com
<https://groups.google.com/d/msgid/beancount/29436d55-a2c1-4372-a64c-60ea75a7ea76n%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
You received this message because you are subscribed to the Google Groups
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beancount/21e671ed-13c3-c149-8d83-3ea6f977218a%40ch.tario.org.