diff --git a/cgt_calc/main.py b/cgt_calc/main.py index a965a2b0..e2dd8f82 100755 --- a/cgt_calc/main.py +++ b/cgt_calc/main.py @@ -535,7 +535,7 @@ def calculate_capital_gain( calculation_log: CalculationLog = {} for date_index in ( begin_index + datetime.timedelta(days=x) - for x in range(0, (end_index - begin_index).days) + for x in range(0, (end_index - begin_index).days + 1) ): if date_index in acquisition_list: for symbol in acquisition_list[date_index]: