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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Descriptor for a smart derivative contract counterparty. -
Constructor Summary
ConstructorDescriptionSmartDerivativeContractDescriptor
(String dltTradeId, String dltAddress, String uniqueTradeIdentifier, LocalDateTime tradeDate, List<SmartDerivativeContractDescriptor.Party> counterparties, Map<String, Double> marginAccountInitialByPartyID, Map<String, Double> penaltyFeeInitialByPartyID, String recervicePartyID, Node underlying, List<CalibrationDataItem.Spec> marketdataItems, String currency, String marketDataProvider, String tradeType, String initialSettlementDate) -
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
public SmartDerivativeContractDescriptor(String dltTradeId, String dltAddress, String uniqueTradeIdentifier, LocalDateTime tradeDate, List<SmartDerivativeContractDescriptor.Party> counterparties, Map<String, Double> marginAccountInitialByPartyID, Map<String, Double> penaltyFeeInitialByPartyID, String recervicePartyID, Node underlying, List<CalibrationDataItem.Spec> marketdataItems, String currency, String marketDataProvider, String tradeType, String initialSettlementDate)
-
-
Method Details
-
getDltTradeId
-
getDltAddress
-
getUniqueTradeIdentifier
-
getTradeDate
-
getCounterparties
-
getMarginAccount
-
getPenaltyFee
-
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.
-
getMarketdataItemList
-
getCurrency
-
getMarketDataProvider
-
getTradeType
-
getInitialSettlementDate
-