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

Security Re-Addition Behavior Tidy Up #7929

Open
3 tasks done
jaredbroad opened this issue Apr 16, 2024 · 0 comments
Open
3 tasks done

Security Re-Addition Behavior Tidy Up #7929

jaredbroad opened this issue Apr 16, 2024 · 0 comments

Comments

@jaredbroad
Copy link
Member

Expected Behavior

Call Remove Security, then Add Security should reset the assets so they trigger the same events and end up in a happy state.

Actual Behavior

  • Remove OptionContracts then re-adding them results in tradable-false;
  • Security Initializer not called on re-adding.
  • Options and equities reportedly have different behavior.

Potential Solution

Review security construction logic.

Reproducing the Problem

Code to follow.

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • 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

1 participant