{{Quickfixn}} How do make my own messages for the cracker? ;)

Grant Birchmeier gbirchmeier at connamara.com
Mon Apr 16 09:16:08 PDT 2012


QF/n is adapted from a Unix-based project.  We're aware that it does not
entirely follow the .NET paradigm, but it does follow a methodology that
has worked for more than 5 years in production trading environments.

We welcome all .NET developers who would like to contribute patches that
will steer QF/n into a direction more conformant with .NET conventions and
best practices.
http://quickfixn.org/about/contribute

Regarding your points:

"It makes code singning bad. I can not write a generic interface because my
generated quickfix library changes depending what messages I expect." --
Your message definitions should not be changing very often.  Sometimes the
counterparty makes small modifications in their FIX spec, but recompiling
for those changes has never been more than a minor task.

"I can pretty mucn never get quickfix via NuGet because I have to – as you
say yourself – regularly / normally generate my own version." - Yes, this
is a downside.

If you dislike custom compilation, then the non-typesafe generic methods
are your main option.  If you can think of a better generic interface for
field and message access, please log an issue with your proposal.

Note: please be aware of issue 12, which may affect apps that use the
default message specs.
https://github.com/connamara/quickfixn/issues/12

-Grant


On Mon, Apr 16, 2012 at 10:48 AM, Thomas Tomiczek <t.tomiczek at nettecture.com>
wrote:
>
> Yes, but working with .NET more than 10 years… I should not have to
rework the base library for that. I should be able to bind my own generated
message classes into QuickFix (maybe register them with a method call).
>
>
>
> Having to regenerate the core library breaks multiple core .NET
fundamentals:
>
>
>
> -          It makes code singning bad. I can not write a generic
interface because my generated quickfix library changes depending what
messages I expect.
>
> -          I can pretty mucn never get quickfix via NuGet because I have
to – as you say yourself – regularly / normally generate my own version.
>
>
>
> The .NET way is NOT “regenerate part of the library”, it is “there is a
library, your messages are part of your code and here is how to make sure
our library works with your messages”.
>
>
>
> Failing to be willing to compromise with core .NET design principles on
my end. If I have to modify the QuickFix codebase it means I will use that
feature. Until that part is reworked into – well – standard .NET behaviors
and proper separated design.
>
>
>
> From: quickfixn-bounces at lists.quickfixn.com [mailto:
quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant Birchmeier
> Sent: 16 April 2012 17:44
>
>
> To: Mailing list for QuickFIX/n
> Subject: Re: {{Quickfixn}} How do make my own messages for the cracker? ;)
>
>
>
> Generating the message class files and fields is actually rather easy.
 Because of the flexible nature of FIX, this is actually a standard
practice with QuickFIX (for any language).
>
>
>
> Having worked with QF for quite some time now, the advantage of having
convenient and type-safe field methods is more than worth the minor trouble
of rebuilding.
>
>
>
> -Grant
>
>
>
>
>
> On Mon, Apr 16, 2012 at 10:28 AM, Thomas Tomiczek <
t.tomiczek at nettecture.com> wrote:
>
> Actually I have the FIX42.xml file from TT – all the fields are there. I
really do not like I have to recompile QuickFix for something that is
likely a common modification (i.e. there ma be versions that may move in
and out of a program). Would be nicer of a T4 script would be there (put it
into a project, link xml file, generate source on click) and the messages
could be in a separate dll (get quickfix from nugget, still use my own
generated messages) ;)
>
>
>
> Well ;) For now I stick with manual code then. I don’t want to use my own
version of QuickFix for something like that.
>
>
>
> From: quickfixn-bounces at lists.quickfixn.com [mailto:
quickfixn-bounces at lists.quickfixn.com] On Behalf Of Grant Birchmeier
> Sent: 16 April 2012 17:26
> To: Mailing list for QuickFIX/n
> Subject: Re: {{Quickfixn}} How do make my own messages for the cracker? ;)
>
>
>
> If you want to add new message types, you'll have to edit the FIX44.xml
file (or the xml file for whatever version TT is based on).  Then you can
regenerate the QF source and you'll have typesafe methods for your messages
and fields.
>
>
>
> Have a look at the xml file.  I don't think we have docs about it's
structure, but I think it's fairly easy to figure out after you look at it
for a few minutes.  There's a huge section at the start that defines the
messages, followed by a huge section that defines the fields.
>
>
>
> -Grant
>
>
>
> On Mon, Apr 16, 2012 at 9:58 AM, Thomas Tomiczek <
t.tomiczek at nettecture.com> wrote:
>
> I try to hook up TT Fix (Trading Technologies) and their XML defines some
additional messages.
>
>
>
> So far I do the “GetField” stuff, which obviously is a little more
tendious than using the cracker.
>
>
>
>
>
> Would like to have my own clases generated. Any documentation for that?
>
>
>
> Regards
>
>
>
> Thomas
>
>
> _______________________________________________
> Quickfixn mailing list
> 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
>
>
>
>
> _______________________________________________
> Quickfixn mailing list
> 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
>
>
>
>
> _______________________________________________
> Quickfixn mailing list
> 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/20120416/4399ef66/attachment-0002.htm>


More information about the Quickfixn mailing list