Class StrategyFieldSet

    • Method Detail

      • setAccount

        public StrategyFieldSet setAccount​(java.lang.String accountID,
                                           java.lang.String accountName)
        Deprecated.
        Sets the account.
        Parameters:
        accountID - The identifier of the account.
        accountName - A "friendly name" for the account, for display in the front end.
        Returns:
        This instance, to allow method chaining.
      • setAccount

        public StrategyFieldSet setAccount​(Account account)
        Deprecated.
        Sets the account.
        Parameters:
        account - The account, with id and name
        Returns:
        This instance, to allow method chaining.
      • setCurrencyPair

        public StrategyFieldSet setCurrencyPair​(java.lang.String value)
        Deprecated.
        Sets the currency pair. This must be a six character string where the first three characters are the base currency and the second three characters are the term currency, for example USDJPY.
        Parameters:
        value - The currency pair.
        Returns:
        This instance, to allow method chaining.
      • setActivationDate

        public StrategyFieldSet setActivationDate​(ActivationDate activationDate)
        Deprecated.
        Sets the date, time and location the strategy or order should be activated.

        Certain other values for the activation date are acceptable, for example GFA meaning "Good for Activation" immediately.

        Parameters:
        activationDate - A domain object representing the activation date.
        Returns:
        This instance, to allow method chaining.
        See Also:
        ActivationDate
      • setExpirationDate

        public StrategyFieldSet setExpirationDate​(ExpirationDate expirationDate)
        Deprecated.
        Sets the date, time and location the strategy or order should expire. Certain other values for the expiration date are acceptable, for example GTC for "Good til Canceled" or GFD for "Good for Day".
        Parameters:
        expirationDate - A domain object representing the expiration date.
        Returns:
        This instance, to allow method chaining.
      • setAlertType

        public StrategyFieldSet setAlertType​(java.util.Set<AlertType> alertTypes)
        Deprecated.
        Sets the AlertType
        Parameters:
        alertTypes - the set of AlertTypes for this strategy
        Returns:
        This instance, to allow method chaining.
      • setRemarks

        public StrategyFieldSet setRemarks​(java.lang.String remarks)
        Deprecated.
        Sets the Remarks
        Parameters:
        remarks - to be attached to the order or strategy
        Returns:
        This instance, to allow method chaining.
      • setMemo

        public StrategyFieldSet setMemo​(java.lang.String memo)
        Deprecated.
        Set Memo - the taker short note of the order.
        Parameters:
        memo - to be attached to the order or strategy
        Returns:
        This instance, to allow method chaining.
      • setStrategyType

        public StrategyFieldSet setStrategyType​(StrategyType strategyType)
        Deprecated.
        Sets the type of the strategy, for example SINGLE or OCO ("One Cancels the Other").
        Parameters:
        strategyType - The type of the strategy.
        Returns:
        This instance, to allow method chaining.
      • setSubmittedBy

        public StrategyFieldSet setSubmittedBy​(java.lang.String username)
        Deprecated.
        Sets the username of the user who submitted the strategy.
        Parameters:
        username - The username.
        Returns:
        This instance, to allow method chaining.
      • setSubmittedFor

        public StrategyFieldSet setSubmittedFor​(java.lang.String username)
        Deprecated.
        Sets the username of the user who the strategy is for. This could be different to the user the strategy was submitted by if there is a sales trader involved.
        Parameters:
        username - The username.
        Returns:
        This instance, to allow method chaining.
      • setTOBOUser

        public StrategyFieldSet setTOBOUser​(java.lang.String toboUser)
        Deprecated.
        Sets the trade on behalf of user. Use this for sales motifs.
        Returns:
        This instance, to allow method chaining.
      • setSpotRateDPS

        public StrategyFieldSet setSpotRateDPS​(java.lang.Object spotRateDPS)
        Deprecated.
        Sets the spot rate DPS.
        Returns:
        This instance, to allow method chaining.