Added get_closest attribute to FincalOptions

This commit is contained in:
Gourav Kumar 2022-03-22 21:30:28 +05:30
parent ee48446c6e
commit 8be3359437

View File

@ -10,6 +10,7 @@ class FincalOptions:
date_format: str = "%Y-%m-%d"
closest: str = "before" # after
traded_days: int = 365
get_closest: str = "exact"
def _parse_date(date: str, date_format: str = None):