public class CopyFactoryAccountUpdate extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
closeOnly
Optional setting which instructs the application not to open new positions.
|
String |
connectionId
Id of the MetaApi MetaTrader account this copy trading account is connected to
|
Boolean |
copyStopLoss
Flag indicating whether stop loss should be copied.
|
Boolean |
copyTakeProfit
Flag indicating whether take profit should be copied.
|
Double |
maxLeverage
Optional setting indicating maxumum leverage allowed when opening a new positions, or
null. |
Double |
maxTradeVolume
Maximum trade volume to copy, or
null. |
Double |
minTradeAmount
Optional value of minimal trade size allowed, expressed in amount of account currency, or
null. |
Double |
minTradeVolume
Minimum trade volume to copy, or
null. |
String |
name
Account human-readable name
|
List<String> |
phoneNumbers
Optional phone numbers to send sms notifications to, or
null. |
Double |
reservedMarginFraction
Optional fraction of reserved margin to reduce a risk of margin call, or
null. |
List<CopyFactoryStrategyRiskLimit> |
riskLimits
Optional account risk limits, or
null. |
CopyFactoryStrategyStopOutRisk |
stopOutRisk
Pptional stop out setting, or
null. |
List<CopyFactoryStrategySubscription> |
subscriptions
Strategy subscriptions
|
| Constructor and Description |
|---|
CopyFactoryAccountUpdate() |
public String name
public String connectionId
public Double reservedMarginFraction
null. Default is to reserve
no margin. We recommend using maxLeverage setting instead. Specified as a fraction of balance thus the value
is usually greater than 1public List<String> phoneNumbers
null. Leave empty to receive no sms notificationspublic Double minTradeAmount
null.
Can be useful if your broker charges a fixed fee per transaction so that you can skip small trades with
high broker commission rates. Default is 100public String closeOnly
public CopyFactoryStrategyStopOutRisk stopOutRisk
null. All trading will be terminated and positions closed once equity
drawdown reaches this valuepublic 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 Double maxLeverage
null.
Any trade which results in a higher leverage will be discarded.public Boolean copyStopLoss
null) is to copy stop losspublic Boolean copyTakeProfit
null) is to copy take profitpublic Double minTradeVolume
null.
Trade signals with a smaller volume will not be copiedpublic Double maxTradeVolume
null.
Trade signals with a larger volume will be copied with maximum volume insteadpublic List<CopyFactoryStrategySubscription> subscriptions
Copyright © 2023. All rights reserved.