Class TradeDetailsPartsDef.LegTradeDetailsFields.Builder

    • Method Detail

      • toString

        @NotNull
        public @NotNull java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setTenor

        @NotNull
        public @NotNull TradeDetailsPartsDef.LegTradeDetailsFields.Builder setTenor​(@NotNull
                                                                                    @NotNull java.lang.String tenor)
        Parameters:
        tenor - e.g. 1M
        Returns:
        Supported types are [ON, [TODAY, TOD, TD], TN, [TOM, ND], SPOT, SN, 1D, 1W, 2W, 3W, 4W, 1M, 2M, 4M, 5M, 6M, 7M, 8M, 9M, 10M, 11M, [1Y, 12M], 15M, 18M, 21M, [2Y, 24M], [3Y, 36M], [4Y, 48M], [5Y, 60M], broken]. broken indicates that a SettlementDate must be sent
      • setBuySell

        @NotNull
        public @NotNull TradeDetailsPartsDef.LegTradeDetailsFields.Builder setBuySell​(@NotNull
                                                                                      @NotNull java.lang.String buySell)
        Returns:
        The direction of the trade or trade leg. This always refers to the BaseCurrency, NOT the DealtCurrency.
      • setAccount

        @NotNull
        public @NotNull TradeDetailsPartsDef.LegTradeDetailsFields.Builder setAccount​(@NotNull
                                                                                      @NotNull java.lang.String account)
        Parameters:
        account - e.g. Garfields|GARF
        Returns:
        The account a trade or order has been submitted against. The format is <description>|<name> or <name>|<name>