> ## 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.

# Enums

> Enumeration types in the LFG SDK

## OrderSide

Order direction.

```typescript theme={null}
enum OrderSide {
  BUY = "BUY",
  SELL = "SELL",
}
```

## OrderType

Type of order.

```typescript theme={null}
enum OrderType {
  LIMIT = "LIMIT",
  MARKET = "MARKET",
  STOP_LIMIT = "STOP_LIMIT",
  STOP_MARKET = "STOP_MARKET",
}
```

## OrderStatus

Order status.

```typescript theme={null}
enum OrderStatus {
  OPEN = "OPEN",
  FILLED = "FILLED",
  CANCELED = "CANCELED",
  BEST_EFFORT_CANCELED = "BEST_EFFORT_CANCELED",
  UNTRIGGERED = "UNTRIGGERED",
}
```

## OrderTimeInForce

Time in force policy.

```typescript theme={null}
enum OrderTimeInForce {
  GTT = "GTT", // Good-til-time
  IOC = "IOC", // Immediate-or-cancel
  FOK = "FOK", // Fill-or-kill
}
```

## OrderExecution

Execution type.

```typescript theme={null}
enum OrderExecution {
  DEFAULT = "DEFAULT",
  POST_ONLY = "POST_ONLY",
  IOC = "IOC",
}
```

## OrderFlags

Order type flags.

```typescript theme={null}
enum OrderFlags {
  SHORT_TERM = 0,
  LONG_TERM = 64,
}
```

## SelectedGasDenom

Gas denomination selection.

```typescript theme={null}
enum SelectedGasDenom {
  USDC = "USDC",
  NATIVE = "NATIVE",
}
```

## Related

<CardGroup cols={2}>
  <Card title="Types Reference" icon="code" href="/reference/types">
    Type definitions
  </Card>

  <Card title="Orders Guide" icon="chart-line" href="/guides/orders">
    Order placement guide
  </Card>
</CardGroup>
