UNPKG

interchange-schema-registry

Version:

A Global Schema Registry for Data Interchange formats

127 lines (126 loc) 5.57 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 12 Knockin Barrier FX Option == Trade Date : 2001-08-16 == Expiry Date : 2002-02-06 == Expiry Time : 10:00 == Option Buyer : DB == Option Seller : Party A == Single Barrier Option : 5m EUR call on 4.5m USD put @ 0.9 strike w/ knockin at 0.8975 == Option Premium : 45,000 USD == Premium Payment: 2001-08-20 == Value Date : 2002-02-08 == Business Center : New York == Reference Spot : 0.8935 == Trigger Rate : 0.8975 (option is knocked in when this price is hit) --> <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> <messageId messageIdScheme="http://www.partyA.com/coding-scheme/messageId">FX109876</messageId> <sentBy messageAddressScheme="http://www.partyA.com/partyId">PARTYAUS33</sentBy> <sendTo messageAddressScheme="http://www.partyA.com/partyId">DEUTDEFF</sendTo> <creationTimestamp>2001-08-16T08:57:00Z</creationTimestamp> </header> <isCorrection>false</isCorrection> <correlationId correlationIdScheme="http://www.partyA.com/coding-scheme/correlationId">FX01234</correlationId> <sequenceNumber>1</sequenceNumber> <trade> <tradeHeader> <partyTradeIdentifier> <partyReference href="party1" /> <tradeId tradeIdScheme="http://www.partyA.com/swaps/trade-id">PARTYAUS33</tradeId> </partyTradeIdentifier> <partyTradeIdentifier> <partyReference href="party2" /> <tradeId tradeIdScheme="http://www.db.com/swaps/trade-id">DEUTDEFF</tradeId> </partyTradeIdentifier> <tradeDate>2001-08-16</tradeDate> </tradeHeader> <fxOption> <buyerPartyReference href="party2" /> <sellerPartyReference href="party1" /> <!--FpML-5-0 Instead of 'exerciseStyle' Enum, created specific exercise type e.g. europeanExercise, americanExercise. 'expiryDateTime': 'expiryDate', 'expiryTime', 'cutName' and 'valueDate' was moved in here--> <europeanExercise> <expiryDate>2002-02-06</expiryDate> <expiryTime> <hourMinuteTime>10:00:00</hourMinuteTime> <businessCenter>USNY</businessCenter> </expiryTime> <valueDate>2002-02-08</valueDate> </europeanExercise> <putCurrencyAmount> <currency>USD</currency> <amount>4500000</amount> </putCurrencyAmount> <callCurrencyAmount> <currency>EUR</currency> <amount>5000000</amount> </callCurrencyAmount> <strike> <rate>0.9</rate> <strikeQuoteBasis>PutCurrencyPerCallCurrency</strikeQuoteBasis> </strike> <spotRate>0.8935</spotRate> <features> <barrier> <!--FpML 5-5, Deprecate 'ReverseKnockin' and 'ReverseKnockout' values for 'barrierType', and add 'direction'. --> <barrierType>Knockin</barrierType> <direction>Up</direction> <quotedCurrencyPair> <currency1>EUR</currency1> <currency2>USD</currency2> <quoteBasis>Currency2PerCurrency1</quoteBasis> </quotedCurrencyPair> <triggerRate>0.8975</triggerRate> <informationSource> <rateSource>Reuters</rateSource> <rateSourcePage>EUR=</rateSourcePage> </informationSource> <!--FpML 5-5, Add 'observationStartTime' and 'observationEndTime' and the ability to define a collection of obervation points to define a discrete observation schedule --> <!-- invalid rule fx-14: observationStartDate must be before observationEndDate. The correct value observationStartDate=2001-08-16 and observationEndDate = 2002-02-06--> <observationStartDate>2002-02-06</observationStartDate> <observationEndDate>2001-08-16</observationEndDate> <observationEndTime> <hourMinuteTime>10:00:00</hourMinuteTime> <businessCenter>USNY</businessCenter> </observationEndTime> </barrier> </features> <premium> <payerPartyReference href="party2" /> <receiverPartyReference href="party1" /> <paymentDate> <adjustableDate> <unadjustedDate>2001-11-06</unadjustedDate> <dateAdjustments> <businessDayConvention>NONE</businessDayConvention> </dateAdjustments> </adjustableDate> </paymentDate> <paymentAmount> <currency>USD</currency> <amount>45000</amount> </paymentAmount> </premium> </fxOption> </trade> <party id="party1"> <partyId partyIdScheme="http://www.fpml.org/coding-scheme/external/iso17442">549300VBWWV6BYQOWM67</partyId> </party> <party id="party2"> <partyId partyIdScheme="http://www.fpml.org/coding-scheme/external/iso17442">213800QILIUD4ROSUO03</partyId> </party> </requestConfirmation>