Skip to content

Commit

Permalink
resetting the ytd tax draw after January payment. related to #33
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Malmgren committed Dec 15, 2015
1 parent 819cda6 commit 6a0970b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions a_model/datascope.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ def _simulate_single_universe_monthly_cash(self, universe, n_months):
if quarterly_tax > 0:
cash -= quarterly_tax
ytd_tax_draws += quarterly_tax
if date.month == 1:
ytd_tax_draws = 0.0

# pay expenses and put that $$$ in the bank. bonus calculation has
# to happen here to have access to the amount of cash in the bank
Expand Down

0 comments on commit 6a0970b

Please sign in to comment.