public class NewMetatraderAccountDto extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
application
Application name to connect the account to.
|
String |
login
MetaTrader account number
|
int |
magic
MetaTrader magic to place trades using
|
boolean |
manualTrades
Flag indicating if trades should be placed as manual trades, or
null. |
String |
name
MetaTrader account human-readable name in the MetaApi app
|
String |
password
MetaTrader account password.
|
String |
provisioningProfileId
Id of the account's provisioning profile
|
Double |
quoteStreamingIntervalInSeconds
Quote streaming interval in seconds, or
null. |
String |
server
MetaTrader server which hosts the account
|
List<String> |
tags
MetaTrader account tags, or
null. |
String |
type
Account type, can be cloud, cloud-g1, cloud-g2 or self-hosted. cloud-g2 and cloud are aliases.
|
| Constructor and Description |
|---|
NewMetatraderAccountDto() |
public String name
public String type
public String login
public String password
public String server
public String provisioningProfileId
public String application
public int magic
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 G2Copyright © 2020. All rights reserved.