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
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
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
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
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
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
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
- Paste an alert into the alert tester to see how Nyria reads it.
- Write a TradingView message with the alert builder.
- Step by step for one account: how to automate TradingView to Hyperliquid.
- Step by step for one account: how to automate TradingView to Nyria Paper.
- Every crypto perps market with its own page.
- Automate BTC perps.
- Automate ETH perps.
- Automate SOL perps.
Guides
Does leverage change my position size on a Nyria perps strategy?
No. Budget per entry sets the size. Leverage sets the margin held.
Read guideCan I automate crypto perps from alerts?
Yes. Alerts become perps orders on three venues, long or short.
Read guideCan Nyria trade BTC perpetual futures?
Yes. BTC perps trade from your alerts, long and short, on three venues.
Read guideDo I give Nyria my main Hyperliquid wallet key?
No. You enter your main address and a separate API wallet's key.
Read guideTry a paper bot first
No card required. Paper is free. Live trading from $15 a month.