---
title: "Submit Order"
method: POST
path: "/auth/w/order/submit"
---

# Submit Order

`POST /auth/w/order/submit`

## Request

- Base URL: `https://api.bitfinex.com/v2`
- URL: `https://api.bitfinex.com/v2/auth/w/order/submit`
- Auth: none required

Submits an order on a trading pair (e.g. BTCUSD, LTCBTC, ...).

## Request body

- object
  - `type` string, required: The type of the order (see list above).
  - `symbol` string, required: The trading pair symbol to submit the order on.
  - `amount` string, required: Amount of order (positive for buy, negative for sell).
  - `price` string, required: Price of the order.
  - `lev` integer: Set the leverage for a derivative order, supported by derivative symbol orders only. The value should be between 1 and 100 inclusive. If omitted the default leverage value of 10 will be used.
  - `price_trailing` string: The trailing price for a trailing stop order.
  - `price_aux_limit` string: Auxiliary Limit price (only for STOP LIMIT).
  - `price_oco_stop` string: OCO (One-Cancels-Other) stop price.
  - `gid` integer: Group ID for the order. (int45)
  - `cid` integer: Client Order ID; should be unique in the day (UTC+0). (int45)
  - `flags` integer: The sum of all order flags (see https://docs.bitfinex.com/docs/flag-values).
  - `tif` string: Time-In-Force: UTC datetime for automatic order cancellation (e.g. 2020-01-15 10:45:23).
  - `meta` object: Object to pass order meta data. Options: 'make_visible' (to toggle visible on hit for hidden orders), 'protect_selfmatch' (to cancel submitted order if it would match with one of your own orders). Example: meta: {make_visible: 1}
    - `aff_code` string: Pass an affiliate code as a string
    - `make_visible` integer: Turn on 'visible on hit' for hidden orders (1 to enable)

## Response `200`

200

- unknown[]
  - unknown

---

[API](https://skmtc.dev/bitfinex/apis/api-settings-auth.md) - [All operations](https://skmtc.dev/bitfinex/apis/api-settings-auth/llms.txt) - [OpenAPI document](https://skmtc.dev/bitfinex/apis/api-settings-auth/revisions/f3285778c5f9?raw)
