Skip to content

Guide

How do I automate Hyperliquid trades from TradingView?

Point a TradingView alert at your Nyria strategy's webhook URL and Nyria places the order in your own Hyperliquid account. You connect an API wallet that can trade but can't withdraw. Nyria Paper simulates the same perps first, free. Perps are leveraged, and the exchange can liquidate a position.

Official documentation

Send TradingView alerts to Hyperliquid

  1. 1

    Authorize an API wallet

    At app.hyperliquid.xyz/API, connect your main wallet and generate an API wallet. Copy its private key. Nyria holds that key and never sees your main wallet's.

  2. 2

    Connect Hyperliquid

    In Integrations, paste your main account's 0x address and the API wallet's key on the Hyperliquid card. Tick that you're not a US person, then connect.

  3. 3

    Create a perps strategy

    Create a strategy with TradingView as its alert source, Perps as the asset type and your markets, such as BTC. Long behavior and Short behavior each take a leverage, or none.

  4. 4

    Set the TradingView alert

    Paste the alert message into your TradingView alert and set the webhook URL from the strategy's Integration tab. TradingView sends webhooks on its paid plans only, with two-factor sign-in on.

  5. 5

    Deploy on Nyria Paper

    Deploy a bot on Nyria Paper first, with the budget you plan to trade, and watch one full round trip.

  6. 6

    Deploy on Hyperliquid

    When the paper trades match your alerts, deploy a second bot and pick your Hyperliquid account on the Account step.

Messages to copy

An entry

{ "action": "OPEN", "ticker": "BTC", "direction": "LONG" }

The exit

{ "action": "CLOSE", "ticker": "BTC", "direction": "LONG" }

What Hyperliquid takes

  • Market and limit orders, long and short.
  • A $10 minimum order.
  • Stop and take-profit orders are refused, so a stop has to come from your alert source.
  • Hyperliquid isn't available to US persons.

Size and leverage

  • The budget per entry sets the position size.
  • Leverage sets the margin the venue holds, never the size.
  • Leave leverage empty and Nyria sends none. Hyperliquid keeps the account's own setting for that market.
  • Each market has its own cap, and Hyperliquid refuses a request above it.

Keys and access

  • Nyria asks for your main address and an API wallet's key.
  • The API wallet can place and cancel trades. It can't withdraw.
  • Make a new API wallet for each connection.

Testing first

  • Nyria Paper simulates perps on every plan, with no wallet.
  • A Hyperliquid testnet wallet connects as a paper account.
  • Nyria Paper holds no margin and never liquidates.

Questions

Can TradingView alerts trade on Hyperliquid?
Yes. Paste the strategy's webhook URL into the TradingView alert.
Does Nyria need my main wallet key?
No. Nyria takes your main address and an API wallet's key, and the API wallet can't withdraw.
Can US traders use Hyperliquid on Nyria?
No. Hyperliquid isn't available to US persons.
Which order types does Nyria send to Hyperliquid?
Market and limit. Stop and take-profit orders are refused.
What is the minimum order?
Hyperliquid's minimum order is $10.
Can I test before trading real money?
Yes. Nyria Paper simulates perps for free, and a testnet wallet connects as a paper account.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.