fx-chartingDocs
Webhooks

Payloads & templates

Without a template the full event is sent. With one, you control the JSON exactly.

PlaceholderValue
{{event}}placed / opened / closed / cancelled / modified / test
{{ticket}}Order / position id
{{ticker}}Symbol
{{side}}buy / sell
{{type}}market / limit / stop
{{lots}}Volume
{{price}}Entry / order price
{{sl}} {{tp}}Stop loss / take profit
{{close}} {{profit}} {{reason}}On closes
{{time}}ISO time
Template for a trading bot
{
  "passphrase": "my-secret",
  "action": "{{side}}",
  "symbol": "{{ticker}}",
  "quantity": {{lots}},
  "stop_loss": {{sl}},
  "take_profit": {{tp}}
}