public class CopyFactoryStrategyUpdate extends Object
| Modifier and Type | Field and Description |
|---|---|
CopyFactoryStrategyComissionScheme |
commissionScheme
Commission scheme allowed by this strategy, or
null |
String |
connectionId
Id of the MetaApi account providing the strategy
|
String |
description
Longer strategy human-readable description
|
CopyFactoryStrategyMagicFilter |
magicFilter
Optional magic (expert id) filter, or
null |
Double |
maxLeverage
Optional max leverage risk restriction.
|
CopyFactoryStrategyMaxStopLoss |
maxStopLoss
Optional stop loss value restriction, or
null |
Double |
maxTradeRisk
Optional max risk per trade, expressed as a fraction of 1, or
null. |
String |
name
Strategy human-readable name
|
CopyFactoryStrategyNewsFilter |
newsFilter
News risk filter configuration, or
null |
double |
platformCommissionRate
Commission rate the platform charges for strategy copying, applied to commissions charged by provider.
|
String |
positionLifecycle
Position detection mode.
|
String |
reduceCorrelations
Optional setting indicating whether to enable automatic trade correlation reduction, or
null. |
List<CopyFactoryStrategyRiskLimit> |
riskLimits
Optional strategy risk limits, or
null. |
Boolean |
skipPendingOrders
Optional flag indicating that pending orders should not be copied, or
null. |
CopyFactoryStrategyStopOutRisk |
stopOutRisk
Optional stop out setting, or
null. |
CopyFactoryStrategySymbolFilter |
symbolFilter
Symbol filters which can be used to copy only specific symbols or exclude some symbols from copying,
or
null |
CopyFactoryStrategyTimeSettings |
timeSettings
Settings to manage copying timeframe and position lifetime, or
null. |
| Constructor and Description |
|---|
CopyFactoryStrategyUpdate() |
public String name
public String description
public String positionLifecycle
public String connectionId
public Boolean skipPendingOrders
null.
Default is to copy pending orderspublic CopyFactoryStrategyComissionScheme commissionScheme
nullpublic double platformCommissionRate
public Double maxTradeRisk
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 limitpublic String reduceCorrelations
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)public CopyFactoryStrategyStopOutRisk stopOutRisk
null. All trading will be terminated and positions closed once equity
drawdown reaches this valuepublic CopyFactoryStrategySymbolFilter symbolFilter
nullpublic CopyFactoryStrategyNewsFilter newsFilter
nullpublic List<CopyFactoryStrategyRiskLimit> riskLimits
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 drawdownpublic CopyFactoryStrategyMaxStopLoss maxStopLoss
nullpublic Double maxLeverage
public CopyFactoryStrategyMagicFilter magicFilter
nullpublic CopyFactoryStrategyTimeSettings timeSettings
null. Default is to copy position within
1 minute from being opened at source and let the position to live for up to 90 daysCopyright © 2020. All rights reserved.