public class CopyFactoryPortfolioMember extends Object
| Modifier and Type | Field and Description |
|---|---|
Double |
maxLeverage
Max leverage risk restriction, or
null. |
CopyFactoryStrategyMaxStopLoss |
maxStopLoss
Stop loss value restriction, or
null |
Double |
maxTradeRisk
Max risk per trade, expressed as a fraction of 1, or
null. |
double |
multiplier
Copying multiplier (weight in the portfolio)
|
CopyFactoryStrategyNewsFilter |
newsFilter
News risk filter configuration, or
null |
String |
reduceCorrelations
Setting indicating whether to enable automatic trade correlation reduction, or
null. |
Boolean |
reverse
Flag indicating that the strategy should be copied in a reverse direction, or
null |
List<CopyFactoryStrategyRiskLimit> |
riskLimits
Strategy risk limits, or
null. |
Boolean |
skipPendingOrders
Flag indicating that pending orders should not be copied, or
null. |
CopyFactoryStrategyStopOutRisk |
stopOutRisk
Stop out setting, or
null. |
String |
strategyId
Member strategy id
|
CopyFactoryStrategySymbolFilter |
symbolFilter
Symbol filters which can be used to copy only specific symbols or exclude some symbols from copying,
or
null |
List<CopyFactoryStrategySymbolMapping> |
symbolMapping
Defines how symbol name should be changed when trading (e.g. when broker uses symbol names with unusual
suffixes).
|
| Constructor and Description |
|---|
CopyFactoryPortfolioMember() |
public String strategyId
public double multiplier
public Boolean skipPendingOrders
null. Default is to copy pending orderspublic 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 Boolean reverse
nullpublic 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
null. All trades resulting in a leverage value higher than
specified will be skippedpublic List<CopyFactoryStrategySymbolMapping> symbolMapping
Copyright © 2021. All rights reserved.