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

# Stock splits

> What happens to your orders, positions, and prices when the stock behind an Arcus perp splits, and how to follow each step over WebSocket

When a listed stock splits, its perpetual market goes through the same split. Your position keeps its value, but its size and prices change by the split ratio. Trading pauses for a short time while the split is applied, then the market reopens in post-only mode so makers can rebuild the book before full trading returns. If you don't want exposure through the split, close your position before the market halts.

Upcoming splits are also listed on [`GET /v1/corporateActions`](https://docs.arcus.xyz/api-reference/public/get-corporate-actions); see [Corporate actions](https://docs.arcus.xyz/concepts/perpetuals/real-world-assets.md#corporate-actions).

For spot Stock Tokens, a split raises a multiplier on the token contract instead; see [Stock splits on spot](https://docs.arcus.xyz/concepts/spot-overview.md#stock-splits).

## Timeline

| Step | Market | What happens to you |
| - | - | - |
| 1. Announced | Trading | Nothing changes yet. Days ahead, the split appears in the [corporate actions](https://docs.arcus.xyz/concepts/perpetuals/real-world-assets.md#corporate-actions) data with its ratio and effective time. A `marketUpdates` notice follows shortly before the halt. |
| 2. Halted | Paused | **All your open orders on the market are cancelled**, including stop-losses and take-profits, also those attached to a position. New orders are rejected. Positions stay open. Funding is settled at the halt, and the market's price is frozen until the split is applied. |
| 3. Split applied | Paused | Position size × ratio, prices ÷ ratio. Any rounding difference is settled in cash towards your position so your position's value is unchanged. |
| 4. Post-only | Resting orders only | You can place limit orders that rest on the book, at the new price. Orders that would cross the book are rejected, IOC, FOK and market orders are refused, and stop-loss / take-profit triggers are held. Orders cancelled at the halt are **not** restored. |
| 5. Online | Trading | Full trading restarts at the new price. Held stop-loss / take-profit orders can trigger again. |

SNDK-USD went through an 8-for-1 split this way. While it was halted, after the split was applied, [`GET /v1/markets`](https://docs.arcus.xyz/api-reference/public/get-markets) showed the market's oracle price at 91.98 and mark at 92.02, next to a `lastTradePrice` of 736.59 from the last trade before the halt. `lastTradePrice` stays on the old scale until the first trade after the market reopens.

For an 8-for-1 split at a mark of 819.50:

| | Before | After |
| - | - | - |
| Mark price | 819.50 | 102.43 |
| Long position | 2 @ 819.50 | 16 @ 102.43 |
| Short position | −1.5 @ 819.50 | −12 @ 102.43 |

Prices round down to the market's tick size: 819.50 ÷ 8 = 102.4375 → 102.43. The cash adjustment makes up the difference, usually a few cents.

## Following a split over WebSocket

Split notices go out on the public [`marketUpdates`](https://docs.arcus.xyz/api-reference/channels#marketupdates) channel. It needs no `id`:

```json theme={null}
{ "type": "subscribe", "channel": "marketUpdates" }
```

To follow your own orders and positions through the split, also subscribe to `orders`, `positions` and `account` with your address as the `id`. For prices, subscribe to `oraclePrices` and `trades` with the market name as the `id`.

The `HALTED` and `RESUMED` frames and the rejected order below were captured on mainnet during the SNDK-USD split. The other frames are illustrative, so their numbers don't line up with the captured ones.

### On subscribe: pending splits

The first frame lists every split that's announced but not yet applied, plus any market that's currently halted:

```json theme={null}
{
  "type": "subscribed",
  "channel": "marketUpdates",
  "contents": {
    "isSnapshot": true,
    "updates": [
      {
        "type": "MarketUpdateSplitUpcoming",
        "marketId": 33,
        "marketDisplayName": "SNDK-USD",
        "splitEffectiveTimeNs": 1795136700000000000,
        "currentMultiplier": "1",
        "postSplitMultiplier": "8",
        "timestamp": 1795136400118204733,
        "globalSequenceId": 82636391
      }
    ]
  }
}
```

### 1. Split announced

This message arrives shortly before the halt, at a time set when the split is scheduled. Don't rely on it for advance notice; for notice days ahead, use [`GET /v1/corporateActions`](https://docs.arcus.xyz/api-reference/public/get-corporate-actions), [`GET /v1/corporateActions/{market_id}`](https://docs.arcus.xyz/api-reference/public/get-corporate-actions-for-a-market) or `upcomingCorporateActions` on [`GET /v1/markets`](https://docs.arcus.xyz/api-reference/public/get-markets).

```json theme={null}
{
  "type": "channel_data",
  "channel": "marketUpdates",
  "contents": {
    "isSnapshot": false,
    "updates": [
      {
        "type": "MarketUpdateSplitUpcoming",
        "marketId": 33,
        "marketDisplayName": "SNDK-USD",
        "splitEffectiveTimeNs": 1795136700000000000,
        "currentMultiplier": "1",
        "postSplitMultiplier": "8",
        "timestamp": 1795136400118204733,
        "globalSequenceId": 82636391
      }
    ]
  }
}
```

* `currentMultiplier` / `postSplitMultiplier` are the market's cumulative share multiplier before and after the split. The split ratio is post ÷ current, so here 8 ÷ 1 = 8-for-1. A market that has never split has `currentMultiplier` "1".
* `splitEffectiveTimeNs` is the scheduled time of the split, in nanoseconds since the epoch.

If the split is withdrawn before it's applied, a `MarketUpdateSplitCancelled` update with the same fields arrives instead.

### 2. Market halted

At the halt, a `MarketUpdateStateChange` update with `state: "HALTED"` arrives as `channel_data`. A client that subscribes while the market is halted gets the same update in the `subscribed` snapshot, as in this SNDK-USD frame:

```json theme={null}
{
  "type": "subscribed",
  "channel": "marketUpdates",
  "contents": {
    "isSnapshot": true,
    "updates": [
      {
        "type": "MarketUpdateStateChange",
        "marketId": 33,
        "marketDisplayName": "SNDK-USD",
        "state": "HALTED",
        "timestamp": 1795136716832546673,
        "globalSequenceId": 14059387668
      }
    ]
  }
}
```

Each of your resting orders then gets a cancel on `orders`, with `cancelReason: "MARKET_HALTED"`:

```json theme={null}
{
  "type": "channel_data",
  "channel": "orders",
  "id": "0xddb6…f1f0",
  "accountIndex": 0,
  "market": "SNDK-USD",
  "contents": {
    "orderId": "36638a066d3a4eca",
    "marketId": 33,
    "marketDisplayName": "SNDK-USD",
    "side": "BUY",
    "type": "LIMIT",
    "status": "CANCELED",
    "price": "810.00",
    "originalSize": "0.5",
    "filledSize": "0",
    "remainingSize": "0.5",
    "timeInForce": "GTC",
    "cancelReason": "MARKET_HALTED",
    "state": "CANCELED",
    "createdAt": 1795125900606735,
    "updatedAt": 1795136700345472,
    "sequenceNumber": 5
  }
}
```

Stop-losses and take-profits, including those attached to a position, are cancelled the same way, with status `TPSL_CANCELED`:

```json theme={null}
{
  "type": "channel_data",
  "channel": "orders",
  "id": "0x25f0…df53",
  "accountIndex": 0,
  "market": "SNDK-USD",
  "contents": {
    "orderId": "a61a225ec5974b9c",
    "marketId": 33,
    "marketDisplayName": "SNDK-USD",
    "side": "SELL",
    "type": "LIMIT",
    "status": "TPSL_CANCELED",
    "price": "735.00",
    "triggerPrice": "740.00",
    "tpslType": "STOP_LOSS",
    "originalSize": "1.5",
    "remainingSize": "1.5",
    "reduceOnly": true,
    "cancelReason": "MARKET_HALTED",
    "state": "CANCELED",
    "updatedAt": 1795136700345472,
    "sequenceNumber": 4
  }
}
```

Orders sent while the market is halted are rejected with HTTP 400:

```json theme={null}
{
  "error": "validation error on field 'marketId': market is offline",
  "errorSource": "Order",
  "errorType": "InvalidRequest"
}
```

### 3. Split applied

```json theme={null}
{
  "type": "channel_data",
  "channel": "marketUpdates",
  "contents": {
    "isSnapshot": false,
    "updates": [
      {
        "type": "MarketUpdateSplitEffective",
        "marketId": 33,
        "marketDisplayName": "SNDK-USD",
        "splitTimeNs": 1795136762368435900,
        "currentMultiplier": "1",
        "postSplitMultiplier": "8",
        "timestamp": 1795136762368435900,
        "globalSequenceId": 82637445
      }
    ]
  }
}
```

The price moves to the new scale on `oraclePrices`:

```json theme={null}
{
  "type": "channel_data",
  "channel": "oraclePrices",
  "id": "SNDK-USD",
  "contents": {
    "epoch": 1795136762368435900,
    "prices": [
      { "marketDisplayName": "SNDK-USD", "marketId": 33, "price": "102.43", "markPrice": "102.43" }
    ]
  }
}
```

Your position arrives on `positions` with the new size and entry price. Here, 2 @ 819.50 became 16 @ 102.43:

```json theme={null}
{
  "type": "channel_data",
  "channel": "positions",
  "id": "0x1ce6…f598",
  "accountIndex": 0,
  "market": "SNDK-USD",
  "contents": {
    "isSnapshot": false,
    "lastSequenceId": 5,
    "positions": [
      {
        "marketId": 33,
        "marketDisplayName": "SNDK-USD",
        "side": "LONG",
        "size": "16",
        "averageEntryPrice": "102.43",
        "leverage": "10",
        "marginMode": "CROSS",
        "marginUsed": "163.888",
        "positionValueNotional": "1638.88",
        "unrealizedPnl": "-0.12",
        "markPx": "102.43",
        "sequenceNumber": 5
      }
    ]
  }
}
```

The small `unrealizedPnl` comes from rounding the price down to the tick. The cash adjustment in your quote balance offsets it, so `accountEquity` on the `account` channel doesn't change across the split.

### 4. Reopened post-only

When the market leaves the halt it enters post-only mode, and `RESUMED` arrives at that point:

```json theme={null}
{
  "type": "channel_data",
  "channel": "marketUpdates",
  "contents": {
    "isSnapshot": false,
    "updates": [
      {
        "type": "MarketUpdateStateChange",
        "marketId": 33,
        "marketDisplayName": "SNDK-USD",
        "state": "RESUMED",
        "timestamp": 1795165132603022932,
        "globalSequenceId": 14230409178
      }
    ]
  }
}
```

While the market is post-only:

* A limit order that doesn't cross the book rests as usual.
* An order that would cross the book is rejected with `rejectionReason: "MARKET_POST_ONLY"`. An ALO order is rejected with `POST_ONLY_WOULD_CROSS` instead.
* IOC, FOK and market orders are refused.
* Stop-loss and take-profit orders can be placed, but their triggers are held. A stop whose trigger price is crossed fires on the first mark after the market is online.
* The market is priced and quoted, and funding accrues.

### 5. Full trading

The switch from post-only to online does **not** send a `marketUpdates` message. Watch the market's `status` field, which goes from `POST_ONLY` to `ONLINE`, on the `markets` WebSocket channel or `GET /v1/markets`.

Trades now print at the new scale:

```json theme={null}
{
  "type": "channel_data",
  "channel": "trades",
  "id": "SNDK-USD",
  "contents": [
    {
      "marketDisplayName": "SNDK-USD",
      "marketId": 33,
      "side": "BUY",
      "price": "102.43",
      "size": "1",
      "tradeId": "16",
      "timestamp": 1795136766680134,
      "sequenceNumber": 82637492
    }
  ]
}
```

Once the market leaves the halt (at `RESUMED`), it no longer appears in the `marketUpdates` snapshot.

## Notes for integrators

* **Advance notice:** plan from the [corporate actions](https://docs.arcus.xyz/concepts/perpetuals/real-world-assets.md#corporate-actions) data, which lists the split days ahead. `SplitUpcoming` on `marketUpdates` arrives only shortly before the halt, at a time set when the split is scheduled.
* **Order of messages:** `SplitUpcoming` → `HALTED` → order cancels → `SplitEffective` → updated positions and price → `RESUMED` (post-only) → `status: ONLINE` on `markets`. Use `globalSequenceId` to order `marketUpdates` messages.
* **Market parameters:** tick size, step size, and minimum and maximum order size don't rescale with the split. The maximum order size may be adjusted after the split.
* **Liquidations while halted:** The halted market's price is frozen, so its price moves alone can't liquidate you. An account can still be liquidated during the halt, but only if its cross positions lose value. Positions in the halted market skip the book close and go straight to a [takeover](https://docs.arcus.xyz/concepts/perpetuals/liquidations.md#takeover) by the liquidation engine.
* **Timestamp units:** `marketUpdates` and `oraclePrices` timestamps are nanoseconds. Order and trade timestamps are microseconds.
* **Re-placing orders:** resting limit orders can go back on the book after `RESUMED`, priced at the new scale. Orders that take liquidity have to wait until the market's `status` is `ONLINE`. Nothing is restored automatically.
* **24-hour statistics:** the 24-hour change, high and low count only prices from after the split, so the split doesn't show as a price drop.
* **Charts:** historical candles are not split-adjusted, so charts show a step at the split time.
* **Multiplier:** `postSplitMultiplier` is the market's cumulative share multiplier. Use it to adjust prices from before the split onto the current scale.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.