simplefix icon indicating copy to clipboard operation
simplefix copied to clipboard

Add support for ignoring leading/trailing junk when parsing messages

Open da4089 opened this issue 8 years ago • 2 comments

It's very common for FIX log files to be written with one message per line, and a direction (send/recv) and timestamp prior to the message.

It'd be nice if FixParser were able to parse such files "out of the box" without having to trim the lines manually first.

Add an optional FixParser behaviour to enable it to ignore spurious characters before the 8=FIX and after the 10=xxx|, such that it can read a FIX log file into a sequence of messages with a single call to append_buffer().

da4089 avatar Apr 18 '18 04:04 da4089

Hi, what's the current status of this feature? This would be awesome to have ASAP, as it would help avoid most of the manual checks and truncation.

Pk13055 avatar May 06 '19 20:05 Pk13055

Hi Pratik -- can you post a sample of the text you'd like to extract the message from? It'd be helpful to have some test cases for this functionality.

da4089 avatar May 06 '19 22:05 da4089