diff --git a/iron_condor_scheduler.py b/iron_condor_scheduler.py index 5ebd386..a9dd06b 100644 --- a/iron_condor_scheduler.py +++ b/iron_condor_scheduler.py @@ -16,8 +16,8 @@ eastern_timezone = 'America/New_York' trade_filters = [VolatilityRegimeFilter()] -def enter_trade(): - job_process = Process(target = enter_iron_condor) +def enter_trade(entry_time: datetime): + job_process = Process(target = enter_iron_condor, args = [entry_time]) job_process.start() def connection_successful():