I seem to not understand how tolerances are used. I have this beancount: 1 2018-01-01 open Assets:Alpha:ABC ABC 2 2018-01-01 open Assets:Beta:ABC ABC 3 4 2018-01-02 * "synthesize a position with zero cost basis" 5 Assets:Alpha:ABC 1.0 ABC {0.00 USD} 6 7 2018-01-03 balance Assets:Alpha:ABC 1.0 ABC ;; Assertion passes 8 9 2018-01-04 * "Transfer from alpha to beta" 10 Assets:Alpha:ABC -0.1 ABC 11 Assets:Beta:ABC 0.1 ABC 12 13 2018-01-05 balance Assets:Alpha:ABC 1.0 ABC ;; Does not fail! 14 15 2018-01-06 * "Transfer from alpha to beta" 16 Assets:Alpha:ABC -0.5 ABC 17 Assets:Beta:ABC 0.5 ABC 18 19 2018-01-07 balance Assets:Alpha:ABC 1.0 ABC ;; Does fail.
I can't get the balance assertion on line 13 to fail. I've tried both the "inferred_tolerance_default" option and the "Explicit Tolerances on Balance Assertions" (e.g., "~ 0.00001 ABC"). thanks, eric -- 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 beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFXPr0v5Wc3mNSzzdbDP2-3T_Ptv9tUxGVGt0eQWeETrA2uvLw%40mail.gmail.com.