Conversation
Using the string between field 8= and 35= as seperator. Allow multiple char seperators.
c6fd624 to
d4e6cc8
Compare
|
Thanks for the PR! Can you share some data to test this change with, that shows a case where it improves parsing? |
|
Because different software products different foormat of FIX log, the Following is several types of log we have met: |
Are we sure about that? I don't work much with FIX at the moment. My recollection of FIX is that there are very few standard behaviours in the wild. I'm all for auto-detecting the separator, but I am concerned about doing so based on an assumption that might not be universally true. |
|
Hi both,
indeed FIX tags 8/9/35 are some sort of usual start in messages for what I
saw in my FIX years, but I also remember that FIX can have very "exotic"
variations to say the least ;-)
I guess adding some sort of auto-detection is indeed nice.
It would be good if the detection is not "stubborn" and behave like an
extra "magic" feature if it detects a format, and just quietly does nothing
(or maybe a little warning in the UI) if the format is not matching a list
a pre-configured formats (that users may be able to customize?)
Sorry if I am not clear ...
…On Fri, 24 Feb 2023 at 10:27, Drew Noakes ***@***.***> wrote:
Because the first 3 tags in FIX message is 8/9/35
Are we sure about that? I don't work much with FIX at the moment. My
recollection of FIX is that there are very few standard behaviours in the
wild. I'm all for auto-detecting the separator, but I am concerned about
doing so based on an assumption that might not be universally true.
—
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABFVM3VBS37PD4MYOBVOKYTWZB5HRANCNFSM6AAAAAAUP5I4ZY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
In page 20 of the
So, if we use the standard header, it should works. If not, this algorithm will fall back to one of the seperators ( |
Because the first 3 tags in FIX message is 8/9/35, we can assume the same seperator is used in whole message, so we can detect it from these 3 tags.
Because the value of
9=is always numbers, so we can use the string from the first non-number charater after9=to35=as seperator.