← Technical Guides

Connect a direct FIX session and operate its order blotter

Run the FIXScope counterparty desk, listen for a gateway or initiate a FIX/TLS session, and use the order blotter to acknowledge, fill, cancel and reject synthetic limit orders.

To exercise your own FIX gateway, download the direct order desk and run node fixscope-desk.mjs with Node 24. Open the private operator URL printed by the process. Its browser controls run on the same host as the desk. A remote operator can use an SSH tunnel to reach the loopback management port. Keep the fragment in the operator URL private. Download the standalone direct desk

Test either end of the connection

Choose Acceptor to listen on the address and port in the form. Give the matching FIX host and port to the counterparty. Choose Initiator to dial the address and port where the counterparty is listening. Enter your own SenderCompID and the peer’s CompID in the desk. Reverse the pair in the peer’s configuration. Select the same FIX edition on both sides. A fresh test session starts with sequence number 1. The initiating desk sends a Logon with a 30-second heartbeat, EncryptMethod 0 and ResetSeqNumFlag Y.

For a local rehearsal, start two desk processes and open both private URLs. Configure the first as an acceptor with SenderCompID DESK and peer CLIENT. On the second choose initiator, SenderCompID CLIENT and peer DESK. Enter the same FIX port on both screens. Start the acceptor, then the initiator. Each management UI uses its own ephemeral HTTP port. The FIX port is independent of those two ports.

Exercise a partial fill

Send a Day buy for ten NOVA at 100 from the initiating desk. The receiving desk shows a pending order. Select its ClOrdID and acknowledge it. Set the fill quantity to four and the price to 99.95. The buyer receives an ExecutionReport with CumQty 4, LeavesQty 6 and AvgPx 99.95. Choose Cancel remainder to cancel the six remaining shares. To reject a second order, select it while it is pending and click Reject. Each action uses the selected order’s current revision so a stale tab cannot apply the same fill twice.

The direct desk covers standard FIX 4.2 and 4.4 Day limit orders with whole quantities, prices to six decimals, and up to 1,000 orders per connection. It handles TestRequest, Heartbeat, ResendRequest and sequence gaps in the active session. Stopping or reconnecting starts a new session. All order state is in process memory. Hosted exchange profiles and supported native feeds

Operate a hosted working order

The hosted console also has a working-order blotter for ungraded standard FIX 4.2/4.4 and IEX Equities labs using their built-in dictionaries. Choose Free session in a custom lab. After the gateway logs on, select a resting limit order to fill it at its displayed price or cancel the remainder. For IEX, the separate DEEP connection publishes the trade and price-level change. A stale selection must be reviewed again after another fill or replacement. Graded runs keep their configured execution policy.

Connect with TLS

The FIX listener and outbound client support TLS 1.2 and above. For an acceptor set FIXSCOPE_TLS_CERT to the server’s PEM certificate chain and FIXSCOPE_TLS_KEY to its PEM private key before launching the desk. Set FIXSCOPE_TLS_CA to the PEM CA that issued authorized client certificates. A non-loopback listener requires TLS with client-certificate authentication. The endpoint must be reachable through the operator’s network and named in its certificate.

For an initiator, use the certificate’s hostname in the form. The client verifies the certificate and hostname. Supply FIXSCOPE_TLS_CA for a private UAT CA. When the peer requires mutual TLS, also set the client certificate and key variables. Certificate files remain on the host running the desk. The existing Cloudflare-hosted venue uses its separately authenticated WebSocket bridge. The direct desk runs on the operator’s chosen machine and provides its own FIX host and port.

Give a participant a native TLS port for a hosted lab

Place the hosted lab’s participant grant and fixscope-bridge.mjs on a host reachable by the participant. Set FIXSCOPE_BIND_HOST to the host’s listen IP and supply FIXSCOPE_TLS_CERT, FIXSCOPE_TLS_KEY and FIXSCOPE_TLS_CA. Run node fixscope-bridge.mjs participant.json. Give the participant the certificate hostname and FIX port, plus its own client certificate and key. The bridge verifies the client before opening the grant’s authenticated session to the hosted venue. The grant stays on the bridge host. Separate order-entry and feed grants keep their own listener ports. When the bind-host option is omitted, the ordinary bridge uses plaintext TCP on loopback. UDP feed and recovery forwarding stays on loopback.