mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-11 14:56:55 +08:00
resolve one bug
This commit is contained in:
@@ -324,7 +324,6 @@ class FundNormalize:
|
|||||||
self._symbol_field_name = symbol_field_name
|
self._symbol_field_name = symbol_field_name
|
||||||
|
|
||||||
self._calendar_list = self._get_calendar_list()
|
self._calendar_list = self._get_calendar_list()
|
||||||
print (self._calendar_list)
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def normalize_fund(
|
def normalize_fund(
|
||||||
@@ -368,7 +367,7 @@ class FundNormalize1d(FundNormalize, ABC):
|
|||||||
DAILY_FORMAT = "%Y-%m-%d"
|
DAILY_FORMAT = "%Y-%m-%d"
|
||||||
|
|
||||||
def normalize(self, df: pd.DataFrame) -> pd.DataFrame:
|
def normalize(self, df: pd.DataFrame) -> pd.DataFrame:
|
||||||
df = super(FundNormalize, self).normalize(df)
|
df = super(FundNormalize1d, self).normalize(df)
|
||||||
return df
|
return df
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user