Interface FxTrade

    • Method Detail

      • withInfo

        FxTrade withInfo​(TradeInfo info)
        Description copied from interface: ProductTrade
        Returns an instance with the specified info.
        Specified by:
        withInfo in interface ProductTrade
        Specified by:
        withInfo in interface Trade
        Parameters:
        info - the new info
        Returns:
        the instance with the specified info
      • getProduct

        FxProduct getProduct()
        Description copied from interface: ProductTrade
        Gets the underlying product that was agreed when the trade occurred.

        The product captures the contracted financial details of the trade.

        Specified by:
        getProduct in interface ProductTrade
        Returns:
        the product