# Quickstart (/getting-started)



## 1. Check Market Lab [#1-check-market-lab]

```bash
mlab --version
mlab daemon backend
```

## 2. Install a Public Market Snapshot [#2-install-a-public-market-snapshot]

Hyperliquid perpetual market data does not require authentication:

```bash
mlab markets --exchange hyperliquidf --refresh
mlab markets --exchange hyperliquidf --symbol BTC
```

Perpetual symbols use the base asset, such as `BTC`. Spot symbols keep the exact pair.

## 3. Read the Market [#3-read-the-market]

```bash
mlab source orderbook \
  --exchange hyperliquidf \
  --symbol BTC \
  --depth 20
```

Stream live updates from the same orderbook:

```bash
mlab source orderbook \
  --exchange hyperliquidf \
  --symbol BTC \
  --depth 20 \
  --stream
```

## 4. Preview Execution [#4-preview-execution]

Authorize Hyperliquid:

```bash
mlab auth set hyperliquid
```

Preview a perpetual order without submitting it:

```bash
mlab trade long BTC \
  --venue hyperliquidf \
  --margin 10 \
  --leverage 2 \
  --dry-run
```

Keep `--dry-run` until the printed plan is correct. Read [Execution](/execution) before placing a live order.

## Choose the Next Task [#choose-the-next-task]

| Goal                                  | Continue with                                        |
| ------------------------------------- | ---------------------------------------------------- |
| Configure another provider            | [Authentication](/authentication)                    |
| Reuse command settings                | [Configuration](/configuration)                      |
| Control Market Lab installed on a VPS | [SSH Transport](/transport/ssh)                      |
| Write a Python strategy               | [Python Scripting V2](/scripting-v2/getting-started) |
| Research historical data in Jupyter   | [Jupyter Notebook](/scripting-v2/notebook)           |
| Write a JavaScript strategy           | [JavaScript Scripting](/scripting)                   |
| Run an execution algorithm            | [Strategies](/strategies)                            |
| Run a market maker                    | [Bots](/bots)                                        |
