DCIPs/assets/eip-6123/doc/sample-tradedata-filestruct...

77 lines
2.9 KiB
XML
Raw Normal View History

<smartderivativecontract>
<valuation> <!-- Section of the software version used to calculate net present value of underlying otc derivative -->
<artefact>
<groupId>net.finmath</groupId>
<artifactId>finmath-smart-derivative-contract</artifactId>
<version>0.1.8</version>
</artefact>
</valuation>
<parties> <!-- Section of SDC contract parameters for both parties -->
<party>
<name>Counterparty 1</name>
<id>party1</id>
<marginAccount> <!--margin buffer amount -->
<type>constant</type>
<value>10000.0</value>
</marginAccount>
<penaltyFee> <!--penalty / termination fee amount -->
<type>constant</type>
<value>1000.0</value>
</penaltyFee>
<address>0x...</address>
</party>
<party>
<name>Counterparty 2</name>
<id>party2</id>
<marginAccount>
<type>constant</type>
<value>10000.0</value>
</marginAccount>
<penaltyFee>
<type>constant</type>
<value>1000.0</value>
</penaltyFee>
<address>0x...</address>
</party>
</parties>
<settlement> <!-- Section specifying the settlement procedure -->
<settlementDateInitial>
2011-12-13T10:15:30
</settlementDateInitial>
<settlementTime>
<type>daily</type>
<value>17:00</value>
</settlementTime>
<marketdata><!--Section for market data specification defining market data symbols (e.g. interest rates or equity spots) relevant for trade valuation-->
<provider>xyz</provider>
<symbols>
<symbol>symbol1</symbol>
<symbol>symbol2</symbol>
<symbol>...</symbol>
</symbols>
</marketdata>
</settlement>
<receiverPartyID>
party1
</receiverPartyID>
<underlyings> <!-- Section for trade specification of the underlying OTC derivative contract-->
<underlying>
<dataDocument>
<trade>
<tradeHeader>
<partyTradeIdentifier>
<partyReference href="party1"/>
<tradeId>CP1</tradeId>
</partyTradeIdentifier>
<partyTradeIdentifier>
<partyReference href="party2"/>
<tradeId>CP2</tradeId>
</partyTradeIdentifier>
<tradeDate>2022-12-13</tradeDate>
</tradeHeader>
<!-- put your trade specification here -->
</trade>
</dataDocument>
</underlying>
</underlyings>
</smartderivativecontract>