Skip to content

[backtests]: Optimize SimulatedExecutionEngine and enhance ExecutionE… #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

VinayakTiwari1103
Copy link

…ngine structure

ExecutionEngine Module Enhancements

This PR enhances the ExecutionEngine module by:

  • Refactoring ExecutionEngine as an abstract base class (ABC).
  • Optimizing submit_order with bisect.insort for efficient order sorting.
  • Adding docstrings and type hints for improved readability and maintainability.
  • Introducing basic exception handling in the ping method.
  • Applying minor PEP8 cleanups.

These updates improve performance, robustness, and code clarity.

…ngine structure

Enhanced ExecutionEngine with ABC refactor, optimized order sorting, added docstrings/type hints, exception handling, and PEP8 cleanups for better performance and clarity.
@VinayakTiwari1103
Copy link
Author

Hi @rtsscy I have created the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant