{{Quickfixn}} Limit String Length
Gaull, Jim
JGaull at ftportfolios.com
Fri Nov 13 12:44:42 PST 2015
Thanks for the response! I can add the logic myself but I didn’t want to add my own custom code if there was already a way to do it using QuickFIX.
From: Quickfixn [mailto:quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant Birchmeier
Sent: Friday, November 13, 2015 11:40 AM
To: Mailing list for QuickFIX/n
Subject: Re: {{Quickfixn}} Limit String Length
Sorry, no, that's not an implemented feature in any QF port that I'm aware of.
On Fri, Nov 13, 2015 at 9:16 AM, Gaull, Jim <JGaull at ftportfolios.com<mailto:JGaull at ftportfolios.com>> wrote:
Hi everyone,
Does anyone know if there’s a way to set the maximum string length that’s allowed for a tag through the dictionary? I would like to reject messages back to our counterparty if certain tags are too long. For example, I believe our counterparty could send us a string that’s 100 characters long for the symbol (tag 55) but our database isn’t set up to accept a field that long. For the sake of speed, I insert the contents of the messages into our database before validating the lengths of the tags. If it’s not possible, I’ll just add a quick check before inserting into the database since my inserts are happening on a separate thread and won’t slow down the processing of new messages coming in.
Thanks!!
_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com<mailto:Quickfixn at lists.quickfixn.com>
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
--
Grant Birchmeier
Connamara Systems, LLC
Made-To-Measure Trading Solutions.
Exactly what you need. No more. No less.
http://connamara.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20151113/c3d9f9aa/attachment-0002.htm>
More information about the Quickfixn
mailing list