TradingView: “TradingView Alert Message Format issue”

Updated

This error occurs when the Alert Message in TradingView is not aligned with the template required by your broker. You can see Template on the instruction page for your broker. e.g. template for Binance: https://tradeadapter.com/connect_tradingview_to_binance

You can check what your strategy is sending from TradingView in the Alert in AlertLog on TradingView:

You can use Message Generator for your Broker to Generate the TradingView message based on your parameters. E.g for Binance: https://tradeadapter.com/binance_message_generator

“Message” in the Alert should look like this (Example for Binance)

  {
      "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",
      "exchange": "{{exchange}}",
      "ticker": "{{ticker}}",
      "time": "{{timenow}}",
      "order_contracts": "{{strategy.order.contracts}}",
      "order_action": "{{strategy.order.action}}",
      "order_price": "{{strategy.order.price}}"
  }
 

If you did not manage to resolve this issue, please contact our Support team via Telegram Chat or Email: https://tradeadapter.com/support

If none of the solutions above resolves your issue, or you have a good solution for an error code from a supported broker, let us know and we will publish it on the FAQ page. Contact Support Team