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

Add support for parsing with alternative field separators #15

Open
da4089 opened this issue Apr 18, 2018 · 3 comments
Open

Add support for parsing with alternative field separators #15

da4089 opened this issue Apr 18, 2018 · 3 comments
Assignees
Milestone

Comments

@da4089
Copy link
Owner

da4089 commented Apr 18, 2018

FIX uses the ASCII SOH character to separate (well, maybe terminate) fields. But for human consumption, these are often replaced with, eg. | when logging messages.

Add optional support for parsing messages using non-standard separators.

@da4089 da4089 self-assigned this Apr 18, 2018
@da4089 da4089 added this to the Release v1.2 milestone Apr 18, 2018
@zoakes
Copy link

zoakes commented Dec 19, 2019

The FIX client I'm trying to connect to will not allow the |||'s, is there any way to remove the pipes?, replace them with spaces -- I tried using str(msg).replace('|', ' ') with no luck...

@da4089
Copy link
Owner Author

da4089 commented Dec 19, 2019

Sorry, I don't understand what you're trying to do here. Normally, pipes are used only for logging (so that humans can read the messages), but proper FIX protocol uses ASCII SOH characters.

Can you explain in a little more detail? Or maybe a snippet of the code?

@zoakes
Copy link

zoakes commented Dec 19, 2019 via email

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

No branches or pull requests

2 participants