Fava Beancount Viewer
Fava Beancount Viewer: Fava Beancount Viewer: specialized toolkit for 3+ finance workflows covered in the triggers section.
Overview
Constraints
Evidence Quality
Medium confidence — review before critical use
54 non-negotiable constraints
WHENWhen implementing AccAPI or FavaInvestorAPI query_func
ACTIONConvert query results to namedtuple format with field names from query types
CONSEQUENCEModule code expecting attribute access via row.column_name will fail with AttributeError, breaking asset allocation, tax loss harvesting, and other financial computations that rely on namedtuple row iteration
WHENWhen implementing price loading in AccAPI
ACTIONBuild beancount price map using prices.build_price_map(entries) from each ledger entries
CONSEQUENCEMulti-currency portfolios will fail to convert positions to base currency, causing asset allocation calculations to crash or produce incorrect results when commodities have different denominations
WHENWhen parsing Custom directive configurations
ACTIONFilter entries for Custom type with fava-extension and evaluate value strings using ast.literal_eval
CONSEQUENCEConfiguration parsing will silently return empty dicts for all modules, causing all investor reports to use default parameters instead of user-specified configurations, leading to incorrect financial analysis
FAQ
Discussion (0)
No comments yet. Be the first to share!
Changelog
v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on tangweigang-jpg/doramagic-skills.