Skip to content

Commit

Permalink
Added check note
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedamen committed Jan 8, 2021
1 parent 39ccd7f commit de9980c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions findatapy/timeseries/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ def get_expiry_date_from_horizon_date(self, horizon_date, tenor, cal=None, asset
if isinstance(horizon_floating, pd.Timestamp):
horizon_floating = [horizon_floating]

# TODO: double check this!
for period_end, floating in zip(horizon_period_end, horizon_floating):
if floating < period_end:
delivery_date.append(floating - cbd + cbd)
Expand Down

0 comments on commit de9980c

Please sign in to comment.