esanchezros / quickfixj-spring-boot-starter

Spring Boot Starter for QuickFIX/J
Apache License 2.0
125 stars 57 forks source link

fix5.0sp1 gets market price anomalies #118

Closed DUZHANGYI closed 9 months ago

DUZHANGYI commented 9 months ago

Hello, when I subscribe to the market price of fix5.0sp1, toadmin 58=Tag not defined for this message type, field=55 appears. I want to know what is the reason, thank you

esanchezros commented 9 months ago

Hi @DUZHANGYI, the quickfixj spring boot starter is just a wrapper around the quickfixj library which handles the connection, session and sending of messages to the exchange. For the error description, it seems you did not send the subscription to the market price (https://www.onixs.biz/fix-dictionary/5.0.sp1/tagnum_55.html). Try adding the Symbol to the request and see if that fixes your problem.

Will close as this issue is not related to the library

DUZHANGYI commented 9 months ago

I'm glad to hear from you Here are the responses I sent and received

8=FIXT.1.19=18535=V34=349=ATLTD52=20231117-00:29:08.37256=PRD-ATLTD262=icbc-rate-sub-XAU/USD-1263=1264=1265=11070=0146=155=XAU/USD167=FOR15=USD63=0267=2269=0269=110=118 8=FIXT.1.19=49935=X34=449=PRD-ATLTD52=20231117-00:29:11.97656=ATLTD1128=855=XAU/USD262=icbc-rate-sub-XAU/USD-1268=2279=0269=0278=icbc-rate-sub-XAU/USD-1 XAU.USD=20231117002911120.00 4Pa.2FDBBC7D270=1981.88126=20231117-00:31:11.975299=1:FX.CROSS.XAU.USD.SPOT63=064=202311211070=01026=1981.88279=0269=1278=icbc-rate-sub-XAU/USD-1 XAU.USD=20231117002911120.00 4Pa.2FDBBC7F270=1982.19126=20231117-00:31:11.975299=1:FX.CROSS.XAU.USD.SPOT63=064=202311211070=01026=1982.1910=135

But MarketDataIncrementalRefresh type of message does not appear in the onMessage MessageCracker

My idea console keeps popping error> (Reject sent for message 4: Tag not defined for this message type, field=55)

I wonder what the reason is Looking forward to your reply

DUZHANGYI commented 9 months ago

@esanchezros ValidateFieldsOutOfOrder=N ValidateUserDefinedFields=N ValidateUnorderedGroupFields=N ValidateIncomingMessage=N AllowUnknownMsgFields=Y RejectGarbledMessage=N RejectInvalidMessage=N After adding the above configuration, it was solved. Thank you very much for your previous reply.