|
From: Colin D. <co...@ma...> - 2020-04-04 13:01:41
|
This sounds like it would be incorrect behavior in your simulator. You should use the incoming order's SenderCompId as the ER's TargetCompId. If you change the TargetCompId, you are sending the ER to another party on another session. On 4/3/20 8:25 PM, Minh Kha wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > I mean, from our system: Send new order (SenderCompID = Sth) > From > simulator:Send back Execution Report (Before send back, I set the new > value for TargetCompID = Sth01). If two session, how the simulator can > look up the exact session of that order, so that it response the ER > exactly for this order. > > Vào Th 7, 4 thg 4, 2020 vào lúc 09:32 Minh Kha > <min...@gm... <mailto:min...@gm...>> đã viết: > > Thank u for your help. I did it by set CheckCompID = N. The case > that I tested is: Send new order (SenderCompID = Sth) > Send back > Execution Report (TargetCompID = Sth01) > After receiving ER, the > system can change the status for that Order to Queue. You mean now > I have two session ? How can turn status into Queue for that order > if there are two session ? Please let me know if I missed something. > > Vào Th 6, 3 thg 4, 2020 vào lúc 20:46 Colin DuPlantis > <co...@ma... <mailto:co...@ma...>> đã 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/ > > > A different TargetCompId means a different session. See the > QFJ doc for how to create multiple sessions. > > On Thu, Apr 2, 2020, 8:37 PM Minh Kha <min...@gm... > <mailto:min...@gm...>> 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 team, > > Firstly, I am appreciated for such an amazing project that > you made for the community. > Now I am working on the custom FIX project based on > quickfixj, and the situation have to face now is that need > to send message with different TargetCompID in the same > session. For example: > - A message sent with SenderCompID = CompanyID > - After receiving that message, send back with > TargetCompID = CompanyNumber (Which is slightly different > from CompanyID) > > I want to ask that is it possible to handle this situation > ? Could u pls give me some advice about this ? > > Thank in advance. > > Best regards, > Kha Phan > > -- > *Phan Nguyen Minh Kha* > min...@gm... <mailto:min...@gm...> / > 0938499460 > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > <mailto:Qui...@li...> > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > <mailto:Qui...@li...> > https://lists.sourceforge.net/lists/listinfo/quickfixj-users > > > > -- > *Phan Nguyen Minh Kha* > min...@gm... <mailto:min...@gm...> / 0938499460 > > > > -- > *Phan Nguyen Minh Kha* > min...@gm... <mailto:min...@gm...> / 0938499460 > > > _______________________________________________ > Quickfixj-users mailing list > Qui...@li... > https://lists.sourceforge.net/lists/listinfo/quickfixj-users -- Colin DuPlantis Chief Architect, Marketcetera Download, Run, Trade 888.868.4884 https://www.marketcetera.com |