public class MetatraderAccountDto extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MetatraderAccountDto.ConnectionStatus
Terminal and broker connection status enum
|
static class |
MetatraderAccountDto.CopyFactoryRole
Account roles for CopyFactory2 application
|
static class |
MetatraderAccountDto.DeploymentState
Account deployment state enum
|
static class |
MetatraderAccountDto.Extension
Extension model
|
| Modifier and Type | Field and Description |
|---|---|
String |
_id
Account unique identifier
|
String |
accessToken
Authorization token to be used for accessing single account data.
|
String |
application
Application name to connect the account to.
|
String |
baseCurrency
3-character ISO currency code of the account base currency.
|
MetatraderAccountDto.ConnectionStatus |
connectionStatus
Terminal and broker connection status
|
int |
copyFactoryResourceSlots
Number of CopyFactory 2 resource slots to allocate to account.
|
List<MetatraderAccountDto.CopyFactoryRole> |
copyFactoryRoles
Account roles for CopyFactory2 application, or
null |
List<MetatraderAccountDto.Extension> |
extensions
API extensions
|
String |
login
MetaTrader account number
|
long |
magic
MetaTrader magic to place trades using
|
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 |
provisioningProfileId
Id of the account's provisioning profile
|
Double |
quoteStreamingIntervalInSeconds
Quote streaming interval in seconds, or
null. |
String |
region
Region id to deploy account at.
|
String |
reliability
Used to increase the reliability of the account.
|
Integer |
resourceSlots
Number of resource slots to allocate to account.
|
boolean |
riskManagementApiEnabled
Flag indicating that risk management API should be enabled on account.
|
String |
server
MetaTrader server which hosts the account
|
Integer |
slippage
Default trade slippage in points.
|
MetatraderAccountDto.DeploymentState |
state
Account deployment state
|
String |
symbol
Any symbol provided by broker (required for G1 only), or
null |
List<String> |
tags
MetaTrader account tags, or
null. |
String |
type
Account type, can be cloud, cloud-g1, cloud-g2 or self-hosted.
|
int |
version
MetaTrader version
|
| Constructor and Description |
|---|
MetatraderAccountDto() |
public String _id
public String name
public String type
public String login
public String server
public String provisioningProfileId
public String application
public long magic
public MetatraderAccountDto.DeploymentState state
public MetatraderAccountDto.ConnectionStatus connectionStatus
public String accessToken
public Boolean manualTrades
null.
Default is false. Supported on G2 onlypublic 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 int version
public List<MetatraderAccountDto.Extension> extensions
public Map<String,Object> metadata
public String reliability
public String baseCurrency
public List<MetatraderAccountDto.CopyFactoryRole> copyFactoryRoles
nullpublic Integer resourceSlots
public int copyFactoryResourceSlots
public String symbol
nullpublic String region
public Integer slippage
null, system internal setting
will be used which we believe is reasonable for most casespublic boolean riskManagementApiEnabled
Copyright © 2023. All rights reserved.