6

I'm using quickfixj. I have a custom message like "EndTrade", when I got that message, I want to end fix session? How can I do that? I have not find any way to do so. It is not allowing me to use new Session().logout().

Muneeb Nasir
  • 2,414
  • 4
  • 31
  • 54

1 Answers1

8

I got answer of my question. you can logout your fix session in following way.

Session.lookupSession(sessionID).logout();
Muneeb Nasir
  • 2,414
  • 4
  • 31
  • 54