From 311a0595f8763aa3aca7f2302c5404192e015899 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Fri, 16 Feb 2024 07:44:20 -0800 Subject: [PATCH] Remove logging basic configuration as 1) the log level defaults to warnings already and 2) this was causing issues downstream when importing backtesting logic in other packages as subsequent calls to set the basic configuration are ignored --- backtesting/backtest_iron_condor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/backtesting/backtest_iron_condor.py b/backtesting/backtest_iron_condor.py index ec527c8..d2b8622 100644 --- a/backtesting/backtest_iron_condor.py +++ b/backtesting/backtest_iron_condor.py @@ -16,8 +16,6 @@ from .option_type import OptionType load_dotenv() -logging.basicConfig(level=logging.WARN) - FEES_PER_CONTRACT = 0.80 MARKET_CLOSE = '16:00:00' MARKET_OPEN = '09:35:00'