# Instruments

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /v1/instruments:
    get:
      summary: Instruments
      deprecated: false
      description: >
        Retrieves a list of instrument pairs on the exchange, including details
        about the base and quote assets, precision levels, minimum and maximum
        trading limits, and the market type. The response provides key
        information needed for trading, such as instrument unique IDs, pricing,
        and state. Instruments in every state are listed, including `CLOSED`
        markets that can no longer be traded. Futures instruments additionally
        carry their funding schedule, leverage, price collar, maximum order
        value and maximum position size per customer segment. Optionally, the
        results can be filtered by market type using the `type` query parameter.


        Equity index futures (ONEX500, ONEX100) are moving from the
        `EQUITY_FUTURE` type to their own type, `EQUITY_INDEX_FUTURE`. Until
        that change takes effect they are still returned as `EQUITY_FUTURE`, and
        filtering by `EQUITY_INDEX_FUTURE` returns no instruments.
      tags:
        - One Trading Public REST API/Public
        - public
      parameters:
        - name: type
          in: query
          description: >-
            Filters the instruments by market type (case-insensitive): `SPOT`
            for spot markets, `DATED_FUTURE` for crypto futures, `EQUITY_FUTURE`
            for single stock futures, `EQUITY_INDEX_FUTURE` for equity index
            futures and `PERP` for legacy perpetual markets (all `CLOSED`).
          required: false
          example: ''
          schema:
            type: string
            enum:
              - SPOT
              - DATED_FUTURE
              - EQUITY_FUTURE
              - EQUITY_INDEX_FUTURE
              - PERP
            x-apidog-enum:
              - value: SPOT
                name: ''
                description: ''
              - value: DATED_FUTURE
                name: ''
                description: ''
              - value: EQUITY_FUTURE
                name: ''
                description: ''
              - value: EQUITY_INDEX_FUTURE
                name: ''
                description: ''
              - value: PERP
                name: ''
                description: ''
            nullable: true
      responses:
        '200':
          x-apidog-name: Success
          description: ''
          content:
            application/json:
              schema:
                type: array
                items:
                  anyOf:
                    - $ref: '#/components/schemas/SpotInstrument'
                    - $ref: '#/components/schemas/DatedFutureInstrument'
                    - $ref: '#/components/schemas/EquityFutureInstrument'
                    - $ref: '#/components/schemas/PerpInstrument'
              examples:
                '1':
                  summary: Success Example
                  value:
                    base:
                      code: BTC
                      precision: 8
                    quote:
                      code: USDC
                      precision: 8
                    amount_precision: 5
                    market_precision: 2
                    min_size: '10.0'
                    min_price: '1000'
                    max_price: '10000000'
                    id: BTC_USDC
                    type: SPOT
                    state: ACTIVE
                '2':
                  summary: Success Example
                  value:
                    base:
                      code: ONEX500
                      precision: 8
                    quote:
                      code: USD
                      precision: 8
                    amount_precision: 3
                    market_precision: 2
                    min_size: '10.0'
                    min_price: '10'
                    max_price: '1000000'
                    id: ONEX500_USD_P
                    price_collar_percentage: '10'
                    max_leverage: 20
                    type: EQUITY_FUTURE
                    state: ACTIVE
                    funding_period: null
                    market_offset: 0
                    funding_schedule:
                      type: SESSION_BASED
                      calendar: NASDAQ
                      max_periods_per_day: 2
                      split: SESSION_MIDPOINT
                    contract_expiry_date: '2031-04-20'
                    contract_duration: 5Y
                    max_order_value: '1000000'
                    max_position_size:
                      RETAIL: '250000'
                      INSTITUTIONAL: '2500000'
                      MARKET_MAKER: '10000000'
                '3':
                  summary: Success Example
                  value:
                    base:
                      code: BTC
                      precision: 8
                    quote:
                      code: USD
                      precision: 8
                    amount_precision: 5
                    market_precision: 2
                    min_size: '10.0'
                    min_price: '1000'
                    max_price: '10000000'
                    id: BTC_USD_P
                    price_collar_percentage: '10'
                    max_leverage: 10
                    type: DATED_FUTURE
                    state: ACTIVE
                    funding_period: 240
                    market_offset: 0
                    funding_schedule:
                      type: FIXED_INTERVAL
                      period_minutes: 240
                    contract_expiry_date: '2031-04-20'
                    contract_duration: 5Y
                    max_order_value: '1000000'
                    max_position_size:
                      RETAIL: '250000'
                      INSTITUTIONAL: '2500000'
                      MARKET_MAKER: '10000000'
          headers: {}
        '400':
          x-apidog-name: Bad Request
          description: Invalid `type` value. `error` is a human-readable message.
          content:
            application/json:
              schema: &ref_0
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error: >-
                  Invalid type parameter. Must be one of: SPOT, PERP,
                  EQUITY_FUTURE, EQUITY_INDEX_FUTURE, DATED_FUTURE.
          headers: {}
        '404':
          x-apidog-name: Record Not Found
          description: No instrument data is available.
          content:
            application/json:
              schema: *ref_0
              example:
                error: Not found.
          headers: {}
        '500':
          x-apidog-name: Server Error
          description: Unexpected server error. `error` is a human-readable message.
          content:
            application/json:
              schema: *ref_0
              examples:
                '6':
                  summary: Server error
                  value:
                    error: Server error.
                '7':
                  summary: Server configuration error
                  value:
                    error: Server configuration error.
          headers: {}
      security: []
      x-apidog-folder: One Trading Public REST API/Public
      x-apidog-status: released
      x-run-in-apidog: https://app.eu.apidog.com/web/project/349694/apis/api-3612082-run
components:
  schemas:
    PerpInstrument:
      type: object
      description: >-
        Legacy perpetual future. These markets are no longer traded and are
        listed with state `CLOSED`.
      properties:
        base:
          type: object
          properties:
            code:
              type: string
              description: The symbol for the base asset (e.g., `BTC`).
            precision:
              type: integer
              description: >-
                The number of decimal places allowed for the base asset
                (currently always 8).
          x-apidog-orders:
            - code
            - precision
          required:
            - code
            - precision
          description: An object representing the base asset in the trading pair.
          x-apidog-ignore-properties: []
        quote:
          type: object
          properties:
            code:
              type: string
              description: The symbol for the quote asset (e.g., `EUR`).
            precision:
              type: integer
              description: >-
                The number of decimal places allowed for the quote asset
                (currently always 8).
          x-apidog-orders:
            - code
            - precision
          required:
            - code
            - precision
          description: An object representing the quote asset in the trading pair.
          x-apidog-ignore-properties: []
        amount_precision:
          type: integer
          description: >-
            The number of decimal places allowed when specifying the trade
            amount (quantity of the base asset).
        market_precision:
          type: integer
          description: >-
            The number of decimal places allowed when specifying the price of
            the instrument.
        min_size:
          type: string
          description: >-
            The minimum allowable order value for the instrument, expressed in
            the quote asset (e.g., 10 EUR or 10 USDC). This is calculated as
            price × amount and ensures the order meets the required notional
            value.
        min_price:
          type: string
          description: >-
            The minimum allowable price for the instrument, expressed in the
            quote asset.
        max_price:
          type: string
          description: >-
            The maximum allowable price for the instrument, expressed in the
            quote asset.
        id:
          type: string
          description: >-
            The unique identifier for the trading pair (e.g., `BTC_USDC`). This
            is used when creating / cancelling orders as `instrument_code`.
        state:
          type: string
          enum:
            - ACTIVE
            - SUSPENDED
            - POST_ONLY
            - CLOSED
          x-apidog-enum:
            - value: ACTIVE
              name: ''
              description: ''
            - value: SUSPENDED
              name: ''
              description: ''
            - value: POST_ONLY
              name: ''
              description: ''
            - value: CLOSED
              name: ''
              description: ''
          description: >-
            The current state of the instrument. `ACTIVE` markets are tradable;
            `CLOSED` markets are still listed by this endpoint but cannot be
            traded.
        funding_period:
          type: integer
          description: >-
            Funding period duration in minutes (e.g., 240 represents 4 hours);
            mirrors `funding_schedule.period_minutes`. Use `funding_schedule`
            instead.
          deprecated: true
        type:
          type: string
          description: Instrument type, always `PERP`.
          enum:
            - PERP
          x-apidog-enum:
            - value: PERP
              name: ''
              description: ''
        funding_schedule: &ref_1
          $ref: '#/components/schemas/FixedIntervalFundingSchedule'
          description: Fixed-interval funding schedule.
        price_collar_percentage:
          type: string
          description: >-
            Price collar, in percent, that the exchange applies to orders on
            this market around the mark price (e.g. `"10"` = 10%). `null` when
            the market is not loaded on the exchange (typically a `CLOSED`
            market), so no collar is enforced.
          nullable: true
        max_leverage:
          type: integer
          description: >-
            Maximum leverage offered on this market. Omitted where one leverage
            applies to every market.
        market_offset:
          type: integer
          description: Offset, in seconds, applied to this market's funding times.
        max_order_value:
          type: string
          description: >-
            Maximum value (in the quote asset) of a single order. `null` means
            no cap is enforced.
          nullable: true
        max_position_size:
          type: object
          description: >-
            Maximum position size on this market per customer segment, as
            notional value in the quote asset. Each value is the cap the
            exchange enforces for that segment: the segment's own cap, or the
            market default when none is set. `null` when the exchange reports no
            position limits for the market.
          properties:
            RETAIL:
              type: string
              description: >-
                Maximum position size, as notional value in the quote asset, for
                accounts in the `RETAIL` segment.
            INSTITUTIONAL:
              type: string
              description: >-
                Maximum position size, as notional value in the quote asset, for
                accounts in the `INSTITUTIONAL` segment.
            MARKET_MAKER:
              type: string
              description: >-
                Maximum position size, as notional value in the quote asset, for
                accounts in the `MARKET_MAKER` segment.
          required:
            - RETAIL
            - INSTITUTIONAL
            - MARKET_MAKER
          x-apidog-orders:
            - RETAIL
            - INSTITUTIONAL
            - MARKET_MAKER
          x-apidog-ignore-properties: []
          nullable: true
      required:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
        - funding_period
        - type
        - funding_schedule
        - price_collar_percentage
        - market_offset
        - max_order_value
        - max_position_size
      x-apidog-orders:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
        - funding_period
        - type
        - funding_schedule
        - price_collar_percentage
        - max_leverage
        - market_offset
        - max_order_value
        - max_position_size
      x-apidog-folder: ''
      x-apidog-ignore-properties: []
    FixedIntervalFundingSchedule:
      type: object
      properties:
        type:
          type: string
          const: FIXED_INTERVAL
          description: Funding runs on a fixed clock interval.
        period_minutes:
          type: integer
          description: Funding cycle length in minutes (e.g. 240 = every 4 hours).
      x-apidog-orders:
        - type
        - period_minutes
      required:
        - type
        - period_minutes
      x-apidog-folder: ''
      x-apidog-ignore-properties: []
    EquityFutureInstrument:
      type: object
      description: >-
        Equity index / single-stock future. Funding is paid on the NASDAQ
        session calendar.
      properties:
        base:
          type: object
          properties:
            code:
              type: string
              description: The symbol for the base asset (e.g., `BTC`).
            precision:
              type: integer
              description: >-
                The number of decimal places allowed for the base asset
                (currently always 8).
          x-apidog-orders:
            - code
            - precision
          required:
            - code
            - precision
          description: An object representing the base asset in the trading pair.
          x-apidog-ignore-properties: []
        quote:
          type: object
          properties:
            code:
              type: string
              description: The symbol for the quote asset (e.g., `EUR`).
            precision:
              type: integer
              description: >-
                The number of decimal places allowed for the quote asset
                (currently always 8).
          x-apidog-orders:
            - code
            - precision
          required:
            - code
            - precision
          description: An object representing the quote asset in the trading pair.
          x-apidog-ignore-properties: []
        amount_precision:
          type: integer
          description: >-
            The number of decimal places allowed when specifying the trade
            amount (quantity of the base asset).
        market_precision:
          type: integer
          description: >-
            The number of decimal places allowed when specifying the price of
            the instrument.
        min_size:
          type: string
          description: >-
            The minimum allowable order value for the instrument, expressed in
            the quote asset (e.g., 10 EUR or 10 USDC). This is calculated as
            price × amount and ensures the order meets the required notional
            value.
        min_price:
          type: string
          description: >-
            The minimum allowable price for the instrument, expressed in the
            quote asset.
        max_price:
          type: string
          description: >-
            The maximum allowable price for the instrument, expressed in the
            quote asset.
        id:
          type: string
          description: >-
            The unique identifier for the trading pair (e.g., `BTC_USDC`). This
            is used when creating / cancelling orders as `instrument_code`.
        state:
          type: string
          enum:
            - ACTIVE
            - SUSPENDED
            - POST_ONLY
            - CLOSED
          x-apidog-enum:
            - value: ACTIVE
              name: ''
              description: ''
            - value: SUSPENDED
              name: ''
              description: ''
            - value: POST_ONLY
              name: ''
              description: ''
            - value: CLOSED
              name: ''
              description: ''
          description: >-
            The current state of the instrument. `ACTIVE` markets are tradable;
            `CLOSED` markets are still listed by this endpoint but cannot be
            traded.
        contract_duration:
          type: string
          description: Contract duration (e.g., `5Y` for five years).
        contract_expiry_date:
          type: string
          description: Expiration date of the dated futures contract (`YYYY-MM-DD`).
        funding_period:
          type: 'null'
          description: >-
            Always `null` for equity futures, which use a session-based
            schedule. Use `funding_schedule` instead.
          deprecated: true
        type:
          type: string
          description: >-
            Instrument type: `EQUITY_FUTURE` for a single stock,
            `EQUITY_INDEX_FUTURE` for an equity index.
          enum:
            - EQUITY_FUTURE
            - EQUITY_INDEX_FUTURE
          x-apidog-enum:
            - value: EQUITY_FUTURE
              name: ''
              description: ''
            - value: EQUITY_INDEX_FUTURE
              name: ''
              description: ''
        funding_schedule: &ref_2
          $ref: '#/components/schemas/SessionBasedFundingSchedule'
          description: Session-based funding schedule.
        price_collar_percentage:
          type: string
          description: >-
            Price collar, in percent, that the exchange applies to orders on
            this market around the mark price (e.g. `"10"` = 10%). `null` when
            the market is not loaded on the exchange (typically a `CLOSED`
            market), so no collar is enforced.
          nullable: true
        max_leverage:
          type: integer
          description: >-
            Maximum leverage offered on this market. Omitted where one leverage
            applies to every market.
        market_offset:
          type: integer
          description: Offset, in seconds, applied to this market's funding times.
        max_order_value:
          type: string
          description: >-
            Maximum value (in the quote asset) of a single order. `null` means
            no cap is enforced.
          nullable: true
        max_position_size:
          type: object
          description: >-
            Maximum position size on this market per customer segment, as
            notional value in the quote asset. Each value is the cap the
            exchange enforces for that segment: the segment's own cap, or the
            market default when none is set. `null` when the exchange reports no
            position limits for the market.
          properties:
            RETAIL:
              type: string
              description: >-
                Maximum position size, as notional value in the quote asset, for
                accounts in the `RETAIL` segment.
            INSTITUTIONAL:
              type: string
              description: >-
                Maximum position size, as notional value in the quote asset, for
                accounts in the `INSTITUTIONAL` segment.
            MARKET_MAKER:
              type: string
              description: >-
                Maximum position size, as notional value in the quote asset, for
                accounts in the `MARKET_MAKER` segment.
          required:
            - RETAIL
            - INSTITUTIONAL
            - MARKET_MAKER
          x-apidog-orders:
            - RETAIL
            - INSTITUTIONAL
            - MARKET_MAKER
          x-apidog-ignore-properties: []
          nullable: true
      required:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
        - contract_duration
        - contract_expiry_date
        - funding_period
        - type
        - funding_schedule
        - price_collar_percentage
        - market_offset
        - max_order_value
        - max_position_size
      x-apidog-orders:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
        - contract_duration
        - contract_expiry_date
        - funding_period
        - type
        - funding_schedule
        - price_collar_percentage
        - max_leverage
        - market_offset
        - max_order_value
        - max_position_size
      x-apidog-folder: ''
      x-apidog-ignore-properties: []
    SessionBasedFundingSchedule:
      type: object
      properties:
        type:
          type: string
          const: SESSION_BASED
          description: Funding periods follow the trading sessions of a market calendar.
        calendar:
          type: string
          description: Market calendar governing session hours
          enum:
            - NASDAQ
          x-apidog-enum:
            - value: NASDAQ
              name: ''
              description: ''
        max_periods_per_day:
          type: integer
          description: Periods on a full session (early closes yield fewer)
        split:
          type: string
          description: How a full session is divided into periods
          enum:
            - SESSION_MIDPOINT
          x-apidog-enum:
            - value: SESSION_MIDPOINT
              name: ''
              description: ''
      x-apidog-orders:
        - type
        - calendar
        - max_periods_per_day
        - split
      required:
        - type
        - calendar
        - max_periods_per_day
        - split
      x-apidog-folder: ''
      x-apidog-ignore-properties: []
    DatedFutureInstrument:
      type: object
      properties:
        base:
          type: object
          properties:
            code: &ref_3
              type: string
              description: The symbol for the base asset (e.g., `BTC`).
            precision: &ref_4
              type: integer
              description: >-
                The number of decimal places allowed for the base asset
                (currently always 8).
          x-apidog-orders: &ref_5
            - code
            - precision
          required:
            - code
            - precision
          description: An object representing the base asset in the trading pair.
          x-apidog-ignore-properties: []
        quote:
          type: object
          properties:
            code: &ref_6
              type: string
              description: The symbol for the quote asset (e.g., `EUR`).
            precision: &ref_7
              type: integer
              description: >-
                The number of decimal places allowed for the quote asset
                (currently always 8).
          x-apidog-orders: &ref_8
            - code
            - precision
          required:
            - code
            - precision
          description: An object representing the quote asset in the trading pair.
          x-apidog-ignore-properties: []
        amount_precision: &ref_9
          type: integer
          description: >-
            The number of decimal places allowed when specifying the trade
            amount (quantity of the base asset).
        market_precision: &ref_10
          type: integer
          description: >-
            The number of decimal places allowed when specifying the price of
            the instrument.
        min_size: &ref_11
          type: string
          description: >-
            The minimum allowable order value for the instrument, expressed in
            the quote asset (e.g., 10 EUR or 10 USDC). This is calculated as
            price × amount and ensures the order meets the required notional
            value.
        min_price: &ref_12
          type: string
          description: >-
            The minimum allowable price for the instrument, expressed in the
            quote asset.
        max_price: &ref_13
          type: string
          description: >-
            The maximum allowable price for the instrument, expressed in the
            quote asset.
        id: &ref_14
          type: string
          description: >-
            The unique identifier for the trading pair (e.g., `BTC_USDC`). This
            is used when creating / cancelling orders as `instrument_code`.
        state: &ref_15
          type: string
          enum:
            - ACTIVE
            - SUSPENDED
            - POST_ONLY
            - CLOSED
          x-apidog-enum:
            - value: ACTIVE
              name: ''
              description: ''
            - value: SUSPENDED
              name: ''
              description: ''
            - value: POST_ONLY
              name: ''
              description: ''
            - value: CLOSED
              name: ''
              description: ''
          description: >-
            The current state of the instrument. `ACTIVE` markets are tradable;
            `CLOSED` markets are still listed by this endpoint but cannot be
            traded.
        contract_duration:
          type: string
          description: Contract duration (e.g., `5Y` for five years).
        contract_expiry_date:
          type: string
          description: Expiration date of the dated futures contract (`YYYY-MM-DD`).
        funding_period:
          type: integer
          description: >-
            Funding period duration in minutes (e.g., 240 represents 4 hours);
            mirrors `funding_schedule.period_minutes`. `null` when the market
            uses a session-based schedule. Use `funding_schedule` instead.
          deprecated: true
          nullable: true
        type:
          type: string
          description: Instrument type, always `DATED_FUTURE`.
          enum:
            - DATED_FUTURE
          x-apidog-enum:
            - value: DATED_FUTURE
              name: ''
              description: ''
        funding_schedule:
          anyOf:
            - *ref_1
            - *ref_2
          description: How and when funding is paid on this market.
        price_collar_percentage:
          type: string
          description: >-
            Price collar, in percent, that the exchange applies to orders on
            this market around the mark price (e.g. `"10"` = 10%). `null` when
            the market is not loaded on the exchange (typically a `CLOSED`
            market), so no collar is enforced.
          nullable: true
        max_leverage:
          type: integer
          description: >-
            Maximum leverage offered on this market. Omitted where one leverage
            applies to every market.
        market_offset:
          type: integer
          description: Offset, in seconds, applied to this market's funding times.
        max_order_value:
          type: string
          description: >-
            Maximum value (in the quote asset) of a single order. `null` means
            no cap is enforced.
          nullable: true
        max_position_size:
          type: object
          description: >-
            Maximum position size on this market per customer segment, as
            notional value in the quote asset. Each value is the cap the
            exchange enforces for that segment: the segment's own cap, or the
            market default when none is set. `null` when the exchange reports no
            position limits for the market.
          properties:
            RETAIL:
              type: string
              description: >-
                Maximum position size, as notional value in the quote asset, for
                accounts in the `RETAIL` segment.
            INSTITUTIONAL:
              type: string
              description: >-
                Maximum position size, as notional value in the quote asset, for
                accounts in the `INSTITUTIONAL` segment.
            MARKET_MAKER:
              type: string
              description: >-
                Maximum position size, as notional value in the quote asset, for
                accounts in the `MARKET_MAKER` segment.
          required:
            - RETAIL
            - INSTITUTIONAL
            - MARKET_MAKER
          x-apidog-orders:
            - RETAIL
            - INSTITUTIONAL
            - MARKET_MAKER
          x-apidog-ignore-properties: []
          nullable: true
      x-apidog-orders:
        - 01KPX77Z1FP86M2THKWAP02TBT
        - contract_duration
        - contract_expiry_date
        - funding_period
        - type
        - funding_schedule
        - price_collar_percentage
        - max_leverage
        - market_offset
        - max_order_value
        - max_position_size
      required:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
        - contract_duration
        - contract_expiry_date
        - funding_period
        - type
        - funding_schedule
        - price_collar_percentage
        - market_offset
        - max_order_value
        - max_position_size
      x-apidog-refs:
        01KPX77Z1FP86M2THKWAP02TBT: &ref_16
          $ref: '#/components/schemas/Instrument'
      x-apidog-folder: ''
      x-apidog-ignore-properties:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
    Instrument:
      type: object
      properties:
        base:
          type: object
          properties:
            code: *ref_3
            precision: *ref_4
          x-apidog-orders: *ref_5
          required:
            - code
            - precision
          description: An object representing the base asset in the trading pair.
          x-apidog-ignore-properties: []
        quote:
          type: object
          properties:
            code: *ref_6
            precision: *ref_7
          x-apidog-orders: *ref_8
          required:
            - code
            - precision
          description: An object representing the quote asset in the trading pair.
          x-apidog-ignore-properties: []
        amount_precision: *ref_9
        market_precision: *ref_10
        min_size: *ref_11
        min_price: *ref_12
        max_price: *ref_13
        id: *ref_14
        state: *ref_15
      x-apidog-orders:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
      required:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
      x-apidog-folder: ''
      x-apidog-ignore-properties: []
    SpotInstrument:
      type: object
      properties:
        base:
          type: object
          properties:
            code: *ref_3
            precision: *ref_4
          x-apidog-orders: *ref_5
          required:
            - code
            - precision
          description: An object representing the base asset in the trading pair.
          x-apidog-ignore-properties: []
        quote:
          type: object
          properties:
            code: *ref_6
            precision: *ref_7
          x-apidog-orders: *ref_8
          required:
            - code
            - precision
          description: An object representing the quote asset in the trading pair.
          x-apidog-ignore-properties: []
        amount_precision: *ref_9
        market_precision: *ref_10
        min_size: *ref_11
        min_price: *ref_12
        max_price: *ref_13
        id: *ref_14
        state: *ref_15
        type:
          type: string
          description: Instrument type, always `SPOT`.
          enum:
            - SPOT
          x-apidog-enum:
            - value: SPOT
              name: ''
              description: ''
      x-apidog-orders:
        - 01KPX7DDJ2E43XD4C8Y0N3NY5V
        - type
      x-apidog-refs:
        01KPX7DDJ2E43XD4C8Y0N3NY5V: *ref_16
      required:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
        - type
      x-apidog-folder: ''
      x-apidog-ignore-properties:
        - base
        - quote
        - amount_precision
        - market_precision
        - min_size
        - min_price
        - max_price
        - id
        - state
    ErrorResponse:
      type: object
      description: >-
        Error body. `error` is a machine-readable code (e.g.
        `INVALID_INSTRUMENT_CODE`) on most endpoints; a few older endpoints
        return a human-readable message in `error` instead and omit
        `error_message`.
      properties:
        error:
          type: string
          description: Error code (or, on older endpoints, a human-readable message).
        error_message:
          type: string
          description: >-
            Human-readable detail. Present on endpoints that return an error
            code in `error`.
      required:
        - error
      x-apidog-orders:
        - error
        - error_message
      x-apidog-folder: ''
      x-apidog-ignore-properties: []
  securitySchemes:
    bearerAuth:
      type: bearer
      scheme: bearer
      description: >-
        API key issued to the account holder, sent as `Authorization: Bearer
        <token>`. The key must hold the `SUBACCOUNT_TRANSFER` scope.
    bearer:
      type: bearer
      scheme: bearer
servers:
  - url: https://api.onetrading.com/fast
    description: Production Env
security: []

```