market_stats stream combines the latest BBO, mark price, open interest, and current daily volume into one message. On subscribe, it sends the latest snapshot when data is available, then pushes refreshed stats once per second.
How it works
Connect to the public websocket:- URL: wss://mds.qfex.com
Sample Code
Example Response
Unsubscribe (optional)
Notes
symbolssupports a single symbol, multiple symbols, or wildcard*.bbos,mark_prices,open_interests, anddaily_volumesare arrays. Arrays can be empty when no latest value is available for that component.- Daily volume is counted from the daily reset at 20:00 America/Chicago.
market_statsignoresintervalsandsig_figs; it always uses the default subscription filter.