|
From: Minh K. <min...@gm...> - 2021-03-25 03:16:14
|
Thank you Philip Let me apply this change and test. By the way, do you have any plan for the next release, including the fix for it ? Best regards, Kha Phan Vào Th 5, 25 thg 3, 2021 vào lúc 00:08 Philip Whitehouse <ph...@wh...> đã viết: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: > http://www.quickfixj.org/support/ > > > As Chris said, the TransactionTime field isn’t behaving correctly in the > current code. > > Please use > > >>> msg.setUtcTimeStamp(TransactTime.FIELD, >>> LocalDateTime.now(ZoneOffset.UTC)); >>> >> > instead to set the transaction time on the message > > > Best, > > Philip Whitehouse > > On 24 Mar 2021, at 17:04, Minh Kha <min...@gm...> wrote: > > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > Hi Chris, > > Because the TransactionTime with the code: new TransactionTime() is seems > in in the future when compare with SendingTime. Dont know why it > behave like that. Any idea? > > Best regards > Kha Phan > > Vào Th 5, 25 thg 3, 2021 vào lúc 00:00 Minh Kha <min...@gm...> > đã viết: > >> Hi Chris, >> >> Thanks for your reply, so u mean the constructor now have problem ? >> Moreover, the TransactionTime in my case seems it is UTC +8, which is my >> local time. Do u know how can prevent it from using local time, because I >> remember there is a configuration UseLocalTime = Y or N >> Is that config using for that purpose ? >> >> Best regards >> Kha Phan >> >> Vào Th 4, 24 thg 3, 2021 vào lúc 20:23 Christoph John via >> Quickfixj-users <qui...@li...> đã viết: >> >>> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ >>> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support: >>> http://www.quickfixj.org/support/ >>> >>> >>> 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 557...@ma... >>> >>> MACD GmbH >>> Oppenhoffallee 103 >>> 52066 Aachen, Germanywww.macd.com >>> >>> Amtsgericht Aachen: HRB 8151 >>> Ust.-Id: DE 813021663 >>> Geschäftsführer: George Macdonald >>> >>> _______________________________________________ >>> Quickfixj-users mailing list >>> Qui...@li... >>> https://lists.sourceforge.net/lists/listinfo/quickfixj-users >>> >> >> >> -- >> *Phan Nguyen Minh Kha* >> min...@gm... / 0938499460 >> > > > -- > *Phan Nguyen Minh Kha* > min...@gm... / 0938499460 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > -- *Phan Nguyen Minh Kha* min...@gm... / 0938499460 |