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

# Get normal order book (derivative)

> Query the derivative normal order book.



## OpenAPI

````yaml /en/openapi/tcbs-v1.yaml get /khronos/v1/order/in-day
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:
  /khronos/v1/order/in-day:
    get:
      summary: Get normal order book (derivative)
      description: Query the derivative normal order book.
      parameters:
        - name: accountId
          in: query
          required: true
          description: Custody account number.
          schema:
            type: string
        - name: pageNo
          in: query
          required: true
          description: Page number.
          schema:
            type: number
            format: double
        - name: pageSize
          in: query
          required: true
          description: Page size.
          schema:
            type: number
            format: double
        - name: symbol
          in: query
          required: true
          description: 'Filter: ALL,ALL = all; VN30F2303,B = by symbol; ALL,B = by L/S.'
          schema:
            type: string
        - name: orderType
          in: query
          required: true
          description: >-
            Filter order type: '' = all, 3 = Arbitrage, 4 = SL/TP, 5 =
            ForceClose, 6 = Normal.
          schema:
            $ref: '#/components/schemas/DerivativeOrderTypeFilter'
        - name: status
          in: query
          required: true
          description: 0 = all, 1 = waiting, 2 = matched.
          schema:
            $ref: '#/components/schemas/DerivativeOrderStatusFilter'
        - name: refId
          in: query
          required: false
          description: Order ref ID.
          schema:
            type: string
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  rc:
                    type: string
                    description: Result code, 1 = success.
                  data:
                    type: array
                    items:
                      type: object
                    description: List of normal orders.
                  data[].orderNo:
                    type: string
                    description: Order number.
                  data[].pk_orderNo:
                    type: string
                    description: Order key.
                  data[].side:
                    type: string
                    description: B = Long, S = Short.
                  data[].symbol:
                    type: string
                    description: Contract code.
                  data[].volume:
                    type: number
                    format: double
                    description: Order volume.
                  data[].showPrice:
                    type: string
                    description: Order price.
                  data[].matchVolume:
                    type: number
                    format: double
                    description: Matched volume.
                  data[].status:
                    type: string
                    description: Order status.
                  data[].isCancel:
                    type: string
                    description: 0 = cannot cancel, 1 = can cancel.
                  data[].isAmend:
                    type: string
                    description: 0 = cannot amend, 1 = can amend.
components:
  schemas:
    DerivativeOrderTypeFilter:
      type: string
      description: >-
        Bộ lọc loại lệnh thường phái sinh: chuỗi rỗng = tất cả, 3 = Arbitrage, 4
        = SL/TP, 5 = ForceClose, 6 = lệnh thường.
      enum:
        - ''
        - '3'
        - '4'
        - '5'
        - '6'
    DerivativeOrderStatusFilter:
      type: string
      description: >-
        Bộ lọc trạng thái lệnh phái sinh: 0 = tất cả, 1 = chờ khớp/chờ kích
        hoạt, 2 = đã khớp/đã kích hoạt, 3 = từ chối.
      enum:
        - '0'
        - '1'
        - '2'
        - '3'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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