How to Trade Stocks Onchain With Perps (2026)

Learn how to trade stocks onchain with perps — go long or short TSLA, NVDA, AAPL and more, 24/7, self-custody, with leverage on Hyperliquid via Trade[XYZ].

Legend·June 20, 2026
How to Trade Stocks Onchain With Perps (2026)

You can now trade stocks the same way crypto traders have traded Bitcoin for years — as onchain perpetual futures. Instead of buying a share through a broker, you open a perp that tracks the stock's price, long or short, 24/7, from a self-custody wallet. On Legend, that means tickers like TSLA, NVDA, AAPL, COIN, and HOOD sit right next to BTC and ETH in the same account.

This guide explains how equity perps work, how they differ from owning shares, and where pre-IPO names like SpaceX fit in.

What "Trading Stocks Onchain" Actually Means

When you trade a stock perp, you never own the underlying share. You're entering a perpetual futures contract whose price tracks the stock. This is the same instrument crypto traders already use — just pointed at an equity instead of a token.

Because it's a perp and not a share, three things follow:

  • You can go long or short. Bullish on NVDA into earnings? Go long. Think a rally is overextended? Short it. No borrow, no options chain.
  • You use leverage. Position size is a multiple of your margin. On Legend, NVDA and TSLA support up to 20x; the SP500 index perp goes up to 50x. Some equities are isolated-margin-only, which caps your downside to that position's margin.
  • A funding rate keeps it tethered. Like any perp, a funding rate pulls the contract price back toward the underlying so the perp doesn't drift away from the real stock.

The Stocks You Can Trade

Legend surfaces equity perps through Trade[XYZ], a builder-deployed DEX on Hyperliquid. The big-cap names traders ask for most are all live:

  • Mega-cap tech: AAPL, MSFT, GOOGL, AMZN, META, NVDA, TSLA, NFLX, AMD, AVGO
  • Crypto-native equities: COIN (Coinbase), HOOD (Robinhood), MSTR (Strategy), PLTR (Palantir)

These trade as perps, so a position behaves like any other leveraged contract: you set your size, pick long or short, and your PnL moves with the stock.

How Equity Perps Differ From Owning Shares

If you've only ever bought stock through a brokerage, the differences matter:

  • No ownership rights. You get price exposure, not the share. That means no voting and no dividends.
  • No market hours. Real shares stop trading at the closing bell. Equity perps are onchain contracts, so they trade 24/7 — nights, weekends, holidays.
  • Long or short with leverage. A brokerage long is capital-for-capital. A perp lets a smaller amount of margin control a larger position, in either direction.
  • Self-custody. Your collateral stays in your wallet until a trade executes. You're not handing funds to a broker.

For the full breakdown of the instrument itself, see what are equity perps.

Pre-IPO: Trading Companies Before They List

The most novel part of onchain equity perps is pre-IPO exposure — taking a position on a company before it lists. SpaceX (ticker SPCX) is the proof point: it traded as a pre-IPO perp on Legend while still private, before its IPO. That's exposure you couldn't get through a normal brokerage, where private companies are simply off-limits until they go public.

Because there's no public market, these pre-IPO perps price off an index or oracle rather than a live order book of shares. That makes them powerful for expressing a thesis early, but also means you should understand how the reference price is formed before sizing up.

Why This Is Possible: HIP-3 and Trade[XYZ]

None of this required Legend to become a stockbroker. Trade[XYZ] is deployed using HIP-3, Hyperliquid's standard for builder-deployed perp markets. A builder can permissionlessly list new perp markets — stocks, commodities, FX, indices, pre-IPO — and they settle on the same chain as crypto perps. Legend surfaces these under an xyz: namespace (for example, xyz:TSLA), so equities live in the same self-custody account as your crypto.

That's also why breadth goes well beyond stocks: commodities like GOLD and SILVER, FX like EUR and JPY, and indices like SP500 and the VIX all trade as perps on the same venue.

Getting Started

  1. Fund a self-custody wallet with USDC collateral.
  2. Pick a market — say TSLA or the SP500 index.
  3. Choose direction and size. Decide long or short, set your leverage, and confirm your liquidation price before entering.
  4. Manage the position like any perp: watch funding, set a stop, and don't over-leverage a name heading into earnings.

Equity perps reward the same discipline as crypto perps — modest leverage, defined risk, and a clear thesis. Start trading on Legend.

Related reading

Trade perpetual futures, compete in 1v1 duels, and climb the ranks.

Start trading on Legend