Skip to content

Introduce extra signal delay#

Overview#

In CopyFactory you can introduce an extra delay to each of the trading signals.

You can configure a fixed or random delay. If you want to configure this feature then you can specify an optional signalDelay setting. This setting can be specified on any of the following entities:

  • strategy
  • member of a portfolio strategy
  • portfolio strategy
  • subscription
  • subscriber

This setting is overridable. This means that CopyFactory will use the last setting from subscription chain.

Setting schema is available at StrategySignalDelay document.

Example (strategy)#

{
  "name": "Strategy",
  ...
  "signalDelay": {
    "minInSeconds": 15,
    "maxInSeconds": 15
  },
  ...
}

Example (member of a portfolio strategy)#

{
  "name": "Portfolio strategy",
  ...
  "members": [
    {
      ...
      "signalDelay": {
        "minInSeconds": 15,
        "maxInSeconds": 15
      },
      ...
    },
    ...
  ],
  ...
}

Example (portfolio strategy)#

{
  "name": "Portfolio strategy",
  ...
  "signalDelay": {
    "minInSeconds": 15,
    "maxInSeconds": 15
  },
  ...
}

Example (subscription)#

{
  "name": "Subscriber",
  ...
  "subscriptions": [
    {
      ...
      "signalDelay": {
        "minInSeconds": 15,
        "maxInSeconds": 15
      },
      ...
    },
    ...
  ],
  ...
}

Example (subscriber)#

{
  "name": "Subscriber",
  ...
  "signalDelay": {
    "minInSeconds": 15,
    "maxInSeconds": 15
  },
  ...
}