{{Quickfixn}} 58=Incorrect data format for value 371=6

Grant Birchmeier gbirchmeier at connamara.com
Tue Sep 18 09:33:19 PDT 2018


Those changes make sense.  I'm glad you were able to solve it.

(That AvgPx thing, I think I see it now.  The engine allows empty value, *but
only if it makes sense for the datatype!*  I'm not sure it makes sense for
*any* type except string.)

On Tue, Sep 18, 2018 at 11:21 AM, Mohammed Quwaider <momo505 at msn.com> wrote:

> I solved this issue be changing the type of the AvgPX tag<6> to a string
> in  the DD xml file
>
> As below
>
> <field number="6" name="AvgPx" type="STRING"/>
>
>
>
> As for tag 380
>
> I changed to the below  as to accept the about 500 reasons and doesn’t
> give me the error out of range kindly correct me if I have done something
> wrong or may system works wrong or sends exceptions
>
>
>
>   <field number="380" name="BusinessRejectReason" type="INT"/>
>
> Instead of
>
>     <field number="380" name="BusinessRejectReason" type="INT">
>
>       <value enum="0" description="OTHER"/>
>
>       <value enum="1" description="UNKOWN_ID"/>
>
>       <value enum="2" description="UNKNOWN_SECURITY"/>
>
>       <value enum="3" description="UNSUPPORTED_MESSAGE_TYPE"/>
>
>       <value enum="4" description="APPLICATION_NOT_AVAILABLE"/>
>
>       <value enum="5" description="CONDITIONALLY_REQUIRED_FIELD_MISSING"/>
>
>     </field>
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
> ------------------------------
> *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> on behalf of
> quickfixn-request at lists.quickfixn.com <quickfixn-request at lists.
> quickfixn.com>
> *Sent:* Tuesday, September 18, 2018 7:09:21 PM
> *To:* quickfixn at lists.quickfixn.com
> *Subject:* Quickfixn Digest, Vol 83, Issue 10
>
> 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. Re:  58=Incorrect data format for value 371=6 (Grant Birchmeier)
>    2. Re:  Quickfixn Fix 4.2 How to Send & Receive messages to
>       different TargetCompID in same session (Mohammed Quwaider)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 18 Sep 2018 09:37:30 -0500
> From: Grant Birchmeier <gbirchmeier at connamara.com>
> To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Subject: Re: {{Quickfixn}} 58=Incorrect data format for value 371=6
> Message-ID:
>         <CAMq4opN67m8BX21nRtV062t=HOM48=SiLgJ0ux-QGsWmnbU+Ng@
> mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Please do not send screenshots in the future.  It's not difficult to
> copy/paste messages from your terminal into an email.  Also, I'd really
> like to see the messages as they are recorded in your message log, not from
> your console output or event log.  In my experience, only the raw FIX
> message log can truly be trusted.
>
> I don't see anything obviously wrong here.  Either you are not using the
> config that you think you are, or there is something else happening that I
> cannot see from what you have provided.
>
>
>
>
> On Thu, Sep 13, 2018 at 5:27 AM, Mohammed Quwaider <momo505 at msn.com>
> wrote:
>
> > Kindly check the screen shot of the Fix message on the Incorrect data
> > format for value 371=6 , also check the other error for Out of range for
> > Tag number 380 out of range
> >
> >
> >
> >
> >
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows
> > 10
> >
> >
> > ------------------------------
> > *From:* Mohammed Quwaider <momo505 at msn.com>
> > *Sent:* Thursday, September 13, 2018 12:36:20 AM
> > *To:* quickfixn at lists.quickfixn.com
> > *Subject:* RE: {{Quickfixn}} 58=Incorrect data format for value 371=6
> >
> >
> > I?m currently working on the Source Code version downloaded from
> > https://github.com/connamara/quickfixn
> >
> > I will send you tomorrow the fix message and I connect to the server.
> >
> >
> >
> > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> > Windows 10
> >
> >
> > ------------------------------
> > *From:* Quickfixn <quickfixn-bounces at lists.quickfixn.com> on behalf of
> > quickfixn-request at lists.quickfixn.com <quickfixn-request at lists.quick
> > fixn.com>
> > *Sent:* Wednesday, September 12, 2018 11:34:17 PM
> > *To:* quickfixn at lists.quickfixn.com
> > *Subject:* Quickfixn Digest, Vol 83, Issue 4
>
> >
> > 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.  58=Incorrect data format for value 371=6 (Mohammed Quwaider)
> >    2. Re:  58=Incorrect data format for value 371=6 (Grant Birchmeier)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 12 Sep 2018 08:12:37 +0000
> > From: Mohammed Quwaider <momo505 at msn.com>
> > To: "quickfixn at lists.quickfixn.com" <quickfixn at lists.quickfixn.com>
> > Subject: {{Quickfixn}} 58=Incorrect data format for value 371=6
> > Message-ID:
> >         <SN2PR03MB225622F2A9859BCD7AFF1DC3F51B0 at SN2PR03MB2256.namprd
> > 03.prod.outlook.com>
> >
> > Content-Type: text/plain; charset="windows-1252"
> >
> >
> >
> > I have the ?58=Incorrect data format for value? when retrieving AvgPx
> null
> > valu, How can I ignore null or empty values in the QuickFix
> > I did in the below in the config file
> >
> > 58=Incorrect data format for value371=6
> >
> > ValidateFieldsHaveValues=N
> >
> > [cid:image001.png at 01D44A89.46D89100]
> >
> >
> > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
> > Windows 10
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.co
> > m/attachments/20180912/6ea31555/attachment-0001.html>
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: F8FC6A3825BE4890A1A60E4DBAFF8B06.png
> > Type: image/png
> > Size: 2073 bytes
> > Desc: F8FC6A3825BE4890A1A60E4DBAFF8B06.png
> > URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.co
> > m/attachments/20180912/6ea31555/attachment-0001.png>
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Wed, 12 Sep 2018 09:56:32 -0500
> > From: Grant Birchmeier <gbirchmeier at connamara.com>
> > To: "Mailing list for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> > Subject: Re: {{Quickfixn}} 58=Incorrect data format for value 371=6
> > Message-ID:
> >         <CAMq4opN0UYczCB_HQJZWSv+rctr3diiTtLFOgBLTWTPkR7B-+A at mail.gm
> > ail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > That setting should work.  What version of QF/n are you using?  (Are you
> > using the NuGet package?  It's not official, and is a bit behind the
> > current source.)
> >
> > Please show me the actual fix message, and the associated reject message.
> > (Don't forget to remove any secret or proprietary info first)
> >
> > On Wed, Sep 12, 2018 at 3:12 AM, Mohammed Quwaider <momo505 at msn.com>
> > wrote:
> >
> > >
> > >
> > >
> > >
> > > I have the ?58=Incorrect data format for value? when retrieving AvgPx
> > null
> > > valu, How can I ignore null or empty values in the QuickFix
> > >
> > > I did in the below in the config file
> > >
> > >
> > >
> > > 58=Incorrect data format for value371=6
> > >
> > >
> > >
> > > ValidateFieldsHaveValues=N
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> > > Windows 10
> > >
> > >
> > >
> > > _______________________________________________
> > > 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.co
> > m/attachments/20180912/b44e1ec9/attachment-0001.html>
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: F8FC6A3825BE4890A1A60E4DBAFF8B06.png
> > Type: image/png
> > Size: 2073 bytes
> > Desc: not available
> > URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.co
> > m/attachments/20180912/b44e1ec9/attachment-0001.png>
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > Quickfixn mailing list
> > Quickfixn at lists.quickfixn.com
> > http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
> >
> >
> > ------------------------------
> >
> > End of Quickfixn Digest, Vol 83, Issue 4
> > ****************************************
> >
> > _______________________________________________
> > 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/20180918/44fd28fa/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 18 Sep 2018 16:09:18 +0000
> From: Mohammed Quwaider <momo505 at msn.com>
> To: "christoph.john at macd.com" <christoph.john at macd.com>, "Mailing list
>         for QuickFIX/n" <quickfixn at lists.quickfixn.com>
> Subject: Re: {{Quickfixn}} Quickfixn Fix 4.2 How to Send & Receive
>         messages to different TargetCompID in same session
> Message-ID:
>         <SN6PR04MB48784B6977EE4EB401E94789F51D0 at SN6PR04MB4878.
> namprd04.prod.outlook.com>
>
> Content-Type: text/plain; charset="utf-8"
>
> Thank Christoph,
> Kindly note that the counterparty uses Cap-fix engine which requires
> password when logon, and after successful logon they request to reset the
> sequence number and change the TargetSubID to something different also they
> request sending tags  <D> , <G> , <F> with another ID for SenderCompID to
> be 1 instead 0  also they needs the tags fields for <D> , <G> , <F> to be
> sorted in specific sort
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
> ________________________________
> From: Christoph John <christoph.john at macd.com>
> Sent: Tuesday, September 18, 2018 5:32:56 PM
> To: Mailing list for QuickFIX/n; Mohammed Quwaider
> Subject: Re: {{Quickfixn}} Quickfixn Fix 4.2 How to Send & Receive
> messages to different TargetCompID in same session
>
> Are you sure that they require you to address different Target*Comp*IDs in
> one session? That would be somewhat illegal in a FIX context since a FIX
> session is uniquely described by FIX version + SenderCompID + TargetCompID.
> So sending a message with a different TargetCompID to an already
> established session will not work.
>
> Maybe they require you to address a different Target*Sub*ID?!
>
> Otherwise it would make no sense.
>
> Chris.
>
> On 18/09/18 12:32, Mohammed Quwaider wrote:
>
>
> How to send & receive Fix messages to different TargetCompID in same
> session, The Exchange I connect to give one session only and wants send Fix
> orders in different TargetCompID also receiving execution report tag <8> in
> that same different TargetCompID other fixed messages uses the original in
> the configuration file (TargetCompID=0)
>
> Can you give quick solution how to solve this issue.
>
>
>
> Config file
>
> [SESSION]
> BeginString=FIX.4.2
> SenderCompID=555
> SenderSubID= BBBBBB
> TargetCompID=0
>
> ToAdmin Code I use which doesn?t work
>
> public void ToAdmin(Message message, SessionID sessionID)
> {
> if ( (message.ToString().IndexOf("35=D") > 0) ||
> (message.ToString().IndexOf("35=G") > 0) || (message.ToString().IndexOf("35=F")
> > 0))
> {
>                message.Header.SetField(new TargetCompID("1"));
> }
> }
> 9:56:38 ToApp: 8=FIX.4.2?9=261?35=D?34=63?49=555?50=BBBBBB?52=20180918-06:
> 56:38?56=0?128=1?129=AAAAAA?1=555-----126?11=1?21=1?22=4?38=
> 2500?40=2?44=0.03?47=C?48=JO3109211016?54=2?55=JO3109211016?58=Testing
> Fix Connec?59=1?60=20180918-09:56:38.579?109=126?110=50?111=100?
> 9596=2?9947=55500350?10=140?
> 9:56:38 Exchange: 8=FIX.4.2?9=115?35=3?34=73?49=
> 0?50=AAAAAA?52=20180918-09:56:38?56=555?45=63?58=cannot process order:
> TargetCompID is invalid?372=D?10=067?
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com<mailto:Quickfixn at lists.quickfixn.com>
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
>
> --
> Christoph John
> Software Engineering
> T +49 241 557080-28
> christoph.john at macd.com<mailto:christoph.john at macd.com>
>
> MACD GmbH
> Oppenhoffallee 103
> 52066 Aachen, Germany
> www.macd.com<http://www.macd.com>
>
> Amtsgericht Aachen: HRB 8151
> Ust.-Id: DE 813021663
> Gesch?ftsf?hrer: George Macdonald
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.
> com/attachments/20180918/ff2c8d45/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Quickfixn mailing list
> Quickfixn at lists.quickfixn.com
> http://lists.quickfixn.com/listinfo.cgi/quickfixn-quickfixn.com
>
>
> ------------------------------
>
> End of Quickfixn Digest, Vol 83, Issue 10
> *****************************************
>
> _______________________________________________
> 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/20180918/84f834ce/attachment.htm>


More information about the Quickfixn mailing list