johanley / end-game

Personal finance simulator for retired Canadians.
Creative Commons Zero v1.0 Universal
5 stars 2 forks source link

The sweep transaction isn't treating withholding tax correctly. #8

Closed johanley closed 2 years ago

johanley commented 2 years ago

Too much money is coming into the bank account when sweeping cash from the RIF.

The full amount is coming in, instead of being reduced by the withholding tax.

johanley commented 2 years ago

This bug isn't as serious as I first thought. The core cash flows and tax return were sound. It's true the bank was getting too much money. That extra money was simply spent, and didn't inflate the core cash flows. The logging of the amount swept to the bank was inflated though.

johanley commented 2 years ago

The stat for total cash swept isn't being updated.