Quantcast

Standard Header Field TargetCompID (56) is out of correct order

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Standard Header Field TargetCompID (56) is out of correct order

Justin D Dix
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Hi,

When I do the following, using quickfixj-all-1.6.2.jar :

QuoteRequest msg = new QuoteRequest();
msg.getHeader().setField(new Symbol("1"));  // "1" is a valid symbol
this.send(msg, sessionID);

I see the generated FIX message

<20160829-14:24:35, FIX.4.4:brokerUID.1234567/QUOTE->bserver, outgoing>
(8=FIX.4.4|9=77|35=R|34=2|49=broker.1234567|50=QUOTE|52=20160829-14:24:35.713|55=1|56=bserver|10=193|)

that has the TargetCompID (56) field just after the Symbol (55) field,
which is outside of the Standard Header.

This message gets rejected by the target with a 35=3 message that has
371=56 and 373=14 , which seems to me like the correct rejection message:

<20160829-14:24:35, FIX.4.4:brokerUID.1234567/QUOTE->bserver, incoming>
(8=FIX.4.4|9=136|35=3|34=2|49=bserver|52=20160829-14:25:47.848|56=brokerUID.1234567|57=QUOTE|45=2|58=Tag
specified out of required order|371=56|372=R|373=14|10=079|)

What can I do to resolve this? e.g. How can I get the 56 field to go in
the standard header?

Thanks,

Justin

--
For by grace are ye saued, through faith, and that not of your selues: it
is the gift of God:
Not of workes, lest any man should boast.
For wee are his workemanship, created in Christ Iesus vnto good workes,
which God hath before ordeined, that we should walke in them. (Ephesians
2:8-10)

http://agora100.com

http://agora100.com/justin/TULIP.pdf

http://www.amazon.com/Omnipotent-Love-Christ-His-Bride/dp/1516819195/ref=sr_1_1?s=books&ie=UTF8&qid=1451584378&sr=1-1&keywords=omnipotent+love



------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Standard Header Field TargetCompID (56) is out of correct order

Christoph John
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Answer is simple: don't set Symbol field in the header. ;) This is a body field.

Cheers,

Chris.


On 29/08/16 17:10, Justin D Dix wrote:

> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J Support: http://www.quickfixj.org/support/
>
>
> Hi,
>
> When I do the following, using quickfixj-all-1.6.2.jar :
>
> QuoteRequest msg = new QuoteRequest();
> msg.getHeader().setField(new Symbol("1"));  // "1" is a valid symbol
> this.send(msg, sessionID);
>
> I see the generated FIX message
>
> <20160829-14:24:35, FIX.4.4:brokerUID.1234567/QUOTE->bserver, outgoing>
> (8=FIX.4.4|9=77|35=R|34=2|49=broker.1234567|50=QUOTE|52=20160829-14:24:35.713|55=1|56=bserver|10=193|)
>
> that has the TargetCompID (56) field just after the Symbol (55) field,
> which is outside of the Standard Header.
>
> This message gets rejected by the target with a 35=3 message that has
> 371=56 and 373=14 , which seems to me like the correct rejection message:
>
> <20160829-14:24:35, FIX.4.4:brokerUID.1234567/QUOTE->bserver, incoming>
> (8=FIX.4.4|9=136|35=3|34=2|49=bserver|52=20160829-14:25:47.848|56=brokerUID.1234567|57=QUOTE|45=2|58=Tag
> specified out of required order|371=56|372=R|373=14|10=079|)
>
> What can I do to resolve this? e.g. How can I get the 56 field to go in
> the standard header?
>
> Thanks,
>
> Justin
>

--
Christoph John
Development & Support
Direct: +49 241 557080-28
Mailto:[hidden email]
       


http://www.macd.com <http://www.macd.com/>
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------
MACD GmbH
Oppenhoffallee 103
D-52066 Aachen
Tel: +49 241 557080-0 | Fax: +49 241 557080-10
         Amtsgericht Aachen: HRB 8151
Ust.-Id: DE 813021663

Geschäftsführer: George Macdonald
----------------------------------------------------------------------------------------------------
       
----------------------------------------------------------------------------------------------------

take care of the environment - print only if necessary

------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Standard Header Field TargetCompID (56) is out of correct order

Justin D Dix
QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
QuickFIX/J Support: http://www.quickfixj.org/support/


Thanks.



Re: [Quickfixj-users] Standard Header Field TargetCompID (56) is out of
correct order
From: Christoph John <christoph.john@ma...> - 2016-08-29 15:39:05

Answer is simple: don't set Symbol field in the header. ;) This is a body
field.

Cheers,

Chris.


------------------------------------------------------------------------------
_______________________________________________
Quickfixj-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quickfixj-users
Loading...