{{Quickfixn}} Custom Messages

Grant Birchmeier gbirchmeier at connamara.com
Thu Mar 28 14:59:01 PDT 2013


Which Ruby installer did you try (e.g. which vender's package)?  And
which command preceded "libxml2 not present"?

Perhaps we need to improve our instructions for ruby novices.



On Thu, Mar 28, 2013 at 3:49 PM, Roger Hunter <rhh.invest at gmail.com> wrote:
> I am trying to generate a custom message as follows:
>
>            Message m = new Message();
>             m.Header.SetField(new BeginString("FIX.4.4"));
>             m.SetField(new StringField(35, "U1"));
>             m.SetField(new StringField(1, account));
>             m.SetField(new StringField(20011,
> _accountDetailsReqID.ToString()));
>             _accountDetailsReqID++;
>             SetTradeHeader(m.Header);
>
>             QuickFix.Session.SendToTarget(m);
>
> The message m, just before sending, is:
>
> message = {8=FIX.4.4| 9=61| 49=QM2013xxxx-T| 56=CITIFX |57=FXSpot
> |1=88103260| 35=U1 |20011=1 |10=079 }
>
> The attempt to send the message results in an exception in
> SendRaw->message.Header.GetField(Fields.Tags.MsgType)
>
> Inside GetField, I see that _fields is incorrect. In particular, 35 is not
> present. In fact, the list of _fields is
>
> 8, 9, 49, 56, 57
>
> Why is _fields incorrect here?
>
> I then spent half a day trying to install ruby and nokogiri. I cannot get
> past the error "libxml2 not present". There is no helpful information on the
> web that I can find, and the Nokogiri site says that installing on windows
> is so difficult,
> they have provided the install so that "gem install nokogiri"  "just works".
> My installation passed the DevKit check with jason.
>
> I seem to be blocked at every step here.
>
> _______________________________________________
> 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



More information about the Quickfixn mailing list