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

# Submit a new order

> Submit a new order



## OpenAPI

````yaml openapi.oms.vi.json POST /api/v1/orders/new
openapi: 3.0.3
info:
  title: VOS OMS Public API
  version: 1.0.0
  description: >-
    Public REST API surface for Vero OMS. Authentication requests use
    platform.verolabs.co. REST API requests use api-oms.verolabs.co.
servers:
  - url: https://platform.verolabs.co
    description: Authentication host
  - url: https://api-oms.verolabs.co
    description: REST API host
security: []
tags:
  - name: Authentication
    description: Xác thực tài khoản và khôi phục mật khẩu.
  - name: Trading
    description: Order entry, quote, IOI, and trading activity APIs.
  - name: Portfolio & Risk
    description: Accounts, holdings, mappings, and risk-rule read APIs.
  - name: Administration
    description: Permissions, groups, workflow, reference data, and audit APIs.
  - name: System & Diagnostics
    description: Health and latency endpoints.
paths:
  /api/v1/orders/new:
    post:
      tags:
        - Trading
      summary: Submit a new order
      description: |-
        Unknown request body keys are rejected.

        Requires `Authorization: Bearer <jwt>` from `POST /api/auth/login`.
      operationId: post_api_v1_orders_new
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NewOrderRequest'
        description: New order request fields.
      responses:
        '200':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AckResponse'
        '400':
          $ref: '#/components/responses/ApiError'
        '413':
          $ref: '#/components/responses/ApiError'
      security:
        - bearerAuth: []
      servers:
        - url: https://api-oms.verolabs.co
components:
  schemas:
    NewOrderRequest:
      type: object
      properties:
        ref_order_id:
          type: string
          description: Client ClOrdID. Empty or - lets the API generate one.
        account_id:
          type: string
          description: Trading account. Required.
        symbol:
          type: string
          description: Ticker. Required; rewritten to ISIN by risk routing.
        side:
          type: string
          description: B or S. Required.
        price:
          type: string
          description: Raw decimal price. No-price types ignore price and go out at 0.
        qty:
          type: integer
          format: int64
          description: Order quantity. Must be > 0.
        order_type:
          type: string
          description: LO, PLO, ATO, ATC, MTL, MOK, MAK, or BUYIN.
        algo_id:
          type: string
          description: Algorithm identifier for the request.
        position_id:
          type: string
          description: Position identifier for the request.
        persis_state:
          type: string
          description: Requested order state.
      required:
        - account_id
        - symbol
        - side
        - qty
        - order_type
      description: NewOrderRequest schema.
    AckResponse:
      type: object
      properties:
        isSuccess:
          type: boolean
          example: true
          description: Indicates whether the operation completed successfully.
        detail:
          type: string
          description: Detailed information for the record.
        data:
          $ref: '#/components/schemas/Ack'
      description: AckResponse schema.
    Ack:
      type: object
      properties:
        msg_type:
          type: string
          description: Msg type value for Ack.
        request_id:
          type: string
          description: Request identifier.
        orig_request_id:
          type: string
          description: >-
            Original request identifier when the operation references a prior
            request.
        client_id:
          type: string
          description: Client identifier reported by the record.
        hft_gateway:
          type: string
          description: Routing identifier reported in the payload.
        source_service:
          type: string
          description: Source identifier reported by the payload.
        source_sequence:
          type: integer
          format: int64
          description: Source sequence number for ordering updates.
      description: Ack schema.
    RestErrorResponse:
      type: object
      properties:
        isSuccess:
          type: boolean
          example: false
          description: Indicates whether the operation completed successfully.
        detail:
          type: string
          description: Detailed information for the record.
      description: RestErrorResponse schema.
  responses:
    ApiError:
      description: API error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RestErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````