From 85a2cb3c9d4049bf29d69616a21c29c37408f333 Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Tue, 26 Jul 2022 11:16:39 +0800 Subject: [PATCH] Minor change --- qlib/rl/order_execution/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qlib/rl/order_execution/utils.py b/qlib/rl/order_execution/utils.py index 3610f432a..e3f7e2f33 100644 --- a/qlib/rl/order_execution/utils.py +++ b/qlib/rl/order_execution/utils.py @@ -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: