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

# Technical Indicators

> Calculates technical indicators for financial time series: RSI, EMA, MACD, Bollinger Bands, ATR, ADX, CCI, OBV. Essential for trading strategies, feature engineering, and market analysis. [Tier: ENTERPRISE, Credits: 10]



## OpenAPI

````yaml api-specs/ml.json post /quantlib/ml/features/technical
openapi: 3.1.0
info:
  title: FinceptQuantLib API - ML
  description: >-
    Machine Learning and Credit Risk module endpoints for FinceptQuantLib API.
    Pro Tier access required (5 credits per request). Covers credit scoring,
    model validation, regression models, clustering, anomaly detection, feature
    engineering, and preprocessing.
  version: 3.0.0
  contact:
    name: Fincept API Support
    url: https://fincept.in
servers:
  - url: https://api.fincept.in
    description: Fincept API Production Server
security:
  - APIKeyHeader: []
tags:
  - name: quantlib-ml
    description: Machine Learning and Credit Risk Analytics
    x-displayName: ML
paths:
  /quantlib/ml/features/technical:
    post:
      tags:
        - quantlib-ml
      summary: Technical Indicators
      description: >-
        Calculates technical indicators for financial time series: RSI, EMA,
        MACD, Bollinger Bands, ATR, ADX, CCI, OBV. Essential for trading
        strategies, feature engineering, and market analysis. [Tier: ENTERPRISE,
        Credits: 10]
      operationId: technical_indicator
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - prices
                - indicator
              properties:
                prices:
                  type: array
                  description: Price series (close prices)
                  items:
                    type: number
                  example:
                    - 100
                    - 102
                    - 101
                    - 105
                    - 107
                    - 106
                    - 110
                    - 108
                    - 112
                    - 115
                indicator:
                  type: string
                  description: Technical indicator to calculate
                  enum:
                    - rsi
                    - ema
                    - macd
                    - bollinger
                    - atr
                    - adx
                    - cci
                    - obv
                  example: rsi
                period:
                  type: integer
                  description: Indicator period/window
                  default: 14
                  example: 14
                high:
                  type: array
                  description: High prices (for ATR, ADX, CCI)
                  items:
                    type: number
                  example:
                    - 101
                    - 103
                    - 102
                    - 106
                    - 108
                    - 107
                    - 111
                    - 109
                    - 113
                    - 116
                low:
                  type: array
                  description: Low prices (for ATR, ADX, CCI)
                  items:
                    type: number
                  example:
                    - 99
                    - 101
                    - 100
                    - 104
                    - 106
                    - 105
                    - 109
                    - 107
                    - 111
                    - 114
                volume:
                  type: array
                  description: Volume data (for OBV)
                  items:
                    type: number
                  example:
                    - 1000
                    - 1200
                    - 900
                    - 1500
                    - 1300
                    - 1100
                    - 1400
                    - 1000
                    - 1600
                    - 1800
      responses:
        '200':
          description: Technical indicator values
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      indicator:
                        type: string
                        example: rsi
                      values:
                        type: array
                        items:
                          type: number
                        description: Indicator values
                        example:
                          - 55.2
                          - 58.7
                          - 62.3
                          - 65.8
                          - 63.2
                          - 68.4
                          - 70.1
                      macd:
                        type: array
                        items:
                          type: number
                        description: MACD line (for macd indicator)
                      signal:
                        type: array
                        items:
                          type: number
                        description: Signal line (for macd indicator)
                      histogram:
                        type: array
                        items:
                          type: number
                        description: MACD histogram (for macd indicator)
                      upper:
                        type: array
                        items:
                          type: number
                        description: Upper Bollinger Band (for bollinger indicator)
                      middle:
                        type: array
                        items:
                          type: number
                        description: Middle Bollinger Band (for bollinger indicator)
                      lower:
                        type: array
                        items:
                          type: number
                        description: Lower Bollinger Band (for bollinger indicator)
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '402':
          $ref: '#/components/responses/InsufficientCreditsError'
        '422':
          $ref: '#/components/responses/ValidationError'
components:
  responses:
    UnauthorizedError:
      description: Authentication information is missing or invalid
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Invalid API key
    InsufficientCreditsError:
      description: Insufficient credits for this operation
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: string
                example: Insufficient credits. This endpoint requires 5 credits.
    ValidationError:
      description: Request validation error
      content:
        application/json:
          schema:
            type: object
            properties:
              detail:
                type: array
                items:
                  type: object
                  properties:
                    loc:
                      type: array
                      items:
                        type: string
                    msg:
                      type: string
                    type:
                      type: string
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Get your key at
        https://api.fincept.in/auth/register

````