Class NewMetatraderAccountDto


  • public class NewMetatraderAccountDto
    extends Object
    New MetaTrader account model
    • 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, or null. Default is false.
      • 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

      • NewMetatraderAccountDto

        public NewMetatraderAccountDto()