Class CopyFactoryAccountUpdate

  • Direct Known Subclasses:
    CopyFactoryAccount

    public class CopyFactoryAccountUpdate
    extends Object
    CopyFactory account update
    • Field Detail

      • name

        public String name
        Account human-readable name
      • connectionId

        public String connectionId
        Id of the MetaApi MetaTrader account this copy trading account is connected to
      • reservedMarginFraction

        public Double reservedMarginFraction
        Optional fraction of reserved margin to reduce a risk of margin call, or null. Default is to reserve no margin. We recommend using maxLeverage setting instead. Specified as a fraction of balance thus the value is usually greater than 1
      • phoneNumbers

        public List<String> phoneNumbers
        Optional phone numbers to send sms notifications to, or null. Leave empty to receive no sms notifications
      • minTradeAmount

        public Double minTradeAmount
        Optional value of minimal trade size allowed, expressed in amount of account currency, or null. Can be useful if your broker charges a fixed fee per transaction so that you can skip small trades with high broker commission rates. Default is 100
      • closeOnly

        public String closeOnly
        Optional setting which instructs the application not to open new positions. by-symbol means that it is still allowed to open new positions with a symbol equal to the symbol of an existing strategy position (can be used to gracefuly exit strategies trading in netting mode or placing a series of related trades per symbol). One of by-position, by-symbol or leave empty to disable this setting.
      • maxLeverage

        public Double maxLeverage
        Optional setting indicating maxumum leverage allowed when opening a new positions, or null. Any trade which results in a higher leverage will be discarded.
    • Constructor Detail

      • CopyFactoryAccountUpdate

        public CopyFactoryAccountUpdate()