Skip to content

Limit margin use#

Overview#

In CopyFactory you can limit margin use. New trades will not be opened if margin is less than a configurable fraction of balance.

By default this feature is disabled. If you want to enable it then you can specify an optional reservedMarginFraction setting on a subscriber account.

Reserved margin will be balance * reservedMarginFraction. Since most forex accounts use high leverage, the reservedMarginFraction setting is usually higher than 1.

Example (subscriber)#

{
  "name": "Subscriber",
  ...
  "reservedMarginFraction": 20,
  ...
}