# Single Order Request

| Field              | Value                                                                                                                      | Type                 |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------- | -------------------- |
| **orderCode**      | Unique order code that identifies the order on an account                                                                  | String, **required** |
| **type**           | Order type                                                                                                                 | String, **required** |
| **instrument**     | Symbol of the instrument                                                                                                   | String, **required** |
| **quantity**       | Initial quantity of the order in units (not in lots)                                                                       | Number, _optional_   |
| **positionEffect** | The effect of this order on a position                                                                                     | String, _optional_   |
| **positionCode**   | ID of a position that should be modified by this order                                                                     | String, _optional_   |
| **side**           | Order operation                                                                                                            | String, _required_   |
| **limitPrice**     | Limit order price per unit of quantity. (use **stopPrice** for stop orders). Should be absent for Market and Stop orders   | Number, _optional_   |
| **stopPrice**      | Stop order price per unit of quantity. (use **limitPrice** for limit orders). Should be absent for Market and Limit orders | Number, _optional_   |
| **priceOffset**    | Price offset for protection orders                                                                                         | Number, _optional_   |
| **priceLink**      | Price link for protection orders                                                                                           | String, _optional_   |
| **tif**            | Time in force (expiration time for the order)                                                                              | String, _optional_   |
| **expireDate**     | Order expiration date in UTC                                                                                               | Date, _optional_     |

## _<mark style="color:blue;">string</mark>_ Order Code

Order code for new orders is the unique id assigned by the client. The id is expected to be unique among all orders on an account. [See Client-originated Identifiers](../getting-started/conditional-requests-and-updates). For modify order requests the order code can be either a client order id (as assigned by the client during order placement) or an internal code assigned by the system ("action key" of the order chain).

## _<mark style="color:blue;">string</mark>_ Order Type

Possible values:

* `MARKET`
* `LIMIT`
* `STOP`

Order type cannot be changed after the order is issued. The value must be omitted in ‘Replace’ requests except group requests, which may contain new orders in Replace requests.

## _<mark style="color:blue;">string</mark>_ Instrument

Instrument cannot be changed after the order is issued. In 'Modify' requests instrument must be the same as in original order.

## _<mark style="color:blue;">number</mark>_ Quantity

Must be omitted or be zero for a ‘closing’ order linked to a position. In this case the _positionCode_ field must be present and _positionEffect_ should be set to ‘Close’. In this case quantity of the order will equal to the quantity of the position.

## _<mark style="color:blue;">string</mark>_ Position Effect

Indicates whether the resulting position after a trade should be a new position or the trade should close an existing position. Required for position-based trading. If the value is ‘Close’, the _positionCode_ field must be present.

Possible values:

* `OPEN`
* `CLOSE`

## _<mark style="color:blue;">string</mark>_ Position Code

ID of a position that should be modified by this order. Used for position based trading. Must be present when _positionEffect_ is ‘Close’ and omitted otherwise.

## _<mark style="color:blue;">string</mark>_ Side

Possible values are :

* `BUY`
* `SELL`

## _<mark style="color:blue;">number</mark>_ Price Offset

Price offset for protection orders. When parent order is triggered, either stop or limit price of protection order will be taken from parent trigger order's fill price with price offset. If this value is not null, the _priceLink_ field must be present.

## _<mark style="color:blue;">string</mark>_ Price Link

Price link for protection orders. Possible values:

* `TRIGGERED_STOP` - stop price of the order will be taken from parent trigger order's fill price
* `TRIGGERED_LIMIT` - limit price of the order will be taken from parent trigger order's fill price

## _<mark style="color:blue;">**string**</mark>_**&#x20;TIF**

Time in force (expiration time for the order). One of:

* `GTC` (Markets, Limits, Stops)
* `DAY` (Limits, Stops)
* `GTD` (Limits, Stops, requires the _expireDate_ field)

Default value depends on the platform configuration.

## _<mark style="color:blue;">**date**</mark>_**&#x20;Expiration Date**

Order expiration date in UTC. Must be present if the _tif_ field is **GTD**. Otherwise, must be omitted.

