public class MetatraderAccountUpdateDto extends Object
| Modifier and Type | Field and Description |
|---|---|
List<MetatraderAccountDto.CopyFactoryRole> |
copyFactoryRoles
Account roles for CopyFactory2 application, or
null |
List<MetatraderAccountDto.Extension> |
extensions
API extensions
|
Boolean |
manualTrades
Flag indicating if trades should be placed as manual trades, or
null. |
Map<String,Object> |
metadata
Extra information which can be stored together with your account
|
String |
name
MetaTrader account human-readable name in the MetaApi app
|
String |
password
MetaTrader account password.
|
Double |
quoteStreamingIntervalInSeconds
Quote streaming interval in seconds, or
null. |
Integer |
resourceSlots
Number of resource slots to allocate to account, or
null. |
String |
server
MetaTrader server which hosts the account
|
List<String> |
tags
MetaTrader account tags, or
null. |
| Constructor and Description |
|---|
MetatraderAccountUpdateDto() |
public String name
public String password
public String server
public Boolean manualTrades
null. Default is false.public Double quoteStreamingIntervalInSeconds
null. Set to 0 in order to receive quotes on each tick.
Default value is 2.5 seconds. Intervals less than 2.5 seconds are supported only for G2public List<MetatraderAccountDto.Extension> extensions
public Map<String,Object> metadata
public List<MetatraderAccountDto.CopyFactoryRole> copyFactoryRoles
nullpublic Integer resourceSlots
null. Allocating extra resource slots
results in better account performance under load which is useful for some applications. E.g. if you have many
accounts copying the same strategy via CopyFactory API, then you can increase resourceSlots to get a lower trade
copying latency. Please note that allocating extra resource slots is a paid option. Default is 1Copyright © 2021. All rights reserved.