Class FloatingRateLoanOrder

java.lang.Object
org.knowm.xchange.dto.LoanOrder
org.knowm.xchange.dto.trade.FloatingRateLoanOrder
All Implemented Interfaces:
Serializable, Comparable<FloatingRateLoanOrder>

public final class FloatingRateLoanOrder extends LoanOrder implements Comparable<FloatingRateLoanOrder>
DTO representing a floating rate loan order A floating rate loan order is a loan order whose rate is determined by the market. This type of loan order can be preferable for creditors when loans have a callable provision (i.e. the debtor can choose to pay off the loan early and acquire another loan at a more favorable rate).
See Also:
  • Constructor Details

    • FloatingRateLoanOrder

      public FloatingRateLoanOrder(Order.OrderType type, String currency, BigDecimal originalAmount, int dayPeriod, String id, Date timestamp, BigDecimal rate)
      Parameters:
      type - Either BID (debtor) or ASK (creditor)
      currency - The loan currency code
      originalAmount - Units of currency
      dayPeriod - Loan duration in days
      id - An id (usually provided by the exchange)
      timestamp - The absolute time for this order
  • Method Details