nautechsystems / nautilus_trader

A high-performance algorithmic trading platform and event-driven backtester
https://nautilustrader.io
GNU Lesser General Public License v3.0
2.21k stars 506 forks source link

Fix in-flight orders check and catch unexpected exceptions #2053

Closed davidsblom closed 2 weeks ago

davidsblom commented 2 weeks ago

Pull Request

Fix in-flight orders check and catch unexpected exceptions. The LiveExecutionEngine.config variable does not exist. The inflight orders task silently stopped, hence adding a try-except pattern to catch unexpected errors.

Type of change

Delete options that are not relevant.

Live example of dYdX