To check a trading gateway and a risk consumer together, create a Shared market in the hosted Pro control desk. Choose two to eight member CompIDs and two to eight symbols. An empty book lets the test determine which order establishes each price. An operator can start in continuous trading or collect orders for an opening auction. Each room uses the FIXScope Labs synthetic FIX 4.4 rule set. Exchange-specific protocols have their own entry points in the venue simulator. Open the shared market desk
Give each client one connection
Save the market operator file separately. Select each member in Connection file, download its credential and give it to the matching client. Also download the MARKETDATA and RISK files for the feed consumer and risk system. Only the creation response supplies these connection keys. Restoring the operator file lets you manage the book during its lifetime.
Run the downloadable Node 24 bridge for each credential. Set FIXSCOPE_LOCAL_PORT to a different unused port for each bridge on the same host. For example, on a POSIX shell:
FIXSCOPE_LOCAL_PORT=19880 node fixscope-bridge.mjs fixscope-ALPHA.json
FIXSCOPE_LOCAL_PORT=19881 node fixscope-bridge.mjs fixscope-BRAVO.json
FIXSCOPE_LOCAL_PORT=19882 node fixscope-bridge.mjs fixscope-RISK.json
FIXSCOPE_LOCAL_PORT=19883 node fixscope-bridge.mjs fixscope-MARKETDATA.json
Use a separate terminal or process for each line. Configure the FIX initiator to dial 127.0.0.1 and its assigned port. Use the SenderCompID from that file, TargetCompID SHARED and BeginString FIX.4.4. Each connection has its own Logon, sequence numbers and heartbeat negotiation. Only one connection can use a CompID at a time. Market data uses its own FIX session and never travels on the order-entry socket.
Exercise a price/time match
- Log on ALPHA, BRAVO, RISK and MARKETDATA before placing orders. On MARKETDATA send MarketDataRequest (V) with an MDReqID, subscription type 1, depth 1 and update type 0. Request bid and offer in the MDEntryTypes group and one symbol in the RelatedSym group.
- During continuous trading, ask ALPHA to sell five NOVA at 100. Its order-entry session receives an ExecutionReport with ExecType New. The feed receives a full snapshot showing an offer of five at 100. The risk copy names ALPHA in Account (1).
- Ask BRAVO to buy three NOVA at 101. The members each receive their side of the fill at the resting price of 100. RISK receives both executions. Match the private report to its risk copy by ExecID (17), and the two sides by SecondaryExecID (527). The updated offer is two at 100. BRAVO can reuse the same ClOrdID value that ALPHA used because IDs belong to individual members.
- Enter an order in another symbol and verify that the NOVA subscription stays quiet. To follow that symbol, submit a second MDReqID. Full snapshots publish the aggregate displayed size at each best price, without member names or private order IDs. An empty book sends NoMDEntries equal to zero.
Member sessions accept NewOrderSingle (D), cancel (F), replace (G) and working order status (H). Use buy or sell Day limit orders with a positive price of up to six decimal places and a whole quantity of one to one million. A replacement that raises quantity or changes price loses time priority. A reduction at the same price retains it. A potentially self-crossing order is rejected before matching. The operator can cancel a working order or supply a synthetic partial or full fill at its limit during continuous trading.
Run opening and closing auctions
During collection, the book can display a crossed market. Advancing the phase calculates one clearing price independently per symbol. Among the submitted prices, FIXScope Labs chooses the price that maximizes executable quantity, then minimizes the absolute buy/sell imbalance, then chooses the lowest remaining price. Within each side, better limits execute first and time breaks price ties.
For example, collect a bid for seven at 12 and an offer of five at 11. Both limits would match five with an imbalance of two, so the opening auction executes five at 11. Two bid units carry into continuous trading. Start closing auction pauses continuous matching while orders accumulate. Run closing auction executes the final cross and cancels all remaining Day quantities.
Reconnect and finish
Each connection starts fresh at sequence 1. Working orders and used client identifiers survive disconnects and Worker restarts until room deletion or expiry. Query a working order by its current ClOrdID, symbol and side. Drop copy delivers live execution reports and cancel rejects to the connected risk session. Reconnects do not replay executions sent while a client was offline. Within one connected session the usual bounded FIX resend window applies.
The room accepts up to 128 working orders, 512 accepted request IDs and 16 active market-data subscriptions. Its lifetime is five to 120 minutes. The hosted room keeps normalized synthetic order state and credential hashes for that lifetime. Raw frames are not archived. For regulatory audit trails, retain evidence in the test client.