Class SmartDerivativeContractDescriptor
java.lang.Object
net.finmath.smartcontract.product.SmartDerivativeContractDescriptor
Descriptor for a smart derivative contract. Unified access to the SDC definition in an XML.
- Author:
- Christian Fries
- See Also:
SDCXMLParser
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDescriptor for a smart derivative contract counterparty. -
Constructor Summary
ConstructorsConstructorDescriptionSmartDerivativeContractDescriptor(LocalDateTime tradeDate, List<SmartDerivativeContractDescriptor.Party> counterparties, Map<String,Double> marginAccountInitialByPartyID, Map<String,Double> penaltyFeeInitialByPartyID, String recervicePartyID, Node underlying) -
Method Summary
Modifier and TypeMethodDescriptiongetMarginAccount(String partyID)getPenaltyFee(String partyID)Get the penalty fee for the party.Get the FPML XML node describing the underlying.A positive value of the underlying represents a claim for the partyID returned by this method and a liability of the other party.
-
Constructor Details
-
SmartDerivativeContractDescriptor
-
-
Method Details
-
getTradeDate
-
getCounterparties
-
getMarginAccount
-
getPenaltyFee
Get the penalty fee for the party.- Parameters:
partyID- The party ID as string.- Returns:
- The penalty fee.
-
getUnderlying
Get the FPML XML node describing the underlying.- Returns:
- The Node describing the underlying.
-
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.
-