SignalBee
All Guides
HashKey10 minutes

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.

  1. Log in to HashKey
  2. Go to AccountAPI Management
  3. Click Create API Key
  4. Enter a label: SignalBee Trading

Configure Permissions

PermissionEnable?
Read✅ Yes
Spot Trading✅ Yes
WithdrawalNever
  1. Complete security verification (2FA)
  2. 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.

  1. Log in to SignalBee
  2. Go to Exchanges in the sidebar
  3. Click Add Exchange → Select HashKey
  4. Enter your API Key
  5. Enter your Secret Key
  6. Click Save and Test Connection
  7. 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.

  1. In SignalBee, go to Webhooks
  2. Click Create Webhook
  3. Select your HashKey exchange connection
  4. Copy your webhook URL

Step 4: Configure Your Trading Settings

Set up safety limits before enabling trading.

  1. Go to Configuration in SignalBee
  2. Whitelist pairs you want to trade (e.g., BTC-USD, ETH-USD)
  3. Set Max order size to limit trade amounts
  4. Enable Trading when ready

HashKey Ticker Format

HashKey uses hyphenated ticker format:

StandardHashKey Format
BTC/USDBTC-USD
ETH/USDETH-USD
BTC/USDTBTC-USDT

Step 5: Set Up Your TradingView Alert

Connect TradingView to SignalBee.

  1. Open TradingView and load your strategy
  2. Click Alert (clock icon)
  3. Configure your alert conditions
  4. In Notifications, enable Webhook URL
  5. Paste your SignalBee webhook URL
  6. In the Message field, enter your signal JSON:
{
  "action": "buy",
  "ticker": "BTC-USD",
  "quantity_type": "percentage",
  "quantity": "50"
}

Signal Format Reference

FieldRequiredValues
actionYesbuy, sell, or close
tickerYesHashKey pair (e.g., BTC-USD)
quantity_typeYespercentage or fixed
quantityYesAmount 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.

  1. In TradingView, click Test on your alert
  2. In SignalBee, check Signals page
  3. Verify Orders shows the executed trade
  4. 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

TypeFee
Maker0.10%
Taker0.15%

Lower fees available for high-volume traders.

Minimum Order Sizes

PairMinimum
BTC-USD0.0001 BTC
ETH-USD0.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

IssueSolution
Invalid API keyVerify credentials and ensure key is active
Permission deniedEnable Spot Trading permission
Symbol not foundUse hyphenated format (BTC-USD)
Account restrictedCheck HashKey account status and KYC level

Summary

You've connected TradingView to HashKey in 6 steps:

  1. ✅ Created HashKey API key with trading permissions
  2. ✅ Connected HashKey to SignalBee
  3. ✅ Created a SignalBee webhook
  4. ✅ Configured settings with HashKey ticker format
  5. ✅ Set up TradingView alert with webhook
  6. ✅ Tested the complete flow

Your TradingView strategy now executes automatically on HashKey.


Need help? Contact support@signalbee.trade or visit our Help Center.