> ## 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.

# Update Rate Oracle Config

> Update rate oracle configuration.

Updates rate_oracle_source and/or global_token settings. Changes are:
1. Applied to the running RateOracle instance immediately
2. Persisted to conf_client.yml

Args:
    update_request: Configuration updates to apply

Returns:
    Updated configuration with success status



## OpenAPI

````yaml /api-reference/openapi.json put /rate-oracle/config
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:
  /rate-oracle/config:
    put:
      tags:
        - Rate Oracle
      summary: Update Rate Oracle Config
      description: |-
        Update rate oracle configuration.

        Updates rate_oracle_source and/or global_token settings. Changes are:
        1. Applied to the running RateOracle instance immediately
        2. Persisted to conf_client.yml

        Args:
            update_request: Configuration updates to apply

        Returns:
            Updated configuration with success status
      operationId: update_rate_oracle_config_rate_oracle_config_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RateOracleConfigUpdateRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RateOracleConfigUpdateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    RateOracleConfigUpdateRequest:
      properties:
        rate_oracle_source:
          anyOf:
            - $ref: '#/components/schemas/RateOracleSourceConfig'
            - type: 'null'
          description: New rate oracle source configuration (optional)
        global_token:
          anyOf:
            - $ref: '#/components/schemas/GlobalTokenConfig'
            - type: 'null'
          description: New global token configuration (optional)
      type: object
      title: RateOracleConfigUpdateRequest
      description: Request model for updating rate oracle configuration.
    RateOracleConfigUpdateResponse:
      properties:
        success:
          type: boolean
          title: Success
          description: Whether the update was successful
        message:
          type: string
          title: Message
          description: Status message
        config:
          $ref: '#/components/schemas/RateOracleConfig'
          description: Updated configuration
      type: object
      required:
        - success
        - message
        - config
      title: RateOracleConfigUpdateResponse
      description: Response for rate oracle configuration update.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RateOracleSourceConfig:
      properties:
        name:
          $ref: '#/components/schemas/RateOracleSourceEnum'
          description: The rate oracle source to use for price data
          default: binance
      type: object
      title: RateOracleSourceConfig
      description: Rate oracle source configuration.
    GlobalTokenConfig:
      properties:
        global_token_name:
          type: string
          title: Global Token Name
          description: The token to use as global quote (e.g., USDT, USD, BTC)
          default: USDT
        global_token_symbol:
          type: string
          title: Global Token Symbol
          description: Symbol to display for the global token
          default: $
      type: object
      title: GlobalTokenConfig
      description: Global token configuration for displaying values.
    RateOracleConfig:
      properties:
        rate_oracle_source:
          $ref: '#/components/schemas/RateOracleSourceConfig'
          description: Rate oracle source configuration
        global_token:
          $ref: '#/components/schemas/GlobalTokenConfig'
          description: Global token configuration
      type: object
      title: RateOracleConfig
      description: Complete rate oracle configuration.
    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
    RateOracleSourceEnum:
      type: string
      enum:
        - binance
        - binance_us
        - coin_gecko
        - coin_cap
        - kucoin
        - ascend_ex
        - gate_io
        - coinbase_advanced_trade
        - cube
        - dexalot
        - hyperliquid
        - derive
        - tegro
      title: RateOracleSourceEnum
      description: Available rate oracle sources.
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````