> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lfg.land/llms.txt
> Use this file to discover all available pages before exploring further.

# Order Types

> Order types and parameters for trading

## OrderSide

Direction of the order.

```typescript theme={null}
import { OrderSide } from "@oraichain/lfg-client-js";

OrderSide.BUY; // Buy order
OrderSide.SELL; // Sell order
```

## OrderType

Type of order to place.

```typescript theme={null}
import { OrderType } from "@oraichain/lfg-client-js";

OrderType.LIMIT; // Limit order
OrderType.MARKET; // Market order
OrderType.STOP_LIMIT; // Stop limit order
OrderType.STOP_MARKET; // Stop market order
```

## OrderTimeInForce

Time in force policy for orders.

```typescript theme={null}
import { OrderTimeInForce } from "@oraichain/lfg-client-js";

OrderTimeInForce.GTT; // Good-til-time
OrderTimeInForce.IOC; // Immediate-or-cancel
OrderTimeInForce.FOK; // Fill-or-kill
```

## OrderExecution

Execution type for orders.

```typescript theme={null}
import { OrderExecution } from "@oraichain/lfg-client-js";

OrderExecution.DEFAULT; // Standard execution
OrderExecution.POST_ONLY; // Must be maker
OrderExecution.IOC; // Immediate or cancel
```

## OrderFlags

Flags indicating order type.

```typescript theme={null}
import { OrderFlags } from "@oraichain/lfg-client-js";

OrderFlags.SHORT_TERM; // Short-term order
OrderFlags.LONG_TERM; // Long-term order
```

## OrderStatus

Status of an order.

```typescript theme={null}
import { OrderStatus } from "@oraichain/lfg-client-js";

OrderStatus.OPEN; // Order is open
OrderStatus.FILLED; // Order is filled
OrderStatus.CANCELED; // Order is canceled
```

## Order\_TimeInForce

Time in force for short-term orders.

```typescript theme={null}
import { Order_TimeInForce } from "@oraichain/lfg-client-js";

Order_TimeInForce.TIME_IN_FORCE_UNSPECIFIED; // Default
```

## Related

<CardGroup cols={2}>
  <Card title="Orders Guide" icon="chart-line" href="/guides/orders">
    Complete orders guide
  </Card>

  <Card title="Enums Reference" icon="list" href="/reference/enums">
    All SDK enums
  </Card>
</CardGroup>
