Skip to content

Select if pending orders should be copied#

Overview#

In CopyFactory you can select if you want to copy pending orders from master account to subscriber account.

By default CopyFactory will copy pending orders. However, if you want to override this behaviour then you can specify an optional skipPendingOrders setting. This setting can be specified on any of the following entities:

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

This setting is additive. This means that CopyFactory will skip copying pending orders if the setting is set to true on any object in the subscription chain. If the setting is set to false on all objects in subscription chain or not specified, then the pending orders will be copied by CopyFactory.

Example (strategy)#

{
  "name": "Strategy",
  ...
  "skipPendingOrders": true,
  ...
}

Example (member of a portfolio strategy)#

{
  "name": "Portfolio strategy",
  ...
  "members": [
    {
      ...
      "skipPendingOrders": true,
      ...
    },
    ...
  ],
  ...
}

Example (portfolio strategy)#

{
  "name": "Portfolio strategy",
  ...
  "skipPendingOrders": true,
  ...
}

Example (subscription)#

{
  "name": "Account",
  ...
  "subscriptions": [
    {
      ...
      "skipPendingOrders": true,
      ...
    },
    ...
  ],
  ...
}