# Funding Rate Settings

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /funding-rate/settings:
    get:
      summary: Funding Rate Settings
      deprecated: false
      description: >-
        Returns an array of funding rate settings. Refer to the funding rate
        methodology for a detailed explanation of the calculation logic.

        https://docs.onetrading.com/futures/funding-rate-methodology
      tags:
        - One Trading Public REST API/Futures
      parameters:
        - name: instrument_code
          in: query
          description: >-
            Instrument(s) to filter by. Can be a single pair or a
            comma-separated string of pairs. Defaults to all perpetual
            instruments.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FundingRateSetting'
              example:
                - instrument_code: ADA_USD_P
                  state: ACTIVE
                  market_offset: 6
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
                - instrument_code: BTC_USD_P
                  state: ACTIVE
                  market_offset: 0
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
                - instrument_code: DOGE_USD_P
                  state: ACTIVE
                  market_offset: 5
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
                - instrument_code: ETH_USD_P
                  state: ACTIVE
                  market_offset: 2
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
                - instrument_code: LINK_USD_P
                  state: ACTIVE
                  market_offset: 7
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
                - instrument_code: LTC_USD_P
                  state: ACTIVE
                  market_offset: 9
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
                - instrument_code: SOL_USD_P
                  state: ACTIVE
                  market_offset: 4
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
                - instrument_code: SUI_USD_P
                  state: ACTIVE
                  market_offset: 8
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
                - instrument_code: TAO_USD_P
                  state: ACTIVE
                  market_offset: 10
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
                - instrument_code: XRP_USD_P
                  state: ACTIVE
                  market_offset: 3
                  clamp_threshold: 0.0005
                  annual_interest_rate: 0.04
                  cap: 0.001
                  period: 240
          headers: {}
          x-apidog-name: Success
      security: []
      x-apidog-folder: One Trading Public REST API/Futures
      x-apidog-status: developing
      x-run-in-apidog: https://app.eu.apidog.com/web/project/349694/apis/api-4022131-run
components:
  schemas:
    FundingRateSetting:
      type: object
      properties:
        instrument_code:
          type: string
          description: Instrument code for the futures market
        state:
          type: string
          description: ACTIVE or INACTIVE
          enum:
            - ACTIVE
            - INACTIVE
          x-apidog-enum:
            - value: ACTIVE
              name: ''
              description: ''
            - value: INACTIVE
              name: ''
              description: ''
        market_offset:
          type: number
          description: Settlement offset in seconds from the minute mark.
        clamp_threshold:
          type: number
          description: Clamp threshold for the funding rate
        annual_interest_rate:
          type: number
          description: >-
            Annual interest rate component. Paid by long position holders to
            short position holders when positive.
        cap:
          type: number
          description: Maximum absolute funding rate per period
        period:
          type: integer
          description: Funding period in minutes (240 = every 4 hours).
      x-apidog-orders:
        - instrument_code
        - state
        - market_offset
        - clamp_threshold
        - annual_interest_rate
        - cap
        - period
      required:
        - instrument_code
        - state
        - market_offset
        - clamp_threshold
        - annual_interest_rate
        - cap
        - period
      x-apidog-ignore-properties: []
      x-apidog-folder: ''
  securitySchemes: {}
servers:
  - url: https://api.onetrading.com/fast/v1
    description: Production Env
security: []

```