Class MetatraderAccountDto


  • public class MetatraderAccountDto
    extends Object
    MetaTrader account model
    • 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
      • 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, or null. Default is false. Supported on G2 only
      • quoteStreamingIntervalInSeconds

        public Double quoteStreamingIntervalInSeconds
        Quote streaming interval in seconds, or 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 G2
    • Constructor Detail

      • MetatraderAccountDto

        public MetatraderAccountDto()