how to logout fix session?
Asked Answered
R

1

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().

Restore answered 11/6, 2014 at 8:9 Comment(4)
what is wrong with the done for day message?Zweig
how can I end session?Restore
Disconnecting or sending a logout message will terminate the sessionZweig
Muneeb, this is a very unusual thing to do with FIX.Mountebank
R
8

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

Session.lookupSession(sessionID).logout();
Restore answered 24/9, 2014 at 13:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.