UNPKG

interchange-schema-registry

Version:

A Global Schema Registry for Data Interchange formats

162 lines (161 loc) 6.58 kB
<?xml version="1.0" encoding="utf-8" ?> <!--View is confirmation--> <!--Version is 5-10--> <!--NS is http://www.fpml.org/FpML-5/confirmation--> <!-- == Copyright (c) 2014-2018 All rights reserved. == Financial Products Markup Language is subject to the FpML public license. == A copy of this license is available at http://www.fpml.org/license/license.html --> <!-- Example 22 At the money straddle using strategy == FX Option == Trade Date : 2001-11-20 == Expiry Date : 2001-12-20 == Option Buyer : Chase == Option Seller : ABN Amro == Option Steategy : 100m AUD Straddle (50m per Leg) == Total Premium : 52,000 USD == Strike Price : 0.5200 == Business Center : New York == Cut Name : New York == Product Type : Straddle --> <!--5.0:Message type is a Root of the message--> <!--5.0 Messaging: changed <RequestTradeConfirmation> -><requestConfirmation>--> <requestConfirmation xmlns="http://www.fpml.org/FpML-5/confirmation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" fpmlVersion="5-10" xsi:schemaLocation="http://www.fpml.org/FpML-5/confirmation ../../fpml-main-5-10.xsd http://www.w3.org/2000/09/xmldsig# ../../xmldsig-core-schema.xsd" > <header> <!--FpML 5.0: Removed "conversationId", replaced by "correlationId"--> <!--conversationId conversationIdScheme="http://www.abn.com/coding-scheme/conversationId">FX65432</conversationId--> <messageId messageIdScheme="http://www.abn.com/coding-scheme/messageId">FX87654</messageId> <sentBy messageAddressScheme="http://www.abn.com/partyId">ABNANL2A</sentBy> <sendTo messageAddressScheme="http://www.abn.com/partyId">CHASUS33</sendTo> <creationTimestamp>2001-11-20T08:57:00Z</creationTimestamp> </header> <!--5.0 Messaging: added <correlationId> <sequenceNumber> --> <isCorrection>false</isCorrection> <correlationId correlationIdScheme="http://www.abn.com/coding-scheme/correlationIdScheme">FX65432</correlationId> <sequenceNumber>1</sequenceNumber> <trade> <tradeHeader> <partyTradeIdentifier> <partyReference href="party1" /> <tradeId tradeIdScheme="http://www.markets.Reuters.com/rss/spec/2001/trade-id-3-0">123456789</tradeId> </partyTradeIdentifier> <partyTradeIdentifier> <partyReference href="party2" /> <tradeId tradeIdScheme="http://www.markets.Reuters.com/rss/spec/2001/trade-id-3-0">123456789</tradeId> </partyTradeIdentifier> <tradeDate>2001-11-20</tradeDate> </tradeHeader> <strategy id="strategy"> <productType>Straddle</productType> <!-- Rule ref-32 is invalid because - The @href attribute is NOT equal to the @id attribute of an element of type Product. It should reference a product and NOT "party1" --> <premiumProductReference href="party1" /> <fxOption id="fxOption1"> <buyerPartyReference href="party1" /> <sellerPartyReference href="party2" /> <europeanExercise> <expiryDate>2001-12-20</expiryDate> <expiryTime> <hourMinuteTime>14:00:00</hourMinuteTime> <businessCenter>USNY</businessCenter> </expiryTime> <valueDate>2001-12-24</valueDate> </europeanExercise> <putCurrencyAmount> <currency>AUD</currency> <amount>50000000</amount> </putCurrencyAmount> <callCurrencyAmount> <currency>USD</currency> <amount>26000000</amount> </callCurrencyAmount> <strike> <rate>0.5200</rate> <strikeQuoteBasis>CallCurrencyPerPutCurrency</strikeQuoteBasis> </strike> <premium> <payerPartyReference href="party1" /> <receiverPartyReference href="party2" /> <paymentDate> <adjustableDate> <unadjustedDate>2001-11-23</unadjustedDate> <dateAdjustments> <businessDayConvention>NONE</businessDayConvention> </dateAdjustments> </adjustableDate> </paymentDate> <paymentAmount> <currency>USD</currency> <amount>26000</amount> </paymentAmount> <quote> <value>0.001</value> <quoteBasis>PercentageOfCallCurrencyAmount</quoteBasis> </quote> </premium> </fxOption> <fxOption id="fxOption2"> <buyerPartyReference href="party1" /> <sellerPartyReference href="party2" /> <europeanExercise> <expiryDate>2001-12-20</expiryDate> <expiryTime> <hourMinuteTime>14:00:00</hourMinuteTime> <businessCenter>USNY</businessCenter> </expiryTime> <cutName>NewYork</cutName> <valueDate>2001-12-24</valueDate> </europeanExercise> <putCurrencyAmount> <currency>USD</currency> <amount>26000000</amount> </putCurrencyAmount> <callCurrencyAmount> <currency>AUD</currency> <amount>50000000</amount> </callCurrencyAmount> <strike> <rate>0.5200</rate> <strikeQuoteBasis>PutCurrencyPerCallCurrency</strikeQuoteBasis> </strike> <premium> <payerPartyReference href="party1" /> <receiverPartyReference href="party2" /> <paymentDate> <adjustableDate> <unadjustedDate>2001-11-23</unadjustedDate> <dateAdjustments> <businessDayConvention>NONE</businessDayConvention> </dateAdjustments> </adjustableDate> </paymentDate> <paymentAmount> <currency>USD</currency> <amount>26000</amount> </paymentAmount> <quote> <value>0.001</value> <quoteBasis>PercentageOfPutCurrencyAmount</quoteBasis> </quote> </premium> </fxOption> </strategy> </trade> <party id="party1"> <partyId partyIdScheme="http://www.fpml.org/coding-scheme/external/iso17442">7H6GLXDRUGQFU57RNE97</partyId> <partyName>CHASE</partyName> </party> <party id="party2"> <partyId partyIdScheme="http://www.fpml.org/coding-scheme/external/iso17442">BFXS5XCH7N0Y05NIXW11</partyId> <partyName>ABN Amro</partyName> </party> </requestConfirmation>