---
updatedAt: 2026-08-19T09:52:45.000Z
agentTools:
  projectIndex: https://apidocs.bct.host/llms.txt
---

# Place Single Order

Submit a single order (authentication required). Requires spot trading permission (SPOT_TRADE).

Only supports LIMIT/MARKET order types:

- **LIMIT**: `price` + `quantity` required, supports quantity-based placement only
- **MARKET**: Do not send `price`

**MARKET Order Combinations:**

| side | amount | quantity | Order Basis |
|------|--------|----------|-------------|
| BUY  | Y      | Y        | Order by amount (includes fee) |
| BUY  | Y      | N        | Order by amount (includes fee) |
| BUY  | N      | Y        | Order by quantity |
| SELL | Y      | Y        | Order by quantity |
| SELL | Y      | N        | Order by amount |
| SELL | N      | Y        | Order by quantity |

> In MARKET buy scenarios, `amount` includes trading fees.

**Note:** When `newOrderRespType` is set to `RESULT`, MARKET orders directly return execution results; LIMIT orders with special `timeInForce` settings directly return execution or expired/rejected results.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "HK Spot OpenAPI",
    "description": "Hong Kong Station Spot OpenAPI documentation v5. Uses Header + HMAC-SHA512 signature authentication mechanism.",
    "version": "5.0.0"
  },
  "servers": [
    {
      "url": "https://trade-hk.osl.com",
      "description": "Production"
    }
  ],
  "tags": [
    {
      "name": "Spot - Order Placement/Cancellation Module",
      "description": "Endpoints for order placement, batch order placement, cancellation, batch cancellation, and cancel-all"
    }
  ],
  "paths": {
    "/api/v5/order": {
      "post": {
        "tags": [
          "Spot - Order Placement/Cancellation Module"
        ],
        "summary": "Place Single Order",
        "description": "Submit a single order (authentication required). Requires spot trading permission (SPOT_TRADE).\n\nOnly supports LIMIT/MARKET order types:\n\n- **LIMIT**: `price` + `quantity` required, supports quantity-based placement only\n- **MARKET**: Do not send `price`\n\n**MARKET Order Combinations:**\n\n| side | amount | quantity | Order Basis |\n|------|--------|----------|-------------|\n| BUY  | Y      | Y        | Order by amount (includes fee) |\n| BUY  | Y      | N        | Order by amount (includes fee) |\n| BUY  | N      | Y        | Order by quantity |\n| SELL | Y      | Y        | Order by quantity |\n| SELL | Y      | N        | Order by amount |\n| SELL | N      | Y        | Order by quantity |\n\n> In MARKET buy scenarios, `amount` includes trading fees.\n\n**Note:** When `newOrderRespType` is set to `RESULT`, MARKET orders directly return execution results; LIMIT orders with special `timeInForce` settings directly return execution or expired/rejected results.",
        "security": [
          {
            "ApiKeyAuth": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaceOrderRequest"
              },
              "example": {
                "symbol": "AVAXHKD",
                "side": "BUY",
                "type": "MARKET",
                "amount": 100,
                "newClientOrderId": "13623-buy-00001"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Order placed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SpotOrderResponse"
                },
                "example": {
                  "category": "SPOT",
                  "orderId": "2269176161442789632",
                  "clientOrderId": "13623-buy-00001",
                  "symbol": "AVAXHKD",
                  "type": "MARKET",
                  "timeInForce": "IOC",
                  "side": "BUY",
                  "origQty": "0.00000000",
                  "price": "0.00000000",
                  "executedQty": "0.00000000",
                  "status": "NEW",
                  "cumQuote": "0.00000000",
                  "avgPrice": "0.00000000",
                  "updateTime": "1785242878073",
                  "expireTime": null
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "api-key",
        "description": "API Key, obtained via the OpenAPI management page"
      }
    },
    "schemas": {
      "SpotOrderResponse": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "Product category",
            "example": "SPOT"
          },
          "orderId": {
            "type": "string",
            "description": "Order ID",
            "example": "2269176161442789632"
          },
          "clientOrderId": {
            "type": "string",
            "description": "Client order ID",
            "example": "13623-buy-00001"
          },
          "symbol": {
            "type": "string",
            "description": "Trading pair",
            "example": "AVAXHKD"
          },
          "type": {
            "type": "string",
            "description": "Order type",
            "example": "MARKET"
          },
          "timeInForce": {
            "type": "string",
            "description": "Time in force",
            "example": "IOC"
          },
          "side": {
            "type": "string",
            "description": "Order side",
            "example": "BUY"
          },
          "origQty": {
            "type": "string",
            "description": "Original order quantity",
            "example": "0.00000000"
          },
          "price": {
            "type": "string",
            "description": "Order price",
            "example": "0.00000000"
          },
          "executedQty": {
            "type": "string",
            "description": "Executed quantity",
            "example": "0.00000000"
          },
          "status": {
            "type": "string",
            "description": "Order status",
            "example": "NEW"
          },
          "cumQuote": {
            "type": "string",
            "description": "Cumulative quote asset executed amount",
            "example": "0.00000000"
          },
          "avgPrice": {
            "type": "string",
            "description": "Average price",
            "example": "0.00000000",
            "nullable": true
          },
          "updateTime": {
            "type": "string",
            "description": "Update time",
            "example": "1785242878073"
          },
          "expireTime": {
            "type": "string",
            "description": "Expiration time",
            "example": "1786953500000",
            "nullable": true
          }
        }
      },
      "PlaceOrderRequest": {
        "type": "object",
        "required": [
          "symbol",
          "side",
          "type"
        ],
        "properties": {
          "symbol": {
            "type": "string",
            "description": "Trading pair",
            "example": "AVAXHKD"
          },
          "side": {
            "type": "string",
            "description": "Order side",
            "enum": [
              "BUY",
              "SELL"
            ],
            "example": "BUY"
          },
          "type": {
            "type": "string",
            "description": "Order type",
            "enum": [
              "LIMIT",
              "MARKET"
            ],
            "example": "MARKET"
          },
          "timeInForce": {
            "type": "string",
            "description": "Time in force",
            "enum": [
              "GTC",
              "IOC",
              "FOK",
              "POST_ONLY",
              "GTD"
            ],
            "example": "GTC"
          },
          "price": {
            "type": "string",
            "description": "Order price (required for LIMIT)",
            "example": "0.99"
          },
          "quantity": {
            "type": "string",
            "description": "Order quantity",
            "example": "1"
          },
          "amount": {
            "type": "string",
            "description": "Order amount",
            "example": "100"
          },
          "newClientOrderId": {
            "type": "string",
            "description": "Custom client order ID",
            "example": "13623-buy-00001"
          },
          "newOrderRespType": {
            "type": "string",
            "description": "Response type, ACK or RESULT",
            "enum": [
              "ACK",
              "RESULT"
            ],
            "example": "ACK"
          },
          "expireTime": {
            "type": "integer",
            "format": "int64",
            "description": "Expiration time (required for GTD)",
            "example": 1786953500000
          }
        }
      }
    }
  },
  "x-readme": {}
}
```