Acceptor code example

The role of the acceptor is to receive the connection from the initiator. As an automatic trader, you will rarely code this part. However, you will be improving your knowledge if you know how exchange handle messages are sent by the initiator.

There are two main functions that an acceptor will take care of:

  • Market data request handling: This is the function that's called when the market data request is received by the server.
  • Order handling: This is the function that's called when order messages are received.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
34.228.43.90