Skip to main content
QFEX provides a stream of the current funding rate for any symbol, representing the rate if the funding window were to end right now.
At the end of each funding window, the final rate is used to compute funding payments. The streamed value is the post-dampening rate before settlement rounding: Ffinal=Fraw/DF_{\text{final}} = F_{\text{raw}} / D, where D=16D = 16 for COPPER-USD, BRENT-USD, CL-USD, and NATGAS-USD and D=100D = 100 for all other symbols. Both rates are decimal fractions.
Funding is only active during each symbol’s configured market hours. Outside those hours, funding rate is 0. See /qfex/funding.

How it works

Connect to the public websocket:
  • URL: wss://mds.qfex.com
Then send a subscribe message:

Sample Code

Example Response

Unsubscribe (optional)


Notes
  • Represents the current implied funding rate if the window ended immediately.
  • Pulsed during funding calculation window.
  • Outside symbol market hours, funding rate = 0.

Private liquidity

Private orders and executions are included in the normal internal inputs to this calculation. Removing private quantities and individual executions from public market-data publication does not remove them from funding or mark-price calculations. Public displayed depth and trade prints alone may therefore be insufficient to reproduce the published value. See Private-order API.