Skip to content

Webhook#

About#

Webhook model

Fields#

Name Type Required Description
_id string Yes ID of the webhook
createdAt string(datetime) Yes created at date of the webhook (in ISO format)
url string Yes webhook URL
magic number expert advisor id
symbolMapping Array<SymbolMapping> rules for mapping signal source symbols to provider strategy symbols

Example#

{
  "_id": "bsYA4ucPTt2ZBK1ynVx7Ef6kCdaUmSgL",
  "createdAt": "2024-12-07T09:15:00.000Z",
  "url": "https://copyfactory-api-v1.new-york.agiliumtrade.ai/webhooks/bsYA4ucPTt2ZBK1ynVx7Ef6kCdaUmSgL",
  "magic": 100,
  "symbolMapping": [
    {
      "to": "EURUSD",
      "from": "EURUSD.m"
    }
  ]
}

Usages#