Class MetatraderAccountDto
- java.lang.Object
-
- cloud.metaapi.sdk.clients.meta_api.models.MetatraderAccountDto
-
public class MetatraderAccountDto extends Object
MetaTrader account model
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMetatraderAccountDto.ConnectionStatusTerminal & broker connection status enumstatic classMetatraderAccountDto.DeploymentStateAccount deployment state enum
-
Field Summary
Fields Modifier and Type Field Description String_idAccount unique identifierStringaccessTokenAuthorization token to be used for accessing single account data.StringapplicationApplication name to connect the account to.MetatraderAccountDto.ConnectionStatusconnectionStatusTerminal & broker connection statusStringloginMetaTrader 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 appStringprovisioningProfileIdId of the account's provisioning profileDoublequoteStreamingIntervalInSecondsQuote streaming interval in seconds, ornull.StringserverMetaTrader server which hosts the accountMetatraderAccountDto.DeploymentStatestateAccount deployment stateStringtimeConverterAlgorithm used to parse your broker timezone.StringtypeAccount type, can be cloud, cloud-g1, cloud-g2 or self-hosted.
-
Constructor Summary
Constructors Constructor Description MetatraderAccountDto()
-
-
-
Field Detail
-
_id
public String _id
Account unique identifier
-
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 and cloud-g2 are aliases.
-
login
public String login
MetaTrader account number
-
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
-
state
public MetatraderAccountDto.DeploymentState state
Account deployment state
-
connectionStatus
public MetatraderAccountDto.ConnectionStatus connectionStatus
Terminal & broker connection status
-
accessToken
public String accessToken
Authorization token to be used for accessing single account data. Intended to be used in browser API.
-
manualTrades
public Boolean manualTrades
Flag indicating if trades should be placed as manual trades, ornull. Default is false. Supported on G2 only
-
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
-
-