|
From: Christoph J. <chr...@ma...> - 2019-08-22 09:33:18
|
Hmm, looks as if you didn't declare the dependency on quickfixj in your pom.xml? But hard to tell without more info. Chris. On 22.08.19 11:17, Pavel Tashev wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Ok, I change the code to this: > > charzero='0'; > charone='1'; > quickfix.fix44.MarketDataRequestmessage=newquickfix.fix44.MarketDataRequest(); > message.setField(newquickfix.field.MDReqID("EURUSD")); //262 > message.setField(newquickfix.field.SubscriptionRequestType(one)); //263 > message.setField(newquickfix.field.MarketDepth(1)); //264 > message.setField(newquickfix.field.MDUpdateType(0)); // 265 > quickfix.fix44.MarketDataRequest.MDReqGrpgroupMDReqGrp=newquickfix.fix44.MarketDataRequest.MDReqGrp(); > groupMDReqGrp.set(newNoMDEntryTypes('2')); //267 > groupMDReqGrp.set(newMDEntryType(zero)); //269 > groupMDReqGrp.set(newMDEntryType(one)); //269 > message.addGroup(groupMDReqGrp); > quickfix.fix44.MarketDataRequest.InstrmtMDReqGrpgroupInstrmtMDReqGrp=newquickfix.fix44.MarketDataRequest.InstrmtMDReqGrp(); > groupInstrmtMDReqGrp.set(newNoRelatedSym(1)); //146 > message.addGroup(groupInstrmtMDReqGrp); > Session.sendToTarget(message, senderCompID, marketTargetCompID); > > I changed fix42 to fix44 because I use FIX.4.4. Maven now fires this error: > > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile > (default-compile) on project automated: Compilation failure: Compilation failure: > [ERROR] /var/quickfixj/automated/src/main/java/com/automated/Application.java:[318,41] cannot find > symbol > [ERROR] symbol: class MDReqGrp > [ERROR] location: class quickfix.fix44.MarketDataRequest > [ERROR] /var/quickfixj/automated/src/main/java/com/automated/Application.java:[318,103] cannot > find symbol > [ERROR] symbol: class MDReqGrp > [ERROR] location: class quickfix.fix44.MarketDataRequest > [ERROR] /var/quickfixj/automated/src/main/java/com/automated/Application.java:[324,41] cannot find > symbol > [ERROR] symbol: class InstrmtMDReqGrp > [ERROR] location: class quickfix.fix44.MarketDataRequest > [ERROR] /var/quickfixj/automated/src/main/java/com/automated/Application.java:[324,117] cannot > find symbol > [ERROR] symbol: class InstrmtMDReqGrp > [ERROR] location: class quickfix.fix44.MarketDataRequest > [ERROR] -> [Help 1] > > On Wed, Aug 21, 2019 at 3:24 PM <tom...@up... <mailto:tom...@up...>> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > Hi Pavel, > > You are doing repeating groups all wrong. See here for how to supply > repeating groups: > https://www.quickfixj.org/usermanual/2.0.0/usage/repeating_groups.html > > Regards, > -- > Tom Tempelaere > > -----Original Message----- > From: Pavel Tashev <pav...@wh... <mailto:pav...@wh...>> > Sent: Wednesday, 21 August 2019 13:34 > To: qui...@li... <mailto:qui...@li...> > Subject: [Quickfixj-users] The order of the tags in the message I sent is > mixed > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... <mailto:Qui...@li...> > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |