Skip to content

Commit

Permalink
fix DateSet
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuizi7 committed Jul 10, 2020
1 parent e0b9a07 commit 41f529d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rqalpha/data/base_data_source/storages.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def get_days(self, order_book_id):
def contains(self, order_book_id, dates):
date_set = self.get_days(order_book_id)
if not date_set:
return [False] * len(dates)
return None

def _to_dt_int(d):
if isinstance(d, (int, np.int64, np.uint64)):
Expand Down

0 comments on commit 41f529d

Please sign in to comment.