Added get_closest attribute to FincalOptions
This commit is contained in:
parent
ee48446c6e
commit
8be3359437
@ -10,6 +10,7 @@ class FincalOptions:
|
|||||||
date_format: str = "%Y-%m-%d"
|
date_format: str = "%Y-%m-%d"
|
||||||
closest: str = "before" # after
|
closest: str = "before" # after
|
||||||
traded_days: int = 365
|
traded_days: int = 365
|
||||||
|
get_closest: str = "exact"
|
||||||
|
|
||||||
|
|
||||||
def _parse_date(date: str, date_format: str = None):
|
def _parse_date(date: str, date_format: str = None):
|
||||||
|
Loading…
Reference in New Issue
Block a user