TradingView: “TradingView Alert Message Format issue”

Updated

For a saved API v4 connection, open your Strategy in TradeAdapter and copy its generated message into the TradingView alert. Keep broker keys in My Brokers.

For example, a fixed-size market order triggered by a Pine strategy can use the following message. Replace the example name with your saved Strategy name. Your generated template includes any additional fields your settings require.

{ "strategy_name": "my-strategy", "order_action": "{{strategy.order.action}}" }

Open the TradingView alert log and compare the message actually sent with your generated template. Check the webhook URL and confirm that TradingView filled each placeholder.

See the current webhook setup guide. For an existing API v3 connection, use the legacy Binance instructions.

If the error persists, contact support with the time of the alert and a redacted message.

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