hledger/hledger-lib/Hledger
Stephen Morgan c54fb4d514 imp: cost: Allow matching equity conversion equity postings to
transaction prices.

When given --infer-costs, hledger will now separately infer transaction
prices for different prices. Given a pair of adjacent conversion
postings, hledger will check if there is a single posting with a
transaction price which matches both the amounts. If so, it associates
those conversion postings to that priced post.

If it can't find any transaction price postings which match, it will
find the first non-transaction price post which matches one of the two
amounts, and will add a transaction price to that, and associate them.
2022-07-15 12:32:38 +01:00
..
Data imp: cost: Allow matching equity conversion equity postings to 2022-07-15 12:32:38 +01:00
Read imp: cost: Allow matching equity conversion equity postings to 2022-07-15 12:32:38 +01:00
Reports dev: errors: update doctests 2022-07-13 19:00:00 +01:00
Utils imp: errors: more error prettification 2022-07-13 03:59:44 +01:00
Data.hs ref: move journal checking/pretty errors down further, to Hledger.Data 2022-05-21 18:29:13 -10:00
Query.hs fix: tags: also match accounts declared but not used (#1857) 2022-04-14 12:28:43 -10:00
Read.hs fix!: Revert "fix!: utf-8: Use with-utf8 to ensure all files are read and written with utf8 encoding. (#1619)" 2022-06-01 09:35:18 +10:00
Reports.hs cln: tests: Remove test and tests, which are just aliases for testCase 2021-08-30 16:32:19 -10:00
Utils.hs fix!: Revert "fix!: utf-8: Use with-utf8 to ensure all files are read and written with utf8 encoding. (#1619)" 2022-06-01 09:35:18 +10:00