How to Connect TradingView to HashKey for Automated Trading
Automate your TradingView strategy on HashKey in under 10 minutes. HashKey is a licensed cryptocurrency exchange in Hong Kong, known for regulatory compliance and institutional-grade security.
What You'll Need
Before starting, ensure you have:
- TradingView Pro or higher - Webhooks require a paid TradingView subscription
- Verified HashKey account - KYC verification completed
- SignalBee account - Free to sign up at signalbee.trade
- 5-10 minutes - Quick setup process
Step 1: Create Your HashKey API Key
Create an API key on HashKey with trading permissions.
- Log in to HashKey
- Go to Account → API Management
- Click Create API Key
- Enter a label:
SignalBee Trading
Configure Permissions
| Permission | Enable? |
|---|---|
| Read | ✅ Yes |
| Spot Trading | ✅ Yes |
| Withdrawal | ❌ Never |
- Complete security verification (2FA)
- Copy your API Key and Secret Key immediately
Important: HashKey is a regulated exchange. Your API key may have additional security requirements.
Step 2: Connect HashKey to SignalBee
Link your HashKey credentials to SignalBee.
- Log in to SignalBee
- Go to Exchanges in the sidebar
- Click Add Exchange → Select HashKey
- Enter your API Key
- Enter your Secret Key
- Click Save and Test Connection
- Verify you see ✅ "Connection successful"
Your HashKey balances should now appear in SignalBee.
Step 3: Create Your SignalBee Webhook
SignalBee provides a unique webhook URL for your alerts.
- In SignalBee, go to Webhooks
- Click Create Webhook
- Select your HashKey exchange connection
- Copy your webhook URL
Step 4: Configure Your Trading Settings
Set up safety limits before enabling trading.
- Go to Configuration in SignalBee
- Whitelist pairs you want to trade (e.g., BTC-USD, ETH-USD)
- Set Max order size to limit trade amounts
- Enable Trading when ready
HashKey Ticker Format
HashKey uses hyphenated ticker format:
| Standard | HashKey Format |
|---|---|
| BTC/USD | BTC-USD |
| ETH/USD | ETH-USD |
| BTC/USDT | BTC-USDT |
Step 5: Set Up Your TradingView Alert
Connect TradingView to SignalBee.
- Open TradingView and load your strategy
- Click Alert (clock icon)
- Configure your alert conditions
- In Notifications, enable Webhook URL
- Paste your SignalBee webhook URL
- In the Message field, enter your signal JSON:
{
"action": "buy",
"ticker": "BTC-USD",
"quantity_type": "percentage",
"quantity": "50"
}
Signal Format Reference
| Field | Required | Values |
|---|---|---|
action | Yes | buy, sell, or close |
ticker | Yes | HashKey pair (e.g., BTC-USD) |
quantity_type | Yes | percentage or fixed |
quantity | Yes | Amount to trade |
Example signals:
Buy 40% of USD balance:
{"action": "buy", "ticker": "BTC-USD", "quantity_type": "percentage", "quantity": "40"}
Sell 0.5 ETH:
{"action": "sell", "ticker": "ETH-USD", "quantity_type": "fixed", "quantity": "0.5"}
Step 6: Test Your Setup
Verify everything works.
- In TradingView, click Test on your alert
- In SignalBee, check Signals page
- Verify Orders shows the executed trade
- Confirm in HashKey trade history
HashKey-Specific Notes
Regulatory Compliance
HashKey is one of the few licensed cryptocurrency exchanges in Hong Kong:
- Licensed by the Hong Kong Securities and Futures Commission (SFC)
- Compliant with anti-money laundering (AML) regulations
- Institutional-grade custody and security
Trading Fees
| Type | Fee |
|---|---|
| Maker | 0.10% |
| Taker | 0.15% |
Lower fees available for high-volume traders.
Minimum Order Sizes
| Pair | Minimum |
|---|---|
| BTC-USD | 0.0001 BTC |
| ETH-USD | 0.001 ETH |
| Most pairs | ~$10 USD equivalent |
Supported Assets
HashKey supports a curated list of assets that meet regulatory requirements. Check HashKey for the current list of available trading pairs.
Troubleshooting
| Issue | Solution |
|---|---|
| Invalid API key | Verify credentials and ensure key is active |
| Permission denied | Enable Spot Trading permission |
| Symbol not found | Use hyphenated format (BTC-USD) |
| Account restricted | Check HashKey account status and KYC level |
Summary
You've connected TradingView to HashKey in 6 steps:
- ✅ Created HashKey API key with trading permissions
- ✅ Connected HashKey to SignalBee
- ✅ Created a SignalBee webhook
- ✅ Configured settings with HashKey ticker format
- ✅ Set up TradingView alert with webhook
- ✅ Tested the complete flow
Your TradingView strategy now executes automatically on HashKey.
Need help? Contact support@signalbee.trade or visit our Help Center.