Pass the entry time to the iron condor trade processes
This commit is contained in:
parent
786364a8af
commit
c05bed04b9
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user