{{Quickfixn}} RES: Quickfixn Digest, Vol 9, Issue 9

Felipe Soares felipe.soares at traderdata.com.br
Mon Jul 30 07:44:48 PDT 2012


Unhandled Exception: QuickFix.MessageParseError: Could not parse message:
Error
at position (0) while parsing msg (BW) --->
System.ArgumentOutOfRangeException:
Length cannot be less than zero.



-----Mensagem original-----
De: quickfixn-bounces at lists.quickfixn.com
[mailto:quickfixn-bounces at lists.quickfixn.com] Em nome de
quickfixn-request at lists.quickfixn.com
Enviada em: segunda-feira, 30 de julho de 2012 11:41
Para: quickfixn at lists.quickfixn.com
Assunto: Quickfixn Digest, Vol 9, Issue 9

Send Quickfixn mailing list submissions to
	quickfixn at lists.quickfixn.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
or, via email, send a message with subject or body 'help' to
	quickfixn-request at lists.quickfixn.com

You can reach the person managing the list at
	quickfixn-owner at lists.quickfixn.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of Quickfixn digest..."


Today's Topics:

   1.  Custom Message (Felipe Soares)
   2. Re:  TradeCaptureReportRequest (Mike Gatny)
   3.  Repeating groups (Ruaan Viljoen)
   4. Re:  Custom Message (Mike Gatny)
   5. Re:  TradeCaptureReportRequest (Grant Birchmeier)


----------------------------------------------------------------------

Message: 1
Date: Mon, 30 Jul 2012 11:13:48 -0300
From: Felipe Soares <felipe.soares at traderdata.com.br>
To: quickfixn at lists.quickfixn.com
Subject: {{Quickfixn}} Custom Message
Message-ID: <e43c9551d21fc7834a721195e0aef44c at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi guys,



We are using QuickFixN to integrate with BM&FBovespa and we need to create
a Custom message with FIX 4.4



We already changed the dictionary, and have the following source code to
send a message, but keep getting an error:



            QuickFix.Message m = new Message("BW", true);



            //m.SetField(new QuickFix.Fields.StringField(35,"BG"));

            m.SetField(new QuickFix.Fields.StringField(1346, ""));
//AppReqId

            m.SetField(new QuickFix.Fields.IntField(1347, 0));
//ApplReqType



            m.SetField(new QuickFix.Fields.IntField(1182, 10));
//ApplBegSeqNum

            m.SetField(new QuickFix.Fields.IntField(1183, 20));
//ApplBegSeqNum





Regards

Felipe Soares
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/
20120730/d883b40f/attachment-0001.htm>

------------------------------

Message: 2
Date: Mon, 30 Jul 2012 09:15:49 -0500
From: Mike Gatny <mgatny at connamara.com>
To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} TradeCaptureReportRequest
Message-ID:
	
<CAA1-azM2WwVVDPKN8HTr6vVKrjiggziDf6pn+-c8wymR+1nZNg at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Please post messages log and event log so we can see the exact error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/
20120730/8b510156/attachment-0001.htm>

------------------------------

Message: 3
Date: Mon, 30 Jul 2012 16:16:22 +0200
From: Ruaan Viljoen <ruaanv at estuarys.co.za>
To: Mailing list for QuickFIX/n <quickfixn at lists.quickfixn.com>
Subject: {{Quickfixn}} Repeating groups
Message-ID:
	
<C0E1238152D58A4FB82F19FA6033092A028BCD9F6B8F at DOLPHIN.estuarys.local>
Content-Type: text/plain; charset="us-ascii"

Hi,
Quickfixn is generating a reject with the following message:
'Tag appears  more than once' for tag 447.
Tag 447 appears in the repeating group 'Parties' in FIX50SP2.

I found some fragments online stating that it is possible the server using
a different component name identifier could be the cause, but after
defining a second component with the same name found I still received the
error.

I have also tried both these config options, but they seem to have no
effect.
UseDataDictionary=Y
ValidateUserDefinedFields=N

I also read some vague post about ordering of fields, but ordering the
fields in the xml also had no effect.

I'm relatively new to FIX and I'm not sure what else there is to try.
Any help or links would be appreciated.

My current config file:
[DEFAULT]
ConnectionType=initiator
SocketConnectPort=xxxx
SocketConnectHost=xx.xx.xx.xx
StartTime=00:00:00
EndTime=23:59:00
FileLogPath=Data/FIX/Logs/log

[SESSION]
BeginString=FIXT.1.1
SenderCompID=xxxxx
TargetCompID=xxxxxx
FileStorePath=Data/FIX/Messages/store
HeartBtInt=15
TransportDataDictionary=Data/FIX/Dictionary/FIXT11.xml
DefaultApplVerID=9
UseDataDictionary=Y
ValidateUserDefinedFields=N
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/
20120730/b17ba3b6/attachment-0001.htm>

------------------------------

Message: 4
Date: Mon, 30 Jul 2012 09:20:00 -0500
From: Mike Gatny <mgatny at connamara.com>
To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} Custom Message
Message-ID:
	
<CAA1-azPSL36khC9sz8MK=3dVgw749SAzMW5k-LysV_7UbLSwog at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Please describe the error you are getting.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/
20120730/1502f578/attachment-0001.htm>

------------------------------

Message: 5
Date: Mon, 30 Jul 2012 09:40:13 -0500
From: Grant Birchmeier <gbirchmeier at connamara.com>
To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
Subject: Re: {{Quickfixn}} TradeCaptureReportRequest
Message-ID:
	
<CAMq4opOTSzudHt3VHq5K74fUkOVnxprjm_vY36sLq6P7drg57Q at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Given your description so far, I think this might be a bug.  Having a
required field in a component should not make the component itself
required.

Please send your log so we can verify that we're all on the same page.


On Mon, Jul 30, 2012 at 9:15 AM, Mike Gatny <mgatny at connamara.com> wrote:

> Please post messages log and event log so we can see the exact error.
>
> _______________________________________________
> 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/
20120730/8161be2a/attachment.htm>

------------------------------

_______________________________________________
Quickfixn mailing list
Quickfixn at lists.quickfixn.com
http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com


End of Quickfixn Digest, Vol 9, Issue 9
***************************************


More information about the Quickfixn mailing list