본문으로 건너뛰기

Signal Bot JSON Template Collection

The core of AlertWays auto-trading is accurate signal delivery. Copy the JSON provided on the Signal Bot page and paste it into the TradingView Alert message.It is safest to use it without arbitrary modification.

1 Basic JSON Structure

Exchange info and account tokens are automatically generated in the Signal Bot dashboard. Below is the standard JSON structure used universally.

{
  "exchange": "binance",
  "market": "futures",
  "mode": "live",
  "ticker": "{{ticker}}",
  "strategy_position_size": "{{strategy.position_size}}",
  "order_action": "{{strategy.order.action}}",
  "timestamp": "{{timenow}}",
  "token": "Unique token copied from Signal Bot"
}

2 Key Meaning by Field

Each field is replaced with real-time data when the TradingView strategy executes and is sent to the AlertWays server.

  • ticker / order_action: Current trading symbol and Buy/Sell actions are automatically entered.
  • market_position: Tracks current position status to handle switching trades accurately.
  • token: A unique identifier connecting my account and Signal Bot; be careful not to expose it externally.

3 Copy & Paste Tips

Since the Webhook URL is common to all strategies, when changing strategies, only the JSON content in the message field needs to be replaced.

  • Arbitrary modification of the JSON structure may cause order failure due to syntax errors.
  • Double-check the copied JSON for typos or missing brackets.
  • To verify normal operation, Paper Tradingit is recommended to send a test alert first.

Accurate JSON setup is the foundation of stable auto-trading. Check the template immediately on the dashboard.