KuCoin Setup Step by Step

STEP 1. Use KuCoin Symbol on TradingView

Double check that you using KuCoin Symbol on your Trading panel.

STEP 2. Add Trading Strategy to the TradingView

1.1 - Go to "PineEditor" tab page and write new or copy/paste existing trading strategy.
1.2 - Press "Add to chart" trading strategy to your trading panel.

STEP 3. Creat Alert for TradingView Strategy
2.1 - Go to "Strategy Tester" tab page to check that your Trading strategy shows some backtesting results.
2.2 - Press "Add Alert" to create Alert for your Buy/Sell signals.

STEP 4. Configure TradingView Alert using "Message" and connection using "WebHook URL" or "Email Alert"

To Configure Alert, you need set Alert Message and Alert Notification.
5.1 - Please compile meessage based on the temmplate provided below or you can use Message Generator
5.2 - Paste "WebHook URL" or Select "Email-to-SMS" option on Notification Tab. Your personal WebHook URL and Email you can find in your Profile Page

Select Webhook URL or "Email-to-SMS" option
(Depends on your TradingView plan)

TradingView Message format

Please update only fields highlighted by red. The rest of them please keep as is, as they will be filled automatically by TradingView during Alarm execution.

      "kucoin_api_key": "PUT YOUR KUCOIN API KEY HERE",
      "kucoin_secret": "PUT YOUR KUCOIN SECRER HERE",
      "kucoin_passphrase": "PUT YOUR KUCOIN PASSPHRASE HERE",
      "real_order":"Yes / No",
      "order_market":"Spot / Margin / Futures",
      "order_type":"Market / Limit",
      "futures_leverage": "2",
      "isolated_margin": "Yes / No",
      "exchange": "{{exchange}}",
      "ticker": "{{ticker}}",
      "time": "{{timenow}}",
      "order_contracts": "{{strategy.order.contracts}}",
      "order_action": "{{strategy.order.action}}",
      "order_price": "{{strategy.order.price}}"

For example, final message text should look like this:

Message Fields Explanation:
"kucoin_api_key", "kucoin_secret" and "kucoin_passphrase" - Your KuCoin API credentials.
"real_order" - in case of "Yes" option order will be excuted on Binance.com. In case of "No" Test order will be created. Pleas check clarification for Test orders scenario Here:
"order_market" Select which market to use Spot, Margin or Futures
"order_type" - Select type of order "Market" or "Limit"
"futures_leverage" - This field applicable only for Futures order. Should be integer value which is within MaxLeverage for the traded symbol.
"isolated_margin" - This field applicable only for Margin order. Could be "Yes" or "No". If you trading non-Margin order, can keep as "No".
"auto_rounding" - This filed controll auto rounding of Position Size and Order Price to fit Binance filters.
Following fields will be automatically filled by TradingView Alert Mechanism when Alert will be send:
"exchange" - Contains Excange of the Symbol you are trading.
"ticker" - Contacins Symbol.
"time" - Contain time of the Alert.
"order_contracts" - Order Size defined by your PineScript Strategy.
"order_action" - Will contain Buy or Sell depends on your PineScript Strategy.
"order_price" - Will contain Order Price and will be used in case of the LIMIT order.

STEP 6. Monitor your Alert Signals on MyTrades Page
If you have sent the signal but still not see it on Broker side, please check MyTrades page

3. How does TEST orders work