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

# Get Technicals

> Retrieve technical analysis indicators (SMA, EMA, RSI, MACD, Bollinger Bands) and OHLCV candle data for a symbol.



## OpenAPI

````yaml GET /vq/technical/{symbol}
openapi: 3.1.0
info:
  title: VecTrade API
  version: 1.0.0
  description: |
    Financial data, AI-powered analysis, and trading intelligence.

    ## Authentication
    All requests require an API key in the `X-API-Key` header:
    ```
    X-API-Key: vq_your_key_here
    ```

    ## Rate Limits
    Response headers include rate limit info:
    - `X-VQ-RateLimit-Limit` — requests per window
    - `X-VQ-RateLimit-Remaining` — remaining requests
    - `X-VQ-RateLimit-Reset` — window reset timestamp (Unix)
  contact:
    name: VecTrade API Support
    email: api@vectrade.io
    url: https://docs.vectrade.io
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
  - url: https://api.vectrade.io/v1
    description: Production & Sandbox (mode determined by API key prefix)
security:
  - ApiKeyAuth: []
paths:
  /vq/technical/{symbol}:
    get:
      tags:
        - Technicals
      summary: Get technical indicators
      description: >-
        Retrieve technical analysis indicators (SMA, EMA, RSI, MACD, Bollinger
        Bands) and OHLCV candle data for a symbol.
      operationId: getTechnicals
      parameters:
        - name: symbol
          in: path
          required: true
          schema:
            type: string
          example: AAPL
        - name: indicators
          in: query
          schema:
            type: string
          description: Comma-separated indicator names (sma, ema, rsi, macd, bollinger)
          example: sma,rsi,macd
        - name: interval
          in: query
          schema:
            type: string
            enum:
              - 1m
              - 5m
              - 15m
              - 1h
              - 4h
              - 1d
              - 1w
              - 1M
            default: 1d
        - name: period
          in: query
          schema:
            type: integer
            default: 14
      responses:
        '200':
          description: Technical indicator data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Technical'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  schemas:
    Technical:
      type: object
      properties:
        symbol:
          type: string
        interval:
          type: string
        indicators:
          type: object
          additionalProperties:
            type: array
            items:
              $ref: '#/components/schemas/IndicatorValue'
        candles:
          type: array
          items:
            $ref: '#/components/schemas/Candle'
    IndicatorValue:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        value:
          type: number
    Candle:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        open:
          type: number
        high:
          type: number
        low:
          type: number
        close:
          type: number
        volume:
          type: integer
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
            type:
              type: string
            docs_url:
              type: string
        request_id:
          type: string
  responses:
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit exceeded
      headers:
        Retry-After:
          schema:
            type: number
        X-VQ-RateLimit-Limit:
          schema:
            type: integer
        X-VQ-RateLimit-Remaining:
          schema:
            type: integer
        X-VQ-RateLimit-Reset:
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: VecTrade API key (e.g., vq_live_...)

````