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

# Submit Order

`POST /auth/w/order/submit`

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.net/bitfinex/apis/api-settings-public.md) · [All operations](https://skmtc.net/bitfinex/apis/api-settings-public/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bitfinex/api-settings-public/versions/d60be16fab63/schema)
