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

changed logic in parse subscription to handle class designation #559

Closed
wants to merge 2 commits into from

Conversation

mickeyyawn
Copy link

issue 1474. Customer was passing in a Class B designation on subscription/ticker string. The client side validation was unable to handle that. Correct fix is the change the subscribe method to take args as opposed to a string that we have to parse. But that would be a breaking change.

removed old method. oops.
not sure if our linter/parser was happy with the case statement so moved it back to an if statement
@justinpolygon
Copy link
Contributor

justinpolygon commented Nov 27, 2023

Closing this in favour of #567. The reason is that there are 10k+ tickers and we might get into a scenario where there are, or could. be, tickers like T.A.B.C.D and then we'll have a bug again. So, just split everything after the first period and pass it along.

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.

2 participants