Thread: [Quickfix-developers] Initiator Application + Required tag missing:553
Brought to you by:
orenmnero
From: Rasheed W. <ras...@gm...> - 2011-09-19 12:11:35
|
Hello QuickFIX Experts, I am a newbie to FIX & QuickFIX world. And I am trying to write a Tradelink FIX based connector using QuickFIX for my broker (data provider). I am kind of stuck and I don't understand why my application keeps looking for tag "553" although its not supposed to do so. And I don't understand how to turn it off. I have written an initiator application... Here are my settings file: ---------------------------------------------------------------------------------- # default settings for sessions [DEFAULT] #Defines if session will act as an acceptor or an initiator ConnectionType=initiator FileLogPath=C:/_bTradelink/configs/logs # session definition Stream [SESSION] BeginString=FIX.4.4 TargetCompID=ServerStream SenderCompID=ClientStream StartTime=00:00:00 EndTime=23:30:00 HeartBtInt=20 SocketConnectPort=355 SocketConnectHost=localhost DataDictionary=C:/_bTradelink/configs/FIX44.xml FileStorePath=C:/_bTradelink/configs/msgs # session definition Trade [SESSION] BeginString=FIX.4.4 SocketAcceptPort=356 SenderCompID=ClientTrade TargetCompID=ServerTrade StartTime=00:00:00 EndTime=23:30:00 HeartBtInt=20 SocketConnectPort=356 SocketConnectHost=localhost DataDictionary=C:/_bTradelink/configs/FIX44.xml FileStorePath=C:/_bTradelink/configs/msgs ---------------------------------------------------------------------------------- Here are the messages: 20110912-20:38:19.529 : 8=FIX.4.49=11235=A34=149=ClientStream52=20110912-20:38:19.44056=ServerStream98=0108=20141=Y553=xyz554=abc10=064 20110912-20:38:19.958 : 8=FIX.4.49=8535=A34=149=ServerStream52=20110912-20:38:19.95756=ClientStream98=0108=20141=Y10=233 ---------------------------------------------------------------------------------- Here are the responses: 20110912-20:38:18.516 : Created session 20110912-20:38:19.436 : Connecting to localhost on port 355 20110912-20:38:19.530 : Initiated logon request 20110912-20:38:19.959 : Message 1 Rejected: Required tag missing:553 20110912-20:38:19.959 : Tried to send a reject while not logged on 20110912-20:38:29.185 : Timed out waiting for logon response 20110912-20:38:29.185 : Disconnecting ---------------------------------------------------------------------------------- I don't want my application to look for tag 553 and just let the session going... Please let me know in case i need to provide more information. Please guide me what I am doing wrong? Thanks for help and cooperation in advance. Warm Regards, //R |
From: Andrew C. <And...@tw...> - 2011-09-19 12:56:19
|
QuickFix has a layer that validates the message against the datadictionary and rejects messages that don't pass this filter. If you look at your dictionary (DataDictionary=C:/_bTradelink/configs/FIX44.xml) I'll bet you'll see that this tag is required. Andrew Culross Direct +1 (914) 220-8849 <http://www.twofour.com/> www.TwoFour.com From: Rasheed Waraich [mailto:ras...@gm...] Sent: Monday, September 19, 2011 8:11 AM To: qui...@li... Subject: [Quickfix-developers] Initiator Application + Required tag missing:553 Hello QuickFIX Experts, I am a newbie to FIX & QuickFIX world. And I am trying to write a Tradelink FIX based connector using QuickFIX for my broker (data provider). I am kind of stuck and I don't understand why my application keeps looking for tag "553" although its not supposed to do so. And I don't understand how to turn it off. I have written an initiator application... Here are my settings file: ---------------------------------------------------------------------------- ------ # default settings for sessions [DEFAULT] #Defines if session will act as an acceptor or an initiator ConnectionType=initiator FileLogPath=C:/_bTradelink/configs/logs # session definition Stream [SESSION] BeginString=FIX.4.4 TargetCompID=ServerStream SenderCompID=ClientStream StartTime=00:00:00 EndTime=23:30:00 HeartBtInt=20 SocketConnectPort=355 SocketConnectHost=localhost DataDictionary=C:/_bTradelink/configs/FIX44.xml FileStorePath=C:/_bTradelink/configs/msgs # session definition Trade [SESSION] BeginString=FIX.4.4 SocketAcceptPort=356 SenderCompID=ClientTrade TargetCompID=ServerTrade StartTime=00:00:00 EndTime=23:30:00 HeartBtInt=20 SocketConnectPort=356 SocketConnectHost=localhost DataDictionary=C:/_bTradelink/configs/FIX44.xml FileStorePath=C:/_bTradelink/configs/msgs ---------------------------------------------------------------------------- ------ Here are the messages: 20110912-20:38:19.529 : 8=FIX.4.49=11235=A34=149=ClientStream52=20110912-20:38:19.44056=ServerStream 98=0108=20141=Y553=xyz554=abc10=064 20110912-20:38:19.958 : 8=FIX.4.49=8535=A34=149=ServerStream52=20110912-20:38:19.95756=ClientStream9 8=0108=20141=Y10=233 ---------------------------------------------------------------------------- ------ Here are the responses: 20110912-20:38:18.516 : Created session 20110912-20:38:19.436 : Connecting to localhost on port 355 20110912-20:38:19.530 : Initiated logon request 20110912-20:38:19.959 : Message 1 Rejected: Required tag missing:553 20110912-20:38:19.959 : Tried to send a reject while not logged on 20110912-20:38:29.185 : Timed out waiting for logon response 20110912-20:38:29.185 : Disconnecting ---------------------------------------------------------------------------- ------ I don't want my application to look for tag 553 and just let the session going... Please let me know in case i need to provide more information. Please guide me what I am doing wrong? Thanks for help and cooperation in advance. Warm Regards, //R |
From: Rasheed W. <ras...@gm...> - 2011-09-19 14:58:38
|
Thanks Andrew. I got it now... Thanks once again!!! On Mon, Sep 19, 2011 at 2:54 PM, Andrew Culross <And...@tw...>wrote: > QuickFix has a layer that validates the message against the datadictionary > and rejects messages that don’t pass this filter. If you look at your > dictionary (DataDictionary=C:/_bTradelink/configs/FIX44.xml) I’ll bet > you’ll see that this tag is required.**** > > ** ** > > Andrew Culross**** > > Direct +1 (914) 220-8849**** > > www.TwoFour.com <http://www.twofour.com/> **** > > ** ** > > *From:* Rasheed Waraich [mailto:ras...@gm...] > *Sent:* Monday, September 19, 2011 8:11 AM > *To:* qui...@li... > *Subject:* [Quickfix-developers] Initiator Application + Required tag > missing:553**** > > ** ** > > Hello QuickFIX Experts, > > I am a newbie to FIX & QuickFIX world. And I am trying to write a Tradelink > FIX based connector using QuickFIX for my broker (data provider). > > I am kind of stuck and I don't understand why my application keeps looking > for tag "553" although its not supposed to do so. And I don't understand how > to turn it off. I have written an initiator application... > > Here are my settings file: > > > ---------------------------------------------------------------------------------- > # default settings for sessions > [DEFAULT] > #Defines if session will act as an acceptor or an initiator > ConnectionType=initiator > > FileLogPath=C:/_bTradelink/configs/logs > > # session definition Stream > [SESSION] > BeginString=FIX.4.4 > TargetCompID=ServerStream > SenderCompID=ClientStream > StartTime=00:00:00 > EndTime=23:30:00 > HeartBtInt=20 > SocketConnectPort=355 > SocketConnectHost=localhost > DataDictionary=C:/_bTradelink/configs/FIX44.xml > FileStorePath=C:/_bTradelink/configs/msgs > > # session definition Trade > [SESSION] > BeginString=FIX.4.4 > SocketAcceptPort=356 > SenderCompID=ClientTrade > TargetCompID=ServerTrade > StartTime=00:00:00 > EndTime=23:30:00 > HeartBtInt=20 > SocketConnectPort=356 > SocketConnectHost=localhost > DataDictionary=C:/_bTradelink/configs/FIX44.xml > FileStorePath=C:/_bTradelink/configs/msgs > > > ---------------------------------------------------------------------------------- > > Here are the messages: > > 20110912-20:38:19.529 : 8=FIX.4.49=11235=A34=149=ClientStream52= > 20110912-20:38:19.44056=ServerStream98=0108=20141=Y553=xyz554=abc10=064 > 20110912-20:38:19.958 : 8=FIX.4.49=8535=A34=149=ServerStream52=20110912-20 > :38:19.95756=ClientStream98=0108=20141=Y10=233 > > > > ---------------------------------------------------------------------------------- > > Here are the responses: > > 20110912-20:38:18.516 : Created session > 20110912-20:38:19.436 : Connecting to localhost on port 355 > 20110912-20:38:19.530 : Initiated logon request > 20110912-20:38:19.959 : Message 1 Rejected: Required tag missing:553 > 20110912-20:38:19.959 : Tried to send a reject while not logged on > 20110912-20:38:29.185 : Timed out waiting for logon response > 20110912-20:38:29.185 : Disconnecting > > > ---------------------------------------------------------------------------------- > > I don't want my application to look for tag 553 and just let the session > going... > > Please let me know in case i need to provide more information. Please guide > me what I am doing wrong? > > Thanks for help and cooperation in advance. > > Warm Regards, > //R **** > > -- //Regards Rasheed |