# Market variables reference

> All 16 market variables in AlgoBarsX, each with its parameters, defaults, ranges and an example: market.symbol, market.name, market.category, market.pip_size, market.point_size, market.contract_size, market.lot_min, market.lot_max, market.lot_step, market.leverage_tiers and 6 more.

Source: https://algobarsx.com/docs/ref-var-market/

### `market.symbol` → symbol

Symbol the script runs on.

```algobarsx
sym = market.symbol
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.name` → string

Display name.

```algobarsx
title = market.name
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.category` → string

forex, crypto, index, commodity or stock.

```algobarsx
asset_class = market.category
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.pip_size` → distance

Price size of one pip.

```algobarsx
pip = market.pip_size
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.point_size` → distance

Price size of one point.

```algobarsx
point = market.point_size
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.contract_size` → number

Units per lot.

```algobarsx
units = market.contract_size
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.lot_min` → lots

Smallest order size.

```algobarsx
smallest = market.lot_min
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.lot_max` → lots

Largest order size.

```algobarsx
largest = market.lot_max
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.lot_step` → lots

Size increment.

```algobarsx
increment = market.lot_step
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.leverage_tiers` → list<LeverageTier>

Leverage by position size.

```algobarsx
tiers = market.leverage_tiers
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.currency_base` → string

Base currency.

```algobarsx
base_ccy = market.currency_base
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.currency_quote` → string

Quote currency.

```algobarsx
quote_ccy = market.currency_quote
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.session` → Session

Trading session times and time zone.

```algobarsx
hours = market.session
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.is_open` → bool

True while the market is open.

```algobarsx
trading_now = market.is_open
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.next_open` → time

Next open time.

```algobarsx
reopens = market.next_open
```

Works in: strategy, indicator, alert, library. Since 1.0.

### `market.next_close` → time

Next close time.

```algobarsx
closes = market.next_close
```

Works in: strategy, indicator, alert, library. Since 1.0.
