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

# User open orders

> User's currently open orders



## AsyncAPI

````yaml api-reference/asyncapi.json userOpenOrders
id: userOpenOrders
title: User open orders
description: User's currently open orders
servers:
  - id: testnet
    protocol: wss
    host: api.testnet.aptoslabs.com/decibel/ws
    bindings: []
    variables: []
address: user_open_orders:{userAddr}
parameters:
  - id: userAddr
    jsonSchema:
      type: string
      description: User wallet address (Aptos address format, e.g. 0x123...)
    description: User wallet address (Aptos address format, e.g. 0x123...)
    type: string
    required: true
    deprecated: false
bindings: []
operations:
  - &ref_0
    id: receiveuserOpenOrders
    title: Receiveuser open orders
    description: Receive updates for user's currently open orders
    type: receive
    messages:
      - &ref_1
        id: UserOpenOrdersMessage
        payload:
          - name: UserOpenOrdersMessage
            description: User's currently open orders
            type: object
            properties:
              - name: orders
                type: array
                required: true
              - name: topic
                type: string
                required: true
        headers: []
        jsonPayloadSchema:
          type: object
          required:
            - topic
            - orders
          properties:
            orders:
              type: array
              items:
                type: object
                required:
                  - parent
                  - market
                  - client_order_id
                  - order_id
                  - status
                  - order_type
                  - trigger_condition
                  - order_direction
                  - is_buy
                  - is_reduce_only
                  - details
                  - transaction_version
                  - unix_ms
                properties:
                  client_order_id:
                    type: string
                    x-parser-schema-id: <anonymous-schema-3>
                  details:
                    type: string
                    x-parser-schema-id: <anonymous-schema-4>
                  is_buy:
                    type: boolean
                    x-parser-schema-id: <anonymous-schema-5>
                  is_reduce_only:
                    type: boolean
                    x-parser-schema-id: <anonymous-schema-6>
                  market:
                    type: string
                    x-parser-schema-id: <anonymous-schema-7>
                  order_direction:
                    type: string
                    x-parser-schema-id: <anonymous-schema-8>
                  order_id:
                    type: string
                    x-parser-schema-id: <anonymous-schema-9>
                  order_type:
                    type: string
                    x-parser-schema-id: <anonymous-schema-10>
                  orig_size:
                    type:
                      - number
                      - 'null'
                    format: double
                    x-parser-schema-id: <anonymous-schema-11>
                  parent:
                    type: string
                    x-parser-schema-id: <anonymous-schema-12>
                  price:
                    type:
                      - number
                      - 'null'
                    format: double
                    x-parser-schema-id: <anonymous-schema-13>
                  remaining_size:
                    type:
                      - number
                      - 'null'
                    format: double
                    x-parser-schema-id: <anonymous-schema-14>
                  size_delta:
                    type:
                      - number
                      - 'null'
                    format: double
                    x-parser-schema-id: <anonymous-schema-15>
                  sl_limit_price:
                    type:
                      - integer
                      - 'null'
                    format: int64
                    minimum: 0
                    x-parser-schema-id: <anonymous-schema-16>
                  sl_order_id:
                    type:
                      - string
                      - 'null'
                    x-parser-schema-id: <anonymous-schema-17>
                  sl_trigger_price:
                    type:
                      - integer
                      - 'null'
                    format: int64
                    minimum: 0
                    x-parser-schema-id: <anonymous-schema-18>
                  status:
                    type: string
                    x-parser-schema-id: <anonymous-schema-19>
                  tp_limit_price:
                    type:
                      - integer
                      - 'null'
                    format: int64
                    minimum: 0
                    x-parser-schema-id: <anonymous-schema-20>
                  tp_order_id:
                    type:
                      - string
                      - 'null'
                    x-parser-schema-id: <anonymous-schema-21>
                  tp_trigger_price:
                    type:
                      - integer
                      - 'null'
                    format: int64
                    minimum: 0
                    x-parser-schema-id: <anonymous-schema-22>
                  transaction_version:
                    type: integer
                    format: int64
                    minimum: 0
                    x-parser-schema-id: <anonymous-schema-23>
                  trigger_condition:
                    type: string
                    x-parser-schema-id: <anonymous-schema-24>
                  unix_ms:
                    type: integer
                    format: int64
                    minimum: 0
                    x-parser-schema-id: <anonymous-schema-25>
                x-parser-schema-id: OrderDto
              x-parser-schema-id: <anonymous-schema-159>
            topic:
              type: string
              x-parser-schema-id: <anonymous-schema-160>
          x-parser-schema-id: UserOpenOrdersResponse
        title: User open orders message
        description: User's currently open orders
        example: |-
          {
            "topic": "user_open_orders:0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
            "orders": [
              {
                "parent": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
                "market": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
                "client_order_id": "order_123",
                "order_id": "45678",
                "status": "Open",
                "order_type": "Limit",
                "trigger_condition": "None",
                "order_direction": "Open Long",
                "orig_size": 1.5,
                "remaining_size": 1.5,
                "size_delta": null,
                "price": 50000.5,
                "is_buy": true,
                "is_reduce_only": false,
                "details": "",
                "tp_order_id": null,
                "tp_trigger_price": null,
                "tp_limit_price": null,
                "sl_order_id": null,
                "sl_trigger_price": null,
                "sl_limit_price": null,
                "transaction_version": 12345678,
                "unix_ms": 1699564800000
              }
            ]
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: UserOpenOrdersMessage
          - id: x-parser-message-name
            value: UserOpenOrdersMessage
    bindings: []
    extensions:
      - id: x-parser-unique-object-id
        value: userOpenOrders
sendOperations:
  - *ref_0
receiveOperations: []
sendMessages:
  - *ref_1
receiveMessages: []
extensions:
  - id: x-parser-unique-object-id
    value: userOpenOrders
securitySchemes: []

````