|
From: Christoph J. <chr...@ma...> - 2021-03-24 13:22:18
|
Yes, I think there is something wrong about the constructor. When I just tested it there was a UTC date but in ISO notation: quickfix.MessageTest.testTransactTime() 60=2021-03-24T12:48:25.778759 So please use the following: Message msg = new Message(); msg.setUtcTimeStamp(TransactTime.FIELD, LocalDateTime.now(ZoneOffset.UTC)); Don't know when this got broken... Cheers, Chris. On 24.03.21 13:09, philip wrote: > Given the use of `new TransactionTime()` I wonder if we are not correctly generating the time > correctly/not outputting in UTC in UTC when you do it like that (whereas SendingTime is definitely > set correctly to UTC). > > - Philip > > On 2021-03-24 11:44, Christoph John via Quickfixj-users wrote: >> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >> QuickFIX/J Support: http://www.quickfixj.org/support/ >> >> >> >> Hi, >> >> how do you initialize the TransactTime in your code? >> SendingTime is set by the engine when the message is sent out. >> >> Cheers, >> Chris. >> >> On 24.03.21 12:06, Minh Kha wrote: >> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J Support: http://www.quickfixj.org/support/ >>> >>> Hi team, >>> >>> I got a problem when message is showing different time between tag >>> 52 and tag 60 >>> >>> _|parse: >>> >> 8=FIX.4.2^A9=158^A35=D^A34=3^A49=CMB^A52=20210322-11:33:19.923^A56=CITI^A11=20210322-14051690^A21=1^A38=3000^A40=2^A44=15.2^A54=2^A55=DOYU^A58=20334649^A59=0^A60=20210322-19:33:19.904^A207=N^A10=105^A_ >> >>> >>> >>> Tag 60 I just initialize: new TransactionTime(), as for tag 52 I >>> cannot find the place init it, and think that would be set by >>> default in quickfix ? >>> >>> Could you please give me some advice about this ? >>> >>> Thank you >>> >>> Best regards, >>> Kha Phan >>> >>> -- >>> >>> PHAN NGUYEN MINH KHA >>> min...@gm... / 0938499460 >>> >>> _______________________________________________ >>> 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 [1] >> >> Amtsgericht Aachen: HRB 8151 >> Ust.-Id: DE 813021663 >> Geschäftsführer: George Macdonald >> >> >> Links: >> ------ >> [1] http://www.macd.com >> _______________________________________________ >> 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 |