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

Efficiency - Refactor Smart Pointers to Raw Pointers #114

Open
mjolewis opened this issue Apr 14, 2024 · 0 comments
Open

Efficiency - Refactor Smart Pointers to Raw Pointers #114

mjolewis opened this issue Apr 14, 2024 · 0 comments
Assignees
Labels
small improvement Small improvements to code

Comments

@mjolewis
Copy link
Owner

Engines are single threaded so don't need to be a shared pointer because no one but itself is responsible for its death.

Each market data consumer will have its own market data client, so these can be raw pointers as well.

Strategy manager is responsible for the death of the objects it creates such as position manager so those can also be raw pointers.

@mjolewis mjolewis self-assigned this Apr 14, 2024
@mjolewis mjolewis added the small improvement Small improvements to code label Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small improvement Small improvements to code
Projects
None yet
Development

No branches or pull requests

1 participant