Class NewMetatraderAccountDto
- java.lang.Object
-
- cloud.metaapi.sdk.clients.meta_api.models.NewMetatraderAccountDto
-
public class NewMetatraderAccountDto extends Object
New MetaTrader account model
-
-
Field Summary
Fields Modifier and Type Field Description StringapplicationApplication name to connect the account to.StringloginMetaTrader account numberintmagicMetaTrader magic to place trades usingbooleanmanualTradesFlag indicating if trades should be placed as manual trades, ornull.StringnameMetaTrader account human-readable name in the MetaApi appStringpasswordMetaTrader account password.StringprovisioningProfileIdId of the account's provisioning profileDoublequoteStreamingIntervalInSecondsQuote streaming interval in seconds, ornull.StringserverMetaTrader server which hosts the accountStringtimeConverterAlgorithm used to parse your broker timezone.StringtypeAccount type, can be cloud, cloud-g1, cloud-g2 or self-hosted. cloud-g2 and cloud are aliases.
-
Constructor Summary
Constructors Constructor Description NewMetatraderAccountDto()
-
-
-
Field Detail
-
name
public String name
MetaTrader account human-readable name in the MetaApi app
-
type
public String type
Account type, can be cloud, cloud-g1, cloud-g2 or self-hosted. cloud-g2 and cloud are aliases. When you create MT5 cloud account the type is automatically converted to cloud-g1 because MT5 G2 support is still experimental. You can still create MT5 G2 account by setting type to cloud-g2.
-
login
public String login
MetaTrader account number
-
password
public String password
MetaTrader account password. The password can be either investor password for read-only access or master password to enable trading features. Required for cloud account
-
server
public String server
MetaTrader server which hosts the account
-
provisioningProfileId
public String provisioningProfileId
Id of the account's provisioning profile
-
timeConverter
public String timeConverter
Algorithm used to parse your broker timezone. Supported values are icmarkets for America/New_York DST switch and roboforex for EET DST switch (the values will be changed soon)
-
application
public String application
Application name to connect the account to. Currently allowed values are MetaApi and AgiliumTrade
-
magic
public int magic
MetaTrader magic to place trades using
-
manualTrades
public boolean manualTrades
Flag indicating if trades should be placed as manual trades, ornull. Default is false.
-
quoteStreamingIntervalInSeconds
public Double quoteStreamingIntervalInSeconds
Quote streaming interval in seconds, ornull. 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 G2
-
-