diff --git a/fincal/fincal.py b/fincal/fincal.py index 6a4986d..7524bbb 100644 --- a/fincal/fincal.py +++ b/fincal/fincal.py @@ -145,7 +145,7 @@ class TimeSeries(TimeSeriesCore): res_string: str = "First date: {}\nLast date: {}\nNumber of rows: {}" return res_string.format(self.start_date, self.end_date, total_dates) - def ffill(self, inplace: bool = False, limit: int = None, skip_weekends: bool = False) -> TimeSeries | None: + def ffill(self, inplace: bool = False, limit: int = 1000, skip_weekends: bool = False) -> TimeSeries | None: """Forward fill missing dates in the time series Parameters @@ -188,7 +188,7 @@ class TimeSeries(TimeSeriesCore): return self.__class__(new_ts, frequency=self.frequency.symbol) - def bfill(self, inplace: bool = False, limit: int = None, skip_weekends: bool = False) -> TimeSeries | None: + def bfill(self, inplace: bool = False, limit: int = 1000, skip_weekends: bool = False) -> TimeSeries | None: """Backward fill missing dates in the time series Parameters