Skip to content

Commit 6fa0eb0

Browse files
committed
Fix missing dates comparison
1 parent ff884ac commit 6fa0eb0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

investing_algorithm_framework/infrastructure/data_providers/ccxt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ def get_missing_data_dates(
11281128
"""
11291129
missing_dates = [
11301130
date for date in self.missing_data_point_dates
1131-
if start_date < date < end_date
1131+
if start_date <= date <= end_date
11321132
]
11331133
return missing_dates
11341134

investing_algorithm_framework/infrastructure/data_providers/csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def get_missing_data_dates(
553553
"""
554554
missing_dates = [
555555
date for date in self.missing_data_point_dates
556-
if start_date < date < end_date
556+
if start_date <= date <= end_date
557557
]
558558
return missing_dates
559559

investing_algorithm_framework/infrastructure/data_providers/pandas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ def get_missing_data_dates(
584584
"""
585585
missing_dates = [
586586
date for date in self.missing_data_point_dates
587-
if start_date < date < end_date
587+
if start_date <= date <= end_date
588588
]
589589
return missing_dates
590590

0 commit comments

Comments
 (0)