> ## Documentation Index
> Fetch the complete documentation index at: https://condor.hummingbot.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Quote Clmm Position

> Quote a candidate CLMM position before opening or adding liquidity.

Mirrors Gateway's GET /trading/clmm/quote-position: returns the base/quote
split the pool would actually take for the given range and deposit amounts
(and which side limits it), without signing or submitting anything.



## OpenAPI

````yaml /api-reference/openapi.json post /gateway/clmm/quote-position
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /gateway/clmm/quote-position:
    post:
      tags:
        - Gateway CLMM
      summary: Quote Clmm Position
      description: >-
        Quote a candidate CLMM position before opening or adding liquidity.


        Mirrors Gateway's GET /trading/clmm/quote-position: returns the
        base/quote

        split the pool would actually take for the given range and deposit
        amounts

        (and which side limits it), without signing or submitting anything.
      operationId: quote_clmm_position_gateway_clmm_quote_position_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CLMMQuotePositionRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CLMMQuotePositionResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    CLMMQuotePositionRequest:
      properties:
        connector:
          type: string
          title: Connector
          description: CLMM connector (e.g., 'meteora', 'raydium', 'orca')
        network:
          type: string
          title: Network
          description: Network ID in 'chain-network' format (e.g., 'solana-mainnet-beta')
        pool_address:
          type: string
          title: Pool Address
          description: Pool contract address
        lower_price:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Lower Price
          description: Lower price bound
        upper_price:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Upper Price
          description: Upper price bound
        base_token_amount:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Base Token Amount
          description: Base amount to deposit (one side may be omitted)
        quote_token_amount:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Quote Token Amount
          description: Quote amount to deposit (one side may be omitted)
        slippage_pct:
          anyOf:
            - type: number
            - type: string
              pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
            - type: 'null'
          title: Slippage Pct
          description: Max acceptable slippage percentage
      type: object
      required:
        - connector
        - network
        - pool_address
        - lower_price
        - upper_price
      title: CLMMQuotePositionRequest
      description: >-
        Request to quote a candidate CLMM position before opening or adding.


        Mirrors Gateway's GET /trading/clmm/quote-position: given the price
        range and

        one or both deposit amounts, returns the actual base/quote split the
        pool

        would take (and which side limits it) without signing anything.
    CLMMQuotePositionResponse:
      properties:
        baseLimited:
          type: boolean
          title: Baselimited
          description: True when the base side limits the deposit
        baseTokenAmount:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Basetokenamount
          description: Base amount the position would take
        quoteTokenAmount:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Quotetokenamount
          description: Quote amount the position would take
        baseTokenAmountMax:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Basetokenamountmax
          description: Base ceiling after slippage
        quoteTokenAmountMax:
          type: string
          pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$
          title: Quotetokenamountmax
          description: Quote ceiling after slippage
      type: object
      required:
        - baseLimited
        - baseTokenAmount
        - quoteTokenAmount
        - baseTokenAmountMax
        - quoteTokenAmountMax
      title: CLMMQuotePositionResponse
      description: >-
        Gateway's position quote: the deposit split the pool would actually
        take.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````