-
Notifications
You must be signed in to change notification settings - Fork 48
FAQ
A: You should set FIX protocol version in connection initiator's property file "/client.properties":
BeginString = FIX.4.4
....
A: Fix server gets FIX protocol version from received Logon request when the session is established. See method fixio.netty.pipeline.SessionRepository.createSession(...)
. So it is possible to have multiple sessions with different FIX version on same instance of fix server.
If you need to control which FIX version is accepted by server - implement your own fixio.netty.pipeline.server.FixAuthenticator
to accept only Logon requests with specified FIX version.
You may also run multiple server instances with different authenticators (example: http://kpavlov.github.io/fixio/#writing-simple-fix-server)
A: Field order is defined within FixMessage by their order of appearance in the stream. Fields are stored in List internally. It is possible to get iterate by fields by calling FixMessage.getBody()
.
A: Field order is defined by their insertion order in FixMessageBuilder
and fields are stored internally as a List. To ensure field order in outgoing message, please add them to FixMessageBuilder
in that order.