1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-06 12:30:57 +08:00

Minor change

This commit is contained in:
Huoran Li
2022-07-26 11:16:39 +08:00
parent 77966c2957
commit 85a2cb3c9d

View File

@@ -18,7 +18,7 @@ def _get_common_infra(
config: ExchangeConfig,
trade_date: pd.Timestamp,
codes: List[str],
cash_limit: Optional[float] = None,
cash_limit: float = None,
) -> CommonInfrastructure:
# need to specify a range here for acceleration
if cash_limit is None: