> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# user.isolated.changes.(kind).(currency).(interval) 

> Lets a **main** account observe position, order, and trade state changes across all of its **isolated-margin subaccounts** for a given instrument kind and currency.

Delivers combined notifications of state changes across all isolated-margin subaccounts. Isolated margin supports futures trading only. Requires the `trade:read` scope on an API key belonging to the **main account**.




## AsyncAPI

````yaml api-reference/coinbase-deribit-app-api/adv-starbase-asyncapi.json user.isolated.changes.(kind).(currency).(interval)
id: user.isolated.changes.(kind).(currency).(interval)
title: 'user.isolated.changes.(kind).(currency).(interval) '
description: >
  Lets a **main** account observe position, order, and trade state changes
  across all of its **isolated-margin subaccounts** for a given instrument kind
  and currency.


  Delivers combined notifications of state changes across all isolated-margin
  subaccounts. Isolated margin supports futures trading only. Requires the
  `trade:read` scope on an API key belonging to the **main account**.
servers:
  - id: private
    protocol: wss
    host: drb.coinbase.com/ws/api/v2
    bindings: []
    variables: []
address: user.isolated.changes.{kind}.{currency}.{interval}
parameters:
  - id: currency
    jsonSchema:
      type: string
      description: |-
        Currency code or `any` for all

        **Allowed values:** `BTC`, `ETH`, `USDC`, `USDT`, `EURR`, `any`
      enum:
        - BTC
        - ETH
        - EURR
        - USDC
        - USDT
        - any
    description: |-
      Currency code or `any` for all

      **Allowed values:** `BTC`, `ETH`, `USDC`, `USDT`, `EURR`, `any`
    type: string
    required: true
    deprecated: false
  - id: interval
    jsonSchema:
      type: string
      description: |-
        Frequency of notifications.

        **Allowed values:** `raw`, `100ms`, `agg2`
      enum:
        - 100ms
        - agg2
        - raw
    description: |-
      Frequency of notifications.

      **Allowed values:** `raw`, `100ms`, `agg2`
    type: string
    required: true
    deprecated: false
  - id: kind
    jsonSchema:
      type: string
      description: |-
        Instrument kind. Isolated margin supports futures trading.

        **Allowed values:** `future`, `any`
      enum:
        - any
        - future
    description: |-
      Instrument kind. Isolated margin supports futures trading.

      **Allowed values:** `future`, `any`
    type: string
    required: true
    deprecated: false
bindings: []
operations:
  - &ref_1
    id: receive_user_isolated_changes_kind_currency_interval_updates
    title: Receive isolated changes by kind and currency
    description: >-
      Client receives isolated state change update notifications by kind and
      currency
    type: receive
    messages:
      - &ref_3
        id: subscribe_request
        contentType: application/json
        payload:
          - name: Subscription Request
            description: >-
              Client sends subscription request to subscribe to notification
              channel.
            type: object
            properties:
              - name: id
                type: integer
                description: Client request id, echoed in the response.
                required: true
              - name: jsonrpc
                type: string
                description: JSON-RPC version. Always `2.0`.
                required: true
              - name: method
                type: string
                description: >-
                  `private/subscribe` on the private WebSocket, after
                  `public/auth`.
                enumValues:
                  - private/subscribe
                required: true
              - name: params
                type: object
                required: true
                properties:
                  - name: channels
                    type: array
                    description: >-
                      Stream names to subscribe to, for example
                      `quote.BTC-PERPETUAL`.
                    required: true
                    properties:
                      - name: item
                        type: string
                        required: false
        headers: []
        jsonPayloadSchema:
          additionalProperties: false
          properties:
            id:
              default: 42
              description: Client request id, echoed in the response.
              type: integer
              x-parser-schema-id: <anonymous-schema-861>
            jsonrpc:
              default: '2.0'
              description: JSON-RPC version. Always `2.0`.
              type: string
              x-parser-schema-id: <anonymous-schema-862>
            method:
              default: private/subscribe
              description: >-
                `private/subscribe` on the private WebSocket, after
                `public/auth`.
              enum:
                - private/subscribe
              type: string
              x-parser-schema-id: <anonymous-schema-863>
            params:
              additionalProperties: false
              properties:
                channels:
                  default:
                    - user.isolated.changes.any.USDC.100ms
                  description: >-
                    Stream names to subscribe to, for example
                    `quote.BTC-PERPETUAL`.
                  items:
                    type: string
                    x-parser-schema-id: <anonymous-schema-866>
                  type: array
                  x-parser-schema-id: <anonymous-schema-865>
              required:
                - channels
              type: object
              x-parser-schema-id: <anonymous-schema-864>
          required:
            - id
            - jsonrpc
            - method
            - params
          type: object
          x-parser-schema-id: <anonymous-schema-860>
        title: Subscription Request
        description: >-
          Client sends subscription request to subscribe to notification
          channel.
        example: |-
          {
            "id": 42,
            "jsonrpc": "2.0",
            "method": "private/subscribe",
            "params": {
              "channels": [
                "user.isolated.changes.any.USDC.100ms"
              ]
            }
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: subscribe_request
    bindings: []
    extensions: &ref_0
      - id: x-parser-unique-object-id
        value: user.isolated.changes.(kind).(currency).(interval)
  - &ref_2
    id: send_subscribe_user_isolated_changes_kind_currency_interval
    title: Send subscribe request for isolated changes by kind and currency
    description: >-
      Client sends subscription request for isolated state change updates by
      kind and currency
    type: send
    messages:
      - &ref_4
        id: subscription_message
        contentType: application/json
        payload:
          - name: Subscription Notification Data
            description: Server sends subscription notification data
            type: object
            properties:
              - name: data
                type: object
                description: Combined state changes payload
                required: true
                properties:
                  - name: instrument_name
                    type: string
                    description: Instrument name
                    required: true
                  - name: isolated
                    type: boolean
                    description: Always true for isolated change events
                    required: true
                  - name: main_uid
                    type: integer
                    description: Owning main account user ID
                    required: true
                  - name: orders
                    type: array
                    description: List of updated order objects
                    required: false
                    properties:
                      - name: item
                        type: object
                        required: false
                  - name: positions
                    type: array
                    description: List of updated position objects
                    required: false
                    properties:
                      - name: item
                        type: object
                        required: false
                  - name: trades
                    type: array
                    description: List of executed trade objects
                    required: false
                    properties:
                      - name: item
                        type: object
                        required: false
                  - name: user_id
                    type: integer
                    description: Subaccount slot ID
                    required: true
        headers: []
        jsonPayloadSchema:
          additionalProperties: false
          description: Response containing notification data
          properties:
            data:
              description: Combined state changes payload
              properties:
                instrument_name:
                  description: Instrument name
                  type: string
                  x-parser-schema-id: <anonymous-schema-869>
                isolated:
                  description: Always true for isolated change events
                  type: boolean
                  x-parser-schema-id: <anonymous-schema-870>
                main_uid:
                  description: Owning main account user ID
                  type: integer
                  x-parser-schema-id: <anonymous-schema-871>
                orders:
                  description: List of updated order objects
                  items:
                    type: object
                    x-parser-schema-id: <anonymous-schema-873>
                  type: array
                  x-parser-schema-id: <anonymous-schema-872>
                positions:
                  description: List of updated position objects
                  items:
                    type: object
                    x-parser-schema-id: <anonymous-schema-875>
                  type: array
                  x-parser-schema-id: <anonymous-schema-874>
                trades:
                  description: List of executed trade objects
                  items:
                    type: object
                    x-parser-schema-id: <anonymous-schema-877>
                  type: array
                  x-parser-schema-id: <anonymous-schema-876>
                user_id:
                  description: Subaccount slot ID
                  type: integer
                  x-parser-schema-id: <anonymous-schema-878>
              required:
                - instrument_name
                - isolated
                - main_uid
                - user_id
              type: object
              x-parser-schema-id: <anonymous-schema-868>
          required:
            - data
          type: object
          x-parser-schema-id: <anonymous-schema-867>
        title: Subscription Notification Data
        description: Server sends subscription notification data
        example: |-
          {
            "jsonrpc": "2.0",
            "method": "subscription",
            "params": {
              "channel": "user.isolated.changes.any.USDC.100ms",
              "data": {
                "instrument_name": "SOL_USDC-PERPETUAL",
                "isolated": true,
                "main_uid": 1000,
                "orders": [],
                "positions": [],
                "trades": [],
                "user_id": 123456
              }
            }
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: subscription_message
    bindings: []
    extensions: *ref_0
sendOperations:
  - *ref_1
receiveOperations:
  - *ref_2
sendMessages:
  - *ref_3
receiveMessages:
  - *ref_4
extensions:
  - id: x-parser-unique-object-id
    value: user.isolated.changes.(kind).(currency).(interval)
securitySchemes: []

````