Pass the entry time to the iron condor trade processes

This commit is contained in:
moshferatu 2024-02-14 08:29:37 -08:00
parent 786364a8af
commit c05bed04b9

View File

@ -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():