Class CopyFactoryStrategyUpdate

  • Direct Known Subclasses:
    CopyFactoryStrategy

    public class CopyFactoryStrategyUpdate
    extends Object
    CopyFactory strategy update
    • Field Detail

      • name

        public String name
        Strategy human-readable name
      • description

        public String description
        Longer strategy human-readable description
      • positionLifecycle

        public String positionLifecycle
        Position detection mode. Allowed values are netting (single position per strategy per symbol), hedging (multiple positions per strategy per symbol)
      • connectionId

        public String connectionId
        Id of the MetaApi account providing the strategy
      • skipPendingOrders

        public Boolean skipPendingOrders
        Optional flag indicating that pending orders should not be copied, or null. Default is to copy pending orders
      • platformCommissionRate

        public double platformCommissionRate
        Commission rate the platform charges for strategy copying, applied to commissions charged by provider. This commission applies only to accounts not managed directly by provider. Should be fraction of 1
      • maxTradeRisk

        public Double maxTradeRisk
        Optional max risk per trade, expressed as a fraction of 1, or null. If trade has a SL, the trade size will be adjusted to match the risk limit. If not, the trade SL will be applied according to the risk limit
      • reduceCorrelations

        public String reduceCorrelations
        Optional setting indicating whether to enable automatic trade correlation reduction, or null. Possible settings are not specified (disable correlation risk restrictions), by-strategy (limit correlations on strategy level) or by-symbol (limit correlations on symbol level)
      • stopOutRisk

        public CopyFactoryStrategyStopOutRisk stopOutRisk
        Optional stop out setting, or null. All trading will be terminated and positions closed once equity drawdown reaches this value
      • symbolFilter

        public CopyFactoryStrategySymbolFilter symbolFilter
        Symbol filters which can be used to copy only specific symbols or exclude some symbols from copying, or null
      • riskLimits

        public List<CopyFactoryStrategyRiskLimit> riskLimits
        Optional strategy risk limits, or null. You can configure trading to be stopped once total drawdown generated during specific period is exceeded. Can be specified either for balance or equity drawdown
      • maxLeverage

        public Double maxLeverage
        Optional max leverage risk restriction. All trades resulting in a leverage value higher than specified will be skipped
      • timeSettings

        public CopyFactoryStrategyTimeSettings timeSettings
        Settings to manage copying timeframe and position lifetime, or null. Default is to copy position within 1 minute from being opened at source and let the position to live for up to 90 days
    • Constructor Detail

      • CopyFactoryStrategyUpdate

        public CopyFactoryStrategyUpdate()