Markets Channel

The markets channel provides information on the full set of tradable markets and their specifications. After subscription and whenever any market lists, delsists, or changes, you will receive a message of type partial with information on all markets. The data field for both types of messages will contain a list of market information dictionaries, each of which contains:

  • name: name of the market
  • enabled: if the market is enabled
  • priceIncrement: price tick size
  • sizeIncrement: minimum size step
  • type: "future" or "spot"
  • baseCurrency: base currency if spot, else null
  • quoteCurrency: quote currency if spot, else null
  • underlying: underlying if future, else null
  • restricted: if the market has nonstandard restrictions on which jurisdictions can trade it
  • future: null for spot markets; otherwise a dictionary containing the following (see the REST /futures documentation for explanations of each field): name, underlying, description, type, expiry, perpetual, expired, enbaled, postOnly, imfFactor, underlyingDescription, expiryDescription, moveStart, positionLimitWeight, group.
  • highLeverageFeeExempt: whether this market is exempt from the high leverage fee
  • largeOrderThreshold: threshold above which an order is considered large (for VIP rate limits)

Example subscription:

{"op": "subscribe", "channel": "markets"}

Example response (truncated):

{
    "channel": "markets",
    "type": "partial",
    "data": {
        "data": {
            "1INCH-PERP": {
                "name": "1INCH-PERP",
                "enabled": true,
                "postOnly": false,
                "priceIncrement": 0.0001,
                "sizeIncrement": 1.0,
                "type": "future",
                "baseCurrency": null,
                "quoteCurrency": null,
                "restricted": false,
                "underlying": "1INCH",
                "future": {
                    "name": "1INCH-PERP",
                    "underlying": "1INCH",
                    "description": "1INCH Token Perpetual Futures",
                    "type": "perpetual",
                    "expiry": null,
                    "perpetual": true,
                    "expired": false,
                    "enabled": true,
                    "postOnly": false,
                    "imfFactor": 0.0005,
                    "imfWeight": 1.0,
                    "underlyingDescription": "1INCH Token",
                    "expiryDescription": "Perpetual",
                    "moveStart": null,
                    "positionLimitWeight": 20.0,
                    "group": "perpetual"
                },
                "highLeverageFeeExempt": false,
                "largeOrderThreshold": 350.0
            },
            "1INCH/USD": {
                "name": "1INCH/USD",
                "enabled": true,
                "postOnly": false,
                "priceIncrement": 0.0001,
                "sizeIncrement": 1.0,
                "type": "spot",
                "baseCurrency": "1INCH",
                "quoteCurrency": "USD",
                "restricted": false,
                "underlying": null,
                "future": null,
                "highLeverageFeeExempt": true,
                "largeOrderThreshold": 350.0
            },
          .....
        },
        "action": "partial"
    }
}