Thread: [Quickfix-developers] NewOrderSingle Error
Brought to you by:
orenmnero
From: linus w. <lyn...@ya...> - 2008-07-10 10:29:00
|
Hi when i try to send an order messge i get a reject message whith "invalid message type" error. wat could be the problem. here is my vb code Dim message As New QuickFix44.NewOrderSingle(New QuickFix.ClOrdID("OL_37823"), New Side("1"), New TransactTime(), New OrdType("1")) message.setField(48, ("NMG.o0000")) message.setField(38, ("1000")) message.setField(210, ("1000")) message.setField(6315, ("ET NORMAL")) message.setField(6683, ("10.64.10.32")) message.setField(6684, ("1")) message.setField(6733, ("0000000945429LI")) Session.sendToTarget(message, "DWD", "RMDS") my log is as follows: 8=FIX.4.49=7435=UL49=RMDS56=DWD34=2552=20080707-08:22:206372=Equity6421=06422=010=211 8=FIX.4.49=12035=UF49=RMDS56=DWD34=2652=20080707-08:22:206301=316372=Equity6737=ET NORMAL6371=2007/12/066598=10:006738=Open10=062 8=FIX.4.49=11735=UF49=RMDS56=DWD34=2752=20080707-08:22:206301=316372=Equity6737=ET ODD6371=2007/12/066598=10:006738=Open10=083 8=FIX.4.49=12035=UF49=RMDS56=DWD34=2852=20080707-08:22:206301=316372=Equity6737=ET PROMPT6371=2007/12/066598=10:006738=Open10=089 8=FIX.4.49=5735=UG49=RMDS56=DWD34=2952=20080707-08:22:2058=READY10=235 8=FIX.4.49=7535=UH49=RMDS56=DWD34=3052=20080707-08:22:206722=DEFAULT6421=06422=010=079 8=FIX.4.49=7435=UH49=RMDS56=DWD34=3152=20080707-08:22:206722=NORMAL6421=06422=010=019 8=FIX.4.49=7535=UH49=RMDS56=DWD34=3252=20080707-08:22:206722=PRIMARY6421=06422=010=112 8=FIX.4.49=7735=UH49=RMDS56=DWD34=3352=20080707-08:22:206722=SECONDARY6421=06422=010=247 8=FIX.4.49=18335=D34=449=DWD52=20080707-08:22:59.45656=RMDS11=OL_3782338=100040=148=NMG.o000054=160=20080707-08:22:59210=10006315=ET NORMAL6683=10.64.10.326684=16733=0000000945429LI10=202 8=FIX.4.49=7635=349=RMDS56=DWD34=3452=20080707-08:22:2145=458=Invalid Message Type10=084 what am i doing wrong or is the problem withmy counterparts server? could there be a problem with sessions and if so how can it be resolved? Thanks! |
From: Shane T. <str...@co...> - 2008-07-10 13:15:43
|
Linus, Have you contacted your counterparty? Your message is correct (i.e. MsgType=D), it is for them to determine and tell you why your orders were rejected. On Thu, Jul 10, 2008 at 5:28 AM, linus wahome <lyn...@ya...> wrote: > QuickFIX Documentation: > http://www.quickfixengine.org/quickfix/doc/html/index.html > QuickFIX Support: http://www.quickfixengine.org/services.html > > > Hi > > when i try to send an order messge i get a reject message whith "invalid > message > type" error. wat could be the problem. > > here is my vb code > *Dim message As New QuickFix44.NewOrderSingle(New > QuickFix.ClOrdID("OL_37823"), New Side("1"), New TransactTime(), New > OrdType("1")) > message.setField(48, ("NMG.o0000")) > message.setField(38, ("1000")) > message.setField(210, ("1000")) > message.setField(6315, ("ET NORMAL")) > message.setField(6683, ("10.64.10.32")) > message.setField(6684, ("1")) > message.setField(6733, ("0000000945429LI")) > Session.sendToTarget(message, "DWD", "RMDS")* > > *my log is as follows:* > 8=FIX.4.49=7435=UL49=RMDS56=DWD34=2552=20080707-08:22:206372=Equity6421=06422=010=211 > > 8=FIX.4.49=12035=UF49=RMDS56=DWD34=2652=20080707-08:22:206301=316372=Equity6737=ET > NORMAL6371=2007/12/066598=10:006738=Open10=062 > 8=FIX.4.49=11735=UF49=RMDS56=DWD34=2752=20080707-08:22:206301=316372=Equity6737=ET > ODD6371=2007/12/066598=10:006738=Open10=083 > 8=FIX.4.49=12035=UF49=RMDS56=DWD34=2852=20080707-08:22:206301=316372=Equity6737=ET > PROMPT6371=2007/12/066598=10:006738=Open10=089 > 8=FIX.4.49=5735=UG49=RMDS56=DWD34=2952=20080707-08:22:2058=READY10=235 > 8=FIX.4.49=7535=UH49=RMDS56=DWD34=3052=20080707-08:22:206722=DEFAULT6421=06422=010=079 > > 8=FIX.4.49=7435=UH49=RMDS56=DWD34=3152=20080707-08:22:206722=NORMAL6421=06422=010=019 > > 8=FIX.4.49=7535=UH49=RMDS56=DWD34=3252=20080707-08:22:206722=PRIMARY6421=06422=010=112 > > 8=FIX.4.49=7735=UH49=RMDS56=DWD34=3352=20080707-08:22:206722=SECONDARY6421=06422=010=247 > > > > 8=FIX.4.49=18335=D34=449=DWD52=20080707-08:22:59.45656=RMDS11=OL_3782338=100040=148=NMG.o000054=160=20080707-08:22:59210=10006315=ET > NORMAL6683=10.64.10.326684=16733=0000000945429LI10=202 > > > 8=FIX.4.49=7635=349=RMDS56=DWD34=3452=20080707-08:22:2145=458=*Invalid > Message Type*10=084 > > what am i doing wrong or is the problem withmy counterparts server? could > there be a problem with sessions and if so how can it be resolved? > > Thanks! > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Quickfix-developers mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfix-developers > -- Shane Trotter Connamara Systems, LLC |