Expand description
WebSocket message dispatch for the Polymarket execution client.
Routes user-channel WS messages (order updates and trades) into Nautilus order status reports and fill reports. Reports are emitted immediately if the order is already accepted, otherwise buffered until acceptance. Trade fills are deduped via a FIFO cache. Maker and taker fills are handled separately to account for multi-leg maker order matching.