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

# Get user ticker

> Get the latest market data for a specific instrument for a specific user.



## OpenAPI

````yaml https://d2588n1sy4m36o.cloudfront.net/uat/merged/openapi.json?mintlify-view=derivatives get /v1/users/{user_id}/tickers/{asset_type}/{symbol}
openapi: 3.1.0
info:
  title: PWS Public API
  version: '1'
  description: >-
    Integrate with Payward Services to onboard users, manage accounts and funds,
    trade assets, and receive event notifications.
  contact:
    name: Payward Services
servers:
  - url: https://api.sandbox.services.payward.com
security: []
tags:
  - name: Assets
    description: List the assets PWS is willing to swap.
    x-displayName: Assets
  - name: Conversions
    description: >-
      Rule-driven and on-demand fiat ↔ crypto value movement, including
      conversion rules and deposits.
    x-displayName: Conversions
  - name: Auto Earn
    description: >-
      Manage Auto Earn preferences and retrieve allocation and reward
      information.
    x-displayName: Auto Earn
  - name: Bonded Earn
    description: >-
      Allocate funds to and deallocate funds from bonded earn strategies, review
      allocations, and track request status.
    x-displayName: Bonded Earn
  - name: Funding
    description: >-
      Discover deposit and withdrawal options, manage deposit addresses, and
      move funds between accounts.
    x-displayName: Funding
  - name: Derivatives transfers
    description: >-
      Move funds between an account's spot balance and the same owner's futures
      balance.
    x-displayName: Derivatives transfers
  - name: Portfolio
    description: 'Inspect a customer''s portfolio: balances, valuations, and transactions.'
    x-displayName: Portfolio
  - name: Ramp
    description: >-
      Support Ramp flows with discovery, quotes, limits, and hosted checkout
      experiences.
    x-displayName: Ramp
  - name: Reports
    description: Settlement and reconciliation reports for the partner.
    x-displayName: Reports
  - name: Market data stream
    description: Live market data for derivatives instruments.
    x-displayName: Market data stream
  - name: Derivatives instruments
    description: Discover instruments available for trading by asset type.
    x-displayName: Derivatives instruments
  - name: Derivatives tickers
    x-group: Derivatives market data
    description: Read market-data snapshots for supported trading instruments.
    x-displayName: Derivatives tickers
  - name: Derivatives order books
    x-group: Derivatives market data
    description: Read level-two market depth for supported trading instruments.
    x-displayName: Derivatives order books
  - name: Derivatives OHLC
    x-group: Derivatives market data
    description: Read historical candlestick market data for supported trading instruments.
    x-displayName: Derivatives OHLC
  - name: Derivatives orders
    description: Submit and inspect orders by asset type.
    x-displayName: Derivatives orders
  - name: Derivatives trades
    description: Inspect executions by asset type.
    x-displayName: Derivatives trades
  - name: Derivatives leverage
    description: Read and update per-instrument leverage preferences for trading accounts.
    x-displayName: Derivatives leverage
  - name: Swaps
    description: Account-funded quotes that lock a price until they expire or are executed.
    x-displayName: Swaps
  - name: Onchain quotes
    description: Wallet-funded quotes that return the data needed to settle onchain.
    x-displayName: Onchain quotes
  - name: Price trigger swaps
    description: Swaps that wait for a target price before submitting a trade.
    x-displayName: Price trigger swaps
  - name: Travel Rule verifications
    description: Travel Rule address ownership verification flows.
    x-displayName: Travel Rule verifications
  - name: Users
    description: >-
      User onboarding and status flows that the partner manages.


      - **Create User** provisions an account-owned user from an external
      reference and optional email.

      - **Get User** retrieves the user's profile, verification status, and
      required actions.


      Use the returned user `id` for calls that require the user's identifier.
    x-displayName: Users
  - name: Verifications
    description: Identity verification (KYC) submission and status for end users.
    x-displayName: Verifications
  - name: Webhooks
    description: >-
      Register HTTPS destinations to receive event deliveries, rotate signing
      secrets, and inspect, update, or delete existing subscriptions. Each
      subscription is owned by the authenticated partner; deliveries are signed
      with HMAC-SHA256 and retried on transient failures.


      In webhook payloads, `account_id` and `user_id` are in groups of four
      characters, with a space between the groups. For example, `WCQY T95Y CUL2
      A7NX`. The REST APIs send the same identifier without spaces, for example
      `WCQYT95YCUL2A7NX`. Remove the spaces before you compare a webhook
      identifier with a REST identifier.


      Amounts in webhook payloads are decimal strings, in the ledger precision
      of the asset. Compare amounts as decimal numbers, not as strings.
    x-displayName: Webhooks
paths:
  /v1/users/{user_id}/tickers/{asset_type}/{symbol}:
    servers:
      - url: https://api.sandbox.services.payward.com
    parameters:
      - $ref: '#/components/parameters/UserId'
    get:
      tags:
        - Derivatives tickers
      summary: Get user ticker
      description: >-
        Get the latest market data for a specific instrument for a specific
        user.
      operationId: getUserTicker
      parameters:
        - $ref: '#/components/parameters/TradingTickers_AssetTypePath'
        - $ref: '#/components/parameters/TradingTickers_InstrumentSymbol'
      responses:
        '200':
          description: The requested ticker.
          headers:
            X-Trace-Id:
              $ref: '#/components/headers/TraceId'
            Strict-Transport-Security:
              $ref: '#/components/headers/StrictTransportSecurity'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - as_of
                properties:
                  data:
                    $ref: '#/components/schemas/TradingTickers_Ticker'
                  as_of:
                    description: Market-data snapshot timestamp.
                    type: string
                    format: date-time
                    example: '2026-10-16T16:53:17.888Z'
              examples:
                us-derivatives:
                  value:
                    data:
                      symbol: PBTCUCZ0.BTNL
                      asset_type: perpetual
                      status:
                        trading: active
                      bid: '81295'
                      bid_size: '10'
                      ask: '82550'
                      ask_size: '10'
                      last_price: '82175'
                      funding_rate: '0.0001'
                      funding_rate_prediction: '0.0001'
                      next_funding_rate_time: '2026-10-17T00:00:00Z'
                      trading_days:
                        previous:
                          close: '81195'
                          volume: '2'
                        current:
                          open: '83445'
                          high: '83445'
                          low: '82175'
                          volume: '2'
                          vwap: '82810'
                          change_percent: '1.206971'
                          volume_in_quote: '1656.2'
                    as_of: '2026-10-16T16:53:17.888Z'
                international-eea-derivatives:
                  value:
                    data:
                      symbol: PF_ETHUSD
                      asset_type: perpetual
                      status:
                        trading: active
                      bid: '2427'
                      bid_size: '1.968'
                      ask: '2428.2'
                      ask_size: '41.217'
                      last_price: '2428.2'
                      last_size: '0.001'
                      mark_price: '2427.5'
                      index_price: '2426.2'
                      open_interest: '74891.219'
                      funding_rate: '0.000019914204166667'
                      funding_rate_prediction: '0.0000148999'
                      next_funding_rate_time: '2026-10-16T17:00:00Z'
                      last_24h:
                        open: '2432.3'
                        high: '2488.5'
                        low: '2419.5'
                        volume: '78576.061'
                        vwap: '2443.568723492006'
                        change_percent: '-0.17'
                        volume_in_quote: '192006005.0748'
                    as_of: '2026-10-16T16:53:33.377Z'
        '400':
          description: >-
            A request parameter is invalid, such as the instrument symbol or
            asset type.
          headers:
            X-Trace-Id:
              $ref: '#/components/headers/TraceId'
            Strict-Transport-Security:
              $ref: '#/components/headers/StrictTransportSecurity'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestError'
              examples:
                invalid-asset-type:
                  value:
                    error:
                      type: service_error
                      status: 400
                      instance: 4bf92f3577b34da6a3ce929d0e0e4736
                      code: gateway
                invalid-symbol:
                  value:
                    error:
                      type: derivatives_error
                      status: 400
                      instance: 4bf92f3577b34da6a3ce929d0e0e4736
                      code: bad_request
                      causes:
                        - field: symbol
                          message: must match pattern "^\S+$"
        '401':
          description: Authentication failed.
          headers:
            X-Trace-Id:
              $ref: '#/components/headers/TraceId'
            Strict-Transport-Security:
              $ref: '#/components/headers/StrictTransportSecurity'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthenticatedError'
              examples:
                authentication-failed:
                  $ref: '#/components/examples/spot-derivatives-unauthenticated'
                gateway-authentication-failed:
                  $ref: >-
                    #/components/examples/spot-derivatives-gateway-unauthenticated
        '403':
          description: The caller is not allowed to perform this operation.
          headers:
            X-Trace-Id:
              $ref: '#/components/headers/TraceId'
            Strict-Transport-Security:
              $ref: '#/components/headers/StrictTransportSecurity'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
              examples:
                access-denied:
                  $ref: '#/components/examples/spot-derivatives-forbidden'
                gateway-access-denied:
                  $ref: '#/components/examples/spot-derivatives-gateway-forbidden'
        '404':
          description: No matching instrument is available.
          headers:
            X-Trace-Id:
              $ref: '#/components/headers/TraceId'
            Strict-Transport-Security:
              $ref: '#/components/headers/StrictTransportSecurity'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TradingTickers_InstrumentNotFoundError'
              examples:
                instrument-not-found:
                  value:
                    error:
                      type: derivatives_error
                      status: 404
                      instance: 4bf92f3577b34da6a3ce929d0e0e4736
                      code: instrument_not_found
                      causes:
                        - field: symbol
                          message: No supported instrument matches the supplied symbol.
        '429':
          description: The request was rate limited.
          headers:
            X-Trace-Id:
              $ref: '#/components/headers/TraceId'
            Strict-Transport-Security:
              $ref: '#/components/headers/StrictTransportSecurity'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceExhaustedError'
              examples:
                rate-limit-exceeded:
                  $ref: '#/components/examples/spot-derivatives-resource-exhausted'
        '500':
          description: An unexpected server-side error occurred.
          headers:
            X-Trace-Id:
              $ref: '#/components/headers/TraceId'
            Strict-Transport-Security:
              $ref: '#/components/headers/StrictTransportSecurity'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalError'
              examples:
                internal-error:
                  $ref: '#/components/examples/spot-derivatives-internal'
        '503':
          description: >-
            Current market data is unavailable, or the requested capability is
            temporarily unavailable.
          headers:
            X-Trace-Id:
              $ref: '#/components/headers/TraceId'
            Strict-Transport-Security:
              $ref: '#/components/headers/StrictTransportSecurity'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: >-
                      #/components/schemas/TradingTickers_MarketDataUnavailableError
                  - $ref: '#/components/schemas/UnavailableError'
                    title: Service unavailable
              examples:
                market-data-unavailable:
                  value:
                    error:
                      type: derivatives_error
                      status: 503
                      instance: 4bf92f3577b34da6a3ce929d0e0e4736
                      code: market_data_unavailable
                      causes:
                        - field: symbol
                          message: >-
                            Current market data is not available for this
                            instrument.
                service-unavailable:
                  $ref: '#/components/examples/spot-derivatives-unavailable'
        '504':
          description: The request deadline elapsed.
          headers:
            X-Trace-Id:
              $ref: '#/components/headers/TraceId'
            Strict-Transport-Security:
              $ref: '#/components/headers/StrictTransportSecurity'
            Cache-Control:
              $ref: '#/components/headers/CacheControl'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeadlineExceededError'
              examples:
                request-deadline-exceeded:
                  $ref: '#/components/examples/spot-derivatives-deadline-exceeded'
      security:
        - ApiKey: []
          ApiSign: []
          ApiTimestamp: []
      x-codeSamples:
        - lang: bash
          label: US offering
          source: |
            curl --request GET \
              --url 'https://api.sandbox.services.payward.com/v1/users/AA23N84GGQN4WE6I/tickers/perpetual/PBTCUCZ0.BTNL' \
              --header "API-Key: $PWS_API_KEY" \
              --header "API-Timestamp: $PWS_API_TIMESTAMP" \
              --header "API-Sign: $PWS_API_SIGN"
        - lang: bash
          label: International/EEA offering
          source: |
            curl --request GET \
              --url 'https://api.sandbox.services.payward.com/v1/users/AA23N84GGQN4WE6I/tickers/perpetual/PF_ETHUSD' \
              --header "API-Key: $PWS_API_KEY" \
              --header "API-Timestamp: $PWS_API_TIMESTAMP" \
              --header "API-Sign: $PWS_API_SIGN"
components:
  parameters:
    UserId:
      name: user_id
      in: path
      required: true
      example: AA23N84GGQN4WE6I
      schema:
        $ref: '#/components/schemas/UserId'
    TradingTickers_AssetTypePath:
      name: asset_type
      in: path
      required: true
      example: perpetual
      schema:
        $ref: '#/components/schemas/TradingTickers_AssetType'
        example: perpetual
    TradingTickers_InstrumentSymbol:
      name: symbol
      in: path
      description: Native market symbol identifying the instrument.
      required: true
      example: PBTCUCZ0.BTNL
      schema:
        type: string
        minLength: 1
        maxLength: 64
        pattern: ^\S+$
        example: PBTCUCZ0.BTNL
  headers:
    TraceId:
      description: Trace identifier for the request. Include it when contacting support.
      schema:
        type: string
        example: 4bf92f3577b34da6a3ce929d0e0e4736
    StrictTransportSecurity:
      description: Enforces HTTPS for the duration specified by `max-age`.
      schema:
        type: string
        example: max-age=31536000; includeSubDomains; preload
    CacheControl:
      description: Prevents caching of sensitive financial data. Always `no-store`.
      schema:
        type: string
        enum:
          - no-store
        example: no-store
  schemas:
    TradingTickers_Ticker:
      description: Market-data snapshot for an instrument. Unavailable fields are omitted.
      type: object
      required:
        - symbol
        - asset_type
        - status
      properties:
        symbol:
          description: Instrument symbol.
          type: string
          example: PBTCUCZ0.BTNL
        asset_type:
          $ref: '#/components/schemas/TradingTickers_AssetType'
          example: perpetual
        status:
          $ref: '#/components/schemas/TradingTickers_InstrumentStatus'
          example:
            trading: active
        bid:
          description: Best bid price.
          type: string
          example: '81295'
        bid_size:
          description: >-
            Quantity available at the best bid, in contracts. See the
            instrument's `contract_size`.
          type: string
          example: '10'
        ask:
          description: Best ask price.
          type: string
          example: '82550'
        ask_size:
          description: >-
            Quantity available at the best ask, in contracts. See the
            instrument's `contract_size`.
          type: string
          example: '10'
        last_price:
          $ref: '#/components/schemas/Price'
          description: >-
            Last traded price. May return the previous close when no last-trade
            price is available.
          example: '82175'
        last_size:
          description: >-
            Latest trade quantity, in contracts. See the instrument's
            `contract_size`.
          type: string
          example: '1'
        mark_price:
          $ref: '#/components/schemas/Price'
          description: |-
            **Available only for the International/EEA offering.**

            Valuation price used for risk calculations.
          example: '2427.5'
        index_price:
          $ref: '#/components/schemas/Price'
          description: |-
            **Available only for the International/EEA offering.**

            Underlying reference-market price.
          example: '2426.2'
        open_interest:
          description: Open interest, in contracts. See the instrument's `contract_size`.
          type: string
          example: '48210'
        funding_rate:
          description: >-
            Current funding rate as a fraction of the position's notional value.
            The US offering uses eight-hour funding intervals; the
            International/EEA offering uses one-hour intervals. Positive rates
            mean longs pay shorts; negative rates mean shorts pay longs. For
            example, `0.0001` means `0.01%`.
          type: string
          example: '0.0001'
        funding_rate_prediction:
          description: >-
            Predicted funding rate for the next funding interval, using the same
            units and sign convention as `funding_rate`.
          type: string
          example: '0.0001'
        next_funding_rate_time:
          $ref: '#/components/schemas/DateTime'
          description: >-
            Scheduled time of the next funding-rate change, not when funding
            payments are settled.


            **US offering:** Funding settles daily at 15:00 US Central Time.


            **International/EEA offering:** Funding settles at the end of each
            UTC hour or when the net position changes, whichever occurs first.
          example: '2026-10-17T00:00:00Z'
        trading_days:
          $ref: '#/components/schemas/TradingTickers_TickerTradingDays'
          description: >-
            **Available only for the US offering.**


            Statistics grouped by exchange trading day. The daily boundary is
            16:00 US Central Time.
        last_24h:
          $ref: '#/components/schemas/TradingTickers_TickerLast24h'
          description: |-
            **Available only for the International/EEA offering.**

            Rolling 24-hour statistics.
    BadRequestError:
      title: Bad Request
      description: Request validation failed or the request could not be processed.
      oneOf:
        - title: Bad Request
          allOf:
            - $ref: '#/components/schemas/PwsValidationErrorEnvelope'
            - type: object
              required:
                - error
              properties:
                error:
                  allOf:
                    - $ref: '#/components/schemas/PwsValidationError'
                    - type: object
                      required:
                        - status
                        - code
                      properties:
                        status:
                          type: integer
                          format: int32
                          const: 400
                        code:
                          type: string
                          enum:
                            - bad_request
        - title: Gateway
          description: >-
            Gateway-level validation failure returned before the request reaches
            the service.
          allOf:
            - $ref: '#/components/schemas/PwsValidationErrorEnvelope'
            - type: object
              required:
                - error
              properties:
                error:
                  allOf:
                    - $ref: '#/components/schemas/PwsValidationError'
                    - type: object
                      required:
                        - status
                        - code
                      properties:
                        type:
                          type: string
                          const: service_error
                        status:
                          type: integer
                          format: int32
                          const: 400
                        code:
                          type: string
                          const: gateway
    UnauthenticatedError:
      title: Unauthenticated
      description: Authentication credentials are missing, invalid, or not accepted.
      oneOf:
        - title: Unauthenticated
          allOf:
            - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
            - type: object
              required:
                - error
              properties:
                error:
                  allOf:
                    - $ref: '#/components/schemas/PwsGeneralError'
                    - type: object
                      required:
                        - status
                        - code
                      properties:
                        status:
                          type: integer
                          format: int32
                          const: 401
                        code:
                          type: string
                          enum:
                            - unauthenticated
        - title: Gateway
          description: Authentication failure returned by the API gateway.
          allOf:
            - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
            - type: object
              required:
                - error
              properties:
                error:
                  allOf:
                    - $ref: '#/components/schemas/PwsGeneralError'
                    - type: object
                      required:
                        - status
                        - code
                      properties:
                        type:
                          type: string
                          const: service_error
                        status:
                          type: integer
                          format: int32
                          const: 401
                        code:
                          type: string
                          const: gateway
    ForbiddenError:
      title: Forbidden
      description: The caller is not allowed to perform this operation.
      oneOf:
        - title: Forbidden
          allOf:
            - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
            - type: object
              required:
                - error
              properties:
                error:
                  allOf:
                    - $ref: '#/components/schemas/PwsGeneralError'
                    - type: object
                      required:
                        - status
                        - code
                      properties:
                        status:
                          type: integer
                          format: int32
                          const: 403
                        code:
                          type: string
                          enum:
                            - forbidden
        - title: Gateway
          description: Authorization failure returned by the API gateway.
          allOf:
            - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
            - type: object
              required:
                - error
              properties:
                error:
                  allOf:
                    - $ref: '#/components/schemas/PwsGeneralError'
                    - type: object
                      required:
                        - status
                        - code
                      properties:
                        type:
                          type: string
                          const: service_error
                        status:
                          type: integer
                          format: int32
                          const: 403
                        code:
                          type: string
                          const: gateway
    TradingTickers_InstrumentNotFoundError:
      title: Instrument not found
      description: No supported instrument matches the supplied symbol.
      allOf:
        - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
        - type: object
          required:
            - error
          properties:
            error:
              allOf:
                - $ref: '#/components/schemas/PwsGeneralError'
                - type: object
                  required:
                    - status
                    - code
                    - causes
                  properties:
                    status:
                      type: integer
                      format: int32
                      const: 404
                    code:
                      type: string
                      enum:
                        - instrument_not_found
                    causes:
                      type: array
                      minItems: 1
                      maxItems: 1
                      items:
                        $ref: >-
                          #/components/schemas/TradingTickers_DerivativesErrorCause
    ResourceExhaustedError:
      description: The request was rate limited or a resource quota was exhausted.
      allOf:
        - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
        - type: object
          required:
            - error
          properties:
            error:
              allOf:
                - $ref: '#/components/schemas/PwsGeneralError'
                - type: object
                  required:
                    - status
                    - code
                  properties:
                    status:
                      type: integer
                      format: int32
                      const: 429
                    code:
                      type: string
                      enum:
                        - resource_exhausted
    InternalError:
      description: An unexpected server-side error occurred.
      allOf:
        - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
        - type: object
          required:
            - error
          properties:
            error:
              allOf:
                - $ref: '#/components/schemas/PwsGeneralError'
                - type: object
                  required:
                    - status
                    - code
                  properties:
                    status:
                      type: integer
                      format: int32
                      const: 500
                    code:
                      type: string
                      enum:
                        - internal
    TradingTickers_MarketDataUnavailableError:
      title: Market data unavailable
      description: >-
        The instrument is supported, but no current market-data snapshot is
        available.
      allOf:
        - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
        - type: object
          required:
            - error
          properties:
            error:
              allOf:
                - $ref: '#/components/schemas/PwsGeneralError'
                - type: object
                  required:
                    - status
                    - code
                    - causes
                  properties:
                    status:
                      type: integer
                      format: int32
                      const: 503
                    code:
                      type: string
                      enum:
                        - market_data_unavailable
                    causes:
                      type: array
                      minItems: 1
                      maxItems: 1
                      items:
                        $ref: >-
                          #/components/schemas/TradingTickers_DerivativesErrorCause
    UnavailableError:
      description: The service is temporarily unavailable.
      allOf:
        - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
        - type: object
          required:
            - error
          properties:
            error:
              allOf:
                - $ref: '#/components/schemas/PwsGeneralError'
                - type: object
                  required:
                    - status
                    - code
                  properties:
                    status:
                      type: integer
                      format: int32
                      const: 503
                    code:
                      type: string
                      enum:
                        - unavailable
    DeadlineExceededError:
      description: The request deadline was exceeded before a response could be produced.
      allOf:
        - $ref: '#/components/schemas/PwsGeneralErrorEnvelope'
        - type: object
          required:
            - error
          properties:
            error:
              allOf:
                - $ref: '#/components/schemas/PwsGeneralError'
                - type: object
                  required:
                    - status
                    - code
                  properties:
                    status:
                      type: integer
                      format: int32
                      const: 504
                    code:
                      type: string
                      enum:
                        - deadline_exceeded
    UserId:
      description: Globally unique public identifier for a user.
      type: string
      minLength: 14
      maxLength: 42
    TradingTickers_AssetType:
      description: Classification of the trading instrument.
      type: string
      enum:
        - perpetual
    TradingTickers_InstrumentStatus:
      description: Trading status of the instrument.
      type: object
      required:
        - trading
      properties:
        trading:
          $ref: '#/components/schemas/TradingTickers_InstrumentTradingState'
        reason:
          description: |-
            **Available only for the US offering.**

            Additional detail about the trading status, when available.
          type: string
    Price:
      description: >-
        Price of one unit of an asset or instrument in the applicable quote
        units.
      type: string
      minLength: 1
      maxLength: 64
      pattern: ^[0-9]+(\.[0-9]+)?$
    DateTime:
      description: RFC 3339 timestamp.
      type: string
      format: date-time
    TradingTickers_TickerTradingDays:
      description: Statistics grouped by exchange trading day.
      type: object
      properties:
        previous:
          $ref: '#/components/schemas/TradingTickers_TickerPreviousTradingDay'
        current:
          $ref: '#/components/schemas/TradingTickers_TickerTradingDay'
    TradingTickers_TickerLast24h:
      description: Rolling 24-hour statistics.
      type: object
      properties:
        open:
          description: Opening price for the rolling 24-hour window.
          type: string
          example: '2432.3'
        high:
          description: Highest trade price in the rolling 24-hour window.
          type: string
          example: '2488.5'
        low:
          description: Lowest trade price in the rolling 24-hour window.
          type: string
          example: '2419.5'
        volume:
          description: >-
            Volume traded in the last 24 hours, in contracts. See the
            instrument's `contract_size`.
          type: string
          example: '78576.061'
        vwap:
          description: Volume-weighted average price over the rolling 24-hour window.
          type: string
          example: '2443.568723492006'
        change_percent:
          description: >-
            Percentage price change over the rolling 24-hour window. For
            example, `1.2` means `1.2%`.
          type: string
          example: '-0.17'
        volume_in_quote:
          description: Volume traded in the last 24 hours, in the quote asset.
          type: string
          example: '192006005.0748'
    PwsValidationErrorEnvelope:
      description: Error envelope for request validation failures.
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/PwsValidationError'
          description: Validation error details.
    PwsValidationError:
      description: Standard PWS API error object for request validation failures.
      type: object
      required:
        - type
        - status
        - instance
        - code
      properties:
        type:
          description: Machine-readable error class.
          type: string
        status:
          description: HTTP status code returned for this error.
          type: integer
          format: int32
        instance:
          description: Request identifier for this specific error occurrence.
          type: string
        code:
          description: Stable machine-readable error code.
          type: string
        doc_url:
          description: Optional link to documentation for this error.
          type: string
          format: uri
        causes:
          description: Validation failures that contributed to the error.
          type: array
          items:
            $ref: '#/components/schemas/PwsErrorCause'
    PwsGeneralErrorEnvelope:
      description: Error envelope for operational or domain failures.
      type: object
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/PwsGeneralError'
          description: General error details.
    PwsGeneralError:
      description: Standard PWS API error object for non-validation failures.
      allOf:
        - $ref: '#/components/schemas/PwsErrorBase'
        - type: object
          properties:
            causes:
              description: Additional error details, when present.
              type: array
              items:
                type: object
                additionalProperties: true
    TradingTickers_DerivativesErrorCause:
      description: One client-actionable detail for a derivatives error.
      type: object
      required:
        - field
        - message
      properties:
        field:
          description: Dot-notation path to the affected request or resource field.
          type: string
        message:
          description: >-
            Human-readable explanation of the condition and safe client
            response.
          type: string
    TradingTickers_InstrumentTradingState:
      description: >-
        Trading availability, independent of user eligibility. `active` allows
        normal orders and cancellations; `post_only` allows only maker orders
        that add liquidity; `cancel_only` allows cancellations only. `inactive`
        means trading is unavailable; `undefined` means availability is unknown.
      type: string
      enum:
        - active
        - post_only
        - cancel_only
        - inactive
        - undefined
    TradingTickers_TickerPreviousTradingDay:
      description: Previous trading-day statistics.
      type: object
      properties:
        close:
          description: Closing price for the previous trading day.
          type: string
          example: '81195'
        volume:
          description: Volume traded during the previous trading day, in contracts.
          type: string
          example: '2'
    TradingTickers_TickerTradingDay:
      description: Current trading-day statistics.
      type: object
      properties:
        open:
          description: Opening price for the current trading day.
          type: string
          example: '83445'
        high:
          description: Highest trade price during the current trading day.
          type: string
          example: '83445'
        low:
          description: Lowest trade price during the current trading day.
          type: string
          example: '82175'
        volume:
          description: Volume traded during the trading day, in contracts.
          type: string
          example: '2'
        vwap:
          description: Volume-weighted average price for the current trading day.
          type: string
          example: '82810'
        change_percent:
          description: >-
            Percentage price change from the previous trading day’s close. For
            example, `1.2` means `1.2%`.
          type: string
          example: '1.206971'
        volume_in_quote:
          description: Volume traded during the trading day, in the quote asset.
          type: string
          example: '1656.2'
    PwsErrorCause:
      description: A single request validation failure.
      type: object
      required:
        - field
        - message
      properties:
        field:
          description: Dot-notation path to the offending request field.
          type: string
        message:
          description: Human-readable explanation of the failed validation rule.
          type: string
    PwsErrorBase:
      description: Common fields present on every PWS API error object.
      type: object
      required:
        - type
        - status
        - instance
        - code
      properties:
        type:
          description: Machine-readable error class.
          type: string
        status:
          description: HTTP status code returned for this error.
          type: integer
          format: int32
        instance:
          description: Request identifier for this specific error occurrence.
          type: string
        code:
          description: Stable machine-readable error code.
          type: string
        doc_url:
          description: Optional link to documentation for this error.
          type: string
          format: uri
  examples:
    spot-derivatives-unauthenticated:
      summary: Authentication required
      value:
        error:
          type: derivatives_error
          status: 401
          instance: 4bf92f3577b34da6a3ce929d0e0e4736
          code: unauthenticated
    spot-derivatives-gateway-unauthenticated:
      summary: Gateway authentication failed
      value:
        error:
          type: service_error
          status: 401
          instance: 4bf92f3577b34da6a3ce929d0e0e4736
          code: gateway
    spot-derivatives-forbidden:
      summary: Access denied
      value:
        error:
          type: derivatives_error
          status: 403
          instance: 4bf92f3577b34da6a3ce929d0e0e4736
          code: forbidden
    spot-derivatives-gateway-forbidden:
      summary: Gateway access denied
      value:
        error:
          type: service_error
          status: 403
          instance: 4bf92f3577b34da6a3ce929d0e0e4736
          code: gateway
    spot-derivatives-resource-exhausted:
      summary: Rate limit exceeded
      value:
        error:
          type: derivatives_error
          status: 429
          instance: 4bf92f3577b34da6a3ce929d0e0e4736
          code: resource_exhausted
    spot-derivatives-internal:
      summary: Internal service error
      value:
        error:
          type: derivatives_error
          status: 500
          instance: 4bf92f3577b34da6a3ce929d0e0e4736
          code: internal
    spot-derivatives-unavailable:
      summary: Service unavailable
      value:
        error:
          type: derivatives_error
          status: 503
          instance: 4bf92f3577b34da6a3ce929d0e0e4736
          code: unavailable
    spot-derivatives-deadline-exceeded:
      summary: Request deadline exceeded
      value:
        error:
          type: derivatives_error
          status: 504
          instance: 4bf92f3577b34da6a3ce929d0e0e4736
          code: deadline_exceeded
  securitySchemes:
    ApiKey:
      type: apiKey
      in: header
      name: API-Key
      description: Your public API key. Identifies the partner making the request.
    ApiSign:
      type: apiKey
      in: header
      name: API-Sign
      description: HMAC signature over the request, computed with your API secret.
    ApiTimestamp:
      type: apiKey
      in: header
      name: API-Timestamp
      description: >-
        Time the request was signed, as Unix milliseconds. Included in the
        request signature. Requests signed too far from the server's time are
        rejected.

````