Skip to content

Webhook signal#

About#

CopyFactory webhook signal data

Fields#

Name Type Required Description
symbol string Yes trade symbol
type string Yes trade type. One of POSITION_TYPE_BUY, POSITION_TYPE_SELL, ORDER_TYPE_BUY_LIMIT, ORDER_TYPE_SELL_LIMIT, ORDER_TYPE_BUY_STOP, ORDER_TYPE_SELL_STOP
time string(datetime) Yes time the signal was emitted at (in ISO format)
volume number Yes volume traded
stopLoss number stop loss price
takeProfit number take profit price
openPrice number pending order open price

Example#

{
  "symbol": "EURUSD",
  "type": "POSITION_TYPE_BUY",
  "time": "2020-08-24T00:00:00.000Z",
  "volume": 0.01,
  "stopLoss": 0.4,
  "takeProfit": 0.6
}

Usages#