From 6a855d5c594cecf2e4cf40411e50d0b2ad5ba0fa Mon Sep 17 00:00:00 2001 From: Jhonathan Abreu Date: Tue, 14 Nov 2023 17:11:51 -0400 Subject: [PATCH] Minor fix --- lean/models/brokerages/cloud/cloud_brokerage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lean/models/brokerages/cloud/cloud_brokerage.py b/lean/models/brokerages/cloud/cloud_brokerage.py index fba89d04..d97c0e4e 100644 --- a/lean/models/brokerages/cloud/cloud_brokerage.py +++ b/lean/models/brokerages/cloud/cloud_brokerage.py @@ -39,7 +39,7 @@ def _get_settings(self) -> Dict[str, str]: continue # TODO: handle cases where tranding env config is not present, environment will still be required. if type(config) == TradingEnvConfiguration: - value = "paper" if str(config).lower() in [ + value = "paper" if config._value.lower() in [ "practice", "demo", "beta", "paper"] else "live" elif type(config) is InternalInputUserInput: if not config._is_conditional: