You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to link QuantConnect.Brokerages.InteractiveBrokers by project reference instead of package. The project QuantConnect.Brokerages.InteractiveBrokers references QuantConnect.IBAutomater by project.
In QuantConnect.IBAutomater project I tried to put the line that tries to delete IBAutomater.log in try/catch, but for some reason after doing this and running the project only once, IB Gateway stops working altogether. Even trying to run IB Gateway manually won't work and ibgateway process won't load at all. When reverting changes and linking QuantConnect.Brokerages.InteractiveBrokers by package instead of by project, and running the Launcher, then IB Gateway starts again, with the exception happening again:
System.IO.IOException: The process cannot access the file 'C:\Jts\ibgateway\1019\IBAutomater.log' because it is being used by another process.
This always happens when running the project locally.
---- REPRO STEPS ----
ibgateway version: 1019
In Launcher project reference the following nuget packages:
QuantConnect.Brokerages.InteractiveBrokers
QuantConnect.Brokerages.InteractiveBrokers.ToolBox
(latest version is 2.5.16517 for both)
In
config.json
set the following settings:Run the Launcher
The text was updated successfully, but these errors were encountered: