{{Quickfixn}} Create Quickfix message from String

Jie Zhu Jie.Zhu at icbkfs.com
Wed Sep 11 07:37:25 PDT 2019


Hi,

     I am creating a fix message from a string.  As I don't have data dictionary and our client only want me to send the fix message he created in txt file.    In my configurations, I set:

UseDataDictionary=N
ValidateLengthAndChecksum=N
ValidateFieldsOutOfOrder=N
ValidateFieldsHaveValues=N
ValidateUserDefinedFields=N

       I read the string (tradeStr) message, and use var msg=new Message(tradeStr) to create the fix message object.   There comes out an exception, "could not parse message: Error at postion(359) while parsing msg(...)". I looked at the position 359 in his string is the position after tag 10 in the trailer.

        So how can I fix this issues.

Thanks for the help.


Jie
This email and any attached files are confidential and may be legally privileged. If you are not the intended recipient, any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is strictly prohibited. If you have received this transmission in error please notify the sender immediately and then delete this email. Email transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore is in no way liable for any errors or omissions in the contents of this message which may arise as a result of email transmission. If verification is required please request a hard copy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20190911/437a4409/attachment.html>


More information about the Quickfixn mailing list