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

# Ticker slim

> Channel name: `ticker_slim.{instrument_name}.{interval}`. Public channel that streams a lightweight ticker (prices and key stats) for an instrument, where {instrument_name} is the market and {interval} is the update cadence in milliseconds (100 or 1000).



## AsyncAPI

````yaml subscriptions.asyncapi.json tickerSlim
id: tickerSlim
title: Ticker slim
description: >-
  Channel name: `ticker_slim.{instrument_name}.{interval}`. Public channel that
  streams a lightweight ticker (prices and key stats) for an instrument, where
  {instrument_name} is the market and {interval} is the update cadence in
  milliseconds (100 or 1000).
servers:
  - id: production
    protocol: wss
    host: api.derive.xyz
    bindings: []
    variables: []
  - id: testnet
    protocol: wss
    host: testnet.api.derive.xyz
    bindings: []
    variables: []
address: /v3/ws
parameters: []
bindings: []
operations:
  - &ref_7
    id: receive_tickerSlim
    title: Receive_ticker slim
    type: send
    messages:
      - &ref_10
        id: tickerSlimNotification
        payload:
          - name: tickerSlimNotification
            type: object
            properties:
              - name: instrument_ticker
                type: object
                required: true
                properties:
                  - name: A
                    type: string
                    description: >-
                      Amount of contracts / tokens available at the best ask
                      price.
                    required: true
                  - name: B
                    type: string
                    description: >-
                      Amount of contracts / tokens available at the best bid
                      price.
                    required: true
                  - name: I
                    type: string
                    description: Index price.
                    required: true
                  - name: M
                    type: string
                    description: Mark price.
                    required: true
                  - name: a
                    type: string
                    description: Best ask price.
                    required: true
                  - name: b
                    type: string
                    description: Best bid price.
                    required: true
                  - name: f
                    type: &ref_0
                      - string
                      - 'null'
                    description: >-
                      Current hourly funding rate (perpetuals only; `null`
                      otherwise).
                    required: false
                  - name: maxp
                    type: string
                    description: >-
                      Maximum price at which an aggressive buyer can be matched.
                      Any portion of a market order that would execute above
                      this price is cancelled. A limit buy order with limit
                      price above this value is treated as post only (i.e. it is
                      rejected if it would cross any existing resting order).
                    required: true
                  - name: minp
                    type: string
                    description: >-
                      Minimum price at which an aggressive seller can be
                      matched. Any portion of a market order that would execute
                      below this price is cancelled. A limit sell order with
                      limit price below this value is treated as post only (i.e.
                      it is rejected if it would cross any existing resting
                      order).
                    required: true
                  - name: option_pricing
                    type: object
                    description: >-
                      Option greeks and implied vols (options only; `null`
                      otherwise).
                    required: false
                    properties:
                      - name: ai
                        type: string
                        description: Implied volatility of the current best ask.
                        required: true
                      - name: bi
                        type: string
                        description: Implied volatility of the current best bid.
                        required: true
                      - name: d
                        type: string
                        description: Delta of the option.
                        required: true
                      - name: df
                        type: string
                        description: Discount factor used to calculate the option premium.
                        required: true
                      - name: f
                        type: string
                        description: Forward price used to calculate the option premium.
                        required: true
                      - name: g
                        type: string
                        description: Gamma of the option.
                        required: true
                      - name: i
                        type: string
                        description: Implied volatility of the option.
                        required: true
                      - name: m
                        type: string
                        description: Mark price of the option.
                        required: true
                      - name: r
                        type: string
                        description: Rho of the option.
                        required: true
                      - name: t
                        type: string
                        description: Theta of the option.
                        required: true
                      - name: v
                        type: string
                        description: Vega of the option.
                        required: true
                  - name: stats
                    type: object
                    required: true
                    properties:
                      - name: c
                        type: string
                        description: Number of contracts traded during last 24 hours
                        required: true
                      - name: h
                        type: string
                        description: Highest trade price during last 24h
                        required: true
                      - name: l
                        type: string
                        description: Lowest trade price during last 24h
                        required: true
                      - name: 'n'
                        type: integer
                        description: Number of trades during last 24h
                        required: true
                      - name: oi
                        type: string
                        description: Current total open interest
                        required: true
                      - name: p
                        type: string
                        description: >-
                          Options: 24hr percent change in premium; Perps: 24hr
                          percent change in mark price
                        required: true
                      - name: pr
                        type: string
                        description: Premium volume traded during last 24 hours
                        required: true
                      - name: v
                        type: string
                        description: Notional volume traded during last 24 hours
                        required: true
                  - name: t
                    type: integer
                    description: >-
                      Snapshot creation timestamp, in milliseconds since the
                      Unix epoch.
                    required: true
              - name: timestamp
                type: integer
                required: true
        headers: []
        jsonPayloadSchema:
          description: Payload for `ticker_slim.{instrument}.{interval}`.
          type: object
          required:
            - instrument_ticker
            - timestamp
          properties:
            instrument_ticker:
              type: object
              required:
                - A
                - B
                - I
                - M
                - a
                - b
                - maxp
                - minp
                - stats
                - t
              properties:
                A:
                  description: >-
                    Amount of contracts / tokens available at the best ask
                    price.
                  type: string
                  x-parser-schema-id: <anonymous-schema-170>
                B:
                  description: >-
                    Amount of contracts / tokens available at the best bid
                    price.
                  type: string
                  x-parser-schema-id: <anonymous-schema-171>
                I:
                  description: Index price.
                  type: string
                  x-parser-schema-id: <anonymous-schema-172>
                M:
                  description: Mark price.
                  type: string
                  x-parser-schema-id: <anonymous-schema-173>
                a:
                  description: Best ask price.
                  type: string
                  x-parser-schema-id: <anonymous-schema-174>
                b:
                  description: Best bid price.
                  type: string
                  x-parser-schema-id: <anonymous-schema-175>
                f:
                  description: >-
                    Current hourly funding rate (perpetuals only; `null`
                    otherwise).
                  type: *ref_0
                  x-parser-schema-id: <anonymous-schema-176>
                maxp:
                  description: >-
                    Maximum price at which an aggressive buyer can be matched.
                    Any portion of a market order that would execute above this
                    price is cancelled. A limit buy order with limit price above
                    this value is treated as post only (i.e. it is rejected if
                    it would cross any existing resting order).
                  type: string
                  x-parser-schema-id: <anonymous-schema-177>
                minp:
                  description: >-
                    Minimum price at which an aggressive seller can be matched.
                    Any portion of a market order that would execute below this
                    price is cancelled. A limit sell order with limit price
                    below this value is treated as post only (i.e. it is
                    rejected if it would cross any existing resting order).
                  type: string
                  x-parser-schema-id: <anonymous-schema-178>
                option_pricing:
                  description: >-
                    Option greeks and implied vols (options only; `null`
                    otherwise).
                  anyOf:
                    - type: object
                      required:
                        - ai
                        - bi
                        - d
                        - df
                        - f
                        - g
                        - i
                        - m
                        - r
                        - t
                        - v
                      properties:
                        ai:
                          description: Implied volatility of the current best ask.
                          type: string
                          x-parser-schema-id: <anonymous-schema-180>
                        bi:
                          description: Implied volatility of the current best bid.
                          type: string
                          x-parser-schema-id: <anonymous-schema-181>
                        d:
                          description: Delta of the option.
                          type: string
                          x-parser-schema-id: <anonymous-schema-182>
                        df:
                          description: >-
                            Discount factor used to calculate the option
                            premium.
                          type: string
                          x-parser-schema-id: <anonymous-schema-183>
                        f:
                          description: Forward price used to calculate the option premium.
                          type: string
                          x-parser-schema-id: <anonymous-schema-184>
                        g:
                          description: Gamma of the option.
                          type: string
                          x-parser-schema-id: <anonymous-schema-185>
                        i:
                          description: Implied volatility of the option.
                          type: string
                          x-parser-schema-id: <anonymous-schema-186>
                        m:
                          description: Mark price of the option.
                          type: string
                          x-parser-schema-id: <anonymous-schema-187>
                        r:
                          description: Rho of the option.
                          type: string
                          x-parser-schema-id: <anonymous-schema-188>
                        t:
                          description: Theta of the option.
                          type: string
                          x-parser-schema-id: <anonymous-schema-189>
                        v:
                          description: Vega of the option.
                          type: string
                          x-parser-schema-id: <anonymous-schema-190>
                      x-parser-schema-id: OptionPricing
                    - type: 'null'
                      x-parser-schema-id: <anonymous-schema-191>
                  x-parser-schema-id: <anonymous-schema-179>
                stats:
                  type: object
                  required:
                    - c
                    - h
                    - l
                    - 'n'
                    - oi
                    - p
                    - pr
                    - v
                  properties:
                    c:
                      description: Number of contracts traded during last 24 hours
                      type: string
                      format: decimal
                      x-parser-schema-id: <anonymous-schema-192>
                    h:
                      description: Highest trade price during last 24h
                      type: string
                      format: decimal
                      x-parser-schema-id: <anonymous-schema-193>
                    l:
                      description: Lowest trade price during last 24h
                      type: string
                      format: decimal
                      x-parser-schema-id: <anonymous-schema-194>
                    'n':
                      description: Number of trades during last 24h
                      type: integer
                      format: uint64
                      minimum: 0
                      x-parser-schema-id: <anonymous-schema-195>
                    oi:
                      description: Current total open interest
                      type: string
                      format: decimal
                      x-parser-schema-id: <anonymous-schema-196>
                    p:
                      description: >-
                        Options: 24hr percent change in premium; Perps: 24hr
                        percent change in mark price
                      type: string
                      format: decimal
                      x-parser-schema-id: <anonymous-schema-197>
                    pr:
                      description: Premium volume traded during last 24 hours
                      type: string
                      format: decimal
                      x-parser-schema-id: <anonymous-schema-198>
                    v:
                      description: Notional volume traded during last 24 hours
                      type: string
                      format: decimal
                      x-parser-schema-id: <anonymous-schema-199>
                  x-parser-schema-id: DailyTradingStatistics
                t:
                  description: >-
                    Snapshot creation timestamp, in milliseconds since the Unix
                    epoch.
                  type: integer
                  format: int64
                  x-parser-schema-id: <anonymous-schema-200>
              x-parser-schema-id: TickerSlimSnapshot
            timestamp:
              type: integer
              format: int64
              x-parser-schema-id: <anonymous-schema-201>
          x-parser-schema-id: TickerSlimPayload
        title: Ticker slim notification
        example: No examples found
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: tickerSlimNotification
    bindings: []
    extensions: &ref_5
      - id: x-parser-unique-object-id
        value: tickerSlim
  - &ref_6
    id: send_subscribe_tickerSlim
    title: Send_subscribe_ticker slim
    type: receive
    messages:
      - &ref_8
        id: subscribeRequest
        payload:
          - name: subscribeRequest
            description: >-
              Send to subscribe: list this channel's address (with the {param}
              segments filled, e.g. orderbook.ETH-PERP.10.20) in
              params.channels.
            type: object
            properties:
              - name: headers
                type: &ref_1
                  - object
                  - 'null'
                description: Non-standard; used by `auth/login`.
                required: false
              - name: id
                type: anyOf
                required: true
              - name: method
                type: string
                description: subscribe
                required: true
              - name: params
                type: object
                description: >-
                  Params for `subscribe`. `channels` is the required list of
                  channel names to subscribe to.
                required: true
                properties:
                  - name: channels
                    type: array
                    required: true
                    properties:
                      - name: item
                        type: string
                        required: false
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - id
            - method
            - params
          properties:
            headers:
              description: Non-standard; used by `auth/login`.
              type: *ref_1
              additionalProperties: true
              x-parser-schema-id: <anonymous-schema-16>
            id: &ref_3
              anyOf:
                - type: string
                  x-parser-schema-id: <anonymous-schema-17>
                - type: number
                  x-parser-schema-id: <anonymous-schema-18>
                - type: 'null'
                  x-parser-schema-id: <anonymous-schema-19>
              x-parser-schema-id: JsonRpcId
            method:
              type: string
              const: subscribe
              x-parser-schema-id: <anonymous-schema-20>
            params:
              description: >-
                Params for `subscribe`. `channels` is the required list of
                channel names to subscribe to.
              type: object
              required:
                - channels
              properties:
                channels:
                  type: array
                  items:
                    type: string
                    x-parser-schema-id: <anonymous-schema-22>
                  x-parser-schema-id: <anonymous-schema-21>
              x-parser-schema-id: SubscribeParams
          x-parser-schema-id: <anonymous-schema-15>
        title: Subscribe request
        description: >-
          Send to subscribe: list this channel's address (with the {param}
          segments filled, e.g. orderbook.ETH-PERP.10.20) in params.channels.
        example: |-
          {
            "id": 1,
            "method": "subscribe",
            "params": {
              "channels": [
                "orderbook.ETH-PERP.10.20"
              ]
            }
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: subscribeRequest
      - &ref_9
        id: unsubscribeRequest
        payload:
          - name: unsubscribeRequest
            description: >-
              Send to unsubscribe: list the channel addresses to drop in
              params.channels, or omit it to unsubscribe from everything.
            type: object
            properties:
              - name: headers
                type: &ref_2
                  - object
                  - 'null'
                description: Non-standard; used by `auth/login`.
                required: false
              - name: id
                type: anyOf
                required: true
              - name: method
                type: string
                description: unsubscribe
                required: true
              - name: params
                type: object
                description: >-
                  Params for `unsubscribe`. `channels` is optional.


                  When omitted (or null) the connection unsubscribes from all
                  channels.
                required: true
                properties:
                  - name: channels
                    type: &ref_4
                      - array
                      - 'null'
                    required: false
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - id
            - method
            - params
          properties:
            headers:
              description: Non-standard; used by `auth/login`.
              type: *ref_2
              additionalProperties: true
              x-parser-schema-id: <anonymous-schema-24>
            id: *ref_3
            method:
              type: string
              const: unsubscribe
              x-parser-schema-id: <anonymous-schema-25>
            params:
              description: >-
                Params for `unsubscribe`. `channels` is optional.


                When omitted (or null) the connection unsubscribes from all
                channels.
              type: object
              properties:
                channels:
                  default: null
                  type: *ref_4
                  items:
                    type: string
                    x-parser-schema-id: <anonymous-schema-27>
                  x-parser-schema-id: <anonymous-schema-26>
              x-parser-schema-id: UnsubscribeParams
          x-parser-schema-id: <anonymous-schema-23>
        title: Unsubscribe request
        description: >-
          Send to unsubscribe: list the channel addresses to drop in
          params.channels, or omit it to unsubscribe from everything.
        example: |-
          {
            "method": "<string>",
            "params": {}
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: unsubscribeRequest
    bindings: []
    extensions: *ref_5
sendOperations:
  - *ref_6
receiveOperations:
  - *ref_7
sendMessages:
  - *ref_8
  - *ref_9
receiveMessages:
  - *ref_10
extensions:
  - id: x-parser-unique-object-id
    value: tickerSlim
securitySchemes: []

````

## Related topics

- [Get the ticker for one instrument](/api-reference/market-data/get-the-ticker-for-one-instrument.md)
- [Subscriptions](/subscriptions.md)
- [Migration skill for your coding agent](/migrating/breaking-changes.md)
