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

# Intraday supply & demand (15m)

> Get intraday supply and demand data in 15-minute intervals.



## OpenAPI

````yaml /en/openapi/tcbs-v1.yaml get /nyx/v1/intraday/{ticker}/bsa-ext
openapi: 3.0.3
info:
  title: TCBS iFlash Open API
  description: REST APIs for trading stocks and derivatives on TCBS.
  version: 1.0.0
  contact:
    email: openapi@tcbs.com.vn
servers:
  - url: https://openapi.tcbs.com.vn
    description: Production
security:
  - bearerAuth: []
paths:
  /nyx/v1/intraday/{ticker}/bsa-ext:
    get:
      summary: Intraday supply & demand (15m)
      description: Get intraday supply and demand data in 15-minute intervals.
      parameters:
        - name: ticker
          in: path
          required: true
          description: Stock symbol, e.g. TCB.
          schema:
            type: string
        - name: timeWindow
          in: query
          required: true
          description: 'Time frame in minutes: 15 or 60.'
          schema:
            $ref: '#/components/schemas/IntradayTimeWindow'
        - name: tWindow
          in: query
          required: true
          description: 'Time frame in minutes: 15.'
          schema:
            $ref: '#/components/schemas/IntradayTWindow'
        - name: type
          in: query
          required: false
          description: >-
            Investor type: sheep (small retail), wolf (medium institutional),
            shark (large institutional), all (default).
          schema:
            $ref: '#/components/schemas/InvestorType'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  ticker:
                    type: string
                    description: Stock symbol.
                  data[].bu:
                    type: number
                    format: double
                    description: Buy Up volume.
                  data[].bms:
                    type: number
                    format: double
                    description: Buy Up Moving Sum.
                  data[].bup:
                    type: number
                    format: double
                    description: Buy Up Percent.
                  data[].sd:
                    type: number
                    format: double
                    description: Sell Down volume.
                  data[].sms:
                    type: number
                    format: double
                    description: Sell Down Moving Sum.
                  data[].sdp:
                    type: number
                    format: double
                    description: Sell Down Percent.
                  data[].bsr:
                    type: number
                    format: double
                    description: Buy/Sell Ratio.
                  data[].t:
                    type: string
                    description: Time (HH:mm:ss).
                  data[].s:
                    type: number
                    format: double
                    description: Time (timestamp).
components:
  schemas:
    IntradayTimeWindow:
      type: string
      description: 'Khung thời gian cung cầu trong phiên, tính bằng phút: 15 hoặc 60.'
      enum:
        - '15'
        - '60'
    IntradayTWindow:
      type: string
      description: 'Khung thời gian cung cầu trong phiên: 15 phút.'
      enum:
        - '15'
    InvestorType:
      type: string
      description: >-
        Loại nhà đầu tư: sheep = cá nhân nhỏ lẻ, wolf = tổ chức vừa, shark = tổ
        chức lớn, all = tất cả.
      enum:
        - sheep
        - wolf
        - shark
        - all
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.