In case of any issues or suggestions please contact TradeAdapter Support Team:
Contact Support Team
Binance Setup Step by Step
[NEW] Now to send Alerts from TradingView to TradeAdapter you can use two options:
WebHook URL (if you have TradingView PRO/PRO+ account)
"Email Alert" integration if you are using TradingView Basic plan.
How to setup "Email Alert" integration
Binance Video Instruction
Binance Step-by-Step Instruction
STEP 1. Select Binance Symbol on TradingView
Double check that you using Binance Symbol on your Trading panel.
IMPORTANT: Please select SPOT or SWAP symbols only.
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 "Send plain text" option on Notification Tab. Your personal WebHook URL and Email you can find in your Profile Page
Message:
|
Select Webhook URL or "Send plain text" 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.
{
"binance_api_key": "PUT YOUR BINANCE API KEY HERE",
"binance_secret": "PUT YOUR BINANCE SECRER HERE",
"real_order":"Yes / No",
"order_market":"Spot / Margin / Futures",
"order_type":"Market / Limit",
"isolated_margin": "Yes / No",
"auto_rounding": "Yes",
"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:
IMPORTANT: You need to recreate TradingView Alert each time you change parameters of your PineScript Strategy.
Message Fields Explanation:
"binance_api_key", "binance_secret" - Your 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"
"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
[link]> for SPOT order will create TEST order on Real account (Binance.com), thus Real API from Binance.com is required.
> for MARGIN. Unfortunately, Binance do not support Test orders for Margin Market. Please use smallest real order to test.
> for FUTURES order, will create Order on Binance Testnet (https://testnet.binancefuture.com/). API from TestNet required Instructions
If something not working as you expected, please
Contact Support Team