Skip to content
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

Improve options and futures filter universes filtering performance #8297

Open
3 of 4 tasks
jhonabreul opened this issue Sep 4, 2024 · 0 comments
Open
3 of 4 tasks

Comments

@jhonabreul
Copy link
Collaborator

jhonabreul commented Sep 4, 2024

Expected Behavior

Options and futures filter universes filter methods enumerate (to filter) the data multiple times.

Actual Behavior

Evaluate whether the ContractSecurityFilterUniverse classes filter methods could have Enumnerable like behaviour, reducing the number of times the contracts are enumerated and filtered.

Potential Solution

Evaluate and find a way to chain the filters, like a Linq clause would. For instance, our OptionFilterUniverse Where extension (and other extensions and filter methods), which materializes the enumerable right away by calling ToList()

Reproducing the Problem

Any algorithm adding options like BasicTemplateOptionsAlgorithm. This would be a performance improvement.

System Information

N/A

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants