---
url: >-
  https://game-engine-io.github.io/enginex-frontend-sdk/reference/api/@getenginex/sdk-predictions/interfaces/LimitOrderInput.md
---
[Reference](../../../index.md) / [@getenginex/sdk-predictions](../index.md) / LimitOrderInput

# LimitOrderInput

Limit order (the default): `price` is required, an integer in cents from 1 to 99.

## Extends

* [`OrderInputBase`](OrderInputBase.md)

## Properties

### direction

> **direction**: `"buy"` | `"sell"`

`buy` or `sell`.

#### Inherited from

[`OrderInputBase`](OrderInputBase.md).[`direction`](OrderInputBase.md#direction)

***

### marketId

> **marketId**: `string`

Market id.

#### Inherited from

[`OrderInputBase`](OrderInputBase.md).[`marketId`](OrderInputBase.md#marketid)

***

### orderType?

> `optional` **orderType?**: `"limit"`

`limit` (default when omitted).

***

### postOnly?

> `optional` **postOnly?**: `boolean`

Rejects the order if it would cross the spread (only adds liquidity). Boolean.

#### Inherited from

[`OrderInputBase`](OrderInputBase.md).[`postOnly`](OrderInputBase.md#postonly)

***

### price

> **price**: `number`

Price in cents, an integer from 1 to 99.

***

### quantity

> **quantity**: `number`

Quantity in contracts, an integer greater than zero.

#### Inherited from

[`OrderInputBase`](OrderInputBase.md).[`quantity`](OrderInputBase.md#quantity)

***

### reduceOnly?

> `optional` **reduceOnly?**: `boolean`

The order can only reduce an existing position. Boolean.

#### Inherited from

[`OrderInputBase`](OrderInputBase.md).[`reduceOnly`](OrderInputBase.md#reduceonly)

***

### side

> **side**: [`OutcomeSide`](../type-aliases/OutcomeSide.md)

Market side: `yes` or `no`.

#### Inherited from

[`OrderInputBase`](OrderInputBase.md).[`side`](OrderInputBase.md#side)

***

### timeInForce?

> `optional` **timeInForce?**: `"gtc"` | `"ioc"` | `"fok"`

`gtc` (default), `ioc` or `fok`.

#### Inherited from

[`OrderInputBase`](OrderInputBase.md).[`timeInForce`](OrderInputBase.md#timeinforce)
