Class SmartDerivativeContractDescriptor

java.lang.Object
net.finmath.smartcontract.product.SmartDerivativeContractDescriptor

public class SmartDerivativeContractDescriptor extends Object
Descriptor for a smart derivative contract. Unified access to the SDC definition in an XML.
Author:
Christian Fries
See Also:
SDCXMLParser
  • Constructor Details

  • Method Details

    • getTradeDate

      public LocalDateTime getTradeDate()
    • getCounterparties

      public List<SmartDerivativeContractDescriptor.Party> getCounterparties()
    • getMarginAccount

      public Double getMarginAccount(String partyID)
    • getPenaltyFee

      public Double getPenaltyFee(String partyID)
      Get the penalty fee for the party.
      Parameters:
      partyID - The party ID as string.
      Returns:
      The penalty fee.
    • getUnderlying

      public Node getUnderlying()
      Get the FPML XML node describing the underlying.
      Returns:
      The Node describing the underlying.
    • getUnderlyingReceiverPartyID

      public String getUnderlyingReceiverPartyID()
      A positive value of the underlying represents a claim for the partyID returned by this method and a liability of the other party.
      Returns:
      The party ID of the receiver party.