{{Quickfixn}} Fwd: Sending bursts of messages

Kaitlyn Hwang kaitlyn.hwang at gmail.com
Thu Sep 24 18:34:05 PDT 2015


Hi

I am trying to create a NewSingleOrder with a NoLegs group, but there is an error occurring (no message to tell me what ) and the FIX message is being created in numeric order (apart from the group which is tagged onto the end). Added to this the group has an additional tag of 1=1 that I don't want.

I suspect that it is the group that I am adding that is causing the issue. I am looping through each leg that I need to add and creating a group as follows

            for (var counter = 1; counter <= legs.Count; counter++)
{
            var legToAdd = legs[counter - 1];
            var legsGroup = new Group(counter, Fix.Delimiter);
            legsGroup.SetField(new StringField(
                                                                                                SideField,
                                                                                                legToAdd.Side == TradeSide.Buy
                                                                                                ? QuickFix.Fields.Side.BUY.ToString()
                                                                                                : QuickFix.Fields.Side.SELL.ToString()));

The fix that is being created is

8=FIX.4.4 9=280 35=D 34=2 49=XXXXXX 52=20150910-13:22:52.741 56=XXX 11=XXX123456 55=NID 75=20150909 109=02582 167=F 375=XXX 423=0 555=1 6004=S 7931=2 20011=012345 20012=012345 1=1 54=1 60=20150910-14:22:49.000 687=1 5474=9875 5475=041215 5476=012345 5477=CROSS 10=169

The first part of the FIX message is wrong because it is in the wrong order and the group should follow the 555 NoLeg indicator. I have a function that creates the message correctly and passes it into the constructor of a Message object. This uses the DataDictionary and creates a correct Fix Message, so I know my DataDictionary is correct. I think it is the way that I am creating the group that is wrong.

Can any body help?

Damion Saunders | Back Office Development
Sucden Financial Limited | Plantation Place South | 60 Great Tower Street | London EC3R 5AZ
Telephone (DDI): +44 (0)20 3207 5285 | Switchboard: +44 (0)20 3207 5000 | Facsimile: +44 (0)20 3207 5010
Email: Damion.Saunders at sucfin.com<mailto:Damion.Saunders at sucfin.com> | Website: www.sucdenfinancial.com<http://www.sucdenfinancial.com>

[cid:image001.jpg at 01D0EC6F.CA448EC0]

www.sucdenfinancial.com

Sucden Financial Limited, Plantation Place South, 60 Great Tower Street, London EC3R 5AZ
Telephone +44 203 207 5000

Registered in England no. 1095841
VAT registration no. GB 446 9061 33

Authorised and Regulated by the Financial Conduct Authority (FCA) and entered in the FCA register under no. 114239

This email, including any files transmitted with it, is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you are not the intended recipient of this message, please notify postmaster at sucfin.com immediately and delete it from your computer system.

We believe, but do not warrant, that this email and its attachments are virus-free, but you should check.

Sucden Financial Limited may monitor traffic data of both business and personal emails. By replying to this email, you consent to Sucden Financial 's monitoring the content of any emails you send to or receive from Sucden Financial . Sucden Financial is not liable for any opinions expressed by the sender where this is a non-business email.

The contents of this e-mail do not constitute advice and should not be regarded as a recommendation to buy, sell or otherwise deal with any particular investment.

This message has been scanned for viruses by Mimecast.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20150911/7b035715/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 54678 bytes
Desc: image001.jpg
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20150911/7b035715/attachment-0002.jpg>


More information about the Quickfixn mailing list