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.

Equity Perps vs a Brokerage Account

| | Brokerage | Equity perps onchain | | ------------------- | ----------------------------------------- | ---------------------------------- | | What you hold | The shares | Price exposure only | | Hours | Exchange calendar, plus extended sessions | 24/7, including weekends | | Going short | Margin approval and share borrow | Symmetric with going long | | Leverage | Reg-T margin, approval-gated | Set per market on the order ticket | | Dividends and votes | Yes | No | | Pre-IPO access | Not before listing | Perps on private names | | Account opening | Application and identity check | Email or wallet, minutes | | Custody | Broker holds the assets | You hold your own keys | | Investor protection | SIPC on securities | None — self-custody |

What It Costs

Two costs, both explicit.

Trading fees. Execution routes through Hyperliquid at 0.01% maker and 0.035% taker. A $10,000 taker order costs $3.50.

Funding. Perps have no expiry, so funding payments pass between longs and shorts periodically to keep the contract tethered to the underlying price. Sometimes you pay it, sometimes you receive it. On a position held for weeks, funding usually dominates the trading fee — budget for it rather than treating the headline rate as the whole cost.

There is no contract expiry and no rollover, which is the main practical difference from dated futures.

Managing the Risks

Leverage cuts both ways, and equity perps carry a specific wrinkle worth understanding.

Weekend gaps. The perp trades continuously, but the underlying company's news does not arrive smoothly. A position held through a weekend can move sharply on Monday's open in the cash market, and the perp will have already repriced. Continuous trading means you can react — it does not mean the price moves gently.

Liquidation. Higher leverage shrinks the move needed to wipe out the position. Size against your account, not against the maximum the market offers. How to avoid liquidation and position sizing are the two things to get right before raising leverage.

Concentration. Because these markets sit in one margin account, correlated positions can move together harder than they look. Long NVIDIA, long AMD, long TSMC, and long the DRAM index is one bet on semiconductors wearing four tickets.

Strategies This Unlocks

Being able to go long or short any of these markets from one balance makes several structures straightforward that a stock broker plus a crypto exchange cannot express:

  • Pairs trades. Long one name, short a related one, to isolate a spread rather than take market direction — see how to do pairs trades.
  • Sector baskets. Express a semiconductor or AI view across several names at once, as in how to express the AI trade.
  • Cross-asset hedges. Long BTC and short the S&P 500 from a single margin account.
  • Weekend reaction. Position on news that breaks when the cash market is closed.
  • Relative value in metals. The gold-silver ratio as a two-legged trade.

Frequently Asked Questions

Can you really trade stocks onchain?

You trade perpetual futures that track stock prices, not the shares themselves. The contracts settle onchain on Hyperliquid through the Trade[XYZ] HIP-3 builder DEX, so the price exposure is real and verifiable, but no share changes hands.

Do I own the stock when I trade an equity perp?

No. There are no voting rights and no dividends, because you never hold the underlying. What you get instead is 24/7 access, leverage, easy shorting, and the ability to hold equity and crypto exposure in one margin account.

Can I trade stocks on weekends?

Yes — that is one of the main reasons equity perps exist. The perp is not tied to the listing exchange's calendar, so Tesla and NVIDIA keep trading on Saturday and Sunday. Expect the cash market to reprice on Monday's open, which the perp will already have anticipated.

What stocks can I trade onchain?

US large caps like Tesla, NVIDIA, Apple, Microsoft, Amazon, Meta, and Google; crypto-adjacent names like Coinbase, Circle, Robinhood, and MicroStrategy; semiconductor and memory names including Micron, SK Hynix, Samsung, TSMC, and Arm; plus pre-IPO names such as SpaceX and Cerebras. The lineup keeps expanding as new HIP-3 markets are deployed.

Do I need a brokerage account to trade equity perps?

No. There is no brokerage application, no approval queue, and no identity-verification gate of the kind a custodian requires — you create an embedded wallet from an email address and fund it with USDC.

How is this different from a CFD?

A CFD is a bilateral contract with a broker who is usually your counterparty, priced and settled on that broker's terms. An equity perp settles on a public order book onchain, with a mark price and liquidation process anyone can verify, and no single counterparty on the other side of your trade.

Related reading

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

Start trading on Legend