Complete Step-by-Step Process with Configuration Files
Gather these items before you begin. Having everything ready will make the process much smoother:
Download all these files now. You'll use them in Step 7.
These AI tools act like having an expert sitting next to you. They can explain confusing steps, help you troubleshoot errors, and answer questions instantly - 24/7.
All of these are free to use. Pick whichever you prefer:
๐ฌ Claude AI ๐ฌ ChatGPT ๐ฌ Grok ๐ฌ Google Gemini ๐ฌ PerplexityIf this guide helps you, consider using these referral links when signing up:
๐ TradingView (Affiliate Link) ๐ Hyperliquid (Referral: XRPVAULT)TradingView is where you'll create your trading strategy and send signals to your bot. Think of it as the "brain" that tells your bot when to buy or sell.
Your bot needs a strategy to know when to buy and sell. You have three options:
When you're ready to connect TradingView to your bot, here's exactly how it works:
Right-click on your chart โ Add Alert โ Select your strategy
In the alert settings, check "Webhook URL" and paste your bot's endpoint:
In the "Message" field, paste this exact format:
You need USDC to fund your Hyperliquid account. USDC is a "stablecoin" pegged to the US dollar โ 1 USDC = $1. Here are the major exchanges where you can buy USDC:
Your bot needs to run 24/7, even when your personal computer is off. A cloud server is like renting a computer that never sleeps and has super-fast internet. We'll use Google Cloud because they give you $300 in free credits!
trading-bot-1 (or anything you'll remember)us-west1 for California)us-west1-ae2-micro (this is FREE!)Click "SSH" next to your instance name, then copy/paste these commands one at a time:
exit and then reconnect.
Hyperliquid IS accessible from the US โ a VPN is NOT required. However, some traders prefer a VPN for added privacy or if they travel internationally. This step is optional for US-based traders.
curl ifconfig.me - you should see a different IP addressThis is where your bot will actually execute trades. It's a cryptocurrency derivatives exchange - think of it as the "stock market" for crypto trading.
Before doing anything else, go to Settings โ Portfolio Mode and make sure "Unified Account" is DISABLED.
The bot requires separate sub-accounts for each strategy. Unified mode will break your bot setup!
When you set leverage on a trading pair in Hyperliquid (e.g., 5x on ALGO), the "leverage" value in your TradingView webhook JSON must be the same number (5). Mismatched values cause position sizing errors.
This is where we upload your bot files to your cloud server and get everything configured. Don't worry - we'll take it step by step!
Open your computer's terminal/command prompt and type:
From the folder where you downloaded the config files earlier, run these commands:
Connect back to your server and edit the configuration:
Now open the docker-compose.yml file and add your actual API keys:
0x_YOUR_API_KEY_HERE with your Hyperliquid API key0x_YOUR_WALLET_HERE with your Hyperliquid wallet addressRun these commands one at a time:
You should see a container named "tradingview_webhook_bot" with status "Up"
Never trade real money until you've tested! We'll run your bot with tiny amounts first to make sure everything works correctly.
docker compose logs -fYour bot is working! Now we'll gradually increase your trading capital over time. The key word is GRADUALLY - don't rush!
If you need to update your strategy or bot code, here's the full process:
sudo apt update && sudo apt upgradeYour crypto trading bot is now running independently on Hyperliquid!
You have full control and ownership of your automated trading system.
Remember: Keep learning, stay disciplined, and manage your risk wisely!