This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-predictions / LimitOrderInput

LimitOrderInput ​

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

Extends ​

Properties ​

direction ​

direction: "buy" | "sell"

buy or sell.

Inherited from ​

OrderInputBase.direction


marketId ​

marketId: string

Market id.

Inherited from ​

OrderInputBase.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.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.quantity


reduceOnly? ​

optional reduceOnly?: boolean

The order can only reduce an existing position. Boolean.

Inherited from ​

OrderInputBase.reduceOnly


side ​

side: OutcomeSide

Market side: yes or no.

Inherited from ​

OrderInputBase.side


timeInForce? ​

optional timeInForce?: "gtc" | "ioc" | "fok"

gtc (default), ioc or fok.

Inherited from ​

OrderInputBase.timeInForce