+	     }((1457d25c281fe509f0bd1183032a372a1651cb3d}(sha(1457d25c281fe509f0bd1183032a372a1651cb3dnode_idEC_kwDOAT6l0doAKDE0NTdkMjVjMjgxZmU1MDlmMGJkMTE4MzAzMmEzNzJhMTY1MWNiM2Qcommit}(author}(nameGeorge Vafiadisemailgvafiadis@gmail.comdate2023-03-24T15:22:40Zu	committer}(hGeorge Vafiadish
gvafiadis@gmail.comh2023-03-24T15:22:40ZumessageFixed issue with schedule calculation returning duplicate adjusted dates when combinePeriodsIfNecessary is true. Fixed styling issues.tree}(h(c3c5f272b6e73a12d2910fe648decb08f48da2fdurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/c3c5f272b6e73a12d2910fe648decb08f48da2fduhbhttps://api.github.com/repos/OpenGamma/Strata/git/commits/1457d25c281fe509f0bd1183032a372a1651cb3d
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuh^https://api.github.com/repos/OpenGamma/Strata/commits/1457d25c281fe509f0bd1183032a372a1651cb3dhtml_urlShttps://github.com/OpenGamma/Strata/commit/1457d25c281fe509f0bd1183032a372a1651cb3dcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/1457d25c281fe509f0bd1183032a372a1651cb3d/commentsh	}(logingvafidJh hMDQ6VXNlcjE1NzcwMg==
avatar_url2https://avatars.githubusercontent.com/u/157702?v=4gravatar_id h!https://api.github.com/users/gvafh'https://github.com/gvaf
followers_url+https://api.github.com/users/gvaf/followers
following_url8https://api.github.com/users/gvaf/following{/other_user}	gists_url1https://api.github.com/users/gvaf/gists{/gist_id}starred_url8https://api.github.com/users/gvaf/starred{/owner}{/repo}subscriptions_url/https://api.github.com/users/gvaf/subscriptionsorganizations_url&https://api.github.com/users/gvaf/orgs	repos_url'https://api.github.com/users/gvaf/repos
events_url2https://api.github.com/users/gvaf/events{/privacy}received_events_url1https://api.github.com/users/gvaf/received_eventstypeUser
site_adminuh}(h,gvafh.Jh hMDQ6VXNlcjE1NzcwMg==h02https://avatars.githubusercontent.com/u/157702?v=4h2h3h!https://api.github.com/users/gvafh'https://github.com/gvafh6+https://api.github.com/users/gvaf/followersh88https://api.github.com/users/gvaf/following{/other_user}h:1https://api.github.com/users/gvaf/gists{/gist_id}h<8https://api.github.com/users/gvaf/starred{/owner}{/repo}h>/https://api.github.com/users/gvaf/subscriptionsh@&https://api.github.com/users/gvaf/orgshB'https://api.github.com/users/gvaf/reposhD2https://api.github.com/users/gvaf/events{/privacy}hF1https://api.github.com/users/gvaf/received_eventshHUserhJuparents]}(h(36daee7a40cee7b99d757521135e0d246e8265bah^https://api.github.com/repos/OpenGamma/Strata/commits/36daee7a40cee7b99d757521135e0d246e8265bah'Shttps://github.com/OpenGamma/Strata/commit/36daee7a40cee7b99d757521135e0d246e8265bauastats}(totalK	additionsK	deletionsKufiles]}(h(c7154225984fd4f2e8d3ef8dfbd4dd7cf300a458filename[modules/basics/src/test/java/com/opengamma/strata/basics/schedule/PeriodicScheduleTest.javastatusmodifiedhdKheKchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/1457d25c281fe509f0bd1183032a372a1651cb3d/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fschedule%2FPeriodicScheduleTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/1457d25c281fe509f0bd1183032a372a1651cb3d/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fschedule%2FPeriodicScheduleTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fschedule%2FPeriodicScheduleTest.java?ref=1457d25c281fe509f0bd1183032a372a1651cb3dpatchX  @@ -1328,18 +1328,16 @@ public LocalDate next(LocalDate date, Frequency frequency) {
         .withMessageMatching(".*duplicate unadjusted dates.*");
   }
 
-
   //-------------------------------------------------------------------------
   @Test
   public void test_of_schedule_with_combinePeriodsIfNecessary() {
     LocalDate startDate = LocalDate.of(2022, 12, 1);
     LocalDate endDate = LocalDate.of(2022, 12, 31);
-    BusinessDayAdjustment BDA = BusinessDayAdjustment.of(FOLLOWING, SAT_SUN);
     PeriodicSchedule scheduleDefinition = PeriodicSchedule.builder()
             .startDate(startDate)
             .endDate(endDate)
             .frequency(Frequency.P1D)
-            .businessDayAdjustment(BDA)
+            .businessDayAdjustment(BusinessDayAdjustment.of(FOLLOWING, SAT_SUN))
             .build();
     Schedule schedule = scheduleDefinition.createSchedule(REF_DATA, true);
     assertThat(schedule.size()).isEqualTo(22);uau(2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88a}(sha(2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88anode_idEC_kwDOAT6l0doAKDJlOGE5YWE1YTgzY2RiNjUzY2U1YjBmNmM3ZWMyYzkxNmMwZGU4OGEcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-05T09:43:42Zu	committer}(h
johannesOGh,86783068+johannesOG@users.noreply.github.comh2023-07-05T09:43:42ZumessageDeactive Libor curvestree}(hy(f06d304aa4db2e6eb34dd6923344a6dbf790c0cburl`https://api.github.com/repos/OpenGamma/Strata/git/trees/f06d304aa4db2e6eb34dd6923344a6dbf790c0cbuhbhttps://api.github.com/repos/OpenGamma/Strata/git/commits/2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88a
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuh^https://api.github.com/repos/OpenGamma/Strata/commits/2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88ahtml_urlShttps://github.com/OpenGamma/Strata/commit/2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88a/commentsh}(login
johannesOGidJ\4,h{MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3h'https://api.github.com/users/johannesOGhhttps://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminuh}(h
johannesOGhJ\4,h{MDQ6VXNlcjg2NzgzMDY4h4https://avatars.githubusercontent.com/u/86783068?v=4hh3h'https://api.github.com/users/johannesOGhhttps://github.com/johannesOGh1https://api.github.com/users/johannesOG/followersh>https://api.github.com/users/johannesOG/following{/other_user}h7https://api.github.com/users/johannesOG/gists{/gist_id}h>https://api.github.com/users/johannesOG/starred{/owner}{/repo}h5https://api.github.com/users/johannesOG/subscriptionsh,https://api.github.com/users/johannesOG/orgsh-https://api.github.com/users/johannesOG/reposh8https://api.github.com/users/johannesOG/events{/privacy}h7https://api.github.com/users/johannesOG/received_eventshUserhuparents]}(hy(3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5ch^https://api.github.com/repos/OpenGamma/Strata/commits/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5chShttps://github.com/OpenGamma/Strata/commit/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cuastats}(totalK<	additionsK	deletionsKufiles]}(hy(6cce54d0a6dfef9fe10e53f3488c025f2035dd4bfilename]modules/basics/src/main/resources/META-INF/com/opengamma/strata/config/base/IborIndexData.csvstatusmodifiedhKhKchangesK<blob_urlhttps://github.com/OpenGamma/Strata/blob/2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88a/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FIborIndexData.csvraw_urlhttps://github.com/OpenGamma/Strata/raw/2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88a/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FIborIndexData.csvcontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FIborIndexData.csv?ref=2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88apatchX ,  @@ -1,19 +1,19 @@
 Name,Currency,Active,Day Count,Fixing Calendar,Offset Days,Offset Calendar,Effective Date Calendar,Tenor,Tenor Convention,FixingTime,FixingZone,Fixed Leg Day Count
 ,,,,,,,,,,,,
-GBP-LIBOR-1W,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,1W,Following,11:55,Europe/London,Act/365F
+GBP-LIBOR-1W,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,1W,Following,11:55,Europe/London,Act/365F
 GBP-LIBOR-2W,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,2W,Following,11:55,Europe/London,Act/365F
-GBP-LIBOR-1M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,1M,LastBusinessDay,11:55,Europe/London,Act/365F
-GBP-LIBOR-2M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,2M,LastBusinessDay,11:55,Europe/London,Act/365F
-GBP-LIBOR-3M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,3M,LastBusinessDay,11:55,Europe/London,Act/365F
+GBP-LIBOR-1M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,1M,LastBusinessDay,11:55,Europe/London,Act/365F
+GBP-LIBOR-2M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,2M,LastBusinessDay,11:55,Europe/London,Act/365F
+GBP-LIBOR-3M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,3M,LastBusinessDay,11:55,Europe/London,Act/365F
 GBP-LIBOR-4M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,4M,LastBusinessDay,11:55,Europe/London,Act/365F
 GBP-LIBOR-5M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,5M,LastBusinessDay,11:55,Europe/London,Act/365F
-GBP-LIBOR-6M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,6M,LastBusinessDay,11:55,Europe/London,Act/365F
+GBP-LIBOR-6M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,6M,LastBusinessDay,11:55,Europe/London,Act/365F
 GBP-LIBOR-7M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,7M,LastBusinessDay,11:55,Europe/London,Act/365F
 GBP-LIBOR-8M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,8M,LastBusinessDay,11:55,Europe/London,Act/365F
 GBP-LIBOR-9M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,9M,LastBusinessDay,11:55,Europe/London,Act/365F
 GBP-LIBOR-10M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,10M,LastBusinessDay,11:55,Europe/London,Act/365F
 GBP-LIBOR-11M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,11M,LastBusinessDay,11:55,Europe/London,Act/365F
-GBP-LIBOR-12M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,12M,LastBusinessDay,11:55,Europe/London,Act/365F
+GBP-LIBOR-12M,GBP,FALSE,Act/365F,GBLO,0,GBLO,GBLO,12M,LastBusinessDay,11:55,Europe/London,Act/365F
 ,,,,,,,,,,,,
 GBP-SONIAICETERM-1M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,1M,LastBusinessDay,11:55,Europe/London,Act/365F
 GBP-SONIAICETERM-3M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,3M,LastBusinessDay,11:55,Europe/London,Act/365F
@@ -25,69 +25,69 @@ GBP-SONIAREFINITIVTERM-3M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,3M,LastBusinessDay,
 GBP-SONIAREFINITIVTERM-6M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,6M,LastBusinessDay,11:55,Europe/London,Act/365F
 GBP-SONIAREFINITIVTERM-12M,GBP,TRUE,Act/365F,GBLO,0,GBLO,GBLO,12M,LastBusinessDay,11:55,Europe/London,Act/365F
 ,,,,,,,,,,,,
-CHF-LIBOR-1W,CHF,TRUE,Act/360,GBLO,2,GBLO,GBLO+CHZU,1W,Following,11:55,Europe/London,30U/360
+CHF-LIBOR-1W,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,1W,Following,11:55,Europe/London,30U/360
 CHF-LIBOR-2W,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,2W,Following,11:55,Europe/London,30U/360
-CHF-LIBOR-1M,CHF,TRUE,Act/360,GBLO,2,GBLO,GBLO+CHZU,1M,LastBusinessDay,11:55,Europe/London,30U/360
-CHF-LIBOR-2M,CHF,TRUE,Act/360,GBLO,2,GBLO,GBLO+CHZU,2M,LastBusinessDay,11:55,Europe/London,30U/360
-CHF-LIBOR-3M,CHF,TRUE,Act/360,GBLO,2,GBLO,GBLO+CHZU,3M,LastBusinessDay,11:55,Europe/London,30U/360
+CHF-LIBOR-1M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,1M,LastBusinessDay,11:55,Europe/London,30U/360
+CHF-LIBOR-2M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,2M,LastBusinessDay,11:55,Europe/London,30U/360
+CHF-LIBOR-3M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,3M,LastBusinessDay,11:55,Europe/London,30U/360
 CHF-LIBOR-4M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,4M,LastBusinessDay,11:55,Europe/London,30U/360
 CHF-LIBOR-5M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,5M,LastBusinessDay,11:55,Europe/London,30U/360
-CHF-LIBOR-6M,CHF,TRUE,Act/360,GBLO,2,GBLO,GBLO+CHZU,6M,LastBusinessDay,11:55,Europe/London,30U/360
+CHF-LIBOR-6M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,6M,LastBusinessDay,11:55,Europe/London,30U/360
 CHF-LIBOR-7M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,7M,LastBusinessDay,11:55,Europe/London,30U/360
 CHF-LIBOR-8M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,8M,LastBusinessDay,11:55,Europe/London,30U/360
 CHF-LIBOR-9M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,9M,LastBusinessDay,11:55,Europe/London,30U/360
 CHF-LIBOR-10M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,10M,LastBusinessDay,11:55,Europe/London,30U/360
 CHF-LIBOR-11M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,11M,LastBusinessDay,11:55,Europe/London,30U/360
-CHF-LIBOR-12M,CHF,TRUE,Act/360,GBLO,2,GBLO,GBLO+CHZU,12M,LastBusinessDay,11:55,Europe/London,30U/360
+CHF-LIBOR-12M,CHF,FALSE,Act/360,GBLO,2,GBLO,GBLO+CHZU,12M,LastBusinessDay,11:55,Europe/London,30U/360
 ,,,,,,,,,,,,
-EUR-LIBOR-1W,EUR,TRUE,Act/360,GBLO,2,EUTA,EUTA,1W,Following,11:55,Europe/London,30U/360
+EUR-LIBOR-1W,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,1W,Following,11:55,Europe/London,30U/360
 EUR-LIBOR-2W,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,2W,Following,11:55,Europe/London,30U/360
-EUR-LIBOR-1M,EUR,TRUE,Act/360,GBLO,2,EUTA,EUTA,1M,LastBusinessDay,11:55,Europe/London,30U/360
-EUR-LIBOR-2M,EUR,TRUE,Act/360,GBLO,2,EUTA,EUTA,2M,LastBusinessDay,11:55,Europe/London,30U/360
-EUR-LIBOR-3M,EUR,TRUE,Act/360,GBLO,2,EUTA,EUTA,3M,LastBusinessDay,11:55,Europe/London,30U/360
+EUR-LIBOR-1M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,1M,LastBusinessDay,11:55,Europe/London,30U/360
+EUR-LIBOR-2M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,2M,LastBusinessDay,11:55,Europe/London,30U/360
+EUR-LIBOR-3M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,3M,LastBusinessDay,11:55,Europe/London,30U/360
 EUR-LIBOR-4M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,4M,LastBusinessDay,11:55,Europe/London,30U/360
 EUR-LIBOR-5M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,5M,LastBusinessDay,11:55,Europe/London,30U/360
-EUR-LIBOR-6M,EUR,TRUE,Act/360,GBLO,2,EUTA,EUTA,6M,LastBusinessDay,11:55,Europe/London,30U/360
+EUR-LIBOR-6M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,6M,LastBusinessDay,11:55,Europe/London,30U/360
 EUR-LIBOR-7M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,7M,LastBusinessDay,11:55,Europe/London,30U/360
 EUR-LIBOR-8M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,8M,LastBusinessDay,11:55,Europe/London,30U/360
 EUR-LIBOR-9M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,9M,LastBusinessDay,11:55,Europe/London,30U/360
 EUR-LIBOR-10M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,10M,LastBusinessDay,11:55,Europe/London,30U/360
 EUR-LIBOR-11M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,11M,LastBusinessDay,11:55,Europe/London,30U/360
-EUR-LIBOR-12M,EUR,TRUE,Act/360,GBLO,2,EUTA,EUTA,12M,LastBusinessDay,11:55,Europe/London,30U/360
+EUR-LIBOR-12M,EUR,FALSE,Act/360,GBLO,2,EUTA,EUTA,12M,LastBusinessDay,11:55,Europe/London,30U/360
 ,,,,,,,,,,,,
-JPY-LIBOR-1W,JPY,TRUE,Act/360,GBLO,2,GBLO,GBLO+JPTO,1W,Following,11:55,Europe/London,Act/365F
+JPY-LIBOR-1W,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,1W,Following,11:55,Europe/London,Act/365F
 JPY-LIBOR-2W,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,2W,Following,11:55,Europe/London,Act/365F
-JPY-LIBOR-1M,JPY,TRUE,Act/360,GBLO,2,GBLO,GBLO+JPTO,1M,LastBusinessDay,11:55,Europe/London,Act/365F
-JPY-LIBOR-2M,JPY,TRUE,Act/360,GBLO,2,GBLO,GBLO+JPTO,2M,LastBusinessDay,11:55,Europe/London,Act/365F
-JPY-LIBOR-3M,JPY,TRUE,Act/360,GBLO,2,GBLO,GBLO+JPTO,3M,LastBusinessDay,11:55,Europe/London,Act/365F
+JPY-LIBOR-1M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,1M,LastBusinessDay,11:55,Europe/London,Act/365F
+JPY-LIBOR-2M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,2M,LastBusinessDay,11:55,Europe/London,Act/365F
+JPY-LIBOR-3M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,3M,LastBusinessDay,11:55,Europe/London,Act/365F
 JPY-LIBOR-4M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,4M,LastBusinessDay,11:55,Europe/London,Act/365F
 JPY-LIBOR-5M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,5M,LastBusinessDay,11:55,Europe/London,Act/365F
-JPY-LIBOR-6M,JPY,TRUE,Act/360,GBLO,2,GBLO,GBLO+JPTO,6M,LastBusinessDay,11:55,Europe/London,Act/365F
+JPY-LIBOR-6M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,6M,LastBusinessDay,11:55,Europe/London,Act/365F
 JPY-LIBOR-7M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,7M,LastBusinessDay,11:55,Europe/London,Act/365F
 JPY-LIBOR-8M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,8M,LastBusinessDay,11:55,Europe/London,Act/365F
 JPY-LIBOR-9M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,9M,LastBusinessDay,11:55,Europe/London,Act/365F
 JPY-LIBOR-10M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,10M,LastBusinessDay,11:55,Europe/London,Act/365F
 JPY-LIBOR-11M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,11M,LastBusinessDay,11:55,Europe/London,Act/365F
-JPY-LIBOR-12M,JPY,TRUE,Act/360,GBLO,2,GBLO,GBLO+JPTO,12M,LastBusinessDay,11:55,Europe/London,Act/365F
+JPY-LIBOR-12M,JPY,FALSE,Act/360,GBLO,2,GBLO,GBLO+JPTO,12M,LastBusinessDay,11:55,Europe/London,Act/365F
 ,,,,,,,,,,,,
 JPY-TORF-1M,JPY,TRUE,Act/365F,JPTO,2,JPTO,JPTO,1M,LastBusinessDay,15:00,Asia/Tokyo,Act/365F
 JPY-TORF-3M,JPY,TRUE,Act/365F,JPTO,2,JPTO,JPTO,3M,LastBusinessDay,15:00,Asia/Tokyo,Act/365F
 JPY-TORF-6M,JPY,TRUE,Act/365F,JPTO,2,JPTO,JPTO,6M,LastBusinessDay,15:00,Asia/Tokyo,Act/365F
 ,,,,,,,,,,,,
-USD-LIBOR-1W,USD,TRUE,Act/360,GBLO,2,GBLO,GBLO+USNY,1W,Following,11:55,Europe/London,Act/360
+USD-LIBOR-1W,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,1W,Following,11:55,Europe/London,Act/360
 USD-LIBOR-2W,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,2W,Following,11:55,Europe/London,Act/360
-USD-LIBOR-1M,USD,TRUE,Act/360,GBLO,2,GBLO,GBLO+USNY,1M,LastBusinessDay,11:55,Europe/London,Act/360
-USD-LIBOR-2M,USD,TRUE,Act/360,GBLO,2,GBLO,GBLO+USNY,2M,LastBusinessDay,11:55,Europe/London,Act/360
-USD-LIBOR-3M,USD,TRUE,Act/360,GBLO,2,GBLO,GBLO+USNY,3M,LastBusinessDay,11:55,Europe/London,Act/360
+USD-LIBOR-1M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,1M,LastBusinessDay,11:55,Europe/London,Act/360
+USD-LIBOR-2M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,2M,LastBusinessDay,11:55,Europe/London,Act/360
+USD-LIBOR-3M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,3M,LastBusinessDay,11:55,Europe/London,Act/360
 USD-LIBOR-4M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,4M,LastBusinessDay,11:55,Europe/London,Act/360
 USD-LIBOR-5M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,5M,LastBusinessDay,11:55,Europe/London,Act/360
-USD-LIBOR-6M,USD,TRUE,Act/360,GBLO,2,GBLO,GBLO+USNY,6M,LastBusinessDay,11:55,Europe/London,Act/360
+USD-LIBOR-6M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,6M,LastBusinessDay,11:55,Europe/London,Act/360
 USD-LIBOR-7M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,7M,LastBusinessDay,11:55,Europe/London,Act/360
 USD-LIBOR-8M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,8M,LastBusinessDay,11:55,Europe/London,Act/360
 USD-LIBOR-9M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,9M,LastBusinessDay,11:55,Europe/London,Act/360
 USD-LIBOR-10M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,10M,LastBusinessDay,11:55,Europe/London,Act/360
 USD-LIBOR-11M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,11M,LastBusinessDay,11:55,Europe/London,Act/360
-USD-LIBOR-12M,USD,TRUE,Act/360,GBLO,2,GBLO,GBLO+USNY,12M,LastBusinessDay,11:55,Europe/London,Act/360
+USD-LIBOR-12M,USD,FALSE,Act/360,GBLO,2,GBLO,GBLO+USNY,12M,LastBusinessDay,11:55,Europe/London,Act/360
 ,,,,,,,,,,,,
 USD-BSBY-1M,USD,TRUE,Act/360,USGS,2,USGS,USGS,1M,LastBusinessDay,08:00,America/New_York,Act/360
 USD-BSBY-3M,USD,TRUE,Act/360,USGS,2,USGS,USGS,3M,LastBusinessDay,08:00,America/New_York,Act/360
uau(a9addd6679db4e3cf136f66909ff662b1d1b4036}(sha(a9addd6679db4e3cf136f66909ff662b1d1b4036node_idEC_kwDOAT6l0doAKGE5YWRkZDY2NzlkYjRlM2NmMTM2ZjY2OTA5ZmY2NjJiMWQxYjQwMzYcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-09T12:16:38Zu	committer}(hAkshai Shahh#akshaishah@users.noreply.github.comh2023-03-09T12:16:38ZumessageUpdate commenttree}(h(ecdcc65f0fe4b87b29bb7dad0f3ca315e333f468url`https://api.github.com/repos/OpenGamma/Strata/git/trees/ecdcc65f0fe4b87b29bb7dad0f3ca315e333f468uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a9addd6679db4e3cf136f66909ff662b1d1b4036
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/a9addd6679db4e3cf136f66909ff662b1d1b4036html_urlShttps://github.com/OpenGamma/Strata/commit/a9addd6679db4e3cf136f66909ff662b1d1b4036comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a9addd6679db4e3cf136f66909ff662b1d1b4036/commentsh}(login
akshaishahidJd
 hMDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j  'https://api.github.com/users/akshaishahj  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuh}(j  
akshaishahj  Jd
 hMDQ6VXNlcjE5MDM5NzI=j  3https://avatars.githubusercontent.com/u/1903972?v=4j  h3j  'https://api.github.com/users/akshaishahj  https://github.com/akshaishahj   1https://api.github.com/users/akshaishah/followersj"  >https://api.github.com/users/akshaishah/following{/other_user}j$  7https://api.github.com/users/akshaishah/gists{/gist_id}j&  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j(  5https://api.github.com/users/akshaishah/subscriptionsj*  ,https://api.github.com/users/akshaishah/orgsj,  -https://api.github.com/users/akshaishah/reposj.  8https://api.github.com/users/akshaishah/events{/privacy}j0  7https://api.github.com/users/akshaishah/received_eventsj2  Userj4  uparents]}(h(1b41c06f9a12ba43aa2968bbae913e28df9e6f6aj  ^https://api.github.com/repos/OpenGamma/Strata/commits/1b41c06f9a12ba43aa2968bbae913e28df9e6f6aj  Shttps://github.com/OpenGamma/Strata/commit/1b41c06f9a12ba43aa2968bbae913e28df9e6f6auastats}(totalK	additionsK	deletionsKufiles]}(h(e84395b7a20b1d3f8d1f303a2ab9a234d440fd0bfilenameImodules/collect/src/main/java/com/opengamma/strata/collect/io/CsvRow.javastatusmodifiedjN  KjO  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/a9addd6679db4e3cf136f66909ff662b1d1b4036/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/a9addd6679db4e3cf136f66909ff662b1d1b4036/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.java?ref=a9addd6679db4e3cf136f66909ff662b1d1b4036patchX  @@ -266,7 +266,7 @@ public Optional<String> findField(Pattern headerPattern) {
    *
    * @param header  the column header
    * @return the field value, trimmed unless surrounded by quotes
-   * @throws IllegalArgumentException if the header is not found or if the value in the field is empty.
+   * @throws ParseFailureException if the header is not found or if the value in the field is empty.
    */
   public String getValue(String header) {
     String value = getField(header);uau(6653262414e66a1476af69449ec42a76e33f3214}(sha(6653262414e66a1476af69449ec42a76e33f3214node_idEC_kwDOAT6l0doAKDY2NTMyNjI0MTRlNjZhMTQ3NmFmNjk0NDllYzQyYTc2ZTMzZjMyMTQcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-05-31T14:58:43Zu	committer}(jk  opengammacibotjm  cibot@opengamma.comjo  2023-05-31T14:58:43Zumessage=[maven-release-plugin] prepare for next development iterationtree}(jc  (3035813c851b6aa3f6d15e2914d89814e4c118cburl`https://api.github.com/repos/OpenGamma/Strata/git/trees/3035813c851b6aa3f6d15e2914d89814e4c118cbuj{  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/6653262414e66a1476af69449ec42a76e33f3214
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj{  ^https://api.github.com/repos/OpenGamma/Strata/commits/6653262414e66a1476af69449ec42a76e33f3214html_urlShttps://github.com/OpenGamma/Strata/commit/6653262414e66a1476af69449ec42a76e33f3214comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/6653262414e66a1476af69449ec42a76e33f3214/commentsji  }(loginopengammacibotidJq je  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j{  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminujq  }(j  opengammacibotj  Jq je  MDQ6VXNlcjc0NTAyODE=j  3https://avatars.githubusercontent.com/u/7450281?v=4j  h3j{  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibotj  5https://api.github.com/users/opengammacibot/followersj  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j  9https://api.github.com/users/opengammacibot/subscriptionsj  0https://api.github.com/users/opengammacibot/orgsj  1https://api.github.com/users/opengammacibot/reposj  <https://api.github.com/users/opengammacibot/events{/privacy}j  ;https://api.github.com/users/opengammacibot/received_eventsj  Userj  uparents]}(jc  (1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj{  ^https://api.github.com/repos/OpenGamma/Strata/commits/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj  Shttps://github.com/OpenGamma/Strata/commit/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcuastats}(totalK$	additionsK	deletionsKufiles](}(jc  (06f40f910875539d5012a71f3f316ca4548520d7filenameexamples/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.25</version>
+  <version>2.12.26-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,8 +272,4 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
-
-  <scm>
-    <tag>v2.12.25</tag>
-  </scm>
 </project>u}(jc  (1dcbfe95d8822b948e507ce3f26d53eb9a03f6b0j  modules/basics/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fbasics%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fbasics%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(jc  (f1d9da097f84c9b71c0b29c9c9163a50d4dc9ffaj  modules/calc/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fcalc%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fcalc%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(jc  (86210c7f1231e1e0995d83e70a6923b0762d8961j  modules/collect/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fcollect%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fcollect%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(jc  (4c26454a63fc80bdfe80b35f02f14bc1d3387affj  modules/data/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fdata%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fdata%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(jc  (34c7b1224a0585c3229fbea4f87e697f17411bb6j  modules/loader/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Floader%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Floader%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(jc  (e2468a854819ee9bce659b9df5c4ce40463e9064j  modules/market/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fmarket%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fmarket%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(jc  (8f461479b794141a54dd06bf47cc76a378bfd302j  modules/math/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fmath%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fmath%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(jc  (4e74f5535f2cb3909edd7242c51241f64aea3eb5j  modules/measure/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fmeasure%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fmeasure%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(jc  (0b7de398f7d229df351732e0774d2cc8955ee4aej  modules/pom.xmlj  modifiedj  Kj  Kj  Kj  chttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fpom.xmlj  bhttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fpom.xmlj  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.25</version>
+  <version>2.12.26-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.25</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(jc  (801a7fd71ed4131521cce3c9e00b65acbbbb1dfdj  modules/pricer/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fpricer%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fpricer%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(jc  (be38b91efbc1c73385647a849df5699ed205d6f6j  modules/product/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fproduct%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Fproduct%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(jc  (f53fcfed47616976453da385d742dda708095a95j  modules/report/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/modules%2Freport%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/modules%2Freport%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(jc  (a92bc410bb2df6867f43acc3ab26a6aeb105866bj  pom.xmlj  modifiedj  Kj  Kj  Kj  Yhttps://github.com/OpenGamma/Strata/blob/6653262414e66a1476af69449ec42a76e33f3214/pom.xmlj  Xhttps://github.com/OpenGamma/Strata/raw/6653262414e66a1476af69449ec42a76e33f3214/pom.xmlj  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=6653262414e66a1476af69449ec42a76e33f3214j  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.25</version>
+  <version>2.12.26-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.25</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(59a10e3ae1ea4c37ef6245cdb289f196177ed30b}(sha(59a10e3ae1ea4c37ef6245cdb289f196177ed30bnode_idEC_kwDOAT6l0doAKDU5YTEwZTNhZTFlYTRjMzdlZjYyNDVjZGIyODlmMTk2MTc3ZWQzMGIcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-16T12:36:42Zu	committer}(jH  yukiiwashitajJ  %yukiiwashita@users.noreply.github.comjL  2023-05-16T12:36:42Zumessagezero discount factors restoredtree}(j@  (7b8614f0a0026fcf3d3b0570ac26b8c895b5c737url`https://api.github.com/repos/OpenGamma/Strata/git/trees/7b8614f0a0026fcf3d3b0570ac26b8c895b5c737ujX  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/59a10e3ae1ea4c37ef6245cdb289f196177ed30b
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujX  ^https://api.github.com/repos/OpenGamma/Strata/commits/59a10e3ae1ea4c37ef6245cdb289f196177ed30bhtml_urlShttps://github.com/OpenGamma/Strata/commit/59a10e3ae1ea4c37ef6245cdb289f196177ed30bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/59a10e3ae1ea4c37ef6245cdb289f196177ed30b/commentsjF  }(loginyukiiwashitaidJ- jB  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3jX  )https://api.github.com/users/yukiiwashitajd  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminujN  }(ji  yukiiwashitajk  J- jB  MDQ6VXNlcjMwMDY2NTY=jm  3https://avatars.githubusercontent.com/u/3006656?v=4jo  h3jX  )https://api.github.com/users/yukiiwashitajd  https://github.com/yukiiwashitajr  3https://api.github.com/users/yukiiwashita/followersjt  @https://api.github.com/users/yukiiwashita/following{/other_user}jv  9https://api.github.com/users/yukiiwashita/gists{/gist_id}jx  @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}jz  7https://api.github.com/users/yukiiwashita/subscriptionsj|  .https://api.github.com/users/yukiiwashita/orgsj~  /https://api.github.com/users/yukiiwashita/reposj  :https://api.github.com/users/yukiiwashita/events{/privacy}j  9https://api.github.com/users/yukiiwashita/received_eventsj  Userj  uparents]}(j@  (669617b66b211a7fbe3a23cc6f677494ec190d4djX  ^https://api.github.com/repos/OpenGamma/Strata/commits/669617b66b211a7fbe3a23cc6f677494ec190d4djd  Shttps://github.com/OpenGamma/Strata/commit/669617b66b211a7fbe3a23cc6f677494ec190d4duastats}(totalK
	additionsK		deletionsKufiles](}(j@  (026df4a31c7feac3a5223d7b0722e275e512e0ecfilenameMmodules/pricer/src/main/java/com/opengamma/strata/pricer/DiscountFactors.javastatusmodifiedj  Kj  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/59a10e3ae1ea4c37ef6245cdb289f196177ed30b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/59a10e3ae1ea4c37ef6245cdb289f196177ed30b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.java?ref=59a10e3ae1ea4c37ef6245cdb289f196177ed30bpatchXK  @@ -5,6 +5,8 @@
  */
 package com.opengamma.strata.pricer;
 
+import static com.opengamma.strata.pricer.ZeroRatePeriodicDiscountFactors.EFFECTIVE_ZERO;
+
 import java.time.LocalDate;
 import java.util.Optional;
 
@@ -184,6 +186,9 @@ public default double discountFactorWithSpread(
       CompoundedRateType compoundedRateType,
       int periodsPerYear) {
 
+    if (yearFraction < EFFECTIVE_ZERO) {
+      return 1d;
+    }
     double df = discountFactor(yearFraction);
     if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {
       ArgChecker.notNegativeOrZero(periodsPerYear, "periodPerYear");
@@ -414,6 +419,9 @@ public default ZeroRateSensitivity zeroRatePointSensitivityWithSpread(
       CompoundedRateType compoundedRateType,
       int periodsPerYear) {
 
+    if (yearFraction <= EFFECTIVE_ZERO) {
+      return ZeroRateSensitivity.of(getCurrency(), yearFraction, sensitivityCurrency, 0d);
+    }
     ZeroRateSensitivity sensi = zeroRatePointSensitivity(yearFraction, sensitivityCurrency);
     double factor;
     if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {u}(j@  (dd7560507d37197bed5edaeda8b253af4d0a33f6j  ]modules/pricer/src/main/java/com/opengamma/strata/pricer/ZeroRatePeriodicDiscountFactors.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/59a10e3ae1ea4c37ef6245cdb289f196177ed30b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRatePeriodicDiscountFactors.javaj  https://github.com/OpenGamma/Strata/raw/59a10e3ae1ea4c37ef6245cdb289f196177ed30b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRatePeriodicDiscountFactors.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRatePeriodicDiscountFactors.java?ref=59a10e3ae1ea4c37ef6245cdb289f196177ed30bj  X&  @@ -56,7 +56,7 @@ public final class ZeroRatePeriodicDiscountFactors
   /**
    * Year fraction used as an effective zero.
    */
-  private static final double EFFECTIVE_ZERO = 1e-10;
+  static final double EFFECTIVE_ZERO = 1e-10;
 
   /**
    * The currency that the discount factors are for.ueu(5895129011c32f292e08b5a3ac0439aeefcbaa03}(sha(5895129011c32f292e08b5a3ac0439aeefcbaa03node_idEC_kwDOAT6l0doAKDU4OTUxMjkwMTFjMzJmMjkyZTA4YjVhM2FjMDQzOWFlZWZjYmFhMDMcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-06-08T10:51:54Zu	committer}(j  GitHubj  noreply@github.comj  2023-06-08T10:51:54ZumessageX  Bump joda-beans from 2.8.3 to 2.9.2

Bumps joda-beans from 2.8.3 to 2.9.2.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j  (98cc5899e668773a35469bf3b78b1d755dbfbb2durl`https://api.github.com/repos/OpenGamma/Strata/git/trees/98cc5899e668773a35469bf3b78b1d755dbfbb2duj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/5895129011c32f292e08b5a3ac0439aeefcbaa03
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkgbLKCRBK7hj4Ov3rIwAAkpYIAE/IFcj4DPvTETRL1x79Kyke
0041GZk9I5Rp7TfEIufLwXUSprW0rCsVeyUaZqLvd1JrOD6AWOUq0jP31Ll46Cu4
qwyuB46UqKsv6DaG2xHTxmCJ8DLRD8oMbRet0bw1+Uqu5ZYCftBctN/5+knNFi/k
yAgJZa0ffPIjOQHG5E6HD+m/JF/ly945t75qkDHBCQC7iiGDwV1ZBv3CnzXncXqQ
F+iYbQ+liKg5WsUFZhu+M4IMM84GSV59AHYzmphDy1Nz1tSxPs1QnVVOGyhM3qPS
P6JX31ZT+5n4r3fRu5lUIhvPeLfSptZKLFfl3NRRHINclFoIXxC7+vpsRP8hiRo=
=B9X9
-----END PGP SIGNATURE-----
payloadX  tree 98cc5899e668773a35469bf3b78b1d755dbfbb2d
parent 35ee2b76b1d5da41774e5039bd03e51366dc4a47
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1686221514 +0000
committer GitHub <noreply@github.com> 1686221514 +0000

Bump joda-beans from 2.8.3 to 2.9.2

Bumps joda-beans from 2.8.3 to 2.9.2.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/5895129011c32f292e08b5a3ac0439aeefcbaa03html_urlShttps://github.com/OpenGamma/Strata/commit/5895129011c32f292e08b5a3ac0439aeefcbaa03comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/5895129011c32f292e08b5a3ac0439aeefcbaa03/commentsj  }(logindependabot[bot]idJZj  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j  0https://api.github.com/users/dependabot%5Bbot%5Dj  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj  }(j  web-flowj  J/j  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3j  %https://api.github.com/users/web-flowj  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(j  (35ee2b76b1d5da41774e5039bd03e51366dc4a47j  ^https://api.github.com/repos/OpenGamma/Strata/commits/35ee2b76b1d5da41774e5039bd03e51366dc4a47j  Shttps://github.com/OpenGamma/Strata/commit/35ee2b76b1d5da41774e5039bd03e51366dc4a47uastats}(totalK	additionsK	deletionsKufiles]}(j  (1b1fa795b2cb6ca0dd069b5e93970c2d03b9e5adfilenamemodules/pom.xmlstatusmodifiedj  Kj   KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/5895129011c32f292e08b5a3ac0439aeefcbaa03/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/5895129011c32f292e08b5a3ac0439aeefcbaa03/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=5895129011c32f292e08b5a3ac0439aeefcbaa03patchX  @@ -769,7 +769,7 @@
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>
-    <joda-beans.version>2.8.3</joda-beans.version>
+    <joda-beans.version>2.9.2</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
     <junit5.version>5.9.3</junit5.version>
     <mockito.version>4.9.0</mockito.version>uau(b2ab37a82c61b07d86f14bc674431708b40b1139}(sha(b2ab37a82c61b07d86f14bc674431708b40b1139node_idEC_kwDOAT6l0doAKGIyYWIzN2E4MmM2MWIwN2Q4NmYxNGJjNjc0NDMxNzA4YjQwYjExMzkcommit}(author}(nameBrian Welleremail&brianweller89@users.noreply.github.comdate2023-07-06T13:23:28Zu	committer}(j<  Brian Wellerj>  &brianweller89@users.noreply.github.comj@  2023-07-06T13:23:28ZumessageMark Libor indices as inactivetree}(j4  (7fcec465edfe2715d2d25884ad5424ba9471434aurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/7fcec465edfe2715d2d25884ad5424ba9471434aujL  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/b2ab37a82c61b07d86f14bc674431708b40b1139
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujL  ^https://api.github.com/repos/OpenGamma/Strata/commits/b2ab37a82c61b07d86f14bc674431708b40b1139html_urlShttps://github.com/OpenGamma/Strata/commit/b2ab37a82c61b07d86f14bc674431708b40b1139comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/b2ab37a82c61b07d86f14bc674431708b40b1139/commentsj:  }(login
brianweller89idJIej6  MDQ6VXNlcjIzNDM0MzEz
avatar_url4https://avatars.githubusercontent.com/u/23434313?v=4gravatar_idh3jL  *https://api.github.com/users/brianweller89jX   https://github.com/brianweller89
followers_url4https://api.github.com/users/brianweller89/followers
following_urlAhttps://api.github.com/users/brianweller89/following{/other_user}	gists_url:https://api.github.com/users/brianweller89/gists{/gist_id}starred_urlAhttps://api.github.com/users/brianweller89/starred{/owner}{/repo}subscriptions_url8https://api.github.com/users/brianweller89/subscriptionsorganizations_url/https://api.github.com/users/brianweller89/orgs	repos_url0https://api.github.com/users/brianweller89/repos
events_url;https://api.github.com/users/brianweller89/events{/privacy}received_events_url:https://api.github.com/users/brianweller89/received_eventstypeUser
site_adminujB  }(j]  
brianweller89j_  JIej6  MDQ6VXNlcjIzNDM0MzEzja  4https://avatars.githubusercontent.com/u/23434313?v=4jc  h3jL  *https://api.github.com/users/brianweller89jX   https://github.com/brianweller89jf  4https://api.github.com/users/brianweller89/followersjh  Ahttps://api.github.com/users/brianweller89/following{/other_user}jj  :https://api.github.com/users/brianweller89/gists{/gist_id}jl  Ahttps://api.github.com/users/brianweller89/starred{/owner}{/repo}jn  8https://api.github.com/users/brianweller89/subscriptionsjp  /https://api.github.com/users/brianweller89/orgsjr  0https://api.github.com/users/brianweller89/reposjt  ;https://api.github.com/users/brianweller89/events{/privacy}jv  :https://api.github.com/users/brianweller89/received_eventsjx  Userjz  uparents]}(j4  (9518acd888f9c6d5c58568b28c6e24495b0263f4jL  ^https://api.github.com/repos/OpenGamma/Strata/commits/9518acd888f9c6d5c58568b28c6e24495b0263f4jX  Shttps://github.com/OpenGamma/Strata/commit/9518acd888f9c6d5c58568b28c6e24495b0263f4uastats}(totalKp	additionsKF	deletionsK*ufiles](}(j4  (c3979d978ca7d7e18b4233066657a5e1b3189ec0filenameTmodules/basics/src/main/java/com/opengamma/strata/basics/index/FloatingRateName.javastatusmodifiedj  Kj  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateName.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateName.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateName.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139patchX  @@ -197,6 +197,10 @@ public default Tenor getDefaultTenor() {
         if (tenors.contains(Tenor.TENOR_13W)) {
           return Tenor.TENOR_13W;
         }
+        if (tenors.isEmpty()) {
+          // maintain backward parsing compatibility for FRNs which are discontinued and have no active tenors (e.g. LIBOR)
+          return Tenor.TENOR_3M;
+        }
         return tenors.iterator().next();
       }
       case OVERNIGHT_AVERAGED:u}(j4  (52a37213864c2956655383ae03605d669e8bb90bj  `modules/basics/src/main/resources/META-INF/com/opengamma/strata/config/base/FloatingRateName.inij  modifiedj  K j  Kj  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.inij  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.inij  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.ini?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  X^  @@ -14,8 +14,3 @@ com.opengamma.strata.basics.index.FloatingRateNameIniLookup = instance
 # The key is the alternate name
 # The value is the standard name (loaded by a provider)
 [alternates]
-GBP-LIBOR-3M = GBP-LIBOR
-USD-LIBOR-3M = USD-LIBOR
-CHF-LIBOR-3M = CHF-LIBOR
-EUR-LIBOR-3M = EUR-LIBOR
-JPY-LIBOR-3M = JPY-LIBOR
\ No newline at end of fileu}(j4  (af9afdab3416641a8b538a63532390068666be90j  Ymodules/basics/src/test/java/com/opengamma/strata/basics/index/FloatingRateNamesTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateNamesTest.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateNamesTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateNamesTest.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  X-  @@ -226,8 +226,7 @@ public void test_iborIndex_tenor() {
     assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndex(Tenor.TENOR_1Y)).isEqualTo(IborIndices.GBP_LIBOR_12M);
     assertThatIllegalStateException()
         .isThrownBy(() -> FloatingRateName.of("GBP-WMBA-SONIA-COMPOUND").toIborIndex(Tenor.TENOR_6M));
-    assertThat(ImmutableList.copyOf(FloatingRateName.of("GBP-LIBOR-BBA").getTenors()))
-        .containsExactly(Tenor.TENOR_1W, Tenor.TENOR_1M, Tenor.TENOR_2M, Tenor.TENOR_3M, Tenor.TENOR_6M, Tenor.TENOR_12M);
+    assertThat(ImmutableList.copyOf(FloatingRateName.of("GBP-LIBOR-BBA").getTenors())).isEmpty();
     assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndexFixingOffset())
         .isEqualTo(DaysAdjustment.ofCalendarDays(0, BusinessDayAdjustment.of(PRECEDING, GBLO)));
   }u}(j4  (005b4f37e3b317da3b875b989ac421fc876a3906j  Qmodules/basics/src/test/java/com/opengamma/strata/basics/index/IborIndexTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  X  @@ -89,7 +89,7 @@ public void test_gbpLibor3m() {
     IborIndex test = IborIndex.of("GBP-LIBOR-3M");
     assertThat(test.getName()).isEqualTo("GBP-LIBOR-3M");
     assertThat(test.getCurrency()).isEqualTo(GBP);
-    assertThat(test.isActive()).isEqualTo(true);
+    assertThat(test.isActive()).isEqualTo(false);
     assertThat(test.getTenor()).isEqualTo(TENOR_3M);
     assertThat(test.getFixingCalendar()).isEqualTo(GBLO);
     assertThat(test.getFixingDateOffset())u}(j4  (947d334cc5fccbbeddef20a201784cedd8a86e60j  cmodules/measure/src/test/java/com/opengamma/strata/measure/dsf/DsfTradeCalculationFunctionTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fdsf%2FDsfTradeCalculationFunctionTest.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fdsf%2FDsfTradeCalculationFunctionTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fdsf%2FDsfTradeCalculationFunctionTest.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  X  @@ -70,10 +70,10 @@ public class DsfTradeCalculationFunctionTest {
   private static final ReferenceData REF_DATA = ReferenceData.standard();
   private static final BusinessDayAdjustment BDA_MF = BusinessDayAdjustment.of(MODIFIED_FOLLOWING, SAT_SUN);
   private static final SwapLeg FIXED_LEG =
-      FixedRateSwapLegConvention.of(Currency.GBP, DayCounts.ACT_360, Frequency.P6M, BDA_MF)
+      FixedRateSwapLegConvention.of(Currency.EUR, DayCounts.ACT_360, Frequency.P6M, BDA_MF)
           .toLeg(LocalDate.of(2013, 6, 30), LocalDate.of(2016, 6, 30), PayReceive.RECEIVE, 1, 0.001);
   private static final SwapLeg IBOR_LEG =
-      IborRateSwapLegConvention.of(IborIndices.GBP_LIBOR_6M)
+      IborRateSwapLegConvention.of(IborIndices.EUR_EURIBOR_6M)
           .toLeg(LocalDate.of(2013, 6, 30), LocalDate.of(2016, 6, 30), PayReceive.PAY, 1);
   private static final Swap SWAP = Swap.of(FIXED_LEG, IBOR_LEG);
   private static final LocalDate LAST_TRADE = LocalDate.of(2013, 6, 17);u}(j4  (64defcb2acb1c92cb6a87cd2b23ec09fa009795ej  rmodules/measure/src/test/java/com/opengamma/strata/measure/index/IborFutureOptionTradeCalculationFunctionTest.javaj  modifiedj  K"j  K
j  K,j  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FIborFutureOptionTradeCalculationFunctionTest.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FIborFutureOptionTradeCalculationFunctionTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FIborFutureOptionTradeCalculationFunctionTest.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  XX  @@ -5,9 +5,11 @@
  */
 package com.opengamma.strata.measure.index;
 
+import static com.opengamma.strata.basics.StandardSchemes.OG_SECURITY_SCHEME;
+import static com.opengamma.strata.basics.currency.Currency.EUR;
 import static com.opengamma.strata.basics.date.DayCounts.ACT_360;
 import static com.opengamma.strata.basics.date.DayCounts.ACT_365F;
-import static com.opengamma.strata.basics.index.IborIndices.GBP_LIBOR_2M;
+import static com.opengamma.strata.basics.index.IborIndices.EUR_EURIBOR_3M;
 import static com.opengamma.strata.collect.TestHelper.date;
 import static com.opengamma.strata.market.curve.interpolator.CurveInterpolators.LINEAR;
 import static org.assertj.core.api.Assertions.assertThat;
@@ -27,6 +29,7 @@
 import com.opengamma.strata.basics.currency.Currency;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.basics.index.IborIndex;
+import com.opengamma.strata.basics.value.Rounding;
 import com.opengamma.strata.calc.Measure;
 import com.opengamma.strata.calc.runner.CalculationParameters;
 import com.opengamma.strata.calc.runner.FunctionRequirements;
@@ -49,15 +52,18 @@
 import com.opengamma.strata.measure.Measures;
 import com.opengamma.strata.measure.curve.TestMarketDataMap;
 import com.opengamma.strata.measure.rate.RatesMarketDataLookup;
-import com.opengamma.strata.pricer.index.IborFutureDummyData;
 import com.opengamma.strata.pricer.index.IborFutureOptionVolatilitiesId;
 import com.opengamma.strata.pricer.index.NormalIborFutureOptionExpirySimpleMoneynessVolatilities;
 import com.opengamma.strata.pricer.index.NormalIborFutureOptionMarginedTradePricer;
 import com.opengamma.strata.pricer.rate.RatesProvider;
+import com.opengamma.strata.product.SecurityId;
 import com.opengamma.strata.product.TradeInfo;
+import com.opengamma.strata.product.common.PutCall;
+import com.opengamma.strata.product.index.IborFuture;
 import com.opengamma.strata.product.index.IborFutureOption;
 import com.opengamma.strata.product.index.IborFutureOptionTrade;
 import com.opengamma.strata.product.index.ResolvedIborFutureOptionTrade;
+import com.opengamma.strata.product.option.FutureOptionPremiumStyle;
 
 /**
  * Test {@link IborFutureOptionTradeCalculationFunction}.
@@ -86,9 +92,28 @@ public class IborFutureOptionTradeCalculationFunctionTest {
   private static final ZonedDateTime VAL_DATE_TIME = VAL_DATE.atTime(VAL_TIME).atZone(LONDON_ZONE);
 
   private static final NormalIborFutureOptionExpirySimpleMoneynessVolatilities VOL_SIMPLE_MONEY_PRICE =
-      NormalIborFutureOptionExpirySimpleMoneynessVolatilities.of(GBP_LIBOR_2M, VAL_DATE_TIME, PARAMETERS_PRICE);
-
-  private static final IborFutureOption OPTION = IborFutureDummyData.IBOR_FUTURE_OPTION_2;
+      NormalIborFutureOptionExpirySimpleMoneynessVolatilities.of(EUR_EURIBOR_3M, VAL_DATE_TIME, PARAMETERS_PRICE);
+
+  private static final IborFuture IBOR_FUTURE = IborFuture.builder()
+          .securityId(SecurityId.of(OG_SECURITY_SCHEME, "Future"))
+          .currency(EUR)
+          .notional(1_000_000)
+          .lastTradeDate(LocalDate.of(2015, 3, 17))
+          .index(EUR_EURIBOR_3M)
+          .accrualFactor(0.25)
+          .rounding(Rounding.ofDecimalPlaces(2))
+          .build();
+
+  private static final IborFutureOption OPTION = IborFutureOption.builder()
+          .securityId(SecurityId.of(OG_SECURITY_SCHEME, "Option"))
+          .putCall(PutCall.CALL)
+          .strikePrice(0.99)
+          .expiryDate(LocalDate.of(2015, 3, 16))
+          .expiryTime(LocalTime.of(11, 0))
+          .expiryZone(ZoneId.of("Europe/London"))
+          .premiumStyle(FutureOptionPremiumStyle.DAILY_MARGIN)
+          .underlyingFuture(IBOR_FUTURE)
+          .build();
   private static final LocalDate TRADE_DATE = date(2015, 2, 16);
   private static final long OPTION_QUANTITY = 12345;
   private static final double TRADE_PRICE = 0.0100;
@@ -102,13 +127,13 @@ public class IborFutureOptionTradeCalculationFunctionTest {
       .price(TRADE_PRICE)
       .build();
 
-  private static final Currency CURRENCY = Currency.GBP;
-  private static final IborIndex INDEX = GBP_LIBOR_2M;
+  private static final Currency CURRENCY = EUR;
+  private static final IborIndex INDEX = EUR_EURIBOR_3M;
 
   private static final CurveId DISCOUNT_CURVE_ID = CurveId.of("Default", "Discount");
   private static final CurveId FORWARD_CURVE_ID = CurveId.of("Default", "Forward");
   private static final IborFutureOptionVolatilitiesId VOL_ID =
-      IborFutureOptionVolatilitiesId.of("IborFutureOptionVols.Normal.USD");
+      IborFutureOptionVolatilitiesId.of("IborFutureOptionVols.Normal.EUR");
   private static final QuoteId QUOTE_ID_OPTION =
       QuoteId.of(TRADE.getSecurityId().getStandardId(), FieldName.SETTLEMENT_PRICE);
   static final RatesMarketDataLookup RATES_LOOKUP = RatesMarketDataLookup.of(
@@ -150,15 +175,14 @@ public void test_simpleMeasures() {
   //-------------------------------------------------------------------------
   static ScenarioMarketData marketData() {
     Curve curve = ConstantCurve.of(Curves.discountFactors("Test", ACT_360), 0.99);
-    TestMarketDataMap md = new TestMarketDataMap(
+    return new TestMarketDataMap(
         VAL_DATE,
         ImmutableMap.of(
             DISCOUNT_CURVE_ID, curve,
             FORWARD_CURVE_ID, curve,
             VOL_ID, VOL_SIMPLE_MONEY_PRICE,
             QUOTE_ID_OPTION, SETTLEMENT_PRICE),
         ImmutableMap.of());
-    return md;
   }
 
 }u      }(j4  (7e7f1713b9a74de3832eac0f272e442ee968c5f0j  lmodules/measure/src/test/java/com/opengamma/strata/measure/index/IborFutureTradeCalculationFunctionTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FIborFutureTradeCalculationFunctionTest.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FIborFutureTradeCalculationFunctionTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FIborFutureTradeCalculationFunctionTest.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  Xq  @@ -54,7 +54,7 @@ public class IborFutureTradeCalculationFunctionTest {
 
   private static final ReferenceData REF_DATA = ReferenceData.standard();
   private static final double MARKET_PRICE = 99.42;
-  public static final IborFutureTrade TRADE = IborFutureContractSpecs.USD_LIBOR_3M_IMM_CME.createTrade(
+  public static final IborFutureTrade TRADE = IborFutureContractSpecs.EUR_EURIBOR_3M_IMM_ICE.createTrade(
       LocalDate.of(2014, 9, 12), SecurityId.of("test", "test"), SequenceDate.base(Period.ofMonths(1), 2), 5, 0.9998, REF_DATA);
   public static final ResolvedIborFutureTrade RTRADE = TRADE.resolve(REF_DATA);
 u}(j4  (438e74cef33fd6254715cc54d44a6669b7693237j  ^modules/measure/src/test/java/com/opengamma/strata/measure/rate/RatesMarketDataLookupTest.javaj  modifiedj  Kj  K	j  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Frate%2FRatesMarketDataLookupTest.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Frate%2FRatesMarketDataLookupTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Frate%2FRatesMarketDataLookupTest.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  X   @@ -10,10 +10,12 @@
 import static com.opengamma.strata.basics.currency.Currency.USD;
 import static com.opengamma.strata.basics.date.DayCounts.ACT_360;
 import static com.opengamma.strata.basics.index.IborIndices.EUR_EURIBOR_2M;
+import static com.opengamma.strata.basics.index.IborIndices.EUR_EURIBOR_3M;
 import static com.opengamma.strata.basics.index.IborIndices.GBP_LIBOR_3M;
 import static com.opengamma.strata.basics.index.IborIndices.USD_LIBOR_3M;
 import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
 import static com.opengamma.strata.basics.index.OvernightIndices.USD_FED_FUND;
+import static com.opengamma.strata.basics.index.OvernightIndices.USD_SOFR;
 import static com.opengamma.strata.basics.index.PriceIndices.US_CPI_U;
 import static com.opengamma.strata.collect.TestHelper.assertSerialization;
 import static com.opengamma.strata.collect.TestHelper.coverBeanEquals;
@@ -78,7 +80,7 @@ public class RatesMarketDataLookupTest {
   private static final IborIndex INACTIVE_IBOR_INDEX = IborIndex.of("GBP-LIBOR-10M");
   private static final OvernightIndex INACTIVE_ON_INDEX = OvernightIndex.of("CHF-TOIS");
   private static final CurveId CURVE_ID_DSC = CurveId.of("Group", "USD-DSC");
-  private static final CurveId CURVE_ID_FWD = CurveId.of("Group", "USD-L3M");
+  private static final CurveId CURVE_ID_FWD = CurveId.of("Group", "USD-SOFR");
   private static final ObservableSource OBS_SOURCE = ObservableSource.of("Vendor");
   private static final MarketData MOCK_MARKET_DATA = mock(MarketData.class);
   private static final ScenarioMarketData MOCK_CALC_MARKET_DATA = mock(ScenarioMarketData.class);
@@ -88,13 +90,13 @@ public class RatesMarketDataLookupTest {
   @SuppressWarnings("deprecation")
   public void test_of_map() {
     ImmutableMap<Currency, CurveId> discounts = ImmutableMap.of(USD, CURVE_ID_DSC);
-    ImmutableMap<Index, CurveId> forwards = ImmutableMap.of(USD_LIBOR_3M, CURVE_ID_FWD);
+    ImmutableMap<Index, CurveId> forwards = ImmutableMap.of(USD_SOFR, CURVE_ID_FWD);
     RatesMarketDataLookup test = RatesMarketDataLookup.of(discounts, forwards);
     assertThat(test.queryType()).isEqualTo(RatesMarketDataLookup.class);
     assertThat(test.getDiscountCurrencies()).containsOnly(USD);
     assertThat(test.getDiscountMarketDataIds(USD)).containsOnly(CURVE_ID_DSC);
-    assertThat(test.getForwardIndices()).containsOnly(USD_LIBOR_3M);
-    assertThat(test.getForwardMarketDataIds(USD_LIBOR_3M)).containsOnly(CURVE_ID_FWD);
+    assertThat(test.getForwardIndices()).containsOnly(USD_SOFR);
+    assertThat(test.getForwardMarketDataIds(USD_SOFR)).containsOnly(CURVE_ID_FWD);
     assertThatIllegalArgumentException()
         .isThrownBy(() -> test.getDiscountMarketDataIds(GBP));
     assertThatIllegalArgumentException()
@@ -104,20 +106,20 @@ public void test_of_map() {
 
     assertThat(test.requirements(USD))
         .isEqualTo(FunctionRequirements.builder().valueRequirements(CURVE_ID_DSC).outputCurrencies(USD).build());
-    assertThat(test.requirements(USD, USD_LIBOR_3M, EUR_EURIBOR_2M))
+    assertThat(test.requirements(USD, USD_SOFR, EUR_EURIBOR_2M))
         .isEqualTo(FunctionRequirements.builder()
             .valueRequirements(CURVE_ID_DSC, CURVE_ID_FWD)
-            .timeSeriesRequirements(IndexQuoteId.of(USD_LIBOR_3M), IndexQuoteId.of(EUR_EURIBOR_2M))
+            .timeSeriesRequirements(IndexQuoteId.of(USD_SOFR), IndexQuoteId.of(EUR_EURIBOR_2M))
             .outputCurrencies(USD)
             .build());
-    assertThat(test.requirements(ImmutableSet.of(USD), ImmutableSet.of(USD_LIBOR_3M)))
+    assertThat(test.requirements(ImmutableSet.of(USD), ImmutableSet.of(USD_SOFR)))
         .isEqualTo(FunctionRequirements.builder()
             .valueRequirements(CURVE_ID_DSC, CURVE_ID_FWD)
-            .timeSeriesRequirements(IndexQuoteId.of(USD_LIBOR_3M))
+            .timeSeriesRequirements(IndexQuoteId.of(USD_SOFR))
             .outputCurrencies(USD)
             .build());
     assertThatIllegalArgumentException()
-        .isThrownBy(() -> test.requirements(ImmutableSet.of(USD), ImmutableSet.of(GBP_LIBOR_3M)));
+        .isThrownBy(() -> test.requirements(ImmutableSet.of(USD), ImmutableSet.of(EUR_EURIBOR_3M)));
 
     assertThat(test.ratesProvider(MOCK_MARKET_DATA))
         .isEqualTo(DefaultLookupRatesProvider.of((DefaultRatesMarketDataLookup) test, MOCK_MARKET_DATA));u}(j4  (43cae7fd5e81a0d37b585d107999ecb6d57dcbbaj  emodules/measure/src/test/java/com/opengamma/strata/measure/swap/SwapTradeCalculationFunctionTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fswap%2FSwapTradeCalculationFunctionTest.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fswap%2FSwapTradeCalculationFunctionTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fswap%2FSwapTradeCalculationFunctionTest.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  X  @@ -55,7 +55,7 @@
 public class SwapTradeCalculationFunctionTest {
 
   private static final ReferenceData REF_DATA = ReferenceData.standard();
-  public static final SwapTrade TRADE = FixedIborSwapConventions.GBP_FIXED_6M_LIBOR_6M
+  public static final SwapTrade TRADE = FixedIborSwapConventions.EUR_FIXED_1Y_EURIBOR_6M
       .createTrade(date(2016, 6, 30), Tenor.TENOR_10Y, BuySell.BUY, 1_000_000, 0.01, REF_DATA);
   public static final ResolvedSwapTrade RTRADE = TRADE.resolve(REF_DATA);
 u}(j4  (923791429ee43aabfaa2ce9b81a608b85a58d5a9j  mmodules/measure/src/test/java/com/opengamma/strata/measure/swaption/SwaptionTradeCalculationFunctionTest.javaj  modifiedj  K
j  K
j  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fswaption%2FSwaptionTradeCalculationFunctionTest.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fswaption%2FSwaptionTradeCalculationFunctionTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fswaption%2FSwaptionTradeCalculationFunctionTest.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  X7  @@ -67,7 +67,7 @@ public class SwaptionTradeCalculationFunctionTest {
   private static final ReferenceData REF_DATA = ReferenceData.standard();
   private static final double FIXED_RATE = 0.015;
   private static final double NOTIONAL = 100000000d;
-  private static final Swap SWAP = FixedIborSwapConventions.USD_FIXED_6M_LIBOR_3M
+  private static final Swap SWAP = FixedIborSwapConventions.EUR_FIXED_1Y_EURIBOR_6M
       .createTrade(LocalDate.of(2014, 6, 12), Tenor.TENOR_10Y, BuySell.BUY, NOTIONAL, FIXED_RATE, REF_DATA).getProduct();
   private static final BusinessDayAdjustment ADJUSTMENT =
       BusinessDayAdjustment.of(BusinessDayConventions.FOLLOWING, GBLO.combinedWith(USNY));
@@ -85,23 +85,23 @@ public class SwaptionTradeCalculationFunctionTest {
       .underlying(SWAP)
       .build();
   private static final AdjustablePayment PREMIUM =
-      AdjustablePayment.of(CurrencyAmount.of(Currency.USD, -3150000d), LocalDate.of(2014, 3, 17));
+      AdjustablePayment.of(CurrencyAmount.of(Currency.EUR, -3150000d), LocalDate.of(2014, 3, 17));
   public static final SwaptionTrade TRADE = SwaptionTrade.builder().premium(PREMIUM).product(SWAPTION).build();
   public static final ResolvedSwaptionTrade RTRADE = TRADE.resolve(REF_DATA);
-  private static final Currency CURRENCY = Currency.USD;
-  private static final IborIndex INDEX = IborIndices.USD_LIBOR_3M;
+  private static final Currency CURRENCY = Currency.EUR;
+  private static final IborIndex INDEX = IborIndices.EUR_EURIBOR_6M;
 
-  public static final NormalSwaptionExpiryTenorVolatilities NORMAL_VOL_SWAPTION_PROVIDER_USD =
-      SwaptionNormalVolatilityDataSets.NORMAL_SWAPTION_VOLS_USD_STD;
+  public static final NormalSwaptionExpiryTenorVolatilities NORMAL_VOL_SWAPTION_PROVIDER_EUR =
+      SwaptionNormalVolatilityDataSets.NORMAL_SWAPTION_VOLS_EUR_STD;
   private static final CurveId DISCOUNT_CURVE_ID = CurveId.of("Default", "Discount");
   private static final CurveId FORWARD_CURVE_ID = CurveId.of("Default", "Forward");
-  private static final SwaptionVolatilitiesId VOL_ID = SwaptionVolatilitiesId.of("SwaptionVols.Normal.USD");
+  private static final SwaptionVolatilitiesId VOL_ID = SwaptionVolatilitiesId.of("SwaptionVols.Normal.EUR");
   static final RatesMarketDataLookup RATES_LOOKUP = RatesMarketDataLookup.of(
       ImmutableMap.of(CURRENCY, DISCOUNT_CURVE_ID),
       ImmutableMap.of(INDEX, FORWARD_CURVE_ID));
   static final SwaptionMarketDataLookup SWAPTION_LOOKUP = SwaptionMarketDataLookup.of(INDEX, VOL_ID);
   private static final CalculationParameters PARAMS = CalculationParameters.of(RATES_LOOKUP, SWAPTION_LOOKUP);
-  private static final LocalDate VAL_DATE = NORMAL_VOL_SWAPTION_PROVIDER_USD.getValuationDate();
+  private static final LocalDate VAL_DATE = NORMAL_VOL_SWAPTION_PROVIDER_EUR.getValuationDate();
 
   //-------------------------------------------------------------------------
   @Test
@@ -123,7 +123,7 @@ public void test_simpleMeasures() {
     RatesProvider provider = RATES_LOOKUP.ratesProvider(md.scenario(0));
     NormalSwaptionTradePricer pricer = NormalSwaptionTradePricer.DEFAULT;
     ResolvedSwaptionTrade resolved = TRADE.resolve(REF_DATA);
-    CurrencyAmount expectedPv = pricer.presentValue(resolved, provider, NORMAL_VOL_SWAPTION_PROVIDER_USD);
+    CurrencyAmount expectedPv = pricer.presentValue(resolved, provider, NORMAL_VOL_SWAPTION_PROVIDER_EUR);
 
     Set<Measure> measures = ImmutableSet.of(Measures.PRESENT_VALUE, Measures.RESOLVED_TARGET);
     assertThat(function.calculate(TRADE, measures, PARAMS, md, REF_DATA))
@@ -141,7 +141,7 @@ static ScenarioMarketData marketData() {
         ImmutableMap.of(
             DISCOUNT_CURVE_ID, curve,
             FORWARD_CURVE_ID, curve,
-            VOL_ID, NORMAL_VOL_SWAPTION_PROVIDER_USD),
+            VOL_ID, NORMAL_VOL_SWAPTION_PROVIDER_EUR),
         ImmutableMap.of());
     return md;
   }u}(j4  (17fd65a921b155f1cad408889e976b7f7d77fdc9j  fmodules/measure/src/test/java/com/opengamma/strata/measure/swaption/SwaptionTradeCalculationsTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fswaption%2FSwaptionTradeCalculationsTest.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fswaption%2FSwaptionTradeCalculationsTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Fswaption%2FSwaptionTradeCalculationsTest.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  XQ  @@ -33,7 +33,7 @@ public class SwaptionTradeCalculationsTest {
   private static final RatesMarketDataLookup RATES_LOOKUP = SwaptionTradeCalculationFunctionTest.RATES_LOOKUP;
   private static final SwaptionMarketDataLookup SWAPTION_LOOKUP = SwaptionTradeCalculationFunctionTest.SWAPTION_LOOKUP;
   private static final SwaptionVolatilities VOLS =
-      SwaptionTradeCalculationFunctionTest.NORMAL_VOL_SWAPTION_PROVIDER_USD;
+      SwaptionTradeCalculationFunctionTest.NORMAL_VOL_SWAPTION_PROVIDER_EUR;
 
   //-------------------------------------------------------------------------
   @Testu}(j4  (ab0709062927502552be0e75ff73922645be3ab8j  gmodules/pricer/src/test/java/com/opengamma/strata/pricer/swaption/SwaptionNormalVolatilityDataSets.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fswaption%2FSwaptionNormalVolatilityDataSets.javaj  https://github.com/OpenGamma/Strata/raw/b2ab37a82c61b07d86f14bc674431708b40b1139/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fswaption%2FSwaptionNormalVolatilityDataSets.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fswaption%2FSwaptionNormalVolatilityDataSets.java?ref=b2ab37a82c61b07d86f14bc674431708b40b1139j  X
  @@ -12,6 +12,7 @@
 import static com.opengamma.strata.basics.date.HolidayCalendarIds.USNY;
 import static com.opengamma.strata.basics.index.IborIndices.USD_LIBOR_3M;
 import static com.opengamma.strata.market.curve.interpolator.CurveInterpolators.LINEAR;
+import static com.opengamma.strata.product.swap.type.FixedIborSwapConventions.EUR_FIXED_1Y_LIBOR_6M;
 import static java.util.stream.Collectors.toList;
 
 import java.time.LocalDate;
@@ -85,6 +86,9 @@ public class SwaptionNormalVolatilityDataSets {
   public static final NormalSwaptionExpiryTenorVolatilities NORMAL_SWAPTION_VOLS_USD_STD =
       NormalSwaptionExpiryTenorVolatilities.of(USD_1Y_LIBOR3M, VAL_DATE_TIME_STD, SURFACE_STD);
 
+  public static final NormalSwaptionExpiryTenorVolatilities NORMAL_SWAPTION_VOLS_EUR_STD =
+          NormalSwaptionExpiryTenorVolatilities.of(EUR_FIXED_1Y_LIBOR_6M, VAL_DATE_TIME_STD, SURFACE_STD);
+
   /**
    * Returns the swaption normal volatility surface shifted by a given amount. The shift is parallel.
    * @param shift  the shiftueu(c742a576f1620c6e4a3cbd3ff0445caa76be4477}(sha(c742a576f1620c6e4a3cbd3ff0445caa76be4477node_idEC_kwDOAT6l0doAKGM3NDJhNTc2ZjE2MjBjNmU0YTNjYmQzZmYwNDQ1Y2FhNzZiZTQ0Nzccommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-05-12T11:15:24Zu	committer}(j	  opengammacibotj  cibot@opengamma.comj
  2023-05-12T11:15:24Zumessage/[maven-release-plugin] prepare release v2.12.22tree}(j  (2a8d91c08509e538dc1fbf9b4b9c765816515f25url`https://api.github.com/repos/OpenGamma/Strata/git/trees/2a8d91c08509e538dc1fbf9b4b9c765816515f25uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/c742a576f1620c6e4a3cbd3ff0445caa76be4477
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/c742a576f1620c6e4a3cbd3ff0445caa76be4477html_urlShttps://github.com/OpenGamma/Strata/commit/c742a576f1620c6e4a3cbd3ff0445caa76be4477comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/c742a576f1620c6e4a3cbd3ff0445caa76be4477/commentsj  }(loginopengammacibotidJq j  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j  +https://api.github.com/users/opengammacibotj%  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj  }(j*  opengammacibotj,  Jq j  MDQ6VXNlcjc0NTAyODE=j.  3https://avatars.githubusercontent.com/u/7450281?v=4j0  h3j  +https://api.github.com/users/opengammacibotj%  !https://github.com/opengammacibotj3  5https://api.github.com/users/opengammacibot/followersj5  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j7  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j9  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j;  9https://api.github.com/users/opengammacibot/subscriptionsj=  0https://api.github.com/users/opengammacibot/orgsj?  1https://api.github.com/users/opengammacibot/reposjA  <https://api.github.com/users/opengammacibot/events{/privacy}jC  ;https://api.github.com/users/opengammacibot/received_eventsjE  UserjG  uparents]}(j  (cb4975914b77b1146bd022a0885d9235228a9db5j  ^https://api.github.com/repos/OpenGamma/Strata/commits/cb4975914b77b1146bd022a0885d9235228a9db5j%  Shttps://github.com/OpenGamma/Strata/commit/cb4975914b77b1146bd022a0885d9235228a9db5uastats}(totalK$	additionsK	deletionsKufiles](}(j  (1b0c3a03151bbf8a046bc1385e4e6278b8affd94filenameexamples/pom.xmlstatusmodifiedja  Kjb  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.22-SNAPSHOT</version>
+  <version>2.12.22</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,4 +272,8 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
+
+  <scm>
+    <tag>v2.12.22</tag>
+  </scm>
 </project>u}(j  (ef1437c94000ed9ca13f090537c7e838e5c4e404jg  modules/basics/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  lhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fbasics%2Fpom.xmljn  khttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fbasics%2Fpom.xmljp  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j  (3f8fcc7606c5036f1a14a44d61aa039a2ebbdcc2jg  modules/calc/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  jhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fcalc%2Fpom.xmljn  ihttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fcalc%2Fpom.xmljp  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j  (64301f8663c90ad37ece52c3ae520ff07bc311afjg  modules/collect/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  mhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fcollect%2Fpom.xmljn  lhttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fcollect%2Fpom.xmljp  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j  (00c82559b8d0d911cbe643072b4b2c6934d64b29jg  modules/data/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  jhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fdata%2Fpom.xmljn  ihttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fdata%2Fpom.xmljp  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j  (e4093242b7972548a77d5fc24eb615539526ca2bjg  modules/loader/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  lhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Floader%2Fpom.xmljn  khttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Floader%2Fpom.xmljp  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j  (a13f029db91aab3ad8832ebdaff64908ad398db1jg  modules/market/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  lhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fmarket%2Fpom.xmljn  khttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fmarket%2Fpom.xmljp  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j  (47e626bd30cb3c5a9805f5e42642ba8b5d293ddcjg  modules/math/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  jhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fmath%2Fpom.xmljn  ihttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fmath%2Fpom.xmljp  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j  (69712bf3925e842903125b286a32fd009e3c5d18jg  modules/measure/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  mhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fmeasure%2Fpom.xmljn  lhttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fmeasure%2Fpom.xmljp  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j  (4cb8e9da0047faf38c34c79458b7847cfcebba81jg  modules/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  chttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fpom.xmljn  bhttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fpom.xmljp  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.22-SNAPSHOT</version>
+  <version>2.12.22</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.22</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j  (ccce3a15a06bddac25782a597b2582bc8ed0767bjg  modules/pricer/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  lhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fpricer%2Fpom.xmljn  khttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fpricer%2Fpom.xmljp  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j  (baa515895fa7b64422d20d2bdf284d9f2666f5d3jg  modules/product/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  mhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fproduct%2Fpom.xmljn  lhttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Fproduct%2Fpom.xmljp  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j  (30eee583c4198d0d30ed56898e9acc429ab15435jg  modules/report/pom.xmlji  modifiedja  Kjb  Kjk  Kjl  lhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Freport%2Fpom.xmljn  khttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/modules%2Freport%2Fpom.xmljp  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.22</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j  (dcc4ff7cc3a403ee0e4a9d839decd3751ffb3b3cjg  pom.xmlji  modifiedja  Kjb  Kjk  Kjl  Yhttps://github.com/OpenGamma/Strata/blob/c742a576f1620c6e4a3cbd3ff0445caa76be4477/pom.xmljn  Xhttps://github.com/OpenGamma/Strata/raw/c742a576f1620c6e4a3cbd3ff0445caa76be4477/pom.xmljp  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=c742a576f1620c6e4a3cbd3ff0445caa76be4477jr  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.22-SNAPSHOT</version>
+  <version>2.12.22</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.22</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(64daf8ef244e3ea3be8f35fa5e25c1e065c0df9b}(sha(64daf8ef244e3ea3be8f35fa5e25c1e065c0df9bnode_idEC_kwDOAT6l0doAKDY0ZGFmOGVmMjQ0ZTNlYTNiZThmMzVmYTVlMjVjMWUwNjVjMGRmOWIcommit}(author}(namemergify[bot]email.37929162+mergify[bot]@users.noreply.github.comdate2023-08-02T09:10:11Zu	committer}(j  GitHubj  noreply@github.comj  2023-08-02T09:10:11Zumessage#Merge branch 'main' into PROD-26241tree}(j  (d054376673b6801cb2e7a5d8d171800899f43f08url`https://api.github.com/repos/OpenGamma/Strata/git/trees/d054376673b6801cb2e7a5d8d171800899f43f08uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/64daf8ef244e3ea3be8f35fa5e25c1e065c0df9b
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkyh1zCRBK7hj4Ov3rIwAAW1kIAEY6RLfM0dSlHQMfoOloR2o9
g5RZE4gnw6abgwFq2csdWBZQjQ88337lIDgkLT2IQSY0Cb39uV59BUqaa0LdAM7k
ZA89Egnnp8ZayteF3mqCnZc6+8feJ/uwFXufhpQIL5GaQwbfQG5+wyNO5BZRlug5
u8dzWzz95VTHC1V2TcUs56byEPsGTXV1SP5UkG9VrNl5UOWzvBEquqRUErKnmMOm
wSnsnOZ3lnI/RD9b52J6c5KuuuIOY4q1M2WA3D403uEgMaRoQ7/FFeEd/EgI8EMP
iSqKfPe67uCWDyBJE+wu4yfZhc/wzSDeMz3CSroVM8Ej6bsyCunLQ6Zj1rfX48I=
=uENX
-----END PGP SIGNATURE-----
payloadX?  tree d054376673b6801cb2e7a5d8d171800899f43f08
parent f7bf41803cc0bb17a509cc04928ed12a92a4bd0c
parent 2f5d583aa57c72d35331074ed0e56c5fd36174aa
author mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> 1690967411 +0000
committer GitHub <noreply@github.com> 1690967411 +0000

Merge branch 'main' into PROD-26241uuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/64daf8ef244e3ea3be8f35fa5e25c1e065c0df9bhtml_urlShttps://github.com/OpenGamma/Strata/commit/64daf8ef244e3ea3be8f35fa5e25c1e065c0df9bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/64daf8ef244e3ea3be8f35fa5e25c1e065c0df9b/commentsj  }(loginmergify[bot]idJBj  MDM6Qm90Mzc5MjkxNjI=
avatar_url2https://avatars.githubusercontent.com/in/10562?v=4gravatar_idh3j  -https://api.github.com/users/mergify%5Bbot%5Dj  https://github.com/apps/mergify
followers_url7https://api.github.com/users/mergify%5Bbot%5D/followers
following_urlDhttps://api.github.com/users/mergify%5Bbot%5D/following{/other_user}	gists_url=https://api.github.com/users/mergify%5Bbot%5D/gists{/gist_id}starred_urlDhttps://api.github.com/users/mergify%5Bbot%5D/starred{/owner}{/repo}subscriptions_url;https://api.github.com/users/mergify%5Bbot%5D/subscriptionsorganizations_url2https://api.github.com/users/mergify%5Bbot%5D/orgs	repos_url3https://api.github.com/users/mergify%5Bbot%5D/repos
events_url>https://api.github.com/users/mergify%5Bbot%5D/events{/privacy}received_events_url=https://api.github.com/users/mergify%5Bbot%5D/received_eventstypeBot
site_adminuj  }(j	  web-flowj  J/j  MDQ6VXNlcjE5ODY0NDQ3j
  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3j  %https://api.github.com/users/web-flowj  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj   6https://api.github.com/users/web-flow/events{/privacy}j"  5https://api.github.com/users/web-flow/received_eventsj$  Userj&  uparents](}(j  (f7bf41803cc0bb17a509cc04928ed12a92a4bd0cj  ^https://api.github.com/repos/OpenGamma/Strata/commits/f7bf41803cc0bb17a509cc04928ed12a92a4bd0cj  Shttps://github.com/OpenGamma/Strata/commit/f7bf41803cc0bb17a509cc04928ed12a92a4bd0cu}(j  (2f5d583aa57c72d35331074ed0e56c5fd36174aaj  ^https://api.github.com/repos/OpenGamma/Strata/commits/2f5d583aa57c72d35331074ed0e56c5fd36174aaj  Shttps://github.com/OpenGamma/Strata/commit/2f5d583aa57c72d35331074ed0e56c5fd36174aauestats}(totalK	additionsK	deletionsKufiles]}(j  (722bc072f88eef258e82b66d0057c2fcd0bfdbeffilenameamodules/pricer/src/main/java/com/opengamma/strata/pricer/credit/ImmutableCreditRatesProvider.javastatusmodifiedjD  KjE  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/64daf8ef244e3ea3be8f35fa5e25c1e065c0df9b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcredit%2FImmutableCreditRatesProvider.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/64daf8ef244e3ea3be8f35fa5e25c1e065c0df9b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcredit%2FImmutableCreditRatesProvider.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcredit%2FImmutableCreditRatesProvider.java?ref=64daf8ef244e3ea3be8f35fa5e25c1e065c0df9bpatchX	  @@ -61,21 +61,21 @@ public final class ImmutableCreditRatesProvider
    * <p>
    * The curve data, predicting the survival probability, associated with each legal entity and currency.
    */
-  @PropertyDefinition(validate = "notNull", get = "private")
+  @PropertyDefinition(validate = "notNull")
   private final ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> creditCurves;
   /**
    * The discounting curves.
    * <p>
    * The curve data, predicting the discount factor, associated with each currency.
    */
-  @PropertyDefinition(validate = "notEmpty", get = "private")
+  @PropertyDefinition(validate = "notEmpty")
   private final ImmutableMap<Currency, CreditDiscountFactors> discountCurves;
   /**
    * The credit rate curves.
    * <p>
    * The curve date, predicting the recovery rate, associated with each legal entity.
    */
-  @PropertyDefinition(validate = "notEmpty", get = "private")
+  @PropertyDefinition(validate = "notEmpty")
   private final ImmutableMap<StandardId, RecoveryRates> recoveryRateCurves;
 
   //-------------------------------------------------------------------------
@@ -269,7 +269,7 @@ public LocalDate getValuationDate() {
    * The curve data, predicting the survival probability, associated with each legal entity and currency.
    * @return the value of the property, not null
    */
-  private ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> getCreditCurves() {
+  public ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> getCreditCurves() {
     return creditCurves;
   }
 
@@ -280,7 +280,7 @@ private ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilitie
    * The curve data, predicting the discount factor, associated with each currency.
    * @return the value of the property, not empty
    */
-  private ImmutableMap<Currency, CreditDiscountFactors> getDiscountCurves() {
+  public ImmutableMap<Currency, CreditDiscountFactors> getDiscountCurves() {
     return discountCurves;
   }
 
@@ -291,7 +291,7 @@ private ImmutableMap<Currency, CreditDiscountFactors> getDiscountCurves() {
    * The curve date, predicting the recovery rate, associated with each legal entity.
    * @return the value of the property, not empty
    */
-  private ImmutableMap<StandardId, RecoveryRates> getRecoveryRateCurves() {
+  public ImmutableMap<StandardId, RecoveryRates> getRecoveryRateCurves() {
     return recoveryRateCurves;
   }
 uau(1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04}(sha(1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04node_idEC_kwDOAT6l0doAKDFlMzkxMWM1YmE5MWJkZDAzZTE4M2E2ZDBlN2YwZWQwMWU2YWJhMDQcommit}(author}(nameAnandemail*49917470+anand-uk@users.noreply.github.comdate2023-04-03T08:55:36Zu	committer}(ja  GitHubjc  noreply@github.comje  2023-04-03T08:55:36ZumessageDBuySell and PayReceive util methods for Decimal and BigMoney (#2564)tree}(jY  (3d014b35b8e8be770bf4f2fc728104b5235c7ce2url`https://api.github.com/repos/OpenGamma/Strata/git/trees/3d014b35b8e8be770bf4f2fc728104b5235c7ce2ujq  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkKpSICRBK7hj4Ov3rIwAAKb8IAAD1KOF28hDikdQs0EuPyI0X
by8Y7wzcrbiZgZEIdDjdUAxr/9hRWImEy5L+CzleQ+c5PXSbd2/2oSsicSZ5VaWa
KmT0C8v538c1nCLnD9xCYOAyZD17cTRutGOFqzfhBgDxkd5dhZSgszuf1kw6xDOp
axJgjMBwJKX4b6rG55j1nSVEeNJ0x/GU4ru2yDZeu/JEA41Ho0OYsTcRrvj3B8w5
1ST4G6Qf0z3+9HhWmnTpZGNormROamE+LnWmTM6wig3MqNbqykUKhwdAIPg15QbP
ovcXMVy34i2nFP7XRunKLF8wFzPN5Viv40pKRRyS6ar/1KMxOEUK27bZbbphD40=
=G37q
-----END PGP SIGNATURE-----
payloadX'  tree 3d014b35b8e8be770bf4f2fc728104b5235c7ce2
parent 3e52a50bb942fd782c4429d6d9acf6c794dac7ea
author Anand <49917470+anand-uk@users.noreply.github.com> 1680512136 +0100
committer GitHub <noreply@github.com> 1680512136 +0000

BuySell and PayReceive util methods for Decimal and BigMoney (#2564)

uujq  ^https://api.github.com/repos/OpenGamma/Strata/commits/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04html_urlShttps://github.com/OpenGamma/Strata/commit/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04/commentsj_  }(loginanand-ukidJj[  MDQ6VXNlcjQ5OTE3NDcw
avatar_url4https://avatars.githubusercontent.com/u/49917470?v=4gravatar_idh3jq  %https://api.github.com/users/anand-ukj  https://github.com/anand-uk
followers_url/https://api.github.com/users/anand-uk/followers
following_url<https://api.github.com/users/anand-uk/following{/other_user}	gists_url5https://api.github.com/users/anand-uk/gists{/gist_id}starred_url<https://api.github.com/users/anand-uk/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/anand-uk/subscriptionsorganizations_url*https://api.github.com/users/anand-uk/orgs	repos_url+https://api.github.com/users/anand-uk/repos
events_url6https://api.github.com/users/anand-uk/events{/privacy}received_events_url5https://api.github.com/users/anand-uk/received_eventstypeUser
site_adminujg  }(j  web-flowj  J/j[  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3jq  %https://api.github.com/users/web-flowj  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(jY  (3e52a50bb942fd782c4429d6d9acf6c794dac7eajq  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK}	additionsK}	deletionsK ufiles](}(jY  (17132cc647223fe2f29f6f18c23ab208666729eafilenameNmodules/product/src/main/java/com/opengamma/strata/product/common/BuySell.javastatusmodifiedj  Kj  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.java?ref=1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04patchXj  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -80,6 +82,21 @@ public double normalize(double amount) {
     return isBuy() ? normalized : -normalized;
   }
 
+  /**
+   * Normalizes the specified {@code Decimal} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input amount
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isBuy() ? normalized : normalized.negated();
+  }
+
   /**
    * Normalizes the specified amount using this buy/sell rule.
    * <p>
@@ -95,6 +112,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isBuy() ? amount.positive() : amount.negative();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input notional
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isBuy() ? amount.positive() : amount.negative();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Buy'.u}(jY  (c77d9d1fab93c2d89463aa1f0e966a4414fa1156j  Qmodules/product/src/main/java/com/opengamma/strata/product/common/PayReceive.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaj  https://github.com/OpenGamma/Strata/raw/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.java?ref=1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04j  X{  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -93,6 +95,21 @@ public double normalize(double amount) {
     return isPay() ? -normalized : normalized;
   }
 
+  /**
+   * Normalizes the specified notional amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isPay() ? normalized.negated() : normalized;
+  }
+
   /**
    * Normalizes the specified amount using this pay/receive rule.
    * <p>
@@ -108,6 +125,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isPay() ? amount.negative() : amount.positive();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isPay() ? amount.negative() : amount.positive();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Pay'.u}(jY  (31123a560f1cb818b0016849184b9055eb7762f2j  Rmodules/product/src/test/java/com/opengamma/strata/product/common/BuySellTest.javaj  modifiedj  K j  K j  K j  https://github.com/OpenGamma/Strata/blob/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj  https://github.com/OpenGamma/Strata/raw/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.java?ref=1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04j  X  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link BuySell}.
@@ -42,13 +44,28 @@ public void test_normalize_sell_double() {
     assertThat(BuySell.SELL.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_sell_decimal() {
+    assertThat(BuySell.SELL.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.SELL.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_sell_amount() {
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_sell_money() {
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
+
   @Test
   public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -57,13 +74,28 @@ public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_buy_decimal() {
+    assertThat(BuySell.BUY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.BUY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_buy_amount() {
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_buy_money() {
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isBuy() {
     assertThat(BuySell.BUY.isBuy()).isTrue();u}(jY  (b507e29413d3aa67b960b66570e948d517e8896fj  Umodules/product/src/test/java/com/opengamma/strata/product/common/PayReceiveTest.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaj  https://github.com/OpenGamma/Strata/raw/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.java?ref=1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04j  Xj  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link PayReceive}.
@@ -51,13 +53,27 @@ public void test_normalize_pay_double() {
     assertThat(PayReceive.PAY.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_pay_decimal() {
+    assertThat(PayReceive.PAY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_pay_amount() {
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_pay_money() {
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
   @Test
   public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -66,13 +82,28 @@ public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_receive_decimal() {
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_receive_amount() {
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_receive_money() {
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isPay() {
     assertThat(PayReceive.PAY.isPay()).isTrue();ueu(4c68336777fdfe25a0302e84c95e5011cda87f2a}(sha(4c68336777fdfe25a0302e84c95e5011cda87f2anode_idEC_kwDOAT6l0doAKDRjNjgzMzY3NzdmZGZlMjVhMDMwMmU4NGM5NWU1MDExY2RhODdmMmEcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-30T10:04:46Zu	committer}(j  yukiiwashitaj  %yukiiwashita@users.noreply.github.comj  2023-05-30T10:04:46Zumessage7addressed review comments, remove handling for gb bondstree}(j  (f15347d0da13e2388be749d68a20aa613fbfaf6furl`https://api.github.com/repos/OpenGamma/Strata/git/trees/f15347d0da13e2388be749d68a20aa613fbfaf6fuj   bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/4c68336777fdfe25a0302e84c95e5011cda87f2a
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj   ^https://api.github.com/repos/OpenGamma/Strata/commits/4c68336777fdfe25a0302e84c95e5011cda87f2ahtml_urlShttps://github.com/OpenGamma/Strata/commit/4c68336777fdfe25a0302e84c95e5011cda87f2acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/4c68336777fdfe25a0302e84c95e5011cda87f2a/commentsj  }(loginyukiiwashitaidJ- j  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3j   )https://api.github.com/users/yukiiwashitaj  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminuj  }(j  yukiiwashitaj  J- j  MDQ6VXNlcjMwMDY2NTY=j  3https://avatars.githubusercontent.com/u/3006656?v=4j  h3j   )https://api.github.com/users/yukiiwashitaj  https://github.com/yukiiwashitaj  3https://api.github.com/users/yukiiwashita/followersj  @https://api.github.com/users/yukiiwashita/following{/other_user}j  9https://api.github.com/users/yukiiwashita/gists{/gist_id}j   @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}j"  7https://api.github.com/users/yukiiwashita/subscriptionsj$  .https://api.github.com/users/yukiiwashita/orgsj&  /https://api.github.com/users/yukiiwashita/reposj(  :https://api.github.com/users/yukiiwashita/events{/privacy}j*  9https://api.github.com/users/yukiiwashita/received_eventsj,  Userj.  uparents]}(j  (daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2j   ^https://api.github.com/repos/OpenGamma/Strata/commits/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2j  Shttps://github.com/OpenGamma/Strata/commit/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2uastats}(totalKb	additionsK	deletionsKJufiles](}(j  (185c12c22b7b6fb8d69fbe476d8d0e2e40d7d257filenameCmodules/data/src/main/java/com/opengamma/strata/data/FieldName.javastatusmodifiedjH  KjI  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.java?ref=4c68336777fdfe25a0302e84c95e5011cda87f2apatchX~  @@ -80,13 +80,13 @@ public final class FieldName
    * <p>
    * This is used to refer to the real yield of a capital indexed bond.
    */
-  public static final FieldName REAL_YIELD = of("RealYield");
+  public static final FieldName REAL_YIELD_TO_MATURITY = of("RealYieldToMaturity");
   /**
    * The field name for the nominal yield.
    * <p>
    * This is used to refer to the yield of a coupon bond or bill.
    */
-  public static final FieldName NOMINAL_YIELD = of("NominalYield");
+  public static final FieldName NOMINAL_YIELD_TO_MATURITY = of("NominalYieldToMaturity");
   /**
    * The field name for the par yield.
    * <p>u}(j  (03141b1120ec41ba9c3242553ac0a4aa1ce5e14ajN  Gmodules/data/src/test/java/com/opengamma/strata/data/FieldNameTest.javajP  modifiedjH  KjI  KjR  KjS  https://github.com/OpenGamma/Strata/blob/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javajU  https://github.com/OpenGamma/Strata/raw/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javajW  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.java?ref=4c68336777fdfe25a0302e84c95e5011cda87f2ajY  X  @@ -26,10 +26,10 @@ public void test_of() {
     assertThat(cleanRealPrice).isEqualTo(FieldName.CLEAN_REAL_PRICE);
     FieldName cleanNominalPrice = FieldName.of("CleanNominalPrice");
     assertThat(cleanNominalPrice).isEqualTo(FieldName.CLEAN_NOMINAL_PRICE);
-    FieldName realYield = FieldName.of("RealYield");
-    assertThat(realYield).isEqualTo(FieldName.REAL_YIELD);
-    FieldName nominalYield = FieldName.of("NominalYield");
-    assertThat(nominalYield).isEqualTo(FieldName.NOMINAL_YIELD);
+    FieldName realYieldToMaturity = FieldName.of("RealYieldToMaturity");
+    assertThat(realYieldToMaturity).isEqualTo(FieldName.REAL_YIELD_TO_MATURITY);
+    FieldName nominalYieldToMaturity = FieldName.of("NominalYieldToMaturity");
+    assertThat(nominalYieldToMaturity).isEqualTo(FieldName.NOMINAL_YIELD_TO_MATURITY);
   }
 
   //-----------------------------------------------------------------------u}(j  (263361245c6c2d232b962a329ff1c0eba02b344ejN  mmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricer.javajP  modifiedjH  KjI  KjR  KjS  https://github.com/OpenGamma/Strata/blob/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javajU  https://github.com/OpenGamma/Strata/raw/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javajW  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.java?ref=4c68336777fdfe25a0302e84c95e5011cda87f2ajY  X  @@ -874,9 +874,6 @@ public double cleanPriceFromRealYield(
       double yield) {
 
     double dirtyPrice = dirtyPriceFromRealYield(bond, ratesProvider, settlementDate, yield);
-    if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-      return cleanNominalPriceFromDirtyNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice);
-    }
     return cleanRealPriceFromDirtyRealPrice(bond, settlementDate, dirtyPrice);
   }
 
@@ -962,15 +959,10 @@ public double realYieldFromCurves(
 
     validate(ratesProvider, discountingProvider);
     LocalDate settlementDate = bond.calculateSettlementDateFromValuation(ratesProvider.getValuationDate(), refData);
-    double dirtyPrice;
-    if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-      dirtyPrice = dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
-    } else {
-      double dirtyNominalPrice =
-          dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
-      dirtyPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyNominalPrice);
-    }
-    return realYieldFromDirtyPrice(bond, ratesProvider, settlementDate, dirtyPrice);
+    double dirtyNominalPrice =
+        dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
+    double dirtyRealPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyNominalPrice);
+    return realYieldFromDirtyPrice(bond, ratesProvider, settlementDate, dirtyRealPrice);
   }
 
   /**
@@ -1334,9 +1326,6 @@ public Double apply(Double z) {
             z,
             compoundedRateType,
             periodsPerYear);
-        if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-          return cleanNominalPriceFromDirtyNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice) - cleanPrice;
-        }
         double dirtyRealPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice);
         return cleanRealPriceFromDirtyRealPrice(bond, settlementDate, dirtyRealPrice) - cleanPrice;
       }u}(j  (4fcb60cb35f8ff510962c1b96974b9cfc7160fefjN  qmodules/pricer/src/test/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricerTest.javajP  modifiedjH  KjI  KjR  KjS  https://github.com/OpenGamma/Strata/blob/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.java?     jU  https://github.com/OpenGamma/Strata/raw/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.javajW  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.java?ref=4c68336777fdfe25a0302e84c95e5011cda87f2ajY  X  @@ -813,13 +813,12 @@ public void test_accruedInterest_us() {
   public void test_priceFromRealYield_ukGov() {
     LocalDate standardSettle = PRODUCT_GOV.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
     double computed = PRICER.cleanPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
-    assertThat(computed).isCloseTo(3.60, offset(1.e-2));
+    assertThat(computed).isCloseTo(3.60, offset(1.e-1));
     double computedOnePeriod = PRICER.cleanPriceFromRealYield(PRODUCT_GOV_OP, RATES_PROVS_GB, PRODUCT_GOV_OP
         .getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA), YIELD_GOV_OP);
     assertThat(computedOnePeriod).isCloseTo(3.21, offset(4.e-2));
     double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
-    double cleanPrice = PRICER.cleanNominalPriceFromDirtyNominalPrice(
-        PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double cleanPrice = PRICER.cleanRealPriceFromDirtyRealPrice(PRODUCT_GOV, standardSettle, dirtyPrice);
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_GOV, offset(TOL));
@@ -876,7 +875,8 @@ public void test_realYieldFromCurves_ukGov() {
     double computed = PRICER.realYieldFromCurves(PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA);
     double dirtyNominalPrice = PRICER.dirtyNominalPriceFromCurves(
         PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA);
-    double expected = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double dirtyRealPrice = PRICER.realPriceFromNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double expected = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyRealPrice);
     assertThat(computed).isCloseTo(expected, offset(TOL));
   }
 
@@ -887,8 +887,10 @@ public void zSpreadFromCurvesAndCleanPrice_ukGov() {
         PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, Z_SPREAD, PERIODIC, PERIOD_PER_YEAR);
     double cleanNominalPrice =
         PRICER.cleanNominalPriceFromDirtyNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double cleanRealPrice =
+        PRICER.realPriceFromNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, cleanNominalPrice);
     double computed = PRICER.zSpreadFromCurvesAndCleanPrice(
-        PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, cleanNominalPrice, PERIODIC, PERIOD_PER_YEAR);
+        PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, cleanRealPrice, PERIODIC, PERIOD_PER_YEAR);
     assertThat(computed).isCloseTo(Z_SPREAD, offset(TOL));
   }
 u}(j  (fceac6a0af68134022e4213740d8ca9313b4c49ajN  fmodules/product/src/main/java/com/opengamma/strata/product/bond/CapitalIndexedBondYieldConvention.javajP  modifiedjH  KjI  K'jR  K.jS  https://github.com/OpenGamma/Strata/blob/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javajU  https://github.com/OpenGamma/Strata/raw/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javajW  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.java?ref=4c68336777fdfe25a0302e84c95e5011cda87f2ajY  X!  @@ -27,52 +27,27 @@ public enum CapitalIndexedBondYieldConvention implements NamedEnum {
   /**
    * The US real yield convention. Used for TIPS (see Federal Register Vol. 69, N0. 170, p 53623).
    */
-  US_IL_REAL("US-I/L-Real") {
-    @Override
-    public boolean isRealPrice() {
-      return true;
-    }
-  },
+  US_IL_REAL("US-I/L-Real"),
 
   /**
    * The UK real yield convention. Used for inflation linked GILTS.
    */
-  GB_IL_FLOAT("GB-I/L-Float") {
-    @Override
-    public boolean isRealPrice() {
-      return false;
-    }
-  },
+  GB_IL_FLOAT("GB-I/L-Float"),
 
   /**
    * The UK real yield convention. Used for UK inflation linked corporate bond.
    */
-  GB_IL_BOND("GB-I/L-Bond") {
-    @Override
-    public boolean isRealPrice() {
-      return false;
-    }
-  },
+  GB_IL_BOND("GB-I/L-Bond"),
 
   /**
-   * The Japan simple yield convention for inflation index bond.
+   * The Japan simple real yield convention for inflation index bond.
    */
-  JP_IL_SIMPLE("JP-I/L-Simple") {
-    @Override
-    public boolean isRealPrice() {
-      return true;
-    }
-  },
+  JP_IL_SIMPLE("JP-I/L-Simple"),
 
   /**
-   * The Japan compound yield convention for inflation index bond.
+   * The Japan compound real yield convention for inflation index bond.
    */
-  JP_IL_COMPOUND("JP-I/L-Compound") {
-    @Override
-    public boolean isRealPrice() {
-      return true;
-    }
-  };
+  JP_IL_COMPOUND("JP-I/L-Compound");
 
   // helper for name conversions
   private static final EnumNames<CapitalIndexedBondYieldConvention> NAMES =
@@ -114,11 +89,4 @@ public String toString() {
     return name;
   }
 
-  /**
-   * Returns true if the price calculated by the yield convention is a real price.
-   *
-   * @return true if the price is real
-   */
-  public abstract boolean isRealPrice();
-
 }u}(j  (b13ef70168088bd6e21cab9fed91f92680b31e88jN  jmodules/product/src/test/java/com/opengamma/strata/product/bond/CapitalIndexedBondYieldConventionTest.javajP  modifiedjH  K jI  K	jR  K	jS  https://github.com/OpenGamma/Strata/blob/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConventionTest.javajU  https://github.com/OpenGamma/Strata/raw/4c68336777fdfe25a0302e84c95e5011cda87f2a/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConventionTest.javajW  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConventionTest.java?ref=4c68336777fdfe25a0302e84c95e5011cda87f2ajY  X  @@ -62,15 +62,6 @@ public void test_of_lookupStandard(CapitalIndexedBondYieldConvention convention,
     assertThat(CapitalIndexedBondYieldConvention.of(convention.name())).isEqualTo(convention);
   }
 
-  @Test
-  public void test_isRealYield() {
-    assertThat(CapitalIndexedBondYieldConvention.US_IL_REAL.isRealPrice()).isTrue();
-    assertThat(CapitalIndexedBondYieldConvention.GB_IL_BOND.isRealPrice()).isFalse();
-    assertThat(CapitalIndexedBondYieldConvention.GB_IL_FLOAT.isRealPrice()).isFalse();
-    assertThat(CapitalIndexedBondYieldConvention.JP_IL_COMPOUND.isRealPrice()).isTrue();
-    assertThat(CapitalIndexedBondYieldConvention.JP_IL_SIMPLE.isRealPrice()).isTrue();
-  }
-
   @Test
   public void test_of_lookup_notFound() {
     assertThatIllegalArgumentException()ueu(f98b3d8de123df98d3700c8e65923dbc121ba1c8}(sha(f98b3d8de123df98d3700c8e65923dbc121ba1c8node_idEC_kwDOAT6l0doAKGY5OGIzZDhkZTEyM2RmOThkMzcwMGM4ZTY1OTIzZGJjMTIxYmExYzgcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-06-08T10:52:05Zu	committer}(j  GitHubj  noreply@github.comj  2023-06-08T10:52:05ZumessageX  Bump guava from 31.1-jre to 32.0.0-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j  (7128157a03eb201e181d6c65a2d9790eef662595url`https://api.github.com/repos/OpenGamma/Strata/git/trees/7128157a03eb201e181d6c65a2d9790eef662595uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f98b3d8de123df98d3700c8e65923dbc121ba1c8
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkgbLVCRBK7hj4Ov3rIwAAwEEIAJ6zwwzC0seVF/McOkCjSShJ
w+qAmWCETs//QR1lIntFD7WY3YTgC9tx0nWrmGt0vK/LhXEE8fxTbqeXK4B+cgr+
46gaozuLFn2y4WsOvB91MsQuvZe7PMYmAuezp5GxVWqF1ZqccMTNF+aLTaRNtx8H
Q/8tJq91JioyK5cIb5noODD5KV0wm7LLKbjnjakrhQddL283AZKk27lMblv0TT3I
gaMm3hWPN+4lJwoROCwVIdRo/EqAFj6/4ajiwRrhkiJAqJmkaIeerWPrf2mJCLQ1
0ff6qbNa2F4F+tFCUTwKCDSz3rHW1xiHmrNDmWGNBf1aEx4cXM17jm5Fjr3w7W4=
=XtEQ
-----END PGP SIGNATURE-----
payloadXy  tree 7128157a03eb201e181d6c65a2d9790eef662595
parent 35ee2b76b1d5da41774e5039bd03e51366dc4a47
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1686221525 +0000
committer GitHub <noreply@github.com> 1686221525 +0000

Bump guava from 31.1-jre to 32.0.0-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>uuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/f98b3d8de123df98d3700c8e65923dbc121ba1c8html_urlShttps://github.com/OpenGamma/Strata/commit/f98b3d8de123df98d3700c8e65923dbc121ba1c8comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f98b3d8de123df98d3700c8e65923dbc121ba1c8/commentsj  }(logindependabot[bot]idJZj  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j  0https://api.github.com/users/dependabot%5Bbot%5Dj  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj  }(j  web-flowj  J/j  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3j  %https://api.github.com/users/web-flowj  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(j  (35ee2b76b1d5da41774e5039bd03e51366dc4a47j  ^https://api.github.com/repos/OpenGamma/Strata/commits/35ee2b76b1d5da41774e5039bd03e51366dc4a47j  Shttps://github.com/OpenGamma/Strata/commit/35ee2b76b1d5da41774e5039bd03e51366dc4a47uastats}(totalK	additionsK	deletionsKufiles]}(j  (160dd26836e60306eb21baa6a84743c71d72c558filenamemodules/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/f98b3d8de123df98d3700c8e65923dbc121ba1c8/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/f98b3d8de123df98d3700c8e65923dbc121ba1c8/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=f98b3d8de123df98d3700c8e65923dbc121ba1c8patchXl  @@ -765,7 +765,7 @@
     <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
-    <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
+    <guava.version>32.0.0-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>uau(aa9fa670104f06aca2999d66e1bf22546deca9e5}(sha(aa9fa670104f06aca2999d66e1bf22546deca9e5node_idEC_kwDOAT6l0doAKGFhOWZhNjcwMTA0ZjA2YWNhMjk5OWQ2NmUxYmYyMjU0NmRlY2E5ZTUcommit}(author}(nameAnandemailanand@opengamma.comdate2023-03-27T10:29:17Zu	committer}(j  Anandj  anand@opengamma.comj  2023-04-02T17:25:16Zumessage<BuySell and PayReceive util methods for Decimal and BigMoneytree}(j  (3d014b35b8e8be770bf4f2fc728104b5235c7ce2url`https://api.github.com/repos/OpenGamma/Strata/git/trees/3d014b35b8e8be770bf4f2fc728104b5235c7ce2uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/aa9fa670104f06aca2999d66e1bf22546deca9e5
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/aa9fa670104f06aca2999d66e1bf22546deca9e5html_urlShttps://github.com/OpenGamma/Strata/commit/aa9fa670104f06aca2999d66e1bf22546deca9e5comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/aa9fa670104f06aca2999d66e1bf22546deca9e5/commentsj  }(loginanand-ukidJj  MDQ6VXNlcjQ5OTE3NDcw
avatar_url4https://avatars.githubusercontent.com/u/49917470?v=4gravatar_idh3j  %https://api.github.com/users/anand-ukj   https://github.com/anand-uk
followers_url/https://api.github.com/users/anand-uk/followers
following_url<https://api.github.com/users/anand-uk/following{/other_user}	gists_url5https://api.github.com/users/anand-uk/gists{/gist_id}starred_url<https://api.github.com/users/anand-uk/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/anand-uk/subscriptionsorganizations_url*https://api.github.com/users/anand-uk/orgs	repos_url+https://api.github.com/users/anand-uk/repos
events_url6https://api.github.com/users/anand-uk/events{/privacy}received_events_url5https://api.github.com/users/anand-uk/received_eventstypeUser
site_adminuj
  }(j%  anand-ukj'  Jj  MDQ6VXNlcjQ5OTE3NDcwj)  4https://avatars.githubusercontent.com/u/49917470?v=4j+  h3j  %https://api.github.com/users/anand-ukj   https://github.com/anand-ukj.  /https://api.github.com/users/anand-uk/followersj0  <https://api.github.com/users/anand-uk/following{/other_user}j2  5https://api.github.com/users/anand-uk/gists{/gist_id}j4  <https://api.github.com/users/anand-uk/starred{/owner}{/repo}j6  3https://api.github.com/users/anand-uk/subscriptionsj8  *https://api.github.com/users/anand-uk/orgsj:  +https://api.github.com/users/anand-uk/reposj<  6https://api.github.com/users/anand-uk/events{/privacy}j>  5https://api.github.com/users/anand-uk/received_eventsj@  UserjB  uparents]}(j  (3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eaj   Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK}	additionsK}	deletionsK ufiles](}(j  (17132cc647223fe2f29f6f18c23ab208666729eafilenameNmodules/product/src/main/java/com/opengamma/strata/product/common/BuySell.javastatusmodifiedj\  Kj]  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/aa9fa670104f06aca2999d66e1bf22546deca9e5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/aa9fa670104f06aca2999d66e1bf22546deca9e5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.java?ref=aa9fa670104f06aca2999d66e1bf22546deca9e5patchXj  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -80,6 +82,21 @@ public double normalize(double amount) {
     return isBuy() ? normalized : -normalized;
   }
 
+  /**
+   * Normalizes the specified {@code Decimal} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input amount
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isBuy() ? normalized : normalized.negated();
+  }
+
   /**
    * Normalizes the specified amount using this buy/sell rule.
    * <p>
@@ -95,6 +112,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isBuy() ? amount.positive() : amount.negative();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input notional
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isBuy() ? amount.positive() : amount.negative();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Buy'.u}(j  (c77d9d1fab93c2d89463aa1f0e966a4414fa1156jb  Qmodules/product/src/main/java/com/opengamma/strata/product/common/PayReceive.javajd  modifiedj\  Kj]  K jf  Kjg  https://github.com/OpenGamma/Strata/blob/aa9fa670104f06aca2999d66e1bf22546deca9e5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaji  https://github.com/OpenGamma/Strata/raw/aa9fa670104f06aca2999d66e1bf22546deca9e5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javajk  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.java?ref=aa9fa670104f06aca2999d66e1bf22546deca9e5jm  X{  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -93,6 +95,21 @@ public double normalize(double amount) {
     return isPay() ? -normalized : normalized;
   }
 
+  /**
+   * Normalizes the specified notional amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isPay() ? normalized.negated() : normalized;
+  }
+
   /**
    * Normalizes the specified amount using this pay/receive rule.
    * <p>
@@ -108,6 +125,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isPay() ? amount.negative() : amount.positive();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isPay() ? amount.negative() : amount.positive();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Pay'.u}(j  (31123a560f1cb818b0016849184b9055eb7762f2jb  Rmodules/product/src/test/java/com/opengamma/strata/product/common/BuySellTest.javajd  modifiedj\  K j]  K jf  K jg  https://github.com/OpenGamma/Strata/blob/aa9fa670104f06aca2999d66e1bf22546deca9e5/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaji  https://github.com/OpenGamma/Strata/raw/aa9fa670104f06aca2999d66e1bf22546deca9e5/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javajk  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.java?ref=aa9fa670104f06aca2999d66e1bf22546deca9e5jm  X  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link BuySell}.
@@ -42,13 +44,28 @@ public void test_normalize_sell_double() {
     assertThat(BuySell.SELL.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_sell_decimal() {
+    assertThat(BuySell.SELL.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.SELL.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_sell_amount() {
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_sell_money() {
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
+
   @Test
   public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -57,13 +74,28 @@ public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_buy_decimal() {
+    assertThat(BuySell.BUY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.BUY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_buy_amount() {
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_buy_money() {
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isBuy() {
     assertThat(BuySell.BUY.isBuy()).isTrue();u}(j  (b507e29413d3aa67b960b66570e948d517e8896fjb  Umodules/product/src/test/java/com/opengamma/strata/product/common/PayReceiveTest.javajd  modifiedj\  Kj]  K jf  Kjg  https://github.com/OpenGamma/Strata/blob/aa9fa670104f06aca2999d66e1bf22546deca9e5/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaji  https://github.com/OpenGamma/Strata/raw/aa9fa670104f06aca2999d66e1bf22546deca9e5/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javajk  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.java?ref=aa9fa670104f06aca2999d66e1bf22546deca9e5jm  Xj  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link PayReceive}.
@@ -51,13 +53,27 @@ public void test_normalize_pay_double() {
     assertThat(PayReceive.PAY.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_pay_decimal() {
+    assertThat(PayReceive.PAY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_pay_amount() {
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_pay_money() {
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
   @Test
   public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -66,13 +82,28 @@ public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_receive_decimal() {
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_receive_amount() {
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_receive_money() {
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isPay() {
     assertThat(PayReceive.PAY.isPay()).isTrue();ueu(3e52a50bb942fd782c4429d6d9acf6c794dac7ea}(sha(3e52a50bb942fd782c4429d6d9acf6c794dac7eanode_idEC_kwDOAT6l0doAKDNlNTJhNTBiYjk0MmZkNzgyYzQ0MjlkNmQ5YWNmNmM3OTRkYWM3ZWEcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-03-14T09:50:38Zu	committer}(j  opengammacibotj  cibot@opengamma.comj  2023-03-14T09:50:38Zumessage=[maven-release-plugin] prepare for next development iterationtree}(j  (d12f14a870f99e5121de6939c995dcb996c4ce79url`https://api.github.com/repos/OpenGamma/Strata/git/trees/d12f14a870f99e5121de6939c995dcb996c4ce79uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7ea
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eahtml_urlShttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eacomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/commentsj  }(loginopengammacibotidJq j  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj  }(j  opengammacibotj  Jq j  MDQ6VXNlcjc0NTAyODE=j  3https://avatars.githubusercontent.com/u/7450281?v=4j  h3j  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibotj  5https://api.github.com/users/opengammacibot/followersj  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j  9https://api.github.com/users/opengammacibot/subscriptionsj  0https://api.github.com/users/opengammacibot/orgsj  1https://api.github.com/users/opengammacibot/reposj  <https://api.github.com/users/opengammacibot/events{/privacy}j  ;https://api.github.com/users/opengammacibot/received_eventsj  Userj  uparents]}(j  (9e5dec911fd7b468852693a03108c98a1304cec6j  ^https://api.github.com/repos/OpenGamma/Strata/commits/9e5dec911fd7b468852693a03108c98a1304cec6j  Shttps://github.com/OpenGamma/Strata/commit/9e5dec911fd7b468852693a03108c98a1304cec6uastats}(totalK$	additionsK	deletionsKufiles](}(j  (1bd81ed5a240a626a47c5a29060c1217576f9c5dfilenameexamples/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eapatchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.21</version>
+  <version>2.12.22-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,8 +272,4 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
-
-  <scm>
-    <tag>v2.12.21</tag>
-  </scm>
 </project>u}(j  (3ca4a920ba12ce26ecd09c311911b34f9b3f44f7j  modules/basics/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fbasics%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fbasics%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j  (0a148b13614fb51e6e0d56bc6f64bf36b758c253j  modules/calc/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fcalc%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fcalc%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j  (4b93c0642509ba516d4ca8b5127d19b7c5cf298ej  modules/collect/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fcollect%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fcollect%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j  (20b168d0eddc42ecd551f328d27e8a2628c4e42fj  modules/data/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fdata%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fdata%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j  (1469affc376e1b926ee132d48312d858bc8fa6edj  modules/loader/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Floader%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Floader%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j  (336b2a6223fff921d307ea88daf612cc7c550e0aj  modules/market/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fmarket%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fmarket%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j  (9216787fc4f0d80d035ece14b1678e6843b64e64j  modules/math/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fmath%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fmath%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j  (887ce770a7ca8ec8ea74e39c66a85c2ab8b41150j  modules/measure/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fmeasure%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fmeasure%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j  (e8127cff7ce7ebafaf719ac58359b144400d1ad6j  modules/pom.xmlj  modifiedj  Kj  Kj  Kj  chttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fpom.xmlj  bhttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fpom.xmlj  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.21</version>
+  <version>2.12.22-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.21</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j  (8a9cd0cc2752c2f3d674a992f06d79e60cecd059j  modules/pricer/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fpricer%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fpricer%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j  (02cf09985c76c3069845ffa0619348e409577a7ej  modules/product/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fproduct%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Fproduct%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j  (b833f6f260abcd0d2297f021a92f27402ea43a24j  modules/report/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Freport%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/modules%2Freport%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21</version>
+    <version>2.12.22-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j  (78a55ca574937e0c395a0574254908f3caba43dbj  pom.xmlj  modifiedj  Kj  Kj  Kj  Yhttps://github.com/OpenGamma/Strata/blob/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/pom.xmlj  Xhttps://github.com/OpenGamma/Strata/raw/3e52a50bb942fd782c4429d6d9acf6c794dac7ea/pom.xmlj  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.21</version>
+  <version>2.12.22-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.21</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(21ba6b275a75aee7b0b8f68f20ff15154ba06f2d}(sha(21ba6b275a75aee7b0b8f68f20ff15154ba06f2dnode_idEC_kwDOAT6l0doAKDIxYmE2YjI3NWE3NWFlZTdiMGI4ZjY4ZjIwZmYxNTE1NGJhMDZmMmQcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-03-14T09:51:12Zu	committer}(jn  GitHubjp  noreply@github.comjr  2023-03-14T09:51:12ZumessageX"  Bump assertj-core from 3.23.1 to 3.24.2

Bumps assertj-core from 3.23.1 to 3.24.2.

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(jf  (746dd8398a5b51ae3cf7de1733af239bcc2a8049url`https://api.github.com/repos/OpenGamma/Strata/git/trees/746dd8398a5b51ae3cf7de1733af239bcc2a8049uj~  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/21ba6b275a75aee7b0b8f68f20ff15154ba06f2d
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkEEOQCRBK7hj4Ov3rIwAADwoIAKZvbCQGPTpC4ZIpncvjSVdS
cwDKmAGLeZVQbLfLBCU5m5CN5JZKGCrUXK3FTSYYs5gUTYrzItxcP5FfFB8ihUZg
sA9Q6XKn+KM1ARqQyb8LTtbTWWU4R2rvWQyilWh3VRi9i1pTIGKNqgYPVux2LpXL
97yVuWeslZ5PsG1pV9WOVGtxye/KlMW38FlyU9D71T6SmK1m+rgxUNU87OQ80qPW
PBuZJCwBCu2R5dxIBe7V4IOZk4cbJ9LNmrR3svupqEiLzpiQVGQ5wfvySnadxLVF
4Q5LgBrogO6Ayx/RiZaRW1Rg4OADW0LYVRi0AGeKysXK1S6cndVz0KfE1oggXG4=
=zWqX
-----END PGP SIGNATURE-----
payloadX  tree 746dd8398a5b51ae3cf7de1733af239bcc2a8049
parent 3e52a50bb942fd782c4429d6d9acf6c794dac7ea
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1678787472 +0000
committer GitHub <noreply@github.com> 1678787472 +0000

Bump assertj-core from 3.23.1 to 3.24.2

Bumps assertj-core from 3.23.1 to 3.24.2.

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uuj~  ^https://api.github.com/repos/OpenGamma/Strata/commits/21ba6b275a75aee7b0b8f68f20ff15154ba06f2dhtml_urlShttps://github.com/OpenGamma/Strata/commit/21ba6b275a75aee7b0b8f68f20ff15154ba06f2dcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/21ba6b275a75aee7b0b8f68f20ff15154ba06f2d/commentsjl  }(logindependabot[bot]idJZjh  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j~  0https://api.github.com/users/dependabot%5Bbot%5Dj  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujt  }(j  web-flowj  J/jh  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3j~  %https://api.github.com/users/web-flowj  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(jf  (3e52a50bb942fd782c4429d6d9acf6c794dac7eaj~  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK	additionsK	deletionsKufiles]}(jf  (7e23a17b3b47f20d6df5c88ef98f2f330587cdc7filenamemodules/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/21ba6b275a75aee7b0b8f68f20ff15154ba06f2d/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/21ba6b275a75aee7b0b8f68f20ff15154ba06f2d/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=21ba6b275a75aee7b0b8f68f20ff15154ba06f2dpatchX  @@ -763,7 +763,7 @@
     <root.dir>${project.basedir}/..</root.dir>
     <!-- Versions -->
     <asm.version>9.4</asm.version>
-    <assertj.version>3.23.1</assertj.version>
+    <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
     <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>uau(7dde4b52ef5bb850f087d81a3166c878123e6293}(sha(7dde4b52ef5bb850f087d81a3166c878123e6293node_idEC_kwDOAT6l0doAKDdkZGU0YjUyZWY1YmI4NTBmMDg3ZDgxYTMxNjZjODc4MTIzZTYyOTMcommit}(author}(nameStephen Colebourneemailscolebourne@joda.orgdate2023-05-09T12:44:24Zu	committer}(j  Stephen Colebournej  scolebourne@joda.orgj  2023-05-09T12:44:24Zumessage5Add CharMatchers

Provide standard character matcherstree}(j  (94200a047435891c936fbc6d7a78d5ee24149ebfurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/94200a047435891c936fbc6d7a78d5ee24149ebfuj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/7dde4b52ef5bb850f087d81a3166c878123e6293
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/7dde4b52ef5bb850f087d81a3166c878123e6293html_urlShttps://github.com/OpenGamma/Strata/commit/7dde4b52ef5bb850f087d81a3166c878123e6293comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/7dde4b52ef5bb850f087d81a3166c878123e6293/commentsj  }(loginjodastephenidJ@ j  MDQ6VXNlcjIxMzIxMg==
avatar_url2https://avatars.githubusercontent.com/u/213212?v=4gravatar_idh3j  (https://api.github.com/users/jodastephenj	  https://github.com/jodastephen
followers_url2https://api.github.com/users/jodastephen/followers
following_url?https://api.github.com/users/jodastephen/following{/other_user}	gists_url8https://api.github.com/users/jodastephen/gists{/gist_id}starred_url?https://api.github.com/users/jodastephen/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/jodastephen/subscriptionsorganizations_url-https://api.github.com/users/jodastephen/orgs	repos_url.https://api.github.com/users/jodastephen/repos
events_url9https://api.github.com/users/jodastephen/events{/privacy}received_events_url8https://api.github.com/users/jodastephen/received_eventstypeUser
site_adminuj  }(j	  jodastephenj	  J@ j  MDQ6VXNlcjIxMzIxMg==j
	  2https://avatars.githubusercontent.com/u/213212?v=4j	  h3j  (https://api.github.com/users/jodastephenj	  https://github.com/jodastephenj	  2https://api.github.com/users/jodastephen/followersj	  ?https://api.github.com/users/jodastephen/following{/other_user}j	  8https://api.github.com/users/jodastephen/gists{/gist_id}j	  ?https://api.github.com/users/jodastephen/starred{/owner}{/repo}j	  6https://api.github.com/users/jodastephen/subscriptionsj	  -https://api.github.com/users/jodastephen/orgsj	  .https://api.github.com/users/jodastephen/reposj	  9https://api.github.com/users/jodastephen/events{/privacy}j	  8https://api.github.com/users/jodastephen/received_eventsj!	  Userj#	  uparents]}(j  (f44d43be5226d9f415cd9cc082b9178e16b5d022j  ^https://api.github.com/repos/OpenGamma/Strata/commits/f44d43be5226d9f415cd9cc082b9178e16b5d022j	  Shttps://github.com/OpenGamma/Strata/commit/f44d43be5226d9f415cd9cc082b9178e16b5d022uastats}(totalK	additionsK	deletionsK ufiles](}(j  (ae81f3b9126599b795df0024ec164084a67313fffilenameLmodules/collect/src/main/java/com/opengamma/strata/collect/CharMatchers.javastatusaddedj=	  Kgj>	  K changesKgblob_urlhttps://github.com/OpenGamma/Strata/blob/7dde4b52ef5bb850f087d81a3166c878123e6293/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchers.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/7dde4b52ef5bb850f087d81a3166c878123e6293/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchers.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchers.java?ref=7dde4b52ef5bb850f087d81a3166c878123e6293patchX
  @@ -0,0 +1,103 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.collect;
+
+import com.google.common.base.CharMatcher;
+
+/**
+ * Useful Guava character matchers.
+ */
+public final class CharMatchers {
+
+  private static final CharMatcher UPPER_LETTERS = CharMatcher.inRange('A', 'Z');
+  private static final CharMatcher LOWER_LETTERS = CharMatcher.inRange('a', 'z');
+  private static final CharMatcher LETTERS = UPPER_LETTERS.or(LOWER_LETTERS);
+  private static final CharMatcher DIGITS = CharMatcher.inRange('0', '9');
+  private static final CharMatcher LETTERS_DIGITS = LETTERS.or(DIGITS);
+  private static final CharMatcher UPPER_HEX = DIGITS.or(CharMatcher.inRange('A', 'F'));
+  private static final CharMatcher LOWER_HEX = DIGITS.or(CharMatcher.inRange('a', 'f'));
+  private static final CharMatcher HEX = UPPER_HEX.or(LOWER_HEX);
+
+  /**
+   * Restricted constructor.
+   */
+  private CharMatchers() {
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Returns the matcher for ASCII upper case letters.
+   *
+   * @return the matcher for ASCII upper case letters
+   */
+  public static CharMatcher upperLetters() {
+    return UPPER_LETTERS;
+  }
+
+  /**
+   * Returns the matcher for ASCII upper case letters.
+   *
+   * @return the matcher for ASCII upper case letters
+   */
+  public static CharMatcher lowerLetters() {
+    return LOWER_LETTERS;
+  }
+
+  /**
+   * Returns the matcher for ASCII letters.
+   *
+   * @return the matcher for ASCII letters
+   */
+  public static CharMatcher letters() {
+    return LETTERS;
+  }
+
+  /**
+   * Returns the matcher for ASCII digits.
+   *
+   * @return the matcher for ASCII digits
+   */
+  public static CharMatcher digits() {
+    return DIGITS;
+  }
+
+  /**
+   * Returns the matcher for ASCII letters and digits.
+   *
+   * @return the matcher for ASCII letters and digits
+   */
+  public static CharMatcher lettersAndDigits() {
+    return LETTERS_DIGITS;
+  }
+
+  /**
+   * Returns the matcher for ASCII upper case hex characters.
+   *
+   * @return the matcher for ASCII upper case hex characters
+   */
+  public static CharMatcher upperHex() {
+    return UPPER_HEX;
+  }
+
+  /**
+   * Returns the matcher for ASCII upper case hex characters.
+   *
+   * @return the matcher for ASCII upper case hex characters
+   */
+  public static CharMatcher lowerHex() {
+    return LOWER_HEX;
+  }
+
+  /**
+   * Returns the matcher for ASCII hex characters.
+   *
+   * @return the matcher for ASCII hex characters
+   */
+  public static CharMatcher hex() {
+    return HEX;
+  }
+
+}u}(j  (182e919327d7b57b9ff177d8f3e4d914143ace5djC	  Pmodules/collect/src/test/java/com/opengamma/strata/collect/CharMatchersTest.javajE	  addedj=	  KMj>	  K jG	  KMjH	  https://github.com/OpenGamma/Strata/blob/7dde4b52ef5bb850f087d81a3166c878123e6293/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchersTest.javajJ	  https://github.com/OpenGamma/Strata/raw/7dde4b52ef5bb850f087d81a3166c878123e6293/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchersTest.javajL	  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchersTest.java?ref=7dde4b52ef5bb850f087d81a3166c878123e6293jN	  XH  @@ -0,0 +1,77 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.collect;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+import org.junit.jupiter.api.Test;
+
+/**
+ * Test CharMatchers.
+ */
+public class CharMatchersTest {
+
+  @Test
+  public void test_upperLetters() {
+    assertThat(CharMatchers.upperLetters().matchesAllOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.upperLetters().matchesNoneOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.upperLetters().matchesNoneOf("0123456789"));
+    assertThat(CharMatchers.upperLetters().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_lowerLetters() {
+    assertThat(CharMatchers.lowerLetters().matchesNoneOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.lowerLetters().matchesAllOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.lowerLetters().matchesNoneOf("0123456789"));
+    assertThat(CharMatchers.lowerLetters().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_letters() {
+    assertThat(CharMatchers.letters().matchesAllOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.letters().matchesAllOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.letters().matchesNoneOf("0123456789"));
+    assertThat(CharMatchers.letters().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_digits() {
+    assertThat(CharMatchers.digits().matchesNoneOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.digits().matchesNoneOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.digits().matchesAllOf("0123456789"));
+    assertThat(CharMatchers.digits().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_lettersAndDigits() {
+    assertThat(CharMatchers.lettersAndDigits().matchesAllOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.lettersAndDigits().matchesAllOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.lettersAndDigits().matchesAllOf("0123456789"));
+    assertThat(CharMatchers.lettersAndDigits().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_upperHex() {
+    assertThat(CharMatchers.upperHex().matchesAllOf("0123456789ABCDEF"));
+    assertThat(CharMatchers.upperHex().matchesNoneOf("abcdef"));
+    assertThat(CharMatchers.upperHex().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_lowerHex() {
+    assertThat(CharMatchers.lowerHex().matchesAllOf("0123456789abcdef"));
+    assertThat(CharMatchers.lowerHex().matchesNoneOf("ABCDEF"));
+    assertThat(CharMatchers.lowerHex().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_hex() {
+    assertThat(CharMatchers.hex().matchesAllOf("0123456789abcdefABCDEF"));
+    assertThat(CharMatchers.hex().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+}ueu(6120c8d044969247094a4d073decfb024b6cdcc9}(sha(6120c8d044969247094a4d073decfb024b6cdcc9node_idEC_kwDOAT6l0doAKDYxMjBjOGQwNDQ5NjkyNDcwOTRhNGQwNzNkZWNmYjAyNGI2Y2RjYzkcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-29T16:43:34Zu	committer}(jb	  yukiiwashitajd	  %yukiiwashita@users.noreply.github.comjf	  2023-05-29T16:43:34Zumessagetest derivativestree}(jZ	  (26880aea1645ff46da46b59d585e978b85dd4f72url`https://api.github.com/repos/OpenGamma/Strata/git/trees/26880aea1645ff46da46b59d585e978b85dd4f72ujr	  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/6120c8d044969247094a4d073decfb024b6cdcc9
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujr	  ^https://api.github.com/repos/OpenGamma/Strata/commits/6120c8d044969247094a4d073decfb024b6cdcc9html_urlShttps://github.com/OpenGamma/Strata/commit/6120c8d044969247094a4d073decfb024b6cdcc9comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/6120c8d044969247094a4d073decfb024b6cdcc9/commentsj`	  }(loginyukiiwashitaidJ- j\	  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3jr	  )https://api.github.com/users/yukiiwashitaj~	  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminujh	  }(j	  yukiiwashitaj	  J- j\	  MDQ6VXNlcjMwMDY2NTY=j	  3https://avatars.githubusercontent.com/u/3006656?v=4j	  h3jr	  )https://api.github.com/users/yukiiwashitaj~	  https://github.com/yukiiwashitaj	  3https://api.github.com/users/yukiiwashita/followersj	  @https://api.github.com/users/yukiiwashita/following{/other_user}j	  9https://api.github.com/users/yukiiwashita/gists{/gist_id}j	  @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}j	  7https://api.github.com/users/yukiiwashita/subscriptionsj	  .https://api.github.com/users/yukiiwashita/orgsj	  /https://api.github.com/users/yukiiwashita/reposj	  :https://api.github.com/users/yukiiwashita/events{/privacy}j	  9https://api.github.com/users/yukiiwashita/received_eventsj	  Userj	  uparents]}(jZ	  (fd10038e0660fb80be00a5a378eec58d5c452e82jr	  ^https://api.github.com/repos/OpenGamma/Strata/commits/fd10038e0660fb80be00a5a378eec58d5c452e82j~	  Shttps://github.com/OpenGamma/Strata/commit/fd10038e0660fb80be00a5a378eec58d5c452e82uastats}(totalM	additionsM	deletionsKufiles](}(jZ	  (81e9c469f00eec51bc76df376d34b9a3cae12f77filenameCmodules/data/src/main/java/com/opengamma/strata/data/FieldName.javastatusmodifiedj	  Kj	  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/6120c8d044969247094a4d073decfb024b6cdcc9/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/6120c8d044969247094a4d073decfb024b6cdcc9/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.java?ref=6120c8d044969247094a4d073decfb024b6cdcc9patchX  @@ -65,18 +65,18 @@ public final class FieldName
    * The dirty price includes the accrued interest.
    */
   public static final FieldName DIRTY_PRICE = of("DirtyPrice");
-  /**
-   * The field name for the dirty real price of a capital indexed bond.
-   * <p>
-   * The dirty real price includes the accrued interest.
-   */
-  public static final FieldName DIRTY_REAL_PRICE = of("DirtyRealPrice");
-  /**
-   * The field name for the dirty nominal price of a capital indexed bond.
-   * <p>
-   * The dirty nominal price includes the accrued interest.
-   */
-  public static final FieldName DIRTY_NOMINAL_PRICE = of("DirtyNominalPrice");
+  ///** TODO do we need these?
+  // * The field name for the dirty real price of a capital indexed bond.
+  // * <p>
+  // * The dirty real price includes the accrued interest.
+  // */
+  //public static final FieldName DIRTY_REAL_PRICE = of("DirtyRealPrice");
+  ///**
+  // * The field name for the dirty nominal price of a capital indexed bond.
+  // * <p>
+  // * The dirty nominal price includes the accrued interest.
+  // */
+  //public static final FieldName DIRTY_NOMINAL_PRICE = of("DirtyNominalPrice");
   /**
    * The field name for the volatility of an asset.
    */uT     }(jZ	  (0f1eb530529affb75f1f6d74e33ec3707d702cf7j	  mmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricer.javaj	  modifiedj	  Kj	  K j	  Kj	  https://github.com/OpenGamma/Strata/blob/6120c8d044969247094a4d073decfb024b6cdcc9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javaj	  https://github.com/OpenGamma/Strata/raw/6120c8d044969247094a4d073decfb024b6cdcc9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javaj	  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.java?ref=6120c8d044969247094a4d073decfb024b6cdcc9j	  XZ2  @@ -16,7 +16,9 @@
 import com.opengamma.strata.basics.currency.Currency;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.basics.currency.MultiCurrencyAmount;
+import com.opengamma.strata.basics.value.ValueDerivatives;
 import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.collect.array.DoubleArray;
 import com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries;
 import com.opengamma.strata.market.sensitivity.PointSensitivityBuilder;
 import com.opengamma.strata.math.impl.rootfinding.BracketRoot;
@@ -702,6 +704,154 @@ public double dirtyPriceFromRealYield(
         "The convention " + bond.getYieldConvention().toString() + " is not supported.");
   }
 
+  /**
+   * Computes the dirty price from the conventional real yield and its derivative wrt the yield.
+   * <p>
+   * The resulting dirty price is real price or nominal price depending on the yield convention.
+   * <p>
+   * The input yield and output are expressed in fraction.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param yield  the yield
+   * @return the dirty price of the product and its derivative
+   */
+  public ValueDerivatives dirtyPriceFromRealYieldAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double yield) {
+
+    ArgChecker.isTrue(settlementDate.isBefore(bond.getUnadjustedEndDate()),
+        "settlement date must be before end date");
+    int periodIndex = bond.findPeriodIndex(settlementDate)
+        .orElseThrow(() -> new IllegalArgumentException("Date outside range of bond"));
+    CapitalIndexedBondPaymentPeriod period = bond.getPeriodicPayments().get(periodIndex);
+    int nbCoupon = bond.getPeriodicPayments().size() - periodIndex;
+    double couponPerYear = bond.getFrequency().eventsPerYear();
+    CapitalIndexedBondYieldConvention yieldConvention = bond.getYieldConvention();
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.US_IL_REAL)) {
+      double pvAtFirstCoupon;
+      double pvAtFirstCouponDeriv;
+      double cpnRate = bond.getPeriodicPayments().get(0).getRealCoupon();
+      if (Math.abs(yield) > 1.0E-8) {
+        double factorOnPeriod = 1d + yield / couponPerYear;
+        double factorOnPeriodDeriv =  1d / couponPerYear;
+        double vn = Math.pow(factorOnPeriod, 1 - nbCoupon);
+        double vnDeriv = (1d - nbCoupon) * Math.pow(factorOnPeriod, -nbCoupon) * factorOnPeriodDeriv;
+        pvAtFirstCoupon = cpnRate * couponPerYear / yield * (factorOnPeriod - vn) + vn;
+        pvAtFirstCouponDeriv = -cpnRate * couponPerYear / yield / yield * (factorOnPeriod - vn) +
+            cpnRate * couponPerYear / yield * (factorOnPeriodDeriv - vnDeriv) + vnDeriv;
+      } else {
+        pvAtFirstCoupon = cpnRate * nbCoupon + 1d;
+        pvAtFirstCouponDeriv = (1d - nbCoupon) / couponPerYear + 0.5 * (1d - nbCoupon) * nbCoupon * cpnRate / couponPerYear;
+      }
+      double den = 1d + factorToNextCoupon(bond, settlementDate) * yield / couponPerYear;
+      double denDeriv = factorToNextCoupon(bond, settlementDate) / couponPerYear;
+      double price =  pvAtFirstCoupon / den;
+      double priceDeriv =  pvAtFirstCouponDeriv / den - pvAtFirstCoupon / den / den * denDeriv;
+      return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+    }
+
+    double realRate = period.getRealCoupon();
+    double firstYearFraction = bond.yearFraction(period.getUnadjustedStartDate(), period.getUnadjustedEndDate());
+    double v = 1d / (1d + yield / couponPerYear);
+    double vDeriv = -v * v / couponPerYear;
+    double rs = ratioPeriodToNextCoupon(period, settlementDate);
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
+      RateComputation obs = period.getRateComputation();
+      LocalDateDoubleTimeSeries ts = ratesProvider.priceIndexValues(bond.getRateCalculation().getIndex()).getFixings();
+      YearMonth lastKnownFixingMonth = YearMonth.from(ts.getLatestDate());
+      double indexRatio = ts.getLatestValue() / bond.getFirstIndexValue();
+      YearMonth endFixingMonth = null;
+      if (obs instanceof InflationEndInterpolatedRateComputation) {
+        endFixingMonth = ((InflationEndInterpolatedRateComputation) obs).getEndSecondObservation().getFixingMonth();
+      } else if (obs instanceof InflationEndMonthRateComputation) {
+        endFixingMonth = ((InflationEndMonthRateComputation) obs).getEndObservation().getFixingMonth();
+      } else {
+        throw new IllegalArgumentException("The rate observation " + obs.toString() + " is not supported.");
+      }
+      double nbMonth = Math.abs(MONTHS.between(endFixingMonth, lastKnownFixingMonth));
+      double u = Math.sqrt(1d / 1.03);
+      double a = indexRatio * Math.pow(u, nbMonth / 6d);
+      if (nbCoupon == 1) {
+        double price = (realRate + 1d) * a / u * Math.pow(u * v, rs);
+        double priceDeriv = (realRate + 1d) * a / u * Math.pow(u * v, rs - 1d) * rs * u * vDeriv;
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      } else {
+        double firstCashFlow = firstYearFraction * realRate * indexRatio * couponPerYear;
+        CapitalIndexedBondPaymentPeriod secondPeriod = bond.getPeriodicPayments().get(periodIndex + 1);
+        double secondYearFraction = bond.yearFraction(secondPeriod.getUnadjustedStartDate(), secondPeriod.getUnadjustedEndDate());
+        double secondCashFlow = secondYearFraction * realRate * indexRatio * couponPerYear;
+        double vn = Math.pow(v, nbCoupon - 1);
+        double vnDeriv = (nbCoupon - 1d) * Math.pow(v, nbCoupon - 2) * vDeriv;
+        double pvAtFirstCoupon =
+            firstCashFlow + secondCashFlow * u * v + a * realRate * v * v * (1d - vn / v) / (1d - v) + a * vn;
+        double pvAtFirstCouponDeriv =
+             secondCashFlow * u * vDeriv + a * vnDeriv +
+                 2d * a * realRate * v * vDeriv * (1d - vn / v) / (1d - v) -
+                 a * realRate * v * vnDeriv / (1d - v) +
+                 a * realRate * vn * vDeriv / (1d - v) +
+                 a * realRate * v * v * (1d - vn / v) / Math.pow(1d - v, 2) * vDeriv;
+        double price = pvAtFirstCoupon * Math.pow(u * v, rs);
+        double priceDeriv = pvAtFirstCouponDeriv * Math.pow(u * v, rs) +
+            rs * u * vDeriv * pvAtFirstCoupon * Math.pow(u * v, rs - 1);
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      }
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.GB_IL_BOND)) {
+      double indexRatio = indexRatio(bond, ratesProvider, settlementDate);
+      double firstCashFlow = realRate * indexRatio * firstYearFraction * couponPerYear;
+      if (nbCoupon == 1) {
+        double price = Math.pow(v, rs) * (firstCashFlow + 1d);
+        double priceDeriv = rs * vDeriv * Math.pow(v, rs - 1d) * (firstCashFlow + 1d);
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      } else {
+        CapitalIndexedBondPaymentPeriod secondPeriod = bond.getPeriodicPayments().get(periodIndex + 1);
+        double secondYearFraction = bond.yearFraction(secondPeriod.getUnadjustedStartDate(), secondPeriod.getUnadjustedEndDate());
+        double secondCashFlow = realRate * indexRatio * secondYearFraction * couponPerYear;
+        double vn = Math.pow(v, nbCoupon - 1);
+        double vnDeriv = (nbCoupon - 1d) * vDeriv * Math.pow(v, nbCoupon - 2);
+        double pvAtFirstCoupon = firstCashFlow + secondCashFlow * v + realRate * v * v * (1d - vn / v) / (1d - v) + vn;
+        double pvAtFirstCouponDeriv = secondCashFlow * vDeriv + vnDeriv +
+            2d * realRate * v * vDeriv * (1d - vn / v) / (1d - v) -
+            realRate * v * vnDeriv / (1d - v) +
+            realRate * vDeriv * vn / (1d - v) +
+            realRate * v * v * vDeriv * (1d - vn / v) / Math.pow(1d - v, 2);
+        double price = pvAtFirstCoupon * Math.pow(v, rs);
+        double priceDeriv = pvAtFirstCouponDeriv * Math.pow(v, rs) + pvAtFirstCoupon * Math.pow(v, rs - 1) * vDeriv * rs;
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      }
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.JP_IL_SIMPLE)) {
+      LocalDate maturityDate = bond.getEndDate();
+      double maturity = bond.yearFraction(settlementDate, maturityDate);
+      double cleanPrice = (1d + realRate * couponPerYear * maturity) / (1d + yield * maturity);
+      double cleanPriceDeriv = -cleanPrice * maturity / (1d + yield * maturity);
+      double price = dirtyRealPriceFromCleanRealPrice(bond, settlementDate, cleanPrice);
+      return ValueDerivatives.of(price, DoubleArray.of(cleanPriceDeriv));
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.JP_IL_COMPOUND)) {
+      double pvAtFirstCoupon = 0d;
+      double pvAtFirstCouponDeriv = 0d;
+      for (int loopcpn = 0; loopcpn < nbCoupon; loopcpn++) {
+        CapitalIndexedBondPaymentPeriod paymentPeriod = bond.getPeriodicPayments().get(loopcpn + periodIndex);
+        pvAtFirstCoupon += paymentPeriod.getRealCoupon() * Math.pow(v, loopcpn);
+        pvAtFirstCouponDeriv += paymentPeriod.getRealCoupon() * loopcpn * Math.pow(v, loopcpn - 1) * vDeriv;
+      }
+      pvAtFirstCoupon += Math.pow(v, nbCoupon - 1);
+      pvAtFirstCouponDeriv += (nbCoupon - 1) * Math.pow(v, nbCoupon - 2) * vDeriv;
+      double factorToNext = factorToNextCoupon(bond, settlementDate);
+      double price = pvAtFirstCoupon * Math.pow(v, factorToNext);
+      double priceDeriv = pvAtFirstCouponDeriv * Math.pow(v, factorToNext) +
+          pvAtFirstCoupon * factorToNext * Math.pow(v, factorToNext - 1d) * vDeriv;
+      return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+    }
+    throw new IllegalArgumentException(
+        "The convention " + bond.getYieldConvention().toString() + " is not supported.");
+  }
+
   /**
    * Computes the clean price from the conventional real yield.
    * <p>
@@ -761,6 +911,38 @@ public Double apply(Double y) {
     return yield;
   }
 
+  /**
+   * Computes the conventional real yield from the dirty price and its derivaitve wrt the dirty price.
+   * <p>
+   * The input dirty price should be real price or nominal price depending on the yield convention. This is coherent to
+   * the implementation of {@link #dirtyPriceFromRealYield(ResolvedCapitalIndexedBond, RatesProvider, LocalDate, double)}.
+   * <p>
+   * The input price and output are expressed in fraction.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param dirtyPrice  the bond dirty price
+   * @return the yield of the product and its derivative
+   */
+  public ValueDerivatives realYieldFromDirtyPriceAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double dirtyPrice) {
+
+    final Function<Double, Double> priceResidual = new Function<Double, Double>() {
+      @Override
+      public Double apply(Double y) {
+        return dirtyPriceFromRealYield(bond, ratesProvider, settlementDate, y) - dirtyPrice;
+      }
+    };
+    double[] range = ROOT_BRACKETER.getBracketedPoints(priceResidual, -0.05, 0.10);
+    double yield = ROOT_FINDER.getRoot(priceResidual, range[0], range[1]);
+    ValueDerivatives priceDYield = dirtyPriceFromRealYieldAd(bond, ratesProvider, settlementDate, yield);
+    return ValueDerivatives.of(yield, DoubleArray.of(1.0 / priceDYield.getDerivative(0)));
+  }
+
   /**
    * Computes the conventional real yield from the curves.
    * <p>
@@ -1068,6 +1250,28 @@ public double realPriceFromNominalPrice(
     return nominalPrice / indexRatio;
   }
 
+  /**
+   * Calculates the real price of the bond from its settlement date and nominal price
+   * and its derivative wrt the nominal price.
+   * <p>
+   * The input and output prices are both clean or dirty.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param nominalPrice  the nominal price
+   * @return the price of the bond product and its derivative
+   */
+  public ValueDerivatives realPriceFromNominalPriceAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double nominalPrice) {
+
+    double indexRatio = indexRatio(bond, ratesProvider, settlementDate);
+    return ValueDerivatives.of(nominalPrice / indexRatio, DoubleArray.of(1d / indexRatio));
+  }
+
   /**
    * Calculates the nominal price of the bond from its settlement date and real price.
    * <p>u}(jZ	  (71043de259f7c290e2abb60d92337ac5ff27b222j	  qmodules/pricer/src/test/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricerTest.javaj	  modifiedj	  Kj	  Kj	  Kj	  https://github.com/OpenGamma/Strata/blob/6120c8d044969247094a4d073decfb024b6cdcc9/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.javaj	  https://github.com/OpenGamma/Strata/raw/6120c8d044969247094a4d073decfb024b6cdcc9/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.javaj	  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.java?ref=6120c8d044969247094a4d073decfb024b6cdcc9j	  X7D  @@ -45,6 +45,7 @@
 import com.opengamma.strata.basics.schedule.RollConventions;
 import com.opengamma.strata.basics.schedule.Schedule;
 import com.opengamma.strata.basics.schedule.StubConvention;
+import com.opengamma.strata.basics.value.ValueDerivatives;
 import com.opengamma.strata.basics.value.ValueSchedule;
 import com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
@@ -556,6 +557,13 @@ public void test_realPrice_nominalPrice_settleBefore() {
     double expected = realPrice * (refRate + 1d);
     assertThat(nominalPrice).isCloseTo(expected, offset(TOL));
     assertThat(PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice)).isCloseTo(realPrice, offset(TOL));
+
+    ValueDerivatives realPriceAd = PRICER.realPriceFromNominalPriceAd(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice);
+    assertThat(realPrice).isCloseTo(realPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice + eps);
+    double dirtyPriceDw = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice - eps);
+    assertThat(realPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
   }
 
   @Test
@@ -568,6 +576,13 @@ public void test_realPrice_nominalPrice_settleAfter() {
     double expected = realPrice * (refRate + 1d);
     assertThat(nominalPrice).isCloseTo(expected, offset(TOL));
     assertThat(PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice)).isCloseTo(realPrice, offset(TOL));
+
+    ValueDerivatives realPriceAd = PRICER.realPriceFromNominalPriceAd(PRODUCT, RATES_PROVIDER, refDate, nominalPrice);
+    assertThat(realPrice).isCloseTo(realPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice + eps);
+    double dirtyPriceDw = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice - eps);
+    assertThat(realPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
   }
 
   @Test
@@ -633,6 +648,36 @@ public void test_priceFromRealYield_us() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_US, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_us_zeroYield() {
+    double yield = 0d;
+    LocalDate standardSettle = PRODUCT_US.getSettlementDateOffset().adjust(VAL_DATE, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(yield, offset(TOL));
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_US, RATES_PROVS_US, standardSettle, yield);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -706,6 +751,13 @@ public void test_accruedInterest_us() {
   private static final DaysAdjustment SETTLE_OFFSET_GB = DaysAdjustment.ofBusinessDays(1, GBLO);
   private static final PeriodicSchedule SCHEDULE_GOV =
       PeriodicSchedule.of(START_GOV, END_GOV, FREQUENCY, BUSINESS_ADJUST_GOV, StubConvention.NONE, RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_GOV_ONE_PERIOD = PeriodicSchedule.of(
+      LocalDate.of(2016, 3, 1),
+      LocalDate.of(2016, 9, 1),
+      FREQUENCY,
+      BUSINESS_ADJUST_GOV,
+      StubConvention.NONE,
+      RollConventions.NONE);
   private static final BusinessDayAdjustment EX_COUPON_ADJ_GOV =
       BusinessDayAdjustment.of(BusinessDayConventions.PRECEDING, GBLO);
   private static final DaysAdjustment EX_COUPON_GOV = DaysAdjustment.ofCalendarDays(-8, EX_COUPON_ADJ_GOV);
@@ -722,6 +774,19 @@ public void test_accruedInterest_us() {
       .exCouponPeriod(EX_COUPON_GOV)
       .build()
       .resolve(REF_DATA);
+  private static final ResolvedCapitalIndexedBond PRODUCT_GOV_ONE_PERIOD = CapitalIndexedBond.builder()
+      .securityId(SECURITY_ID)
+      .notional(NTNL)
+      .currency(GBP)
+      .dayCount(ACT_ACT_ICMA)
+      .rateCalculation(RATE_CALC_GOV)
+      .legalEntityId(LEGAL_ENTITY)
+      .yieldConvention(GB_IL_FLOAT)
+      .settlementDateOffset(SETTLE_OFFSET_GB)
+      .accrualSchedule(SCHEDULE_GOV_ONE_PERIOD)
+      .exCouponPeriod(EX_COUPON_GOV)
+      .build()
+      .resolve(REF_DATA);
   private static final double YIELD_GOV = -0.01532;
 
   private static final double START_INDEX_GOV_OP = 81.623;
@@ -758,6 +823,36 @@ public void test_priceFromRealYield_ukGov() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_GOV, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_ukGov_onePeriod() {
+    LocalDate standardSettle = PRODUCT_GOV_ONE_PERIOD.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(YIELD_GOV, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -822,9 +917,20 @@ public void test_accruedInterest_ukGov() {
   private static final LocalDate END_CORP = LocalDate.of(2040, 3, 22);
   private static final BusinessDayAdjustment BUSINESS_ADJUST_CORP =
       BusinessDayAdjustment.of(BusinessDayConventions.FOLLOWING, GBLO);
-  private static final PeriodicSchedule SCHEDULE_CORP =
-      PeriodicSchedule.of(START_CORP, END_CORP, FREQUENCY, BUSINESS_ADJUST_CORP, StubConvention.NONE,
-          RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_CORP = PeriodicSchedule.of(
+      START_CORP,
+      END_CORP,
+      FREQUENCY,
+      BUSINESS_ADJUST_CORP,
+      StubConvention.NONE,
+      RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_CORP_ONE_PERIOD = PeriodicSchedule.of(
+      LocalDate.of(2016, 2, 15),
+      LocalDate.of(2016, 8, 15),
+      FREQUENCY,
+      BUSINESS_ADJUST_CORP,
+      StubConvention.NONE,
+      RollConventions.NONE);
   private static final BusinessDayAdjustment EX_COUPON_ADJ_CORP =
       BusinessDayAdjustment.of(BusinessDayConventions.PRECEDING, GBLO);
   private static final DaysAdjustment EX_COUPON_CORP = DaysAdjustment.ofCalendarDays(-8, EX_COUPON_ADJ_CORP);
@@ -841,6 +947,19 @@ public void test_accruedInterest_ukGov() {
       .exCouponPeriod(EX_COUPON_CORP)
       .build()
       .resolve(REF_DATA);
+  private static final ResolvedCapitalIndexedBond PRODUCT_CORP_ONE_PERIOD = CapitalIndexedBond.builder()
+      .securityId(SECURITY_ID)
+      .notional(NTNL)
+      .currency(GBP)
+      .dayCount(ACT_ACT_ICMA)
+      .rateCalculation(RATE_CALC_CORP)
+      .legalEntityId(LEGAL_ENTITY)
+      .yieldConvention(GB_IL_BOND)
+      .settlementDateOffset(SETTLE_OFFSET_GB)
+      .accrualSchedule(SCHEDULE_CORP_ONE_PERIOD)
+      .exCouponPeriod(EX_COUPON_CORP)
+      .build()
+      .resolve(REF_DATA);
   private static final double YIELD_CORP = -0.00842;
 
   @Test
@@ -856,6 +975,36 @@ public void test_priceFromRealYield_ukCorp() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_CORP, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_ukCorp_onePeriod() {
+    LocalDate standardSettle = PRODUCT_CORP_ONE_PERIOD.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(YIELD_CORP, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -955,6 +1104,17 @@ public void test_priceFromRealYield_jpi() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_JPI, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -1050,6 +1210,17 @@ public void test_priceFromRealYield_jpw() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_JPW, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Testueu(3f5ae1aa237603d99b95083bd2fffa9bfb48c81b}(sha(3f5ae1aa237603d99b95083bd2fffa9bfb48c81bnode_idEC_kwDOAT6l0doAKDNmNWFlMWFhMjM3NjAzZDk5Yjk1MDgzYmQyZmZmYTliZmI0OGM4MWIcommit}(author}(nameMarc Henrardemail%marc-henrard@users.noreply.github.comdate2023-03-15T10:38:25Zu	committer}(j	  Marc Henrardj	  %marc-henrard@users.noreply.github.comj	  2023-05-30T08:00:27Zumessage+Cash flow equivalent for fixed coupon bondstree}(j	  (3b88f6a66cee58aabb2ab675525aae5e1a0d0593url`https://api.github.com/repos/OpenGamma/Strata/git/trees/3b88f6a66cee58aabb2ab675525aae5e1a0d0593uj	  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/3f5ae1aa237603d99b95083bd2fffa9bfb48c81b
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj	  ^https://api.github.com/repos/OpenGamma/Strata/commits/3f5ae1aa237603d99b95083bd2fffa9bfb48c81bhtml_urlShttps://github.com/OpenGamma/Strata/commit/3f5ae1aa237603d99b95083bd2fffa9bfb48c81bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/3f5ae1aa237603d99b95083bd2fffa9bfb48c81b/commentsj	  }(loginmarc-henrardidJKX j	  MDQ6VXNlcjk5MTg1Mzk=
avatar_url3https://avatars.githubusercontent.com/u/9918539?v=4gravatar_idh3j	  )https://api.github.com/users/marc-henrardj
  https://github.com/marc-henrard
followers_url3https://api.github.com/users/marc-henrard/followers
following_url@https://api.github.com/users/marc-henrard/following{/other_user}	gists_url9https://api.github.com/users/marc-henrard/gists{/gist_id}starred_url@https://api.github.com/users/marc-henrard/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/marc-henrard/subscriptionsorganizations_url.https://api.github.com/users/marc-henrard/orgs	repos_url/https://api.github.com/users/marc-henrard/repos
events_url:https://api.github.com/users/marc-henrard/events{/privacy}received_events_url9https://api.github.com/users/marc-henrard/received_eventstypeUser
site_adminuj	  }(j
  marc-henrardj

  JKX j	  MDQ6VXNlcjk5MTg1Mzk=j
  3https://avatars.githubusercontent.com/u/9918539?v=4j
  h3j	  )https://api.github.com/users/marc-henrardj
  https://github.com/marc-henrardj
  3https://api.github.com/users/marc-henrard/followersj
  @https://api.github.com/users/marc-henrard/following{/other_user}j
  9https://api.github.com/users/marc-henrard/gists{/gist_id}j
  @https://api.github.com/users/marc-henrard/starred{/owner}{/repo}j
  7https://api.github.com/users/marc-henrard/subscriptionsj
  .https://api.github.com/users/marc-henrard/orgsj
  /https://api.github.com/users/marc-henrard/reposj
  :https://api.github.com/users/marc-henrard/events{/privacy}j!
  9https://api.github.com/users/marc-henrard/received_eventsj#
  Userj%
  uparents]}(j	  (d76f43c8898ae22b93623549d28010f2b237ff37j	  ^https://api.github.com/repos/OpenGamma/Strata/commits/d76f43c8898ae22b93623549d28010f2b237ff37j
  Shttps://github.com/OpenGamma/Strata/commit/d76f43c8898ae22b93623549d28010f2b237ff37uastats}(totalK	additionsK	deletionsK ufiles](}(j	  (b5eead2244c2a32579b10320320b384dee170a3efilenameimodules/pricer/src/main/java/com/opengamma/strata/pricer/impl/rate/swap/CashFlowEquivalentCalculator.javastatusmodifiedj?
  Kj@
  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/3f5ae1aa237603d99b95083bd2fffa9bfb48c81b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/3f5ae1aa237603d99b95083bd2fffa9bfb48c81b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.java?ref=3f5ae1aa237603d99b95083bd2fffa9bfb48c81bpatchXx  @@ -24,6 +24,8 @@
 import com.opengamma.strata.pricer.DiscountFactors;
 import com.opengamma.strata.pricer.ZeroRateSensitivity;
 import com.opengamma.strata.pricer.rate.RatesProvider;
+import com.opengamma.strata.product.bond.FixedCouponBondPaymentPeriod;
+import com.opengamma.strata.product.bond.ResolvedFixedCouponBond;
 import com.opengamma.strata.product.common.PayReceive;
 import com.opengamma.strata.product.rate.FixedRateComputation;
 import com.opengamma.strata.product.rate.IborRateComputation;
@@ -41,10 +43,39 @@
 /**
  * Computes cash flow equivalent of products.
  * <p>
+ * Useful to price optional products in term structure models.
+ * <p>
  * Reference: Henrard, M. The Irony in the derivatives discounting Part II: the crisis. Wilmott Journal, 2010, 2, 301-316.
  */
 public final class CashFlowEquivalentCalculator {
 
+  /**
+   * Computes the cash flow equivalent of a fixed coupon bond.
+   * 
+   * @param bond  the fixed coupon bond
+   * @param settlementDate  the settlement date; only the coupons strictly after that date are generated
+   * @return the cash flow equivalent
+   */
+  public static ResolvedSwapLeg cashFlowEquivalent(ResolvedFixedCouponBond bond, LocalDate settlementDate) {
+    List<NotionalExchange> paymentEvents = new ArrayList<NotionalExchange>();
+    for (FixedCouponBondPaymentPeriod payment : bond.getPeriodicPayments()) {
+      LocalDate detachmentDate = payment.getDetachmentDate();
+      if (detachmentDate.isAfter(settlementDate)) {
+        double amount = payment.getYearFraction() * payment.getFixedRate() * payment.getNotional();
+        NotionalExchange pay = NotionalExchange.of(CurrencyAmount.of(payment.getCurrency(), amount), detachmentDate);
+        paymentEvents.add(pay);
+      }
+    }
+    paymentEvents.add(NotionalExchange
+        .of(CurrencyAmount.of(bond.getCurrency(), bond.getNotional()), bond.getEndDate()));
+    ResolvedSwapLeg leg = ResolvedSwapLeg.builder()
+        .paymentEvents(paymentEvents)
+        .payReceive(PayReceive.RECEIVE)
+        .type(SwapLegType.OTHER)
+        .build();
+    return leg;
+  }
+
   /**
    * Computes cash flow equivalent of swap.
    * <p>u}(j	  (a07a1cb0678e2b2244a57841f059da746085dd20jE
  mmodules/pricer/src/test/java/com/opengamma/strata/pricer/impl/rate/swap/CashFlowEquivalentCalculatorTest.javajG
  modifiedj?
  Kaj@
  K jI
  KajJ
  https://github.com/OpenGamma/Strata/blob/3f5ae1aa237603d99b95083bd2fffa9bfb48c81b/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.javajL
  https://github.com/OpenGamma/Strata/raw/3f5ae1aa237603d99b95083bd2fffa9bfb48c81b/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.javajN
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.java?ref=3f5ae1aa237603d99b95083bd2fffa9bfb48c81bjP
  X  @@ -5,7 +5,9 @@
  */
 package com.opengamma.strata.pricer.impl.rate.swap;
 
+import static com.opengamma.strata.basics.currency.Currency.EUR;
 import static com.opengamma.strata.basics.currency.Currency.GBP;
+import static com.opengamma.strata.basics.date.BusinessDayConventions.FOLLOWING;
 import static com.opengamma.strata.basics.date.DayCounts.ACT_365F;
 import static com.opengamma.strata.basics.index.IborIndices.GBP_LIBOR_3M;
 import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
@@ -27,15 +29,26 @@
 import java.util.Map;
 import java.util.Map.Entry;
 
+import org.assertj.core.data.Offset;
 import org.junit.jupiter.api.Test;
 
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.math.DoubleMath;
 import com.opengamma.strata.basics.ReferenceData;
+import com.opengamma.strata.basics.StandardId;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.basics.currency.MultiCurrencyAmount;
 import com.opengamma.strata.basics.currency.Payment;
+import com.opengamma.strata.basics.date.BusinessDayAdjustment;
+import com.opengamma.strata.basics.date.DayCount;
+import com.opengamma.strata.basics.date.DayCounts;
+import com.opengamma.strata.basics.date.DaysAdjustment;
+import com.opengamma.strata.basics.date.HolidayCalendarId;
+import com.opengamma.strata.basics.date.HolidayCalendarIds;
+import com.opengamma.strata.basics.schedule.Frequency;
+import com.opengamma.strata.basics.schedule.PeriodicSchedule;
+import com.opengamma.strata.basics.schedule.StubConvention;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
 import com.opengamma.strata.market.sensitivity.MutablePointSensitivities;
 import com.opengamma.strata.market.sensitivity.PointSensitivity;
@@ -46,6 +59,12 @@
 import com.opengamma.strata.pricer.sensitivity.RatesFiniteDifferenceSensitivityCalculator;
 import com.opengamma.strata.pricer.swap.DiscountingSwapLegPricer;
 import com.opengamma.strata.pricer.swap.DiscountingSwapProductPricer;
+import com.opengamma.strata.product.LegalEntityId;
+import com.opengamma.strata.product.SecurityId;
+import com.opengamma.strata.product.bond.FixedCouponBond;
+import com.opengamma.strata.product.bond.FixedCouponBondPaymentPeriod;
+import com.opengamma.strata.product.bond.FixedCouponBondYieldConvention;
+import com.opengamma.strata.product.bond.ResolvedFixedCouponBond;
 import com.opengamma.strata.product.rate.FixedRateComputation;
 import com.opengamma.strata.product.rate.IborRateComputation;
 import com.opengamma.strata.product.rate.OvernightRateComputation;
@@ -537,5 +556,83 @@ public void test_cashFlowEquivalentAndSensitivity_wrongSwap() {
     assertThatIllegalArgumentException()
         .isThrownBy(() -> CashFlowEquivalentCalculator.cashFlowEquivalentAndSensitivitySwap(swap3, PROVIDER));
   }
+  
+  /* Check cash flow equivalent for a set of bonds corresponding to bond futures underlyings. */
+
+  private static final LegalEntityId ISSUER_ID_DE = LegalEntityId.of("OG-Ticker", "GOVT-DE");
+  private static final FixedCouponBondYieldConvention YIELD_CONVENTION_DE = FixedCouponBondYieldConvention.DE_BONDS;
+  private static final double NOTIONAL_EUR = 100000d;
+  private static final HolidayCalendarId CALENDAR_EUR = HolidayCalendarIds.EUTA;
+  private static final DaysAdjustment SETTLEMENT_DAYS_EUR = DaysAdjustment.ofBusinessDays(3, CALENDAR_EUR);
+  private static final DayCount DAY_COUNT_EUR = DayCounts.ACT_ACT_ICMA;
+  private static final BusinessDayAdjustment BUSINESS_ADJUST_EUR =
+      BusinessDayAdjustment.of(FOLLOWING, CALENDAR_EUR);
+  private static final DaysAdjustment EX_COUPON_DE = DaysAdjustment.NONE;
+  private static final int NB_BOND_EUR = 4;
+  // Underlying bonds description from www.deutsche-finanzagentur.de
+  private static final double[] COUPON_DE = new double[] {0.00, 0.0170, 0.00, 0.0050};
+  private static final LocalDate[] START_DATE_DE = new LocalDate[] {
+      LocalDate.of(2021, 8, 15), LocalDate.of(2022, 8, 15), LocalDate.of(2022, 2, 15), LocalDate.of(2018, 2, 15)};
+  private static final LocalDate[] END_DATE_DE = new LocalDate[] {
+      LocalDate.of(2031, 8, 15), LocalDate.of(2032, 8, 15), LocalDate.of(2032, 2, 15), LocalDate.of(2028, 2, 15)};
+  private static final StandardId[] BOND_SECURITY_ID_EUR = new StandardId[] {
+      StandardId.of("ISIN", "DE0001102564"),
+      StandardId.of("ISIN", "DE0001102606"),
+      StandardId.of("ISIN", "DE0001102580"),
+      StandardId.of("ISIN", "DE0001102440")};
+  public static final ResolvedFixedCouponBond[] BOND_DE = new ResolvedFixedCouponBond[NB_BOND_EUR];
+  static {
+    for (int i = 0; i < NB_BOND_EUR; ++i) {
+      PeriodicSchedule periodSchedule = PeriodicSchedule.of(
+          START_DATE_DE[i], END_DATE_DE[i], Frequency.P12M, BUSINESS_ADJUST_EUR, StubConvention.LONG_INITIAL, false);
+      FixedCouponBond product = FixedCouponBond.builder()
+          .securityId(SecurityId.of(BOND_SECURITY_ID_EUR[i]))
+          .dayCount(DAY_COUNT_EUR)
+          .fixedRate(COUPON_DE[i])
+          .legalEntityId(ISSUER_ID_DE)
+          .currency(EUR)
+          .notional(NOTIONAL_EUR)
+          .accrualSchedule(periodSchedule)
+          .settlementDateOffset(SETTLEMENT_DAYS_EUR)
+          .yieldConvention(YIELD_CONVENTION_DE)
+          .exCouponPeriod(EX_COUPON_DE)
+          .build();
+      BOND_DE[i] = product.resolve(REF_DATA);
+    }
+  }
+  private static final LocalDate[] SETTLE_DATE = new LocalDate[] {
+      LocalDate.of(2022, 9, 12), LocalDate.of(2022, 9, 12), LocalDate.of(2023, 3, 10), LocalDate.of(2023, 9, 12)};
+  private static final Offset<Double> TOLERANCE_AMOUNT = offset(1.0E-10);
+
+  @Test
+  public void cfe_bond() {
+    int[] nbCf = {10, 11, 10, 6}; // Hard-coded values
+    for (int i = 0; i < NB_BOND_EUR; ++i) {
+      ResolvedSwapLeg cfe = CashFlowEquivalentCalculator.cashFlowEquivalent(BOND_DE[i], SETTLE_DATE[i]);
+      assertThat(cfe.getPaymentEvents().size()).isEqualTo(nbCf[i]);
+      int loopcfe = 0;
+      for (int loopcpn = 0; loopcpn < BOND_DE[i].getPeriodicPayments().size(); loopcpn++) {
+        FixedCouponBondPaymentPeriod payment = BOND_DE[i].getPeriodicPayments().get(loopcpn);
+        LocalDate detachmentDate = payment.getDetachmentDate();
+        if (detachmentDate.isAfter(SETTLE_DATE[i])) {
+          double amount = payment.getYearFraction() * payment.getFixedRate() * payment.getNotional();
+          Payment paymentLocalTest = Payment.of(payment.getCurrency(), amount, detachmentDate);
+          SwapPaymentEvent paymentFromCfe = cfe.getPaymentEvents().get(loopcfe);
+          assertThat(paymentFromCfe instanceof NotionalExchange).isTrue();
+          assertThat(paymentLocalTest.getDate()).isEqualTo(paymentFromCfe.getPaymentDate());
+          assertThat(paymentLocalTest.getCurrency()).isEqualTo(paymentFromCfe.getCurrency());
+          assertThat(paymentLocalTest.getAmount())
+              .isEqualTo(((NotionalExchange) paymentFromCfe).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
+          loopcfe++;
+        }
+      }
+      SwapPaymentEvent paymentFromCfeNotional = cfe.getPaymentEvents().get(loopcfe);
+      assertThat(paymentFromCfeNotional instanceof NotionalExchange).isTrue();
+      assertThat(BOND_DE[i].getEndDate()).isEqualTo(paymentFromCfeNotional.getPaymentDate());
+      assertThat(BOND_DE[i].getCurrency()).isEqualTo(paymentFromCfeNotional.getCurrency());
+      assertThat(BOND_DE[i].getNotional())
+          .isEqualTo(((NotionalExchange) paymentFromCfeNotional).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
+    }
+  }
 
 }ueu(abddec21412e7f48e4e00cdde3c6e566ff119efe}(sha(abddec21412e7f48e4e00cdde3c6e566ff119efenode_idEC_kwDOAT6l0doAKGFiZGRlYzIxNDEyZTdmNDhlNGUwMGNkZGUzYzZlNTY2ZmYxMTllZmUcommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-05-24T10:34:02Zu	committer}(jd
  GitHubjf
  noreply@github.comjh
  2023-05-24T10:34:02ZumessageX  Create overnight future option market data and lookup in strata (#2577)

* Created OvernightFutureOptionVolatilitiesId

* Created  overnight variants of index market data classes

* checkstyle fix

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>tree}(j\
  (0a54480ff62adc67cb18cde990789d968da5a120url`https://api.github.com/repos/OpenGamma/Strata/git/trees/0a54480ff62adc67cb18cde990789d968da5a120ujt
  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/abddec21412e7f48e4e00cdde3c6e566ff119efe
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkbegaCRBK7hj4Ov3rIwAAIEkIAJIPDt91PuIQR4gPasGcrNkE
C6EsNunJPRchAcvNVx/lXw4wEdSu5lXfcbRNMaUHLdYozc4kKXZ6+h9pbuBCIp8P
iYf/K34xwjw5MPGW6RG5j+z/mHDWEFVOmNiDHWFCIRQNEIOq9AqJrn1q8xLYV/67
dX5i+E44r9/kV+w9H+uNz4JueXik0QG4SYDVfldiKnHH2LmyidcqAPd5R35MqxEX
DSj6Yzl1YyzRqi2IV70wnGrgAJSZgYhXj9tiT5P/X+YpJOD+EXEzzgl4jfzcUkX2
9xn0lRVStQFskNkdXCWv2PLtbHTx5ZfY7iIlhcmak1DFyatR3Y2L7kyTZHaitII=
=SJZ5
-----END PGP SIGNATURE-----
payloadX   tree 0a54480ff62adc67cb18cde990789d968da5a120
parent a10729e484e1c12701d688a94ce7cc866f1b359c
author Aaron <110403946+aaron-og@users.noreply.github.com> 1684924442 +0100
committer GitHub <noreply@github.com> 1684924442 +0000

Create overnight future option market data and lookup in strata (#2577)

* Created OvernightFutureOptionVolatilitiesId

* Created  overnight variants of index market data classes

* checkstyle fix

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>uujt
  ^https://api.github.com/repos/OpenGamma/Strata/commits/abddec21412e7f48e4e00cdde3c6e566ff119efehtml_urlShttps://github.com/OpenGamma/Strata/commit/abddec21412e7f48e4e00cdde3c6e566ff119efecomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/abddec21412e7f48e4e00cdde3c6e566ff119efe/commentsjb
  }(loginaaron-ogidJjj^
  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3jt
  %https://api.github.com/users/aaron-ogj
  https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminujj
  }(j
  web-flowj
  J/j^
  MDQ6VXNlcjE5ODY0NDQ3j
  4https://avatars.githubusercontent.com/u/19864447?v=4j
  h3jt
  %https://api.github.com/users/web-flowj
  https://github.com/web-flowj
  /https://api.github.com/users/web-flow/followersj
  <https://api.github.com/users/web-flow/following{/other_user}j
  5https://api.github.com/users/web-flow/gists{/gist_id}j
  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j
  3https://api.github.com/users/web-flow/subscriptionsj
  *https://api.github.com/users/web-flow/orgsj
  +https://api.github.com/users/web-flow/reposj
  6https://api.github.com/users/web-flow/events{/privacy}j
  5https://api.github.com/users/web-flow/received_eventsj
  Userj
  uparents]}(j\
  (a10729e484e1c12701d688a94ce7cc866f1b359cjt
  ^https://api.github.com/repos/OpenGamma/Strata/commits/a10729e484e1c12701d688a94ce7cc866f1b359cj
  Shttps://github.com/OpenGamma/Strata/commit/a10729e484e1c12701d688a94ce7cc866f1b359cuastats}(totalM	additionsM	deletionsK ufiles](}(j\
  (9e9efc8345e80b48f822f911c4183738ac218bedfilenamelmodules/measure/src/main/java/com/opengamma/strata/measure/index/DefaultOvernightFutureOptionMarketData.javastatusaddedj
  Kj
  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketData.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketData.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketData.java?ref=abddec21412e7f48e4e00cdde3c6e566ff119efepatchX  @@ -0,0 +1,171 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.ImmutableConstructor;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+
+/**
+ * The default market data for Overnight future options.
+ * <p>
+ * This uses a {@link OvernightFutureOptionMarketDataLookup} to provide a view on {@link MarketData}.
+ */
+@BeanDefinition(style = "light")
+final class DefaultOvernightFutureOptionMarketData implements OvernightFutureOptionMarketData, ImmutableBean, Serializable {
+
+  /**
+   * The lookup.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final OvernightFutureOptionMarketDataLookup lookup;
+  /**
+   * The market data.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final MarketData marketData;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an instance based on a lookup and market data.
+   * <p>
+   * The lookup knows how to obtain the volatilities from the market data.
+   * This might involve accessing a surface or a cube.
+   *
+   * @param lookup  the lookup
+   * @param marketData  the market data
+   * @return the rates market view
+   */
+  public static DefaultOvernightFutureOptionMarketData of(
+      OvernightFutureOptionMarketDataLookup lookup,
+      MarketData marketData) {
+
+    return new DefaultOvernightFutureOptionMarketData(lookup, marketData);
+  }
+
+  @ImmutableConstructor
+  private DefaultOvernightFutureOptionMarketData(
+      OvernightFutureOptionMarketDataLookup lookup,
+      MarketData marketData) {
+
+    this.lookup = ArgChecker.notNull(lookup, "lookup");
+    this.marketData = ArgChecker.notNull(marketData, "marketData");
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionMarketData withMarketData(MarketData marketData) {
+    return DefaultOvernightFutureOptionMarketData.of(lookup, marketData);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionVolatilities volatilities(OvernightIndex index) {
+    return lookup.volatilities(index, marketData);
+  }
+  
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketData}.
+   */
+  private static final TypedMetaBean<DefaultOvernightFutureOptionMarketData> META_BEAN =
+      LightMetaBean.of(
+          DefaultOvernightFutureOptionMarketData.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "lookup",
+              "marketData"},
+          new Object[0]);
+
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketData}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<DefaultOvernightFutureOptionMarketData> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public TypedMetaBean<DefaultOvernightFutureOptionMarketData> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the lookup.
+   * @return the value of the property, not null
+   */
+  @Override
+  public OvernightFutureOptionMarketDataLookup getLookup() {
+    return lookup;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the market data.
+   * @return the value of the property, not null
+   */
+  @Override
+  public MarketData getMarketData() {
+    return marketData;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      DefaultOvernightFutureOptionMarketData other = (DefaultOvernightFutureOptionMarketData) obj;
+      return JodaBeanUtils.equal(lookup, other.lookup) &&
+          JodaBeanUtils.equal(marketData, other.marketData);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = getClass().hashCode();
+    hash = hash * 31 + JodaBeanUtils.hashCode(lookup);
+    hash = hash * 31 + JodaBeanUtils.hashCode(marketData);
+    return hash;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder buf = new StringBuilder(96);
+    buf.append("DefaultOvernightFutureOptionMarketData{");
+    buf.append("lookup").append('=').append(JodaBeanUtils.toString(lookup)).append(',').append(' ');
+    buf.append("marketData").append('=').append(JodaBeanUtils.toString(marketData));
+    buf.append('}');
+    return buf.toString();
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u}(j\
  (00647bc00f2fe6fc1ec806aab100ff494a7bdcf3j
  rmodules/measure/src/main/java/com/opengamma/strata/measure/index/DefaultOvernightFutureOptionMarketDataLookup.javaj
  addedj
  Kj
  K j
  Kj
  https://github.com/OpenGamma/Strata/blob/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketDataLookup.javaj
  https://github.com/OpenGamma/Strata/raw/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketDataLookup.javaj
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketDataLookup.java?ref=abddec21412e7f48e4e00cdde3c6e566ff119efej
  X  @@ -0,0 +1,203 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.index.Index;
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.calc.CalculationRules;
+import com.opengamma.strata.calc.runner.CalculationParameter;
+import com.opengamma.strata.calc.runner.FunctionRequirements;
+import com.opengamma.strata.collect.Messages;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.MarketDataId;
+import com.opengamma.strata.data.MarketDataNotFoundException;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilitiesId;
+
+/**
+ * The Overnight future option lookup, used to select volatilities for pricing.
+ * <p>
+ * This provides Overnight future option volatilities by index.
+ * <p>
+ * The lookup implements {@link CalculationParameter} and is used by passing it
+ * as an argument to {@link CalculationRules}. It provides the link between the
+ * data that the function needs and the data that is available in {@link ScenarioMarketData}.
+ */
+@BeanDefinition(style = "light")
+final class DefaultOvernightFutureOptionMarketDataLookup
+    implements OvernightFutureOptionMarketDataLookup, ImmutableBean, Serializable {
+
+  /**
+   * The volatility identifiers, keyed by index.
+   */
+  @PropertyDefinition(validate = "notNull")
+  private final ImmutableMap<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an instance based on a single mapping from index to volatility identifier.
+   * <p>
+   * The lookup provides volatilities for the specified index.
+   *
+   * @param index  the Overnight index
+   * @param volatilityId  the volatility identifier
+   * @return the Overnight future option lookup containing the specified mapping
+   */
+  public static DefaultOvernightFutureOptionMarketDataLookup of(OvernightIndex index, OvernightFutureOptionVolatilitiesId volatilityId) {
+    return new DefaultOvernightFutureOptionMarketDataLookup(ImmutableMap.of(index, volatilityId));
+  }
+
+  /**
+   * Obtains an instance based on a map of volatility identifiers.
+   * <p>
+   * The map is used to specify the appropriate volatilities to use for each index.
+   *
+   * @param volatilityIds  the volatility identifiers, keyed by index
+   * @return the Overnight future option lookup containing the specified volatilities
+   */
+  public static DefaultOvernightFutureOptionMarketDataLookup of(Map<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds) {
+    return new DefaultOvernightFutureOptionMarketDataLookup(volatilityIds);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public ImmutableSet<OvernightIndex> getVolatilityIndices() {
+    return volatilityIds.keySet();
+  }
+
+  @Override
+  public ImmutableSet<MarketDataId<?>> getVolatilityIds(OvernightIndex index) {
+    OvernightFutureOptionVolatilitiesId id = volatilityIds.get(index);
+    if (id == null) {
+      throw new IllegalArgumentException(msgIndexNotFound(index));
+    }
+    return ImmutableSet.of(id);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public FunctionRequirements requirements(Set<OvernightIndex> indices) {
+    Set<OvernightFutureOptionVolatilitiesId> volIds = new HashSet<>();
+    for (Index index : indices) {
+      if (!volatilityIds.keySet().contains(index)) {
+        throw new IllegalArgumentException(msgIndexNotFound(index));
+      }
+      volIds.add(volatilityIds.get(index));
+    }
+    return FunctionRequirements.builder().valueRequirements(volIds).build();
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionVolatilities volatilities(OvernightIndex index, MarketData marketData) {
+    OvernightFutureOptionVolatilitiesId volatilityId = volatilityIds.get(index);
+    if (volatilityId == null) {
+      throw new MarketDataNotFoundException(msgIndexNotFound(index));
+    }
+    return marketData.getValue(volatilityId);
+  }
+
+  //-------------------------------------------------------------------------
+  private String msgIndexNotFound(Index index) {
+    return Messages.format("OvernightFutureOption lookup has no volatilities defined for index '{}'", index);
+  }
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketDataLookup}.
+   */
+  private static final TypedMetaBean<DefaultOvernightFutureOptionMarketDataLookup> META_BEAN =
+      LightMetaBean.of(
+          DefaultOvernightFutureOptionMarketDataLookup.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "volatilityIds"},
+          ImmutableMap.of());
+
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketDataLookup}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<DefaultOvernightFutureOptionMarketDataLookup> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  private DefaultOvernightFutureOptionMarketDataLookup(
+      Map<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds) {
+    JodaBeanUtils.notNull(volatilityIds, "volatilityIds");
+    this.volatilityIds = ImmutableMap.copyOf(volatilityIds);
+  }
+
+  @Override
+  public TypedMetaBean<DefaultOvernightFutureOptionMarketDataLookup> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the volatility identifiers, keyed by index.
+   * @return the value of the property, not null
+   */
+  public ImmutableMap<OvernightIndex, OvernightFutureOptionVolatilitiesId> getVolatilityIds() {
+    return volatilityIds;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      DefaultOvernightFutureOptionMarketDataLookup other = (DefaultOvernightFutureOptionMarketDataLookup) obj;
+      return JodaBeanUtils.equal(volatilityIds, other.volatilityIds);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = getClass().hashCode();
+    hash = hash * 31 + JodaBeanUtils.hashCode(volatilityIds);
+    return hash;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder buf = new StringBuilder(64);
+    buf.append("DefaultOvernightFutureOptionMarketDataLookup{");
+    buf.append("volatilityIds").append('=').append(JodaBeanUtils.toString(volatilityIds));
+    buf.append('}');
+    return buf.toString();
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u2      }(j\
  (776207083fad4891e3b16389687ee8c6a7daf13fj
  tmodules/measure/src/main/java/com/opengamma/strata/measure/index/DefaultOvernightFutureOptionScenarioMarketData.javaj
  addedj
  Kj
  K j
  Kj
  https://github.com/OpenGamma/Strata/blob/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionScenarioMarketData.javaj
  https://github.com/OpenGamma/Strata/raw/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionScenarioMarketData.javaj
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionScenarioMarketData.java?ref=abddec21412e7f48e4e00cdde3c6e566ff119efej
  X  @@ -0,0 +1,175 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.ImmutableConstructor;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+
+/**
+ * The default market data for Overnight future options, used for calculation across multiple scenarios.
+ * <p>
+ * This uses a {@link OvernightFutureOptionMarketDataLookup} to provide a view on {@link ScenarioMarketData}.
+ */
+@BeanDefinition(style = "light")
+final class DefaultOvernightFutureOptionScenarioMarketData
+    implements OvernightFutureOptionScenarioMarketData, ImmutableBean, Serializable {
+
+  /**
+   * The lookup.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final OvernightFutureOptionMarketDataLookup lookup;
+  /**
+   * The market data.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final ScenarioMarketData marketData;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an instance based on a lookup and market data.
+   * <p>
+   * The lookup knows how to obtain the volatilities from the market data.
+   * This might involve accessing a surface or a cube.
+   *
+   * @param lookup  the lookup
+   * @param marketData  the market data
+   * @return the rates market view
+   */
+  public static DefaultOvernightFutureOptionScenarioMarketData of(
+      OvernightFutureOptionMarketDataLookup lookup,
+      ScenarioMarketData marketData) {
+
+    return new DefaultOvernightFutureOptionScenarioMarketData(lookup, marketData);
+  }
+
+  @ImmutableConstructor
+  private DefaultOvernightFutureOptionScenarioMarketData(
+      OvernightFutureOptionMarketDataLookup lookup,
+      ScenarioMarketData marketData) {
+
+    this.lookup = ArgChecker.notNull(lookup, "lookup");
+    this.marketData = ArgChecker.notNull(marketData, "marketData");
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionScenarioMarketData withMarketData(ScenarioMarketData marketData) {
+    return DefaultOvernightFutureOptionScenarioMarketData.of(lookup, marketData);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public int getScenarioCount() {
+    return marketData.getScenarioCount();
+  }
+
+  @Override
+  public OvernightFutureOptionMarketData scenario(int scenarioIndex) {
+    return lookup.marketDataView(marketData.scenario(scenarioIndex));
+  }
+
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionScenarioMarketData}.
+   */
+  private static final TypedMetaBean<DefaultOvernightFutureOptionScenarioMarketData> META_BEAN =
+      LightMetaBean.of(
+          DefaultOvernightFutureOptionScenarioMarketData.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "lookup",
+              "marketData"},
+          new Object[0]);
+
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionScenarioMarketData}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<DefaultOvernightFutureOptionScenarioMarketData> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public TypedMetaBean<DefaultOvernightFutureOptionScenarioMarketData> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the lookup.
+   * @return the value of the property, not null
+   */
+  @Override
+  public OvernightFutureOptionMarketDataLookup getLookup() {
+    return lookup;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the market data.
+   * @return the value of the property, not null
+   */
+  @Override
+  public ScenarioMarketData getMarketData() {
+    return marketData;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      DefaultOvernightFutureOptionScenarioMarketData other = (DefaultOvernightFutureOptionScenarioMarketData) obj;
+      return JodaBeanUtils.equal(lookup, other.lookup) &&
+          JodaBeanUtils.equal(marketData, other.marketData);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = getClass().hashCode();
+    hash = hash * 31 + JodaBeanUtils.hashCode(lookup);
+    hash = hash * 31 + JodaBeanUtils.hashCode(marketData);
+    return hash;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder buf = new StringBuilder(96);
+    buf.append("DefaultOvernightFutureOptionScenarioMarketData{");
+    buf.append("lookup").append('=').append(JodaBeanUtils.toString(lookup)).append(',').append(' ');
+    buf.append("marketData").append('=').append(JodaBeanUtils.toString(marketData));
+    buf.append('}');
+    return buf.toString();
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u}(j\
  (c7e09a8d56cb80ee4db07a38692191da9746693bj
  emodules/measure/src/main/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketData.javaj
  addedj
  KDj
  K j
  KDj
  https://github.com/OpenGamma/Strata/blob/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketData.javaj
  https://github.com/OpenGamma/Strata/raw/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketData.javaj
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketData.java?ref=abddec21412e7f48e4e00cdde3c6e566ff119efej
  X[  @@ -0,0 +1,68 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.time.LocalDate;
+
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.MarketDataNotFoundException;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+
+/**
+ * Market data for Overnight future options.
+ * <p>
+ * This interface exposes the market data necessary for pricing an Overnight future option.
+ * <p>
+ * Implementations of this interface must be immutable.
+ */
+public interface OvernightFutureOptionMarketData {
+
+  /**
+   * Gets the valuation date.
+   *
+   * @return the valuation date
+   */
+  public default LocalDate getValuationDate() {
+    return getMarketData().getValuationDate();
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the lookup that provides access to Overnight future option volatilities.
+   *
+   * @return the Overnight future option lookup
+   */
+  public abstract OvernightFutureOptionMarketDataLookup getLookup();
+
+  /**
+   * Gets the market data.
+   *
+   * @return the market data
+   */
+  public abstract MarketData getMarketData();
+
+  /**
+   * Returns a copy of this instance with the specified market data.
+   *
+   * @param marketData  the market data to use
+   * @return a market view based on the specified data
+   */
+  public abstract OvernightFutureOptionMarketData withMarketData(MarketData marketData);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the volatilities for the specified Overnight index.
+   * <p>
+   * If the index is not found, an exception is thrown.
+   *
+   * @param index  the Overnight index
+   * @return the volatilities for the index
+   * @throws MarketDataNotFoundException if the index is not found
+   */
+  public abstract OvernightFutureOptionVolatilities volatilities(OvernightIndex index);
+
+}u}(j\
  (c8c4a8690ebb63bef3944340854d9550539a1319j
  kmodules/measure/src/main/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketDataLookup.javaj
  addedj
  Kj
  K j
  Kj
  https://github.com/OpenGamma/Strata/blob/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookup.javaj
  https://github.com/OpenGamma/Strata/raw/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookup.javaj
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookup.java?ref=abddec21412e7f48e4e00cdde3c6e566ff119efej
  X   @@ -0,0 +1,166 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.util.Map;
+import java.util.Set;
+
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.calc.CalculationRules;
+import com.opengamma.strata.calc.runner.CalculationParameter;
+import com.opengamma.strata.calc.runner.CalculationParameters;
+import com.opengamma.strata.calc.runner.FunctionRequirements;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.MarketDataId;
+import com.opengamma.strata.data.MarketDataNotFoundException;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilitiesId;
+
+/**
+ * The lookup that provides access to Overnight future option volatilities in market data.
+ * <p>
+ * The Overnight future option market lookup provides access to the volatilities used to price Overnight future options.
+ * <p>
+ * The lookup implements {@link CalculationParameter} and is used by passing it
+ * as an argument to {@link CalculationRules}. It provides the link between the
+ * data that the function needs and the data that is available in {@link ScenarioMarketData}.
+ * <p>
+ * Implementations of this interface must be immutable.
+ */
+public interface OvernightFutureOptionMarketDataLookup extends CalculationParameter {
+
+  /**
+   * Obtains an instance based on a single mapping from index to volatility identifier.
+   * <p>
+   * The lookup provides volatilities for the specified index.
+   *
+   * @param index  the Overnight index
+   * @param volatilityId  the volatility identifier
+   * @return the Overnight future option lookup containing the specified mapping
+   */
+  public static OvernightFutureOptionMarketDataLookup of(OvernightIndex index, OvernightFutureOptionVolatilitiesId volatilityId) {
+    return DefaultOvernightFutureOptionMarketDataLookup.of(ImmutableMap.of(index, volatilityId));
+  }
+
+  /**
+   * Obtains an instance based on a map of volatility identifiers.
+   * <p>
+   * The map is used to specify the appropriate volatilities to use for each index.
+   *
+   * @param volatilityIds  the volatility identifiers, keyed by index
+   * @return the Overnight future option lookup containing the specified volatilities
+   */
+  public static OvernightFutureOptionMarketDataLookup of(Map<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds) {
+    return DefaultOvernightFutureOptionMarketDataLookup.of(volatilityIds);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the type that the lookup will be queried by.
+   * <p>
+   * This returns {@code OvernightFutureOptionMarketLookup.class}.
+   * When querying parameters using {@link CalculationParameters#findParameter(Class)},
+   * {@code OvernightFutureOptionMarketLookup.class} must be passed in to find the instance.
+   *
+   * @return the type of the parameter implementation
+   */
+  @Override
+  public default Class<? extends CalculationParameter> queryType() {
+    return OvernightFutureOptionMarketDataLookup.class;
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the set of indices that volatilities are provided for.
+   *
+   * @return the set of indices
+   */
+  public abstract ImmutableSet<OvernightIndex> getVolatilityIndices();
+
+  /**
+   * Gets the identifiers used to obtain the volatilities for the specified currency.
+   * <p>
+   * The result will typically refer to a surface or cube.
+   * If the index is not found, an exception is thrown.
+   *
+   * @param index  the index for which identifiers are required
+   * @return the set of market data identifiers 
+   * @throws IllegalArgumentException if the index is not found
+   */
+  public abstract ImmutableSet<MarketDataId<?>> getVolatilityIds(OvernightIndex index);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Creates market data requirements for the specified indices.
+   *
+   * @param indices  the indices, for which volatilities are required
+   * @return the requirements
+   */
+  public default FunctionRequirements requirements(OvernightIndex... indices) {
+    return requirements(ImmutableSet.copyOf(indices));
+  }
+
+  /**
+   * Creates market data requirements for the specified indices.
+   *
+   * @param indices  the indices, for which volatilities are required
+   * @return the requirements
+   */
+  public abstract FunctionRequirements requirements(Set<OvernightIndex> indices);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains a filtered view of the complete set of market data.
+   * <p>
+   * This method returns an instance that binds the lookup to the market data.
+   * The input is {@link ScenarioMarketData}, which contains market data for all scenarios.
+   *
+   * @param marketData  the complete set of market data for all scenarios
+   * @return the filtered market data
+   */
+  public default OvernightFutureOptionScenarioMarketData marketDataView(ScenarioMarketData marketData) {
+    return DefaultOvernightFutureOptionScenarioMarketData.of(this, marketData);
+  }
+
+  /**
+   * Obtains a filtered view of the complete set of market data.
+   * <p>
+   * This method returns an instance that binds the lookup to the market data.
+   * The input is {@link MarketData}, which contains market data for one scenario.
+   *
+   * @param marketData  the complete set of market data for one scenario
+   * @return the filtered market data
+   */
+  public default OvernightFutureOptionMarketData marketDataView(MarketData marketData) {
+    return DefaultOvernightFutureOptionMarketData.of(this, marketData);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains Overnight future option volatilities based on the specified market data.
+   * <p>
+   * This provides {@link OvernightFutureOptionVolatilities} suitable for pricing an Overnight future option.
+   * Although this method can be used directly, it is typically invoked indirectly
+   * via {@link OvernightFutureOptionMarketData}:
+   * <pre>
+   *  // bind the baseData to this lookup
+   *  OvernightFutureOptionMarketData view = lookup.marketDataView(baseData);
+   *
+   *  // pass around OvernightFutureOptionMarketData within the function to use in pricing
+   *  OvernightFutureOptionVolatilities vols = view.volatilities(index);
+   * </pre>
+   *
+   * @param index  the Overnight index
+   * @param marketData  the complete set of market data for one scenario
+   * @return the volatilities
+   * @throws MarketDataNotFoundException if the index is not found
+   */
+  public abstract OvernightFutureOptionVolatilities volatilities(OvernightIndex index, MarketData marketData);
+
+}u}(j\
  (f0ac64ac046bd56a40972c3c9eaae3c705c696aaj
  mmodules/measure/src/main/java/com/opengamma/strata/measure/index/OvernightFutureOptionScenarioMarketData.javaj
  addedj
  K<j
  K j
  K<j
  https://github.com/OpenGamma/Strata/blob/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionScenarioMarketData.javaj
  https://github.com/OpenGamma/Strata/raw/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionScenarioMarketData.javaj
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionScenarioMarketData.java?ref=abddec21412e7f48e4e00cdde3c6e566ff119efej
  Xj  @@ -0,0 +1,60 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+
+/**
+ * Market data for Overnight future options, used for calculation across multiple scenarios.
+ * <p>
+ * This interface exposes the market data necessary for pricing an Overnight future option.
+ * <p>
+ * Implementations of this interface must be immutable.
+ */
+public interface OvernightFutureOptionScenarioMarketData {
+
+  /**
+   * Gets the lookup that provides access to Overnight future option volatilities.
+   *
+   * @return the Overnight future option lookup
+   */
+  public abstract OvernightFutureOptionMarketDataLookup getLookup();
+
+  /**
+   * Gets the market data.
+   *
+   * @return the market data
+   */
+  public abstract ScenarioMarketData getMarketData();
+
+  /**
+   * Returns a copy of this instance with the specified market data.
+   *
+   * @param marketData  the market data to use
+   * @return a market view based on the specified data
+   */
+  public abstract OvernightFutureOptionScenarioMarketData withMarketData(ScenarioMarketData marketData);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the number of scenarios.
+   *
+   * @return the number of scenarios
+   */
+  public abstract int getScenarioCount();
+
+  /**
+   * Returns market data for a single scenario.
+   * <p>
+   * This returns a view of the market data for the specified scenario.
+   *
+   * @param scenarioIndex  the scenario index
+   * @return the market data for the specified scenario
+   * @throws IndexOutOfBoundsException if the scenario index is invalid
+   */
+  public abstract OvernightFutureOptionMarketData scenario(int scenarioIndex);
+  
+}u}(j\
  (a05ea888488d48fc6a8b4268c865458c5dfe80b1j
  omodules/measure/src/test/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketDataLookupTest.javaj
  addedj
  K|j
  K j
  K|j
  https://github.com/OpenGamma/Strata/blob/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.javaj
  https://github.com/OpenGamma/Strata/raw/abddec21412e7f48e4e00cdde3c6e566ff119efe/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.javaj
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.java?ref=abddec21412e7f48e4e00cdde3c6e566ff119efej
  X  @@ -0,0 +1,124 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
+import static com.opengamma.strata.basics.index.OvernightIndices.USD_FED_FUND;
+import static com.opengamma.strata.basics.index.OvernightIndices.USD_SOFR;
+import static com.opengamma.strata.collect.TestHelper.assertSerialization;
+import static com.opengamma.strata.collect.TestHelper.coverBeanEquals;
+import static com.opengamma.strata.collect.TestHelper.coverImmutableBean;
+import static com.opengamma.strata.collect.TestHelper.date;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+import java.time.LocalDate;
+
+import org.joda.beans.ImmutableBean;
+import org.junit.jupiter.api.Test;
+
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.calc.runner.FunctionRequirements;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+import com.opengamma.strata.measure.curve.TestMarketDataMap;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilitiesId;
+
+/**
+ * Test {@link OvernightFutureOptionMarketDataLookup}.
+ */
+public class OvernightFutureOptionMarketDataLookupTest {
+
+  private static final OvernightFutureOptionVolatilitiesId VOL_ID1 = OvernightFutureOptionVolatilitiesId.of("USD1");
+  private static final OvernightFutureOptionVolatilities MOCK_VOLS = mock(OvernightFutureOptionVolatilities.class);
+  private static final MarketData MOCK_MARKET_DATA = mock(MarketData.class);
+  private static final ScenarioMarketData MOCK_CALC_MARKET_DATA = mock(ScenarioMarketData.class);
+
+  static {
+    when(MOCK_MARKET_DATA.getValue(VOL_ID1)).thenReturn(MOCK_VOLS);
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_of_single() {
+    OvernightFutureOptionMarketDataLookup test = OvernightFutureOptionMarketDataLookup.of(USD_SOFR, VOL_ID1);
+    assertThat(test.queryType()).isEqualTo(OvernightFutureOptionMarketDataLookup.class);
+    assertThat(test.getVolatilityIndices()).containsOnly(USD_SOFR);
+    assertThat(test.getVolatilityIds(USD_SOFR)).containsOnly(VOL_ID1);
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.getVolatilityIds(GBP_SONIA));
+
+    assertThat(test.requirements(USD_SOFR)).isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThat(test.requirements(ImmutableSet.of(USD_SOFR)))
+        .isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.requirements(ImmutableSet.of(GBP_SONIA)));
+  }
+
+  @Test
+  public void test_of_map() {
+    ImmutableMap<OvernightIndex, OvernightFutureOptionVolatilitiesId> ids =
+        ImmutableMap.of(USD_SOFR, VOL_ID1, USD_FED_FUND, VOL_ID1);
+    OvernightFutureOptionMarketDataLookup test = OvernightFutureOptionMarketDataLookup.of(ids);
+    assertThat(test.queryType()).isEqualTo(OvernightFutureOptionMarketDataLookup.class);
+    assertThat(test.getVolatilityIndices()).containsOnly(USD_SOFR, USD_FED_FUND);
+    assertThat(test.getVolatilityIds(USD_SOFR)).containsOnly(VOL_ID1);
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.getVolatilityIds(GBP_SONIA));
+
+    assertThat(test.requirements(USD_SOFR)).isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThat(test.requirements(ImmutableSet.of(USD_SOFR)))
+        .isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.requirements(ImmutableSet.of(GBP_SONIA)));
+
+    assertThat(test.volatilities(USD_SOFR, MOCK_MARKET_DATA)).isEqualTo(MOCK_VOLS);
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.volatilities(GBP_SONIA, MOCK_MARKET_DATA));
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_marketDataView() {
+    OvernightFutureOptionMarketDataLookup test = OvernightFutureOptionMarketDataLookup.of(USD_SOFR, VOL_ID1);
+    LocalDate valDate = date(2015, 6, 30);
+    ScenarioMarketData md = new TestMarketDataMap(valDate, ImmutableMap.of(), ImmutableMap.of());
+    OvernightFutureOptionScenarioMarketData multiScenario = test.marketDataView(md);
+    assertThat(multiScenario.getLookup()).isEqualTo(test);
+    assertThat(multiScenario.getMarketData()).isEqualTo(md);
+    assertThat(multiScenario.getScenarioCount()).isEqualTo(1);
+    OvernightFutureOptionMarketData scenario = multiScenario.scenario(0);
+    assertThat(scenario.getLookup()).isEqualTo(test);
+    assertThat(scenario.getMarketData()).isEqualTo(md.scenario(0));
+    assertThat(scenario.getValuationDate()).isEqualTo(valDate);
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void coverage() {
+    DefaultOvernightFutureOptionMarketDataLookup test =
+        DefaultOvernightFutureOptionMarketDataLookup.of(ImmutableMap.of(USD_SOFR, VOL_ID1, USD_FED_FUND, VOL_ID1));
+    coverImmutableBean(test);
+    DefaultOvernightFutureOptionMarketDataLookup test2 = DefaultOvernightFutureOptionMarketDataLookup.of(USD_SOFR, VOL_ID1);
+    coverBeanEquals(test, test2);
+
+    coverImmutableBean((ImmutableBean) test.marketDataView(MOCK_CALC_MARKET_DATA));
+    coverImmutableBean((ImmutableBean) test.marketDataView(MOCK_MARKET_DATA));
+  }
+
+  @Test
+  public void test_serialization() {
+    DefaultOvernightFutureOptionMarketDataLookup test =
+        DefaultOvernightFutureOptionMarketDataLookup.of(ImmutableMap.of(USD_SOFR, VOL_ID1, USD_FED_FUND, VOL_ID1));
+    assertSerialization(test);
+  }
+
+}ueu(aad3fd39d8f952e9740b63d570eae3449bae4d41}(sha(aad3fd39d8f952e9740b63d570eae3449bae4d41node_idEC_kwDOAT6l0doAKGFhZDNmZDM5ZDhmOTUyZTk3NDBiNjNkNTcwZWFlMzQ0OWJhZTRkNDEcommit}(author}(namejordanmorrison476email*jordanmorrison476@users.noreply.github.comdate2023-06-06T16:17:31Zu	committer}(j  jordanmorrison476j
  *jordanmorrison476@users.noreply.github.comj  2023-06-06T16:17:31ZumessageZCOPS-149300: Updating Thailand Holiday Calendar - Coronation Day / Coronation Day Observedtree}(j  (7a37e59d58757e4e7caaa4e079d1175b5752c31aurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/7a37e59d58757e4e7caaa4e079d1175b5752c31auj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/aad3fd39d8f952e9740b63d570eae3449bae4d41
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/aad3fd39d8f952e9740b63d570eae3449bae4d41html_urlShttps://github.com/OpenGamma/Strata/commit/aad3fd39d8f952e9740b63d570eae3449bae4d41comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/aad3fd39d8f952e9740b63d570eae3449bae4d41/commentsj	  }(loginjordanmorrison476idJFj  MDQ6VXNlcjMzMTUxMzAy
avatar_url4https://avatars.githubusercontent.com/u/33151302?v=4gravatar_idh3j  .https://api.github.com/users/jordanmorrison476j'  $https://github.com/jordanmorrison476
followers_url8https://api.github.com/users/jordanmorrison476/followers
following_urlEhttps://api.github.com/users/jordanmorrison476/following{/other_user}	gists_url>https://api.github.com/users/jordanmorrison476/gists{/gist_id}starred_urlEhttps://api.github.com/users/jordanmorrison476/starred{/owner}{/repo}subscriptions_url<https://api.github.com/users/jordanmorrison476/subscriptionsorganizations_url3https://api.github.com/users/jordanmorrison476/orgs	repos_url4https://api.github.com/users/jordanmorrison476/repos
events_url?https://api.github.com/users/jordanmorrison476/events{/privacy}received_events_url>https://api.github.com/users/jordanmorrison476/received_eventstypeUser
site_adminuj  }(j,  jordanmorrison476j.  JFj  MDQ6VXNlcjMzMTUxMzAyj0  4https://avatars.githubusercontent.com/u/33151302?v=4j2  h3j  .https://api.github.com/users/jordanmorrison476j'  $https://github.com/jordanmorrison476j5  8https://api.github.com/users/jordanmorrison476/followersj7  Ehttps://api.github.com/users/jordanmorrison476/following{/other_user}j9  >https://api.github.com/users/jordanmorrison476/gists{/gist_id}j;  Ehttps://api.github.com/users/jordanmorrison476/starred{/owner}{/repo}j=  <https://api.github.com/users/jordanmorrison476/subscriptionsj?  3https://api.github.com/users/jordanmorrison476/orgsjA  4https://api.github.com/users/jordanmorrison476/reposjC  ?https://api.github.com/users/jordanmorrison476/events{/privacy}jE  >https://api.github.com/users/jordanmorrison476/received_eventsjG  UserjI  uparents]}(j  (6653262414e66a1476af69449ec42a76e33f3214j  ^https://api.github.com/repos/OpenGamma/Strata/commits/6653262414e66a1476af69449ec42a76e33f3214j'  Shttps://github.com/OpenGamma/Strata/commit/6653262414e66a1476af69449ec42a76e33f3214uastats}(totalK	additionsK	deletionsKufiles](}(j  (05c04402e72d460ff1f598968fc4217565393265filename[modules/basics/src/main/java/com/opengamma/strata/basics/date/HolidayCalendarIniLookup.javastatusmodifiedjc  Kjd  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/aad3fd39d8f952e9740b63d570eae3449bae4d41/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fdate%2FHolidayCalendarIniLookup.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/aad3fd39d8f952e9740b63d570eae3449bae4d41/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fdate%2FHolidayCalendarIniLookup.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fdate%2FHolidayCalendarIniLookup.java?ref=aad3fd39d8f952e9740b63d570eae3449bae4d41patchX  @@ -219,4 +219,10 @@ static ImmutableMap<Currency, HolidayCalendarId> loadDefaultsFromIni(String file
     return ImmutableMap.copyOf(map);
   }
 
+  public static void main(String[] args) {
+    ReferenceData standard = ReferenceData.standard();
+    boolean dateIsHoliday = standard.getValue(HolidayCalendarId.of("THBA")).isHoliday(LocalDate.of(2023, 5, 5));
+    System.out.println("dfgs");
+  }
+
 }u}(j  (94afd8129f23b075626344d41428923f62411d35ji  cmodules/basics/src/main/resources/META-INF/com/opengamma/strata/config/base/HolidayCalendarData.inijk  modifiedjc  Kjd  Kjm  Kjn  https://github.com/OpenGamma/Strata/blob/aad3fd39d8f952e9740b63d570eae3449bae4d41/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FHolidayCalendarData.inijp  https://github.com/OpenGamma/Strata/raw/aad3fd39d8f952e9740b63d570eae3449bae4d41/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FHolidayCalendarData.inijr  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FHolidayCalendarData.ini?ref=aad3fd39d8f952e9740b63d570eae3449bae4d41jt  X#  @@ -47,17 +47,17 @@
 2020=Jan01,Feb10,Apr06,Apr13,Apr14,Apr15,May01,May06,Jul06,Jul28,Aug12,Oct13,Oct23,Dec07,Dec10,Dec31
 2021=Jan01,Feb26,Apr06,Apr13,Apr14,Apr15,May03,May26,Jul26,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
 2022=Jan03,Feb16,Apr06,Apr13,Apr14,Apr15,May02,May16,Jul13,Jul28,Aug12,Oct13,Oct24,Dec05,Dec12
-2023=Jan02,Mar06,Apr06,Apr13,Apr14,May01,Jun05,Jul28,Aug01,Aug14,Oct13,Oct23,Dec05,Dec11
-2024=Jan01,Jan02,Feb26,Apr08,Apr15,Apr16,May01,May22,Jul22,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
-2025=Jan01,Feb12,Apr07,Apr14,Apr15,May01,May12,Jul10,Jul28,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
-2026=Jan01,Jan02,Mar03,Apr06,Apr13,Apr14,Apr15,May01,Jun01,Jul28,Jul29,Aug12,Oct13,Oct23,Dec07,Dec10,Dec31
-2027=Jan01,Feb22,Apr06,Apr13,Apr14,Apr15,May03,May20,Jul19,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
-2028=Jan03,Feb10,Apr06,Apr13,Apr14,May01,May08,Jul06,Jul28,Aug14,Oct13,Oct23,Dec05,Dec11
-2029=Jan01,Jan02,Feb27,Apr06,Apr13,Apr16,May01,May28,Jul25,Jul30,Aug13,Oct15,Oct23,Dec05,Dec10,Dec31
-2030=Jan01,Feb18,Apr08,Apr15,Apr16,May01,May16,Jul15,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
-2031=Jan01,Mar07,Apr07,Apr14,Apr15,May01,Jun04,Jul28,Aug04,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
-2032=Jan01,Jan02,Feb25,Apr06,Apr13,Apr14,Apr15,May03,May24,Jul22,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
-2033=Jan03,Feb14,Apr06,Apr13,Apr14,Apr15,May02,May13,Jul11,Jul28,Aug12,Oct13,Oct24,Dec05,Dec12
+2023=Jan02,Mar06,Apr06,Apr13,Apr14,May01,May04,May05,Jun05,Jul28,Aug01,Aug14,Oct13,Oct23,Dec05,Dec11
+2024=Jan01,Jan02,Feb26,Apr08,Apr15,Apr16,May01,May06,May22,Jul22,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
+2025=Jan01,Feb12,Apr07,Apr14,Apr15,May01,May05,May12,Jul10,Jul28,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
+2026=Jan01,Jan02,Mar03,Apr06,Apr13,Apr14,Apr15,May01,May04,Jun01,Jul28,Jul29,Aug12,Oct13,Oct23,Dec07,Dec10,Dec31
+2027=Jan01,Feb22,Apr06,Apr13,Apr14,Apr15,May03,May04,May20,Jul19,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
+2028=Jan03,Feb10,Apr06,Apr13,Apr14,May01,May04,May08,Jul06,Jul28,Aug14,Oct13,Oct23,Dec05,Dec11
+2029=Jan01,Jan02,Feb27,Apr06,Apr13,Apr16,May01,May04,May28,Jul25,Jul30,Aug13,Oct15,Oct23,Dec05,Dec10,Dec31
+2030=Jan01,Feb18,Apr08,Apr15,Apr16,May01,May06,May16,Jul15,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
+2031=Jan01,Mar07,Apr07,Apr14,Apr15,May01,May04,Jun04,Jul28,Aug04,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
+2032=Jan01,Jan02,Feb25,Apr06,Apr13,Apr14,Apr15,May03,May04,May24,Jul22,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
+2033=Jan03,Feb14,Apr06,Apr13,Apr14,Apr15,May02,May04,May13,Jul11,Jul28,Aug12,Oct13,Oct24,Dec05,Dec12
 2034=Jan02,Mar06,Apr06,Apr13,Apr14,May01,Jun01,Jul28,Jul31,Aug14,Oct13,Oct23,Dec05,Dec11
 2035=Jan01,Jan02,Feb22,Apr06,Apr13,Apr16,May01,May21,Jul20,Jul30,Aug13,Oct15,Oct23,Dec05,Dec10,Dec31
 2036=Jan01,Feb12,Apr07,Apr14,Apr15,May01,May12,Jul08,Jul28,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31ueu(8352de0af6c1c94b006a4d3037b25d8f71d3ddd8}(sha(8352de0af6c1c94b006a4d3037b25d8f71d3ddd8node_idEC_kwDOAT6l0doAKDgzNTJkZTBhZjZjMWM5NGIwMDZhNGQzMDM3YjI1ZDhmNzFkM2RkZDgcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-05-17T08:45:16Zu	committer}(j  opengammacibotj  cibot@opengamma.comj  2023-05-17T08:45:16Zumessage=[maven-release-plugin] prepare for next development iterationtree}(j  (a6c088869339c88c07a4acbd3ddbbdf103e5ddd5url`https://api.github.com/repos/OpenGamma/Strata/git/trees/a6c088869339c88c07a4acbd3ddbbdf103e5ddd5uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8html_urlShttps://github.com/OpenGamma/Strata/commit/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/commentsj  }(loginopengammacibotidJq j  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj  }(j  opengammacibotj  Jq j  MDQ6VXNlcjc0NTAyODE=j  3https://avatars.githubusercontent.com/u/7450281?v=4j  h3j  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibotj  5https://api.github.com/users/opengammacibot/followersj  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j  9https://api.github.com/users/opengammacibot/subscriptionsj  0https://api.github.com/users/opengammacibot/orgsj  1https://api.github.com/users/opengammacibot/reposj  <https://api.github.com/users/opengammacibot/events{/privacy}j  ;https://api.github.com/users/opengammacibot/received_eventsj  Userj  uparents]}(j  (06f6efdf577f856447c85d31cb1d535027cbe968j  ^https://api.github.com/repos/OpenGamma/Strata/commits/06f6efdf577f856447c85d31cb1d535027cbe968j  Shttps://github.com/OpenGamma/Strata/commit/06f6efdf577f856447c85d31cb1d535027cbe968uastats}(totalK$	additionsK	deletionsKufiles](}(j  (89c2af0cb8f85050a587ccb520903551a088681dfilenameexamples/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.23</version>
+  <version>2.12.24-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,8 +272,4 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
-
-  <scm>
-    <tag>v2.12.23</tag>
-  </scm>
 </project>u}(j  (b303a68426251f6e588066a731f1e3318157c5d6j  modules/basics/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fbasics%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fbasics%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j  (75f725c547dcdaae163858e87a442c7b88fb2840j  modules/calc/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fcalc%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fcalc%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j  (3ca29a7d2f8063bb87a2d7fd234723ccfc5c0343j  modules/collect/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fcollect%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fcollect%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j  (6caa11a7a1df26c4ab2e71323c41ae9ac6ac4fdej  modules/data/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fdata%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fdata%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j  (5f05f668a77d299add8cc63983c60c1abb144a3cj  modules/loader/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Floader%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Floader%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j  (cb475d21fc8228aae06b1fea2b61f16712865981j  modules/market/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fmarket%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fmarket%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j  (324f9ce4fcc4eeb211998f1392677373116b230ej  modules/math/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fmath%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fmath%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j  (5966599f607f3e11d6d1a1409495991b1e79e5f5j  modules/measure/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fmeasure%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fmeasure%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j  (24181178ac0f2b7d218abfcf45d08ac03d4f1e31j  modules/pom.xmlj  modifiedj  Kj  Kj  Kj  chttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fpom.xmlj  bhttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fpom.xmlj  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.23</version>
+  <version>2.12.24-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.23</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j  (8bf164413c033edf2ea90ab2c1b5372187bafe1ej  modules/pricer/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fpricer%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fpricer%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j  (381c077913a62db74e3622802e1ca8ccb78a1645j  modules/product/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fproduct%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Fproduct%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j  (567232f436828976ee4ee73975699b1b56241d34j  modules/report/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Freport%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/modules%2Freport%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j  (6a00d751b01ec3bbbf644c43b3f7961556650a80j  pom.xmlj  modifiedj  Kj  Kj  Kj  Yhttps://github.com/OpenGamma/Strata/blob/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/pom.xmlj  Xhttps://github.com/OpenGamma/Strata/raw/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8/pom.xmlj  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.23</version>
+  <version>2.12.24-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.23</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(a7e26331669aaa14a0486abe43009584cf5ac05d}(sha(a7e26331669aaa14a0486abe43009584cf5ac05dnode_idEC_kwDOAT6l0doAKGE3ZTI2MzMxNjY5YWFhMTRhMDQ4NmFiZTQzMDA5NTg0Y2Y1YWMwNWQcommit}(author}(nameAnandemailanand@opengamma.comdate2023-05-05T11:06:33Zu	committer}(je  Anandjg  anand@opengamma.comji  2023-05-05T11:06:33Zumessage/Expand ArgChecker to validate non-positive argstree}(j]  (fe0e9ae1a3eb34789daf276bc49d399c1d38c71eurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/fe0e9ae1a3eb34789daf276bc49d399c1d38c71euju  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a7e26331669aaa14a0486abe43009584cf5ac05d
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuju  ^https://api.github.com/repos/OpenGamma/Strata/commits/a7e26331669aaa14a0486abe43009584cf5ac05dhtml_urlShttps://github.com/OpenGamma/Strata/commit/a7e26331669aaa14a0486abe43009584cf5ac05dcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a7e26331669aaa14a0486abe43009584cf5ac05d/commentsjc  }(loginanand-ukidJj_  MDQ6VXNlcjQ5OTE3NDcw
avatar_url4https://avatars.githubusercontent.com/u/49917470?v=4gravatar_idh3ju  %https://api.github.com/users/anand-ukj  https://github.com/anand-uk
followers_url/https://api.github.com/users/anand-uk/followers
following_url<https://api.github.com/users/anand-uk/following{/other_user}	gists_url5https://api.github.com/users/anand-uk/gists{/gist_id}starred_url<https://api.github.com/users/anand-uk/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/anand-uk/subscriptionsorganizations_url*https://api.github.com/users/anand-uk/orgs	repos_url+https://api.github.com/users/anand-uk/repos
events_url6https://api.github.com/users/anand-uk/events{/privacy}received_events_url5https://api.github.com/users/anand-uk/received_eventstypeUser
site_adminujk  }(j  anand-ukj  Jj_  MDQ6VXNlcjQ5OTE3NDcwj  4https://avatars.githubusercontent.com/u/49917470?v=4j  h3ju  %https://api.github.com/users/anand-ukj  https://github.com/anand-ukj  /https://api.github.com/users/anand-uk/followersj  <https://api.github.com/users/anand-uk/following{/other_user}j  5https://api.github.com/users/anand-uk/gists{/gist_id}j  <https://api.github.com/users/anand-uk/starred{/owner}{/repo}j  3https://api.github.com/users/anand-uk/subscriptionsj  *https://api.github.com/users/anand-uk/orgsj  +https://api.github.com/users/anand-uk/reposj  6https://api.github.com/users/anand-uk/events{/privacy}j  5https://api.github.com/users/anand-uk/received_eventsj  Userj  uparents]}(j]  (55b46cbeaff2939163e004c37de98e74c2f9a86bju  ^https://api.github.com/repos/OpenGamma/Strata/commits/55b46cbeaff2939163e004c37de98e74c2f9a86bj  Shttps://github.com/OpenGamma/Strata/commit/55b46cbeaff2939163e004c37de98e74c2f9a86buastats}(totalK	additionsK	deletionsK ufiles](}(j]  (35afca14f9279bb0a76d58d4de206729c4ce4c63filenameJmodules/collect/src/main/java/com/opengamma/strata/collect/ArgChecker.javastatusmodifiedj  Kpj  K changesKpblob_urlhttps://github.com/OpenGamma/Strata/blob/a7e26331669aaa14a0486abe43009584cf5ac05d/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgChecker.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/a7e26331669aaa14a0486abe43009584cf5ac05d/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgChecker.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgChecker.java?ref=a7e26331669aaa14a0486abe43009584cf5ac05dpatchX  @@ -752,6 +752,118 @@ private static String noDuplicatesSortedArrayMsg(String name) {
     return "Argument array '" + name + "' must be sorted and not contain duplicates";
   }
 
+  //-------------------------------------------------------------------------
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is positive
+   */
+  public static int notPositive(int argument, String name) {
+    if (argument > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  private static String notPositiveMsg(String name, Object argument) {
+    return "Argument '" + name + "' must not be positive but has value " + argument;
+  }
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is positive
+   */
+  public static long notPositive(long argument, String name) {
+    if (argument > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is positive
+   */
+  public static double notPositive(double argument, String name) {
+    if (argument > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is not null and is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is null or positive
+   */
+  public static Decimal notPositive(Decimal argument, String name) {
+    notNull(argument, name);
+    if (argument.unscaledValue() > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  /**
+   * Checks that the argument is not positive if the arguement is not null.
+   * <p>
+   * Given the input argument, this returns only if it is null or if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositiveIfPresent(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is not null and is positive
+   */
+  public static Decimal notPositiveIfPresent(Decimal argument, String name) {
+    if (argument != null && argument.unscaledValue() > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks that the argument is not negative.u}(j]  (29e1fa58aaf58d54c11444624c8560c256e102f6j  Nmodules/collect/src/test/java/com/opengamma/strata/collect/ArgCheckerTest.javaj  modifiedj  KDj  K j  KDj  https://github.com/OpenGamma/Strata/blob/a7e26331669aaa14a0486abe43009584cf5ac05d/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgCheckerTest.javaj  https://github.com/OpenGamma/Strata/raw/a7e26331669aaa14a0486abe43009584cf5ac05d/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgCheckerTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgCheckerTest.java?ref=a7e26331669aaa14a0486abe43009584cf5ac05dj  X|
  @@ -536,6 +536,74 @@ public void test_noNulls_Map_nullValue() {
         .withMessageMatching(".*map.*'name'.*null.*");
   }
 
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_notPositive_int_ok() {
+    assertThat(ArgChecker.notPositive(0, "name")).isEqualTo(0);
+    assertThat(ArgChecker.notPositive(-1, "name")).isEqualTo(-1);
+  }
+
+  @Test
+  public void test_notPositve_int_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(1, "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+
+  }
+
+  @Test
+  public void test_notPositive_long_ok() {
+    assertThat(ArgChecker.notPositive(0L, "name")).isEqualTo(0L);
+    assertThat(ArgChecker.notPositive(-1L, "name")).isEqualTo(-1L);
+  }
+
+  @Test
+  public void test_notPositive_long_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(1L, "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
+  @Test
+  public void test_notPositive_double_ok() {
+    assertThat(ArgChecker.notPositive(0d, "name")).isEqualTo(0d);
+    assertThat(ArgChecker.notPositive(-1d, "name")).isEqualTo(-1d);
+  }
+
+  @Test
+  public void test_notPositive_double_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(1d, "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
+  @Test
+  public void test_notPositive_Decimal_ok() {
+    assertThat(ArgChecker.notPositive(Decimal.of(0), "name")).isEqualTo(Decimal.of(0));
+    assertThat(ArgChecker.notPositive(Decimal.of(-1), "name")).isEqualTo(Decimal.of(-1));
+  }
+
+  @Test
+  public void test_notPositive_Decimal_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(Decimal.of(1), "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
+  @Test
+  public void test_notPositiveIfPresent_Decimal_ok() {
+    assertThat(ArgChecker.notPositiveIfPresent(null, "name")).isNull();
+    assertThat(ArgChecker.notPositiveIfPresent(Decimal.of(0), "name")).isEqualTo(Decimal.of(0));
+    assertThat(ArgChecker.notPositiveIfPresent(Decimal.of(-1), "name")).isEqualTo(Decimal.of(-1));
+  }
+
+  @Test
+  public void test_notPositiveIfPresent_Decimal_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositiveIfPresent(Decimal.of(1), "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
   //-------------------------------------------------------------------------
   @Test
   public void test_notNegative_int_ok() {ueu(55bee3476f97a66ac130c3a0fbe7495d139575c5}(sha(55bee3476f97a66ac130c3a0fbe7495d139575c5node_idEC_kwDOAT6l0doAKDU1YmVlMzQ3NmY5N2E2NmFjMTMwYzNhMGZiZTc0OTVkMTM5NTc1YzUcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-06-08T10:51:27Zu	committer}(j  opengammacibotj  cibot@opengamma.comj  2023-06-08T10:51:27Zumessage/[maven-release-plugin] prepare release v2.12.27tree}(j  (caebb63ca49e124418c5ca6b788c7efb81b04c94url`https://api.github.com/repos/OpenGamma/Strata/git/trees/caebb63ca49e124418c5ca6b788c7efb81b04c94uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/55bee3476f97a66ac130c3a0fbe7495d139575c5
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/55bee3476f97a66ac130c3a0fbe7495d139575c5html_urlShttps://github.com/OpenGamma/Strata/commit/55bee3476f97a66ac130c3a0fbe7495d139575c5comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/55bee3476f97a66ac130c3a0fbe7495d139575c5/commentsj  }(loginopengammacibotidJq j  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj  }(j
  opengammacibotj
  Jq j  MDQ6VXNlcjc0NTAyODE=j
  3https://avatars.githubusercontent.com/u/7450281?v=4j	
  h3j  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibotj
  5https://api.github.com/users/opengammacibot/followersj
  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j
  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j
  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j
  9https://api.github.com/users/opengammacibot/subscriptions*      j
  0https://api.github.com/users/opengammacibot/orgsj
  1https://api.github.com/users/opengammacibot/reposj
  <https://api.github.com/users/opengammacibot/events{/privacy}j
  ;https://api.github.com/users/opengammacibot/received_eventsj
  Userj 
  uparents]}(j  (7294b91a329f6191e8ddd34218e319f32c5991d0j  ^https://api.github.com/repos/OpenGamma/Strata/commits/7294b91a329f6191e8ddd34218e319f32c5991d0j  Shttps://github.com/OpenGamma/Strata/commit/7294b91a329f6191e8ddd34218e319f32c5991d0uastats}(totalK$	additionsK	deletionsKufiles](}(j  (52a988704f3d13e997e4424d61bc45d145b12c54filenameexamples/pom.xmlstatusmodifiedj:
  Kj;
  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.27-SNAPSHOT</version>
+  <version>2.12.27</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,4 +272,8 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
+
+  <scm>
+    <tag>v2.12.27</tag>
+  </scm>
 </project>u}(j  (7e0d4aa0c9c7e30bb1688f40f20bde2f863bcc28j@
  modules/basics/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  lhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fbasics%2Fpom.xmljG
  khttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fbasics%2Fpom.xmljI
  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j  (f39d245e2d4b53d0f2aa32f0a4d8ebe4ec1d8875j@
  modules/calc/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  jhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fcalc%2Fpom.xmljG
  ihttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fcalc%2Fpom.xmljI
  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j  (2521943872678ee4c0503e92377ecec9c1236107j@
  modules/collect/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  mhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fcollect%2Fpom.xmljG
  lhttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fcollect%2Fpom.xmljI
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j  (ba6fde40f28ef311768f73d6211da0d3cfb3d4bbj@
  modules/data/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  jhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fdata%2Fpom.xmljG
  ihttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fdata%2Fpom.xmljI
  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j  (e517334f4d3d54e59743214cb096b798463486ddj@
  modules/loader/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  lhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Floader%2Fpom.xmljG
  khttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Floader%2Fpom.xmljI
  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j  (83070e1d38944eddaa154004bc04e81d5f0dd6cfj@
  modules/market/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  lhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fmarket%2Fpom.xmljG
  khttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fmarket%2Fpom.xmljI
  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j  (fa504ddfd2e002efc5bca07eaf10274ba84dddacj@
  modules/math/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  jhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fmath%2Fpom.xmljG
  ihttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fmath%2Fpom.xmljI
  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j  (32ad84b991d81d0cd02818269f252e81942e911fj@
  modules/measure/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  mhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fmeasure%2Fpom.xmljG
  lhttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fmeasure%2Fpom.xmljI
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j  (ee5e6eba14e87e1924459d2302e1a4ef26d4beccj@
  modules/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  chttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fpom.xmljG
  bhttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fpom.xmljI
  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.27-SNAPSHOT</version>
+  <version>2.12.27</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.27</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j  (8c27a35b6a27319ff1852ab78c9446a23214387cj@
  modules/pricer/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  lhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fpricer%2Fpom.xmljG
  khttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fpricer%2Fpom.xmljI
  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j  (2d39cdf6dd000892473a3107b5d49cc601fdfde2j@
  modules/product/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  mhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fproduct%2Fpom.xmljG
  lhttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Fproduct%2Fpom.xmljI
  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j  (b61900c17699f0e6581cf42f74070dc8b27b5b41j@
  modules/report/pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  lhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Freport%2Fpom.xmljG
  khttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/modules%2Freport%2Fpom.xmljI
  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27-SNAPSHOT</version>
+    <version>2.12.27</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j  (c98fcf84eb2013a06d6ff06cb4c1b98238007955j@
  pom.xmljB
  modifiedj:
  Kj;
  KjD
  KjE
  Yhttps://github.com/OpenGamma/Strata/blob/55bee3476f97a66ac130c3a0fbe7495d139575c5/pom.xmljG
  Xhttps://github.com/OpenGamma/Strata/raw/55bee3476f97a66ac130c3a0fbe7495d139575c5/pom.xmljI
  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=55bee3476f97a66ac130c3a0fbe7495d139575c5jK
  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.27-SNAPSHOT</version>
+  <version>2.12.27</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.27</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(669617b66b211a7fbe3a23cc6f677494ec190d4d}(sha(669617b66b211a7fbe3a23cc6f677494ec190d4dnode_idEC_kwDOAT6l0doAKDY2OTYxN2I2NmIyMTFhN2ZiZTNhMjNjYzZmNjc3NDk0ZWMxOTBkNGQcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-16T12:17:59Zu	committer}(j
  yukiiwashitaj
  %yukiiwashita@users.noreply.github.comj
  2023-05-16T12:17:59Zumessage&small year fraction in discount factortree}(j
  (71fa2eb4d19ed2ce27331477540b87b95b85cc46url`https://api.github.com/repos/OpenGamma/Strata/git/trees/71fa2eb4d19ed2ce27331477540b87b95b85cc46uj
  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/669617b66b211a7fbe3a23cc6f677494ec190d4d
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj
  ^https://api.github.com/repos/OpenGamma/Strata/commits/669617b66b211a7fbe3a23cc6f677494ec190d4dhtml_urlShttps://github.com/OpenGamma/Strata/commit/669617b66b211a7fbe3a23cc6f677494ec190d4dcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/669617b66b211a7fbe3a23cc6f677494ec190d4d/commentsj
  }(loginyukiiwashitaidJ- j
  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3j
  )https://api.github.com/users/yukiiwashitaj
  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminuj
  }(j
  yukiiwashitaj
  J- j
  MDQ6VXNlcjMwMDY2NTY=j
  3https://avatars.githubusercontent.com/u/3006656?v=4j
  h3j
  )https://api.github.com/users/yukiiwashitaj
  https://github.com/yukiiwashitaj
  3https://api.github.com/users/yukiiwashita/followersj
  @https://api.github.com/users/yukiiwashita/following{/other_user}j
  9https://api.github.com/users/yukiiwashita/gists{/gist_id}j
  @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}j
  7https://api.github.com/users/yukiiwashita/subscriptionsj
  .https://api.github.com/users/yukiiwashita/orgsj
  /https://api.github.com/users/yukiiwashita/reposj
  :https://api.github.com/users/yukiiwashita/events{/privacy}j
  9https://api.github.com/users/yukiiwashita/received_eventsj
  Userj
  uparents]}(j
  (11aa30829f5007311ff6936eb70b631f6d1b30adj
  ^https://api.github.com/repos/OpenGamma/Strata/commits/11aa30829f5007311ff6936eb70b631f6d1b30adj
  Shttps://github.com/OpenGamma/Strata/commit/11aa30829f5007311ff6936eb70b631f6d1b30aduastats}(totalK	additionsKo	deletionsK*ufiles](}(j
  (2a6d8ee5497ddc648d1550ca90647bd74e83a484filenameMmodules/pricer/src/main/java/com/opengamma/strata/pricer/DiscountFactors.javastatusmodifiedj  K j  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/669617b66b211a7fbe3a23cc6f677494ec190d4d/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/669617b66b211a7fbe3a23cc6f677494ec190d4d/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.java?ref=669617b66b211a7fbe3a23cc6f677494ec190d4dpatchXA  @@ -5,8 +5,6 @@
  */
 package com.opengamma.strata.pricer;
 
-import static com.opengamma.strata.pricer.SimpleDiscountFactors.EFFECTIVE_ZERO;
-
 import java.time.LocalDate;
 import java.util.Optional;
 
@@ -186,9 +184,6 @@ public default double discountFactorWithSpread(
       CompoundedRateType compoundedRateType,
       int periodsPerYear) {
 
-    if (yearFraction < EFFECTIVE_ZERO) {
-      return 1d;
-    }
     double df = discountFactor(yearFraction);
     if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {
       ArgChecker.notNegativeOrZero(periodsPerYear, "periodPerYear");
@@ -419,9 +414,6 @@ public default ZeroRateSensitivity zeroRatePointSensitivityWithSpread(
       CompoundedRateType compoundedRateType,
       int periodsPerYear) {
 
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return ZeroRateSensitivity.of(getCurrency(), yearFraction, sensitivityCurrency, 0d);
-    }
     ZeroRateSensitivity sensi = zeroRatePointSensitivity(yearFraction, sensitivityCurrency);
     double factor;
     if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {u}(j
  (0d2a0bea177a39531e0f4b4ddc7c618bb728f8b1j  Smodules/pricer/src/main/java/com/opengamma/strata/pricer/SimpleDiscountFactors.javaj  modifiedj  K>j  Kj!  KSj"  https://github.com/OpenGamma/Strata/blob/669617b66b211a7fbe3a23cc6f677494ec190d4d/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactors.javaj$  https://github.com/OpenGamma/Strata/raw/669617b66b211a7fbe3a23cc6f677494ec190d4d/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactors.javaj&  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactors.java?ref=669617b66b211a7fbe3a23cc6f677494ec190d4dj(  X  @@ -56,7 +56,7 @@ public final class SimpleDiscountFactors
   /**
    * Year fraction used as an effective zero.
    */
-  static final double EFFECTIVE_ZERO = 1e-10;
+  private static final double EFFECTIVE_ZERO = 1e-8;
 
   /**
    * The currency that the discount factors are for.
@@ -171,49 +171,41 @@ public double relativeYearFraction(LocalDate date) {
 
   @Override
   public double discountFactor(double yearFraction) {
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return 1d;
-    }
-    // read discount factor directly off curve
     return curve.yValue(yearFraction);
   }
 
   @Override
   public double discountFactorTimeDerivative(double yearFraction) {
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return 0d;
-    }
     return curve.firstDerivative(yearFraction);
   }
 
   @Override
   public double zeroRate(double yearFraction) {
-    double yearFractionMod = Math.max(EFFECTIVE_ZERO, yearFraction);
+    // zero rate is undefined in general for tiny year fractions.
+    double yearFractionMod = modifyYearFraction(yearFraction);
     double discountFactor = discountFactor(yearFractionMod);
     return -Math.log(discountFactor) / yearFractionMod;
   }
 
   //-------------------------------------------------------------------------
   @Override
   public ZeroRateSensitivity zeroRatePointSensitivity(double yearFraction, Currency sensitivityCurrency) {
-    double discountFactor = discountFactor(yearFraction);
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return ZeroRateSensitivity.of(currency, yearFraction, sensitivityCurrency, 0d);
-    }
-    return ZeroRateSensitivity.of(currency, yearFraction, sensitivityCurrency, -discountFactor * yearFraction);
+    // zero rate sensitivity is undefined in general for tiny year fractions.
+    double yearFractionMod = modifyYearFraction(yearFraction);
+    double discountFactor = discountFactor(yearFractionMod);
+    return ZeroRateSensitivity.of(currency, yearFraction, sensitivityCurrency, -discountFactor * yearFractionMod);
   }
 
   //-------------------------------------------------------------------------
   @Override
   public CurrencyParameterSensitivities parameterSensitivity(ZeroRateSensitivity pointSens) {
-    double yearFraction = pointSens.getYearFraction();
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return CurrencyParameterSensitivities.empty();
-    }
-    double discountFactor = discountFactor(yearFraction);
-    UnitParameterSensitivity unitSens = curve.yValueParameterSensitivity(yearFraction);
+    // zero rate sensitivity is undefined in general for tiny year fractions,
+    // thus parameter sensitivities will be inaccurate.
+    double yearFractionMod = modifyYearFraction(pointSens.getYearFraction());
+    double discountFactor = discountFactor(yearFractionMod);
+    UnitParameterSensitivity unitSens = curve.yValueParameterSensitivity(yearFractionMod);
     CurrencyParameterSensitivity curSens = unitSens
-        .multipliedBy(-1d / (yearFraction * discountFactor))
+        .multipliedBy(-1d / (yearFractionMod * discountFactor))
         .multipliedBy(pointSens.getCurrency(), pointSens.getSensitivity());
     return CurrencyParameterSensitivities.of(curSens);
   }
@@ -223,6 +215,55 @@ public CurrencyParameterSensitivities createParameterSensitivity(Currency curren
     return CurrencyParameterSensitivities.of(curve.createParameterSensitivity(currency, sensitivities));
   }
 
+  //-------------------------------------------------------------------------
+  @Override
+  public double discountFactorWithSpread(
+      double yearFraction,
+      double zSpread,
+      CompoundedRateType compoundedRateType,
+      int periodsPerYear) {
+
+    double df = discountFactor(yearFraction);
+    if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {
+      ArgChecker.notNegativeOrZero(periodsPerYear, "periodPerYear");
+      double yearFractionMod = modifyYearFraction(yearFraction);
+      double ratePeriodicAnnualPlusOne =
+          Math.pow(df, -1.0 / periodsPerYear / yearFractionMod) + zSpread / periodsPerYear;
+      return Math.pow(ratePeriodicAnnualPlusOne, -periodsPerYear * yearFractionMod);
+    } else {
+      return df * Math.exp(-zSpread * yearFraction);
+    }
+  }
+
+  @Override
+  public ZeroRateSensitivity zeroRatePointSensitivityWithSpread(
+      double yearFraction,
+      Currency sensitivityCurrency,
+      double zSpread,
+      CompoundedRateType compoundedRateType,
+      int periodsPerYear) {
+
+    ZeroRateSensitivity sensi = zeroRatePointSensitivity(yearFraction, sensitivityCurrency);
+    double factor;
+    if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {
+      double yearFractionMod = modifyYearFraction(yearFraction);
+      double df = discountFactor(yearFraction);
+      double dfRoot = Math.pow(df, -1d / periodsPerYear / yearFractionMod);
+      factor = dfRoot / df / Math.pow(dfRoot + zSpread / periodsPerYear, periodsPerYear * yearFractionMod + 1d);
+    } else {
+      factor = Math.exp(-zSpread * yearFraction);
+    }
+    return sensi.multipliedBy(factor);
+  }
+
+  //-------------------------------------------------------------------------
+  private double modifyYearFraction(double yearFraction) {
+    if (Math.abs(yearFraction) < EFFECTIVE_ZERO) {
+      return yearFraction < 0d ? -EFFECTIVE_ZERO : EFFECTIVE_ZERO;
+    }
+    return yearFraction;
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Returns a new instance with a different curve.u}(j
  (8813c152f49f4668b178639272b2214fff696e22j  Umodules/pricer/src/main/java/com/opengamma/strata/pricer/ZeroRateDiscountFactors.javaj  modifiedj  Kj  Kj!  Kj"  https://github.com/OpenGamma/Strata/blob/669617b66b211a7fbe3a23cc6f677494ec190d4d/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRateDiscountFactors.javaj$  https://github.com/OpenGamma/Strata/raw/669617b66b211a7fbe3a23cc6f677494ec190d4d/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRateDiscountFactors.javaj&  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRateDiscountFactors.java?ref=669617b66b211a7fbe3a23cc6f677494ec190d4dj(  X  @@ -5,8 +5,6 @@
  */
 package com.opengamma.strata.pricer;
 
-import static com.opengamma.strata.pricer.SimpleDiscountFactors.EFFECTIVE_ZERO;
-
 import java.io.Serializable;
 import java.time.LocalDate;
 import java.util.Map;
@@ -56,6 +54,11 @@
 public final class ZeroRateDiscountFactors
     implements DiscountFactors, ImmutableBean, Serializable {
 
+  /**
+   * Year fraction used as an effective zero.
+   */
+  private static final double EFFECTIVE_ZERO = 1e-10;
+
   /**
    * The currency that the discount factors are for.
    */u}(j
  (d83fa0308964109c8a7d9db783db85c7543dd7acj  Wmodules/pricer/src/test/java/com/opengamma/strata/pricer/SimpleDiscountFactorsTest.javaj  modifiedj  K,j  Kj!  K7j"  https://github.com/OpenGamma/Strata/blob/669617b66b211a7fbe3a23cc6f677494ec190d4d/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactorsTest.javaj$  https://github.com/OpenGamma/Strata/raw/669617b66b211a7fbe3a23cc6f677494ec190d4d/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactorsTest.javaj&  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactorsTest.java?ref=669617b66b211a7fbe3a23cc6f677494ec190d4dj(  X%"  @@ -32,6 +32,7 @@
 import com.opengamma.strata.market.curve.interpolator.CurveInterpolator;
 import com.opengamma.strata.market.curve.interpolator.CurveInterpolators;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
+import com.opengamma.strata.market.param.CurrencyParameterSensitivity;
 
 /**
  * Test {@link SimpleDiscountFactors}.
@@ -55,6 +56,7 @@ public class SimpleDiscountFactorsTest {
   private static final double TOL = 1.0e-12;
   private static final double TOL_FD = 1.0e-8;
   private static final double EPS = 1.0e-6;
+  private static final double TOL_SMALL_YF = 1.0e-9;
 
   //-------------------------------------------------------------------------
   @Test
@@ -146,7 +148,9 @@ public void test_discountFactor_withSpread_continuous() {
   @Test
   public void test_discountFactor_withSpread_continuous_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
-    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0)).isEqualTo(1d);
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double expected = CURVE.yValue(relativeYearFraction) * Math.exp(-SPREAD * relativeYearFraction);
+    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0)).isCloseTo(expected, offset(TOL));
   }
 
   @Test
@@ -164,13 +168,18 @@ public void test_discountFactor_withSpread_periodic() {
   public void test_discountFactor_withSpread_periodic_beforeValDate() {
     int periodPerYear = 4;
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
-    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, PERIODIC, periodPerYear)).isEqualTo(1d);
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double discountFactorBase = test.discountFactor(DATE_BEFORE);
+    double rate = (Math.pow(discountFactorBase, -1d / periodPerYear / relativeYearFraction) - 1d) * periodPerYear;
+    double expected = discountFactorFromPeriodicallyCompoundedRate(rate + SPREAD, periodPerYear, relativeYearFraction);
+    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, PERIODIC, periodPerYear)).isCloseTo(expected, offset(TOL));
   }
 
   @Test
   public void test_discountFactor_withSpread_smallYearFraction() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
-    assertThat(test.discountFactorWithSpread(DATE_VAL, SPREAD, PERIODIC, 2)).isEqualTo(1d);
+    assertThat(test.discountFactorWithSpread(DATE_VAL, SPREAD, PERIODIC, 2))
+        .isCloseTo(1d, offset(TOL_SMALL_YF));
   }
 
   private double discountFactorFromPeriodicallyCompoundedRate(double rate, double periodPerYear, double time) {
@@ -191,7 +200,8 @@ public void test_zeroRatePointSensitivity() {
   public void test_zeroRatePointSensitivity_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
-    ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, relativeYearFraction, 0d);
+    double df = CURVE.yValue(relativeYearFraction);
+    ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, relativeYearFraction, -df * relativeYearFraction);
     assertThat(test.zeroRatePointSensitivity(DATE_BEFORE)).isEqualTo(expected);
   }
 
@@ -219,7 +229,8 @@ public void test_zeroRatePointSensitivityWithSpread_continuous_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
     ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, relativeYearFraction, 0d);
-    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0)).isEqualTo(expected);
+    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0).build()
+        .equalWithTolerance(expected.build(), TOL_SMALL_YF));
   }
 
   @Test
@@ -257,9 +268,17 @@ public void test_zeroRatePointSensitivityWithSpread_periodic_beforeValDate() {
     int periodPerYear = 4;
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double df = CURVE.yValue(relativeYearFraction);
+    double discountFactorUp = df * Math.exp(-EPS * relativeYearFraction);
+    double discountFactorDw = df * Math.exp(EPS * relativeYearFraction);
+    double rateUp = (Math.pow(discountFactorUp, -1d / periodPerYear / relativeYearFraction) - 1d) * periodPerYear;
+    double rateDw = (Math.pow(discountFactorDw, -1d / periodPerYear / relativeYearFraction) - 1d) * periodPerYear;
+    double expectedValue = 0.5 / EPS * (
+        discountFactorFromPeriodicallyCompoundedRate(rateUp + SPREAD, periodPerYear, relativeYearFraction) -
+            discountFactorFromPeriodicallyCompoundedRate(rateDw + SPREAD, periodPerYear, relativeYearFraction));
     ZeroRateSensitivity computed = test.zeroRatePointSensitivityWithSpread(
         DATE_BEFORE, SPREAD, PERIODIC, periodPerYear);
-    assertThat(computed.getSensitivity()).isCloseTo(0d, offset(EPS));
+    assertThat(computed.getSensitivity()).isCloseTo(expectedValue, offset(EPS));
     assertThat(computed.getCurrency()).isEqualTo(GBP);
     assertThat(computed.getCurveCurrency()).isEqualTo(GBP);
     assertThat(computed.getYearFraction()).isEqualTo(relativeYearFraction);
@@ -290,14 +309,16 @@ public void test_zeroRatePointSensitivityWithSpread_sensitivityCurrency_periodic
   public void test_zeroRatePointSensitivityWithSpread_smallYearFraction() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, 0d, 0d);
-    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, SPREAD, CONTINUOUS, 0)).isEqualTo(expected);
+    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, SPREAD, CONTINUOUS, 0).build()
+        .equalWithTolerance(expected.build(), TOL_SMALL_YF));
   }
 
   @Test
   public void test_zeroRatePointSensitivityWithSpread_sensitivityCurrency_smallYearFraction() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, 0d, USD, 0d);
-    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, USD, SPREAD, PERIODIC, 2)).isEqualTo(expected);
+    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, USD, SPREAD, PERIODIC, 2).build()
+        .equalWithTolerance(expected.build(), TOL_SMALL_YF));
   }
 
   //-------------------------------------------------------------------------
@@ -319,16 +340,28 @@ public void test_currencyParameterSensitivity() {
   public void test_currencyParameterSensitivity_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity sens = test.zeroRatePointSensitivity(DATE_BEFORE);
-    assertThat(test.parameterSensitivity(sens)).isEqualTo(CurrencyParameterSensitivities.empty());
+
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double discountFactor = CURVE.yValue(relativeYearFraction);
+    CurrencyParameterSensitivities expected = CurrencyParameterSensitivities.of(
+        CURVE.yValueParameterSensitivity(relativeYearFraction)
+            .multipliedBy(-1d / discountFactor / relativeYearFraction)
+            .multipliedBy(sens.getCurrency(), sens.getSensitivity()));
+    assertThat(test.parameterSensitivity(sens)).isEqualTo(expected);
   }
 
   //-------------------------------------------------------------------------
   @Test
   public void test_currencyParameterSensitivity_val_date() {
-    // Discount factor at valuation date is always 0, no sensitivity.
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity sens = test.zeroRatePointSensitivity(DATE_VAL);
-    assertThat(test.parameterSensitivity(sens)).isEqualTo(CurrencyParameterSensitivities.empty());
+
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_VAL);
+    double discountFactor = CURVE.yValue(relativeYearFraction);
+    CurrencyParameterSensitivities expected = CurrencyParameterSensitivities.of(
+        CurrencyParameterSensitivity.of(NAME, GBP, DoubleArray.of(1d, 0d)));
+    CurrencyParameterSensitivities tested = test.parameterSensitivity(sens);
+    assertThat(test.parameterSensitivity(sens).equalWithTolerance(expected, TOL));
   }
 
   //-------------------------------------------------------------------------ueu(619da39eba37cb5fc0574f75c2ce2ff0b72bedff}(sha(619da39eba37cb5fc0574f75c2ce2ff0b72bedffnode_idEC_kwDOAT6l0doAKDYxOWRhMzllYmEzN2NiNWZjMDU3NGY3NWMyY2UyZmYwYjcyYmVkZmYcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-06-07T08:33:10Zu	committer}(jL  GitHubjN  noreply@github.comjP  2023-06-07T08:33:10ZumessageX,  Bump corporate-parent from 2.8.1 to 2.8.4

Bumps corporate-parent from 2.8.1 to 2.8.4.

---
updated-dependencies:
- dependency-name: com.opengamma:corporate-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(jD  (f34e86ba46aa091411e9a76aa8240fc917bb6f71url`https://api.github.com/repos/OpenGamma/Strata/git/trees/f34e86ba46aa091411e9a76aa8240fc917bb6f71uj\  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/619da39eba37cb5fc0574f75c2ce2ff0b72bedff
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkgEDGCRBK7hj4Ov3rIwAAgskIAGofDL9cp2aqJs7Bj01K1Drm
fJblWoWC6jcnwMGvvpkaQCkMRU1zDzUHz0+ig2NmZL/Vf60bLBcdTOtghcEJZWD3
Q7NFaENBxzg21ZuEwmEN2GJfmeQxLtEep5jeOX9W70qVoyrx8EkAS5DE70f8jL3B
d6zqjygkdaS7Qlz15Zez+TBrqJe7+G6P3MS0I9C8Pm9Qe+We4dYWeQkKOclFj13N
VvsLf7RIyyhibOQIKPUoGf2FvPHZjkXLJ6PlWpg5pS4+k8oBYmZW49BYc8hKlw99
B74OuJ2lk4+rshUDO5db1o2xJS7T4dexlOqr4ZSynmtPc1SzjP1acsquY8SLzSI=
=x1WG
-----END PGP SIGNATURE-----
payloadX  tree f34e86ba46aa091411e9a76aa8240fc917bb6f71
parent 211806b242b7e224323f74883fcc9ae2b17dd9c9
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1686126790 +0000
committer GitHub <noreply@github.com> 1686126790 +0000

Bump corporate-parent from 2.8.1 to 2.8.4

Bumps corporate-parent from 2.8.1 to 2.8.4.

---
updated-dependencies:
- dependency-name: com.opengamma:corporate-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>uuj\  ^https://api.github.com/repos/OpenGamma/Strata/commits/619da39eba37cb5fc0574f75c2ce2ff0b72bedffhtml_urlShttps://github.com/OpenGamma/Strata/commit/619da39eba37cb5fc0574f75c2ce2ff0b72bedffcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/619da39eba37cb5fc0574f75c2ce2ff0b72bedff/commentsjJ  }(logindependabot[bot]idJZjF  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j\  0https://api.github.com/users/dependabot%5Bbot%5Djj  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujR  }(jo  web-flowjq  J/jF  MDQ6VXNlcjE5ODY0NDQ3js  4https://avatars.githubusercontent.com/u/19864447?v=4ju  h3j\  %https://api.github.com/users/web-flowjj  https://github.com/web-flowjx  /https://api.github.com/users/web-flow/followersjz  <https://api.github.com/users/web-flow/following{/other_user}j|  5https://api.github.com/users/web-flow/gists{/gist_id}j~  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(jD  (211806b242b7e224323f74883fcc9ae2b17dd9c9j\  ^https://api.github.com/repos/OpenGamma/Strata/commits/211806b242b7e224323f74883fcc9ae2b17dd9c9jj  Shttps://github.com/OpenGamma/Strata/commit/211806b242b7e224323f74883fcc9ae2b17dd9c9uastats}(totalK	additionsK	deletionsKufiles](}(jD  (ce30fa24f7142c959addc298f1f24e18d9ace2b2filenameexamples/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/619da39eba37cb5fc0574f75c2ce2ff0b72bedff/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/619da39eba37cb5fc0574f75c2ce2ff0b72bedff/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=619da39eba37cb5fc0574f75c2ce2ff0b72bedffpatch@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.4</version>
     <relativePath />
   </parent>  
   <groupId>com.opengamma.strata</groupId>u}(jD  (09c5f3eba26eb3012e14888beddd336944d4a1a3j  modules/pom.xmlj  modifiedj  Kj  Kj  Kj  chttps://github.com/OpenGamma/Strata/blob/619da39eba37cb5fc0574f75c2ce2ff0b72bedff/modules%2Fpom.xmlj  bhttps://github.com/OpenGamma/Strata/raw/619da39eba37cb5fc0574f75c2ce2ff0b72bedff/modules%2Fpom.xmlj  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=619da39eba37cb5fc0574f75c2ce2ff0b72bedffj  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.4</version>
     <relativePath />
   </parent>
   <groupId>com.opengamma.strata</groupId>u}(jD  (0ebd08c07b85bd5c5d77839d7fa63f9f6b8d41a0j  pom.xmlj  modifiedj  Kj  Kj  Kj  Yhttps://github.com/OpenGamma/Strata/blob/619da39eba37cb5fc0574f75c2ce2ff0b72bedff/pom.xmlj  Xhttps://github.com/OpenGamma/Strata/raw/619da39eba37cb5fc0574f75c2ce2ff0b72bedff/pom.xmlj  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=619da39eba37cb5fc0574f75c2ce2ff0b72bedffj  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.4</version>
     <relativePath />
   </parent>  
   <groupId>com.opengamma.strata</groupId>ueu(37adc4db3e3c5e2cbcea83238bcfc1958eee5891}(sha(37adc4db3e3c5e2cbcea83238bcfc1958eee5891node_idEC_kwDOAT6l0doAKDM3YWRjNGRiM2UzYzVlMmNiY2VhODMyMzhiY2ZjMTk1OGVlZTU4OTEcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-06T08:46:58Zu	committer}(j  
johannesOGj  ,86783068+johannesOG@users.noreply.github.comj  2023-07-06T08:46:58ZumessageDeactive Libor curvestree}(j  (c983a638cef3ff0b452d350b40e8eefd3496217durl`https://api.github.com/repos/OpenGamma/Strata/git/trees/c983a638cef3ff0b452d350b40e8eefd3496217duj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/37adc4db3e3c5e2cbcea83238bcfc1958eee5891
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/37adc4db3e3c5e2cbcea83238bcfc1958eee5891html_urlShttps://github.com/OpenGamma/Strata/commit/37adc4db3e3c5e2cbcea83238bcfc1958eee5891comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/37adc4db3e3c5e2cbcea83238bcfc1958eee5891/commentsj  }(login
johannesOGidJ\4,j  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3j  'https://api.github.com/users/johannesOGj  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminuj  }(j  
johannesOGj  J\4,j  MDQ6VXNlcjg2NzgzMDY4j  4https://avatars.githubusercontent.com/u/86783068?v=4j  h3j  'https://api.github.com/users/johannesOGj  https://github.com/johannesOGj  1https://api.github.com/users/johannesOG/followersj  >https://api.github.com/users/johannesOG/following{/other_user}j  7https://api.github.com/users/johannesOG/gists{/gist_id}j  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}j  5https://api.github.com/users/johannesOG/subscriptionsj  ,https://api.github.com/users/johannesOG/orgsj	  -https://api.github.com/users/johannesOG/reposj  8https://api.github.com/users/johannesOG/events{/privacy}j
  7https://api.github.com/users/johannesOG/received_eventsj  Userj  uparents]}(j  (0198958764f4c0ef671a3bce197f3dd11a7bc748j  ^https://api.github.com/repos/OpenGamma/Strata/commits/0198958764f4c0ef671a3bce197f3dd11a7bc748j  Shttps://github.com/OpenGamma/Strata/commit/0198958764f4c0ef671a3bce197f3dd11a7bc748uastats}(totalK	additionsK 	deletionsKufiles]}(j  (c856ca0418f9fea7bdcff10f54f2111b20649ecafilenameQmodules/basics/src/test/java/com/opengamma/strata/basics/index/IborIndexTest.javastatusmodifiedj+  K j,  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/37adc4db3e3c5e2cbcea83238bcfc1958eee5891/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/37adc4db3e3c5e2cbcea83238bcfc1958eee5891/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.java?ref=37adc4db3e3c5e2cbcea83238bcfc1958eee5891patchX  @@ -84,7 +84,6 @@ public class IborIndexTest {
   private static final ReferenceData REF_DATA = ReferenceData.standard();
   private static final HolidayCalendarId NZBD = HolidayCalendarId.of("NZBD");  // no constant for this
 
-
   @Test
   public void test_getFloatingRateName() {
     for (IborIndex index : IborIndex.extendedEnum().lookupAll().values()) {
@@ -212,7 +211,6 @@ public void test_tibor_euroyen3m_dates() {
         .isEqualTo(date(2014, 10, 13).atTime(LocalTime.of(13, 0)).atZone(ZoneId.of("Asia/Tokyo")));
   }
 
-
   @Test
   public void test_usdAmeriborTerm() {
     assertThat(IborIndex.of("USD-AMERIBORTERM-1M").getName()).isEqualTo("USD-AMERIBORTERM-1M");uau(ab361377ecdc6022c70163e8cef9728c5fb31890}(sha(ab361377ecdc6022c70163e8cef9728c5fb31890node_idEC_kwDOAT6l0doAKGFiMzYxMzc3ZWNkYzYwMjJjNzAxNjNlOGNlZjk3MjhjNWZiMzE4OTAcommit}(author}(nameAkshai Shahemailakshai@opengamma.comdate2023-03-10T11:38:29Zu	committer}(jH  GitHubjJ  noreply@github.comjL  2023-03-10T11:38:29Zumessage?Introduce ParseFailureException to Positions CSV Loader (#2561)tree}(j@  (bd02b66e1d3350518188a155f31abf7eaf17ff92url`https://api.github.com/repos/OpenGamma/Strata/git/trees/bd02b66e1d3350518188a155f31abf7eaf17ff92ujX  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/ab361377ecdc6022c70163e8cef9728c5fb31890
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkCxa1CRBK7hj4Ov3rIwAAjpcIAHleDDkkuwOrQshUQLBp3HlM
uXjHKx1WS+SOTP3f/y6esCGOebdIfN7I6hRdJERNNpKRa81kt1qlptKPrsKkQ4he
ESOsU09zsLJXHhtfWtc5OmL0vRy3w5RHuBmPcyoge2Lyk7iePNso5kgHfT7yP20R
PeigkQtZ4mL0E4myYTerHRUU5w1FdDX4DfZIe5P3cnkb9V5n3ffbPC1qJgtg9Ed+
WVfqMJqqA+GETNQ2fhky4Ve27+BFQFfZnixDK7Bo6WLuBc0QN0HDKaNmodX7J035
WRbO9FMsFdXI9OXwSzSxu46XLqFCQnM3imN87Re9pMnFmcIEd8wDeKcidyEwJaw=
=/i1m
-----END PGP SIGNATURE-----
payloadX  tree bd02b66e1d3350518188a155f31abf7eaf17ff92
parent 40421567759d7cf4f35762704bdb2a4e4c1a3d06
author Akshai Shah <akshai@opengamma.com> 1678448309 +0000
committer GitHub <noreply@github.com> 1678448309 +0000

Introduce ParseFailureException to Positions CSV Loader (#2561)

uujX  ^https://api.github.com/repos/OpenGamma/Strata/commits/ab361377ecdc6022c70163e8cef9728c5fb31890html_urlShttps://github.com/OpenGamma/Strata/commit/ab361377ecdc6022c70163e8cef9728c5fb31890comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/ab361377ecdc6022c70163e8cef9728c5fb31890/commentsjF  }(login
akshaishahidJd
 jB  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3jX  'https://api.github.com/users/akshaishahjf  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminujN  }(jk  web-flowjm  J/jB  MDQ6VXNlcjE5ODY0NDQ3jo  4https://avatars.githubusercontent.com/u/19864447?v=4jq  h3jX  %https://api.github.com/users/web-flowjf  https://github.com/web-flowjt  /https://api.github.com/users/web-flow/followersjv  <https://api.github.com/users/web-flow/following{/other_user}jx  5https://api.github.com/users/web-flow/gists{/gist_id}jz  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j|  3https://api.github.com/users/web-flow/subscriptionsj~  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(j@  (40421567759d7cf4f35762704bdb2a4e4c1a3d06jX  ^https://api.github.com/repos/OpenGamma/Strata/commits/40421567759d7cf4f35762704bdb2a4e4c1a3d06jf  Shttps://github.com/OpenGamma/Strata/commit/40421567759d7cf4f35762704bdb2a4e4c1a3d06uastats}(totalKO	additionsKA	deletionsKufiles](}(j@  (6255adec3ec6104e7f27ef9c03b42b0acd5dfa49filenameImodules/collect/src/main/java/com/opengamma/strata/collect/io/CsvRow.javastatusmodifiedj  Kj  KchangesK
blob_urlhttps://github.com/OpenGamma/Strata/blob/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.java?ref=ab361377ecdc6022c70163e8cef9728c5fb31890patchX	  @@ -14,6 +14,7 @@
 
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
+import com.opengamma.strata.collect.result.ParseFailureException;
 
 /**
  * A row in a CSV file.
@@ -150,12 +151,12 @@ public String field(int index) {
    * 
    * @param header  the column header
    * @return the field value, trimmed unless surrounded by quotes
-   * @throws IllegalArgumentException if the header is not found
+   * @throws ParseFailureException if the header is not found
    */
   public String getField(String header) {
     Integer index = findIndex(header);
     if (index == null) {
-      throw new IllegalArgumentException("Header not found: '" + header + "'");
+      throw new ParseFailureException("Header not found: '{header}'", header);
     }
     return field(index);
   }
@@ -172,7 +173,7 @@ public String getField(String header) {
    * @param header  the column header
    * @param postProcessor  the post processor
    * @return the post processed field value
-   * @throws IllegalArgumentException if the header is not found
+   * @throws ParseFailureException if the header is not found
    */
   public <T> T getField(String header, Function<String, T> postProcessor) {
     String value = getField(header);
@@ -265,12 +266,12 @@ public Optional<String> findField(Pattern headerPattern) {
    *
    * @param header  the column header
    * @return the field value, trimmed unless surrounded by quotes
-   * @throws IllegalArgumentException if the header is not found or if the value in the field is empty.
+   * @throws ParseFailureException if the header is not found or if the value in the field is empty.
    */
   public String getValue(String header) {
     String value = getField(header);
     if (value.isEmpty()) {
-      throw new IllegalArgumentException("No value was found for field: '" + header + "'");
+      throw new ParseFailureException("No value was found for '{header}'", header);
     }
     return value;
   }
@@ -287,7 +288,7 @@ public String getValue(String header) {
    * @param header  the column header
    * @param postProcessor  the post processor
    * @return the post processed field value
-   * @throws IllegalArgumentException if the header is not found or if the value in the field is empty.
+   * @throws ParseFailureException if the header is not found or if the value in the field is empty.
    */
   public <T> T getValue(String header, Function<String, T> postProcessor) {
     String value = getValue(header);u}(j@  (80928cb43bca4a07dc9ce17552f95769dbf4b9a1j  [modules/collect/src/main/java/com/opengamma/strata/collect/result/FailureAttributeKeys.javaj  modifiedj  K
j  K j  K
j  https://github.com/OpenGamma/Strata/blob/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javaj  https://github.com/OpenGamma/Strata/raw/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.java?ref=ab361377ecdc6022c70163e8cef9728c5fb31890j  X  @@ -80,6 +80,16 @@ public final class FailureAttributeKeys {
    */
   public static final String PRODUCT_TYPE = "productType";
 
+  /**
+   * The attribute for specifying the root cause of the error.
+   */
+  public static final String ROOT_CAUSE = "rootCause";
+
+  /**
+   * The attribute for specifying the short message.
+   */
+  public static final String SHORT_MESSAGE = "shortMessage";
+
   // restricted constructor
   private FailureAttributeKeys() {
   }u}(j@  (028914f9fd1eb2ef3c0253256820344f2d425c20j  Pmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj  https://github.com/OpenGamma/Strata/raw/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=ab361377ecdc6022c70163e8cef9728c5fb31890j  X	  @@ -39,6 +39,7 @@
 import com.opengamma.strata.collect.ArgChecker;
 import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.io.CsvRow;
+import com.opengamma.strata.collect.result.FailureReason;
 import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.tuple.DoublesPair;
 import com.opengamma.strata.collect.tuple.Pair;
@@ -228,22 +229,31 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
         if (week == 0) {
           return Pair.of(yearMonth, EtdVariant.ofDaily(day));
         } else {
-          throw new ParseFailureException(
-              "Unable to parse ETD variant, date columns conflict, must not  set both expiry day and expiry week");
+          throw new ParseFailureException("Unable to parse ETD variant, date columns conflict, must not set both " +
+              "expiry day and expiry week");
         }
       }
     } else {
       if (day == 0) {
-        throw new ParseFailureException("Unable to parse ETD variant for Flex '{value}', must set expiry day", type);
+        throw new ParseFailureException(
+            "'{field}' is empty, must be set when '{}' is provided as this denotes a Flex Option",
+            EXPIRY_DAY_FIELD,
+            SETTLEMENT_TYPE_FIELD);
       }
       if (week != 0) {
-        throw new ParseFailureException("Unable to parse ETD variant for Flex '{value}', must not set expiry week", type);
+        throw new ParseFailureException(
+            "'{field}' is empty, must be set when '{}' is provided as this denotes a Flex Option",
+            EXPIRY_WEEK_FIELD,
+            SETTLEMENT_TYPE_FIELD);
       }
       if (type == EtdType.FUTURE) {
         return Pair.of(yearMonth, EtdVariant.ofFlexFuture(day, settleTypeOpt.get()));
       } else {
         if (!optionTypeOpt.isPresent()) {
-          throw new ParseFailureException("Unable to parse ETD variant for Flex Option, must set option type", type);
+          throw new ParseFailureException(
+              "'{field}' is empty, must be set when '{}' is provided as this denotes a Flex Option",
+              EXERCISE_STYLE_FIELD,
+              SETTLEMENT_TYPE_FIELD);
         }
         return Pair.of(yearMonth, EtdVariant.ofFlexOption(day, settleTypeOpt.get(), optionTypeOpt.get()));
       }
@@ -722,5 +732,4 @@ public static String formattedPercentage(double value) {
   public static String formattedDouble(double value) {
     return Decimal.of(value).toString();
   }
-
 }u}(j@  (437422504d6bd28283c3add7aa2d8315a816a2b1j  Smodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvLoader.javaj  modifiedj  Kj  Kj  K j  https://github.com/OpenGamma/Strata/blob/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj  https://github.com/OpenGamma/Strata/raw/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.java?ref=ab361377ecdc6022c70163e8cef9728c5fb31890j  X  @@ -27,14 +27,17 @@
 import com.opengamma.strata.collect.ArgChecker;
 import com.opengamma.strata.collect.Guavate;
 import com.opengamma.strata.collect.MapStream;
+import com.opengamma.strata.collect.Messages;
 import com.opengamma.strata.collect.io.CharSources;
 import com.opengamma.strata.collect.io.CsvIterator;
 import com.opengamma.strata.collect.io.CsvRow;
 import com.opengamma.strata.collect.io.ResourceLocator;
 import com.opengamma.strata.collect.io.UnicodeBom;
 import com.opengamma.strata.collect.named.ExtendedEnum;
+import com.opengamma.strata.collect.result.FailureAttributeKeys;
 import com.opengamma.strata.collect.result.FailureItem;
 import com.opengamma.strata.collect.result.FailureReason;
+import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.result.ValueWithFailures;
 import com.opengamma.strata.product.Position;
 import com.opengamma.strata.product.PositionInfo;
@@ -378,14 +381,39 @@ private <T extends Position> ValueWithFailures<List<T>> parseFile(CsvIterator cs
               .ifPresent(parsed -> positions.add((T) parsed));
         } else {
           // failed to find the type
-          failures.add(FailureItem.of(
+          FailureItem failureItem = FailureItem.of(
               FailureReason.PARSING,
               "CSV position file '{fileName}' contained unknown position type '{type}' at line {lineNumber}",
               CharSources.extractFileName(charSource),
               typeRaw,
-              row.lineNumber()));
+              row.lineNumber())
+              .withAttribute(
+                  FailureAttributeKeys.SHORT_MESSAGE,
+                  Messages.format("Unknown '{}', '{}'", POSITION_TYPE_FIELD, typeRaw))
+              .withAttribute(FailureAttributeKeys.TYPE, typeRaw)
+              .withAttribute(FailureAttributeKeys.ROOT_CAUSE, "inputData");
+          failures.add(failureItem);
         }
 
+      } catch (ParseFailureException ex) {
+        String shortMessage = ex.getMessage();
+        String fileName = CharSources.extractFileName(charSource);
+        String lineNumber = Integer.toString(row.lineNumber());
+        FailureItem failureItem = ex.getFailureItem()
+            .withAttribute(FailureAttributeKeys.SHORT_MESSAGE, shortMessage)
+            .withAttribute(FailureAttributeKeys.LINE_NUMBER, lineNumber)
+            .withAttribute(FailureAttributeKeys.FILE_NAME, fileName)
+            .withAttribute(FailureAttributeKeys.TYPE, typeRaw)
+            .withAttribute(FailureAttributeKeys.ROOT_CAUSE, "inputData");
+
+        FailureItem updatedFailure = failureItem.mapMessage(ignored -> Messages.format(
+            "CSV position file '{}' type '{}' could not be parsed at line {}: {}",
+            fileName,
+            typeRaw,
+            lineNumber,
+            shortMessage));
+
+        failures.add(updatedFailure);
       } catch (RuntimeException ex) {
         failures.add(FailureItem.of(
             FailureReason.PARSING,u}(j@  (00180323fd1555d6415881fcde81889c5e6f0abdj  Wmodules/loader/src/test/java/com/opengamma/strata/loader/csv/PositionCsvLoaderTest.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj  https://github.com/OpenGamma/Strata/raw/ab361377ecdc6022c70163e8cef9728c5fb31890/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.java?ref=ab361377ecdc6022c70163e8cef9728c5fb31890j  XT  @@ -28,6 +28,7 @@
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.collect.io.ResourceLocator;
 import com.opengamma.strata.collect.io.StringCharSource;
+import com.opengamma.strata.collect.result.FailureAttributeKeys;
 import com.opengamma.strata.collect.result.FailureItem;
 import com.opengamma.strata.collect.result.FailureReason;
 import com.opengamma.strata.collect.result.ValueWithFailures;
@@ -444,6 +445,8 @@ public void test_load_invalidNoQuantity() {
     assertThat(failure.getReason()).isEqualTo(FailureReason.PARSING);
     assertThat(failure.getMessage()).isEqualTo("CSV position file 'Unknown.txt' type 'FUT' could not be parsed at line 2: " +
         "Security must contain a quantity column, either 'Quantity' or 'Long Quantity' and 'Short Quantity'");
+    assertThat(failure.getAttributes()).containsKey(FailureAttributeKeys.SHORT_MESSAGE);
+    assertThat((failure.getAttributes().get(FailureAttributeKeys.SHORT_MESSAGE))).isEqualTo("Security must contain a quantity column, either 'Quantity' or 'Long Quantity' and 'Short Quantity'");
   }
 
 }ueu(abcf3687c941c3df4031a558273f918d7304e1ab}(sha(abcf3687c941c3df4031a558273f918d7304e1abnode_idEC_kwDOAT6l0doAKGFiY2YzNjg3Yzk0MWMzZGY0MDMxYTU1ODI3M2Y5MThkNzMwNGUxYWIcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-09T12:17:35Zu	committer}(j  Akshai Shahj  #akshaishah@users.noreply.github.comj  2023-03-09T12:17:35ZumessageUpdate commenttree}(j  (81babe1037fc734ab6dd39cc2ed335b20f8d6f2furl`https://api.github.com/repos/OpenGamma/Strata/git/trees/81babe1037fc734ab6dd39cc2ed335b20f8d6f2fuj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/abcf3687c941c3df4031a558273f918d7304e1ab
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/abcf3687c941c3df4031a558273f918d7304e1abhtml_urlShttps://github.com/OpenGamma/Strata/commit/abcf3687c941c3df4031a558273f918d7304e1abcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/abcf3687c941c3df4031a558273f918d7304e1ab/commentsj  }(login
akshaishahidJd
 j  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j  'https://api.github.com/users/akshaishahj  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuj  }(j   
akshaishahj  Jd
 j  MDQ6VXNlcjE5MDM5NzI=j  3https://avatars.githubusercontent.com/u/1903972?v=4B      j  h3j  'https://api.github.com/users/akshaishahj  https://github.com/akshaishahj	  1https://api.github.com/users/akshaishah/followersj  >https://api.github.com/users/akshaishah/following{/other_user}j
  7https://api.github.com/users/akshaishah/gists{/gist_id}j  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j  5https://api.github.com/users/akshaishah/subscriptionsj  ,https://api.github.com/users/akshaishah/orgsj  -https://api.github.com/users/akshaishah/reposj  8https://api.github.com/users/akshaishah/events{/privacy}j  7https://api.github.com/users/akshaishah/received_eventsj  Userj  uparents]}(j  (a9addd6679db4e3cf136f66909ff662b1d1b4036j  ^https://api.github.com/repos/OpenGamma/Strata/commits/a9addd6679db4e3cf136f66909ff662b1d1b4036j  Shttps://github.com/OpenGamma/Strata/commit/a9addd6679db4e3cf136f66909ff662b1d1b4036uastats}(totalK	additionsK	deletionsKufiles]}(j  (95939e344d84ad83f9ec80c18475044781d0687afilenameImodules/collect/src/main/java/com/opengamma/strata/collect/io/CsvRow.javastatusmodifiedj7  Kj8  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/abcf3687c941c3df4031a558273f918d7304e1ab/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/abcf3687c941c3df4031a558273f918d7304e1ab/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.java?ref=abcf3687c941c3df4031a558273f918d7304e1abpatchX  @@ -288,7 +288,7 @@ public String getValue(String header) {
    * @param header  the column header
    * @param postProcessor  the post processor
    * @return the post processed field value
-   * @throws IllegalArgumentException if the header is not found or if the value in the field is empty.
+   * @throws ParseFailureException if the header is not found or if the value in the field is empty.
    */
   public <T> T getValue(String header, Function<String, T> postProcessor) {
     String value = getValue(header);uau(d16ac601740d52e9e5825003e9c0c2f8b2612706}(sha(d16ac601740d52e9e5825003e9c0c2f8b2612706node_idEC_kwDOAT6l0doAKGQxNmFjNjAxNzQwZDUyZTllNTgyNTAwM2U5YzBjMmY4YjI2MTI3MDYcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-06-07T08:32:33Zu	committer}(jT  opengammacibotjV  cibot@opengamma.comjX  2023-06-07T08:32:33Zumessage/[maven-release-plugin] prepare release v2.12.26tree}(jL  (34fccc238ca80970980d65c30cfad373b88c1239url`https://api.github.com/repos/OpenGamma/Strata/git/trees/34fccc238ca80970980d65c30cfad373b88c1239ujd  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/d16ac601740d52e9e5825003e9c0c2f8b2612706
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujd  ^https://api.github.com/repos/OpenGamma/Strata/commits/d16ac601740d52e9e5825003e9c0c2f8b2612706html_urlShttps://github.com/OpenGamma/Strata/commit/d16ac601740d52e9e5825003e9c0c2f8b2612706comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/d16ac601740d52e9e5825003e9c0c2f8b2612706/commentsjR  }(loginopengammacibotidJq jN  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3jd  +https://api.github.com/users/opengammacibotjp  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminujZ  }(ju  opengammacibotjw  Jq jN  MDQ6VXNlcjc0NTAyODE=jy  3https://avatars.githubusercontent.com/u/7450281?v=4j{  h3jd  +https://api.github.com/users/opengammacibotjp  !https://github.com/opengammacibotj~  5https://api.github.com/users/opengammacibot/followersj  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j  9https://api.github.com/users/opengammacibot/subscriptionsj  0https://api.github.com/users/opengammacibot/orgsj  1https://api.github.com/users/opengammacibot/reposj  <https://api.github.com/users/opengammacibot/events{/privacy}j  ;https://api.github.com/users/opengammacibot/received_eventsj  Userj  uparents]}(jL  (4f1520501f0a4c6b013d376f425c8ec1a72c20b6jd  ^https://api.github.com/repos/OpenGamma/Strata/commits/4f1520501f0a4c6b013d376f425c8ec1a72c20b6jp  Shttps://github.com/OpenGamma/Strata/commit/4f1520501f0a4c6b013d376f425c8ec1a72c20b6uastats}(totalK$	additionsK	deletionsKufiles](}(jL  (34b9b9651e80807ac0401c48a0d852be42f58477filenameexamples/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.26-SNAPSHOT</version>
+  <version>2.12.26</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,4 +272,8 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
+
+  <scm>
+    <tag>v2.12.26</tag>
+  </scm>
 </project>u}(jL  (52e714f21712e3c7b6f12ea65aa1162ed4a796eej  modules/basics/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fbasics%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fbasics%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(jL  (7f2b63b2714dc2685ec94703026ffe745d857435j  modules/calc/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fcalc%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fcalc%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(jL  (2f2244f40cc4c6168521c6dd9b10060f6eea7ca8j  modules/collect/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fcollect%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fcollect%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(jL  (684845fc67b3803eb64c331ed51b662a6e1e745ej  modules/data/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fdata%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fdata%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(jL  (e3f306ff1a3b332948c522e43056e4c6c928ef80j  modules/loader/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Floader%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Floader%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(jL  (11eb9907ea8eac193e469a64ce5fba9c07207bddj  modules/market/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fmarket%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fmarket%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(jL  (7d3e397c271570c4c39f31c3c28ac57d8bbc7afbj  modules/math/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fmath%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fmath%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(jL  (b65624779b3464f526485187e2b87dfc1773fed6j  modules/measure/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fmeasure%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fmeasure%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(jL  (12d9336949c1abe37e42113f26f1f150b2b42b7fj  modules/pom.xmlj  modifiedj  Kj  Kj  Kj  chttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fpom.xmlj  bhttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fpom.xmlj  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.26-SNAPSHOT</version>
+  <version>2.12.26</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.26</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(jL  (edbd99ae8b5bb42c26533bdb5333c7ee3125c7c2j  modules/pricer/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fpricer%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fpricer%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(jL  (2579c9422d810bcbcf9b716e44f55f2c6f73ef5cj  modules/product/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fproduct%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Fproduct%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(jL  (509bd472a26ae98a85bcd27daf852d2af5190f23j  modules/report/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Freport%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/modules%2Freport%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.26</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(jL  (f69029b10118cb8fe3d457f26413c8fa6df7da77j  pom.xmlj  modifiedj  Kj  Kj  Kj  Yhttps://github.com/OpenGamma/Strata/blob/d16ac601740d52e9e5825003e9c0c2f8b2612706/pom.xmlj  Xhttps://github.com/OpenGamma/Strata/raw/d16ac601740d52e9e5825003e9c0c2f8b2612706/pom.xmlj  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=d16ac601740d52e9e5825003e9c0c2f8b2612706j  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.26-SNAPSHOT</version>
+  <version>2.12.26</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.26</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(5a7f15db8b4c4f13ebe0a7346baedac9a06c79db}(sha(5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbnode_idEC_kwDOAT6l0doAKDVhN2YxNWRiOGI0YzRmMTNlYmUwYTczNDZiYWVkYWM5YTA2Yzc5ZGIcommit}(author}(nameStephen Colebourneemailstephen@opengamma.comdate2023-05-18T08:40:18Zu	committer}(j1  GitHubj3  noreply@github.comj5  2023-05-18T08:40:18Zumessage)Comparable Percentage/BasisPoints (#2574)tree}(j)  (3694cd5a8889848bcf44f678b0e9f038b51402caurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/3694cd5a8889848bcf44f678b0e9f038b51402caujA  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkZeRyCRBK7hj4Ov3rIwAA9nwIAG47aljh+Sx4NxGVWL998kaC
x+iMmfDwAwS3UddUuNhhGjEMXib45DFM4IpxcKR1rT9zYdcld0P6m6S6etIG3cJn
lKpwO7mlIKyuVKUVEjEeTqL9GFDiJxSzdSKo6o24FrSCNrrUloCMP6Vv54W/+OOx
ibSiIgVWcbwI2/e7ZMJVHOuURuSnze/fHGRo3yTrJ5q/SvDhylYJeHig7PSNmIGl
ORSdY6s7dsRJrehynkN9RRbVdlfeX7hc7aeQqLAzd+/t09x9FtIVl9JVXwYCAF0n
9GTvO4uBtV8eKGToS9IoywZ/o11HQwiJChsE6KoiGvixX9BsBiL9+0w2WV/eZrY=
=0AuR
-----END PGP SIGNATURE-----
payloadX  tree 3694cd5a8889848bcf44f678b0e9f038b51402ca
parent 8352de0af6c1c94b006a4d3037b25d8f71d3ddd8
author Stephen Colebourne <stephen@opengamma.com> 1684399218 +0100
committer GitHub <noreply@github.com> 1684399218 +0100

Comparable Percentage/BasisPoints (#2574)

uujA  ^https://api.github.com/repos/OpenGamma/Strata/commits/5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbhtml_urlShttps://github.com/OpenGamma/Strata/commit/5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db/commentsj/  }(loginjodastephenidJ@ j+  MDQ6VXNlcjIxMzIxMg==
avatar_url2https://avatars.githubusercontent.com/u/213212?v=4gravatar_idh3jA  (https://api.github.com/users/jodastephenjO  https://github.com/jodastephen
followers_url2https://api.github.com/users/jodastephen/followers
following_url?https://api.github.com/users/jodastephen/following{/other_user}	gists_url8https://api.github.com/users/jodastephen/gists{/gist_id}starred_url?https://api.github.com/users/jodastephen/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/jodastephen/subscriptionsorganizations_url-https://api.github.com/users/jodastephen/orgs	repos_url.https://api.github.com/users/jodastephen/repos
events_url9https://api.github.com/users/jodastephen/events{/privacy}received_events_url8https://api.github.com/users/jodastephen/received_eventstypeUser
site_adminuj7  }(jT  web-flowjV  J/j+  MDQ6VXNlcjE5ODY0NDQ3jX  4https://avatars.githubusercontent.com/u/19864447?v=4jZ  h3jA  %https://api.github.com/users/web-flowjO  https://github.com/web-flowj]  /https://api.github.com/users/web-flow/followersj_  <https://api.github.com/users/web-flow/following{/other_user}ja  5https://api.github.com/users/web-flow/gists{/gist_id}jc  <https://api.github.com/users/web-flow/starred{/owner}{/repo}je  3https://api.github.com/users/web-flow/subscriptionsjg  *https://api.github.com/users/web-flow/orgsji  +https://api.github.com/users/web-flow/reposjk  6https://api.github.com/users/web-flow/events{/privacy}jm  5https://api.github.com/users/web-flow/received_eventsjo  Userjq  uparents]}(j)  (8352de0af6c1c94b006a4d3037b25d8f71d3ddd8jA  ^https://api.github.com/repos/OpenGamma/Strata/commits/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8jO  Shttps://github.com/OpenGamma/Strata/commit/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8uastats}(totalK"	additionsK	deletionsKufiles](}(j)  (7bbee27e3c18706ffe1459f87091f0033466763cfilenameKmodules/collect/src/main/java/com/opengamma/strata/collect/BasisPoints.javastatusmodifiedj  K
j  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPoints.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPoints.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPoints.java?ref=5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbpatchXF  @@ -18,11 +18,11 @@
  * <ul>
  * <li>decimal form - the form needed for mathematical calculations, as used by most parts of Strata
  * <li>percentage - where 1.2% is the same as the decimal 0.012
- * <li>basis points - where 120bps is the same as the decimal 0.012
+ * <li>basis points - where 125bps is the same as the decimal 0.0125
  * </ul>
  * This class allows the use of basis points form to be explicit.
  */
-public final class BasisPoints {
+public final class BasisPoints implements Comparable<BasisPoints> {
 
   /** A basis points of zero. */
   public static final BasisPoints ZERO = new BasisPoints(Decimal.ZERO);
@@ -181,6 +181,17 @@ public BasisPoints map(UnaryOperator<Decimal> mapper) {
   }
 
   //-----------------------------------------------------------------------
+  /**
+   * Compares this instance to another.
+   * 
+   * @param other the other instance
+   * @return the comparison result
+   */
+  @Override
+  public int compareTo(BasisPoints other) {
+    return amount.compareTo(other.amount);
+  }
+
   /**
    * Checks if this instance equals another.
    * u}(j)  (8e662b575aad4759c75ca6ff0972ee1aece55c17j  Jmodules/collect/src/main/java/com/opengamma/strata/collect/Percentage.javaj  modifiedj  K
j  Kj  Kj  https://github.com/OpenGamma/Strata/blob/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentage.javaj  https://github.com/OpenGamma/Strata/raw/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentage.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentage.java?ref=5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbj  X;  @@ -18,11 +18,11 @@
  * <ul>
  * <li>decimal form - the form needed for mathematical calculations, as used by most parts of Strata
  * <li>percentage - where 1.2% is the same as the decimal 0.012
- * <li>basis points - where 120bps is the same as the decimal 0.012
+ * <li>basis points - where 125bps is the same as the decimal 0.0125
  * </ul>
  * This class allows the use of percentage form to be explicit.
  */
-public final class Percentage {
+public final class Percentage implements Comparable<Percentage> {
 
   /** A percentage of zero. */
   public static final Percentage ZERO = new Percentage(Decimal.ZERO);
@@ -183,6 +183,17 @@ public Percentage map(UnaryOperator<Decimal> mapper) {
   }
 
   //-----------------------------------------------------------------------
+  /**
+   * Compares this instance to another.
+   * 
+   * @param other the other instance
+   * @return the comparison result
+   */
+  @Override
+  public int compareTo(Percentage other) {
+    return amount.compareTo(other.amount);
+  }
+
   /**
    * Checks if this instance equals another.
    * u}(j)  (4a8e82c9ff806d4cdbcd2d2b699e0f812ab4851ej  Omodules/collect/src/test/java/com/opengamma/strata/collect/BasisPointsTest.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPointsTest.javaj  https://github.com/OpenGamma/Strata/raw/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPointsTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPointsTest.java?ref=5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbj  X4  @@ -41,6 +41,8 @@ void test_values(BasisPoints test, String str, Decimal value) {
     assertThat(BasisPoints.parse(str + "bps")).isEqualTo(test);
     assertThat(BasisPoints.parse(str + " bps")).isEqualTo(test);
     assertThat(BasisPoints.parse(str)).isEqualTo(test);
+    assertThat(BasisPoints.parse(str)).isLessThan(BasisPoints.parse("1000bps"));
+    assertThat(BasisPoints.parse(str)).isGreaterThan(BasisPoints.parse("-1000bps"));
 
     assertThat(test.plus(BasisPoints.ZERO)).isEqualTo(test);
     assertThat(test.minus(BasisPoints.ZERO)).isEqualTo(test);u}(j)  (c4706b99e170f7b8f0c199ffe04a661023a08c0dj  Nmodules/collect/src/test/java/com/opengamma/strata/collect/PercentageTest.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentageTest.javaj  https://github.com/OpenGamma/Strata/raw/5a7f15db8b4c4f13ebe0a7346baedac9a06c79db/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentageTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentageTest.java?ref=5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbj  X&  @@ -43,6 +43,8 @@ void test_values(Percentage test, String str, Decimal value) {
     assertThat(Percentage.parse(str + "pct")).isEqualTo(test);
     assertThat(Percentage.parse(str + " pct")).isEqualTo(test);
     assertThat(Percentage.parse(str)).isEqualTo(test);
+    assertThat(Percentage.parse(str)).isLessThan(Percentage.parse("1000%"));
+    assertThat(Percentage.parse(str)).isGreaterThan(Percentage.parse("-1000%"));
 
     assertThat(test.plus(Percentage.ZERO)).isEqualTo(test);
     assertThat(test.minus(Percentage.ZERO)).isEqualTo(test);ueu(1b41c06f9a12ba43aa2968bbae913e28df9e6f6a}(sha(1b41c06f9a12ba43aa2968bbae913e28df9e6f6anode_idEC_kwDOAT6l0doAKDFiNDFjMDZmOWExMmJhNDNhYTI5NjhiYmFlOTEzZTI4ZGY5ZTZmNmEcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-09T11:15:04Zu	committer}(j  Akshai Shahj  #akshaishah@users.noreply.github.comj  2023-03-09T11:15:04ZumessageRemove missingFieldExceptiontree}(j  (f3b30302b5c1f25f152f7a2903ebc0bb77838786url`https://api.github.com/repos/OpenGamma/Strata/git/trees/f3b30302b5c1f25f152f7a2903ebc0bb77838786uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/1b41c06f9a12ba43aa2968bbae913e28df9e6f6a
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/1b41c06f9a12ba43aa2968bbae913e28df9e6f6ahtml_urlShttps://github.com/OpenGamma/Strata/commit/1b41c06f9a12ba43aa2968bbae913e28df9e6f6acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/1b41c06f9a12ba43aa2968bbae913e28df9e6f6a/commentsj  }(login
akshaishahidJd
 j  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j  'https://api.github.com/users/akshaishahj  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuj  }(j  
akshaishahj  Jd
 j  MDQ6VXNlcjE5MDM5NzI=j  3https://avatars.githubusercontent.com/u/1903972?v=4j  h3j  'https://api.github.com/users/akshaishahj  https://github.com/akshaishahj  1https://api.github.com/users/akshaishah/followersj  >https://api.github.com/users/akshaishah/following{/other_user}j  7https://api.github.com/users/akshaishah/gists{/gist_id}j  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j  5https://api.github.com/users/akshaishah/subscriptionsj  ,https://api.github.com/users/akshaishah/orgsj  -https://api.github.com/users/akshaishah/reposj  8https://api.github.com/users/akshaishah/events{/privacy}j  7https://api.github.com/users/akshaishah/received_eventsj  Userj  uparents]}(j  (5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7j  ^https://api.github.com/repos/OpenGamma/Strata/commits/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7j  Shttps://github.com/OpenGamma/Strata/commit/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7uastats}(totalK	additionsK	deletionsKufiles](}(j  (028914f9fd1eb2ef3c0253256820344f2d425c20filenamePmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javastatusmodifiedj  Kj  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/1b41c06f9a12ba43aa2968bbae913e28df9e6f6a/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/1b41c06f9a12ba43aa2968bbae913e28df9e6f6a/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=1b41c06f9a12ba43aa2968bbae913e28df9e6f6apatchX  @@ -229,7 +229,8 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
         if (week == 0) {
           return Pair.of(yearMonth, EtdVariant.ofDaily(day));
         } else {
-          throw new ParseFailureException("Unable to parse ETD variant, date columns conflict, must not set both expiry day and expiry week");
+          throw new ParseFailureException("Unable to parse ETD variant, date columns conflict, must not set both " +
+              "expiry day and expiry week");
         }
       }
     } else {
@@ -731,8 +732,4 @@ public static String formattedPercentage(double value) {
   public static String formattedDouble(double value) {
     return Decimal.of(value).toString();
   }
-
-  static ParseFailureException missingFieldException(String field) {
-    return new ParseFailureException(field, FailureReason.PARSING, "'{field}' is empty", field);
-  }
 }u}(j  (c5e2261c0ddda53ec298df2ce3047e1dc58b57acj  Ymodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvInfoResolver.javaj   modifiedj  Kj  Kj"  K	j#  https://github.com/OpenGamma/Strata/blob/1b41c06f9a12ba43aa2968bbae913e28df9e6f6a/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.javaj%  https://github.com/OpenGamma/Strata/raw/1b41c06f9a12ba43aa2968bbae913e28df9e6f6a/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.javaj'  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.java?ref=1b41c06f9a12ba43aa2968bbae913e28df9e6f6aj)  X  @@ -21,7 +21,6 @@
 import static com.opengamma.strata.loader.csv.CsvLoaderColumns.UNDERLYING_EXPIRY_FIELD;
 import static com.opengamma.strata.loader.csv.CsvLoaderColumns.VERSION_FIELD;
 import static com.opengamma.strata.loader.csv.CsvLoaderUtils.DEFAULT_OPTION_VERSION_NUMBER;
-import static com.opengamma.strata.loader.csv.CsvLoaderUtils.missingFieldException;
 import static com.opengamma.strata.loader.csv.PositionCsvLoader.DEFAULT_SECURITY_SCHEME;
 
 import java.time.YearMonth;
@@ -31,8 +30,6 @@
 import com.opengamma.strata.basics.currency.Currency;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.collect.io.CsvRow;
-import com.opengamma.strata.collect.result.FailureReason;
-import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.tuple.DoublesPair;
 import com.opengamma.strata.collect.tuple.Pair;
 import com.opengamma.strata.loader.LoaderUtils;
@@ -276,10 +273,8 @@ public default Position parseEtdOptionPosition(CsvRow row, PositionInfo info) {
     EtdContractSpec contract = parseEtdContractSpec(row, EtdType.OPTION);
     Pair<YearMonth, EtdVariant> variant = CsvLoaderUtils.parseEtdVariant(row, EtdType.OPTION);
     int version = row.findValue(VERSION_FIELD).map(Integer::parseInt).orElse(DEFAULT_OPTION_VERSION_NUMBER);
-    PutCall putCall = row.findValue(PUT_CALL_FIELD, LoaderUtils::parsePutCall)
-        .orElseThrow(() -> missingFieldException(PUT_CALL_FIELD));
-    double strikePrice = row.findValue(EXERCISE_PRICE_FIELD, LoaderUtils::parseDouble)
-        .orElseThrow(() -> missingFieldException(EXERCISE_PRICE_FIELD));
+    PutCall putCall = row.getValue(PUT_CALL_FIELD, LoaderUtils::parsePutCall);
+    double strikePrice = row.getValue(EXERCISE_PRICE_FIELD, LoaderUtils::parseDouble);
     YearMonth underlyingExpiry = row.findValue(UNDERLYING_EXPIRY_FIELD)
         .map(str -> LoaderUtils.parseYearMonth(str))
         .orElse(null);ueu(2f5d583aa57c72d35331074ed0e56c5fd36174aa}(sha(2f5d583aa57c72d35331074ed0e56c5fd36174aanode_idEC_kwDOAT6l0doAKDJmNWQ1ODNhYTU3YzcyZDM1MzMxMDc0ZWQwZTU2YzVmZDM2MTc0YWEcommit}(author}(name
Yuki Iwashitaemail%yukiiwashita@users.noreply.github.comdate2023-08-01T16:18:34Zu	committer}(j=  GitHubj?  noreply@github.comjA  2023-08-01T16:18:34Zumessagepublic access to maps (#2594)tree}(j5  (aa884a73faca1896066cd460bdc048f7f45ea19eurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/aa884a73faca1896066cd460bdc048f7f45ea19eujM  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/2f5d583aa57c72d35331074ed0e56c5fd36174aa
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkyTBaCRBK7hj4Ov3rIwAAdMMIAE5wklj/xIBAjP8vJq56ozpL
6OhtSqKvcHA4J1aiR91JY0Cm+QjRUZkerPw5uDhRQ4qx/Wu2TwtKLfBBylUcZpvD
ZWQOlMVinVBcggmBr5qpDLcVSPrSsRxZ9ZtRq+8w7mzigHRd/ZRuCcgy3g4j9PEW
KuFceHLFHXp7+5UqoNE91L3cm8qh6XPcWTLWA8eQvsvSQs2phbOTCWmM8NjdKik1
5NG0flNvQrYiDWuIr0TBj0Zb+IbNBpJ1okg60pQzPJ2yTYDyULsP22aPvFzr43lO
vnAM/l/HX5cZUKMXoxL5ZVBtCqyzuZLM/+RQYYqxjnvhPhCFf0akTu3EGRfkYeQ=
=r+AN
-----END PGP SIGNATURE-----
payloadX  tree aa884a73faca1896066cd460bdc048f7f45ea19e
parent 3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5c
author Yuki Iwashita <yukiiwashita@users.noreply.github.com> 1690906714 +0100
committer GitHub <noreply@github.com> 1690906714 +0100

public access to maps (#2594)

uujM  ^https://api.github.com/repos/OpenGamma/Strata/commits/2f5d583aa57c72d35331074ed0e56c5fd36174aahtml_urlShttps://github.com/OpenGamma/Strata/commit/2f5d583aa57c72d35331074ed0e56c5fd36174aacomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/2f5d583aa57c72d35331074ed0e56c5fd36174aa/commentsj;  }(loginyukiiwashitaidJ- j7  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3jM  )https://api.github.com/users/yukiiwashitaj[  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminujC  }(j`  web-flowjb  J/j7  MDQ6VXNlcjE5ODY0NDQ3jd  4https://avatars.githubusercontent.com/u/19864447?v=4jf  h3jM  %https://api.github.com/users/web-flowj[  https://github.com/web-flowji  /https://api.github.com/users/web-flow/followersjk  <https://api.github.com/users/web-flow/following{/other_user}jm  5https://api.github.com/users/web-flow/gists{/gist_id}jo  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jq  3https://api.github.com/users/web-flow/subscriptionsjs  *https://api.github.com/users/web-flow/orgsju  +https://api.github.com/users/web-flow/reposjw  6https://api.github.com/users/web-flow/events{/privacy}jy  5https://api.github.com/users/web-flow/received_eventsj{  Userj}  uparents]}(j5  (3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cjM  ^https://api.github.com/repos/OpenGamma/Strata/commits/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cj[  Shttps://github.com/OpenGamma/Strata/commit/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cuastats}(totalK	additionsK	deletionsKufiles]}(j5  (722bc072f88eef258e82b66d0057c2fcd0bfdbeffilenameamodules/pricer/src/main/java/com/opengamma/strata/pricer/credit/ImmutableCreditRatesProvider.javastatusmodifiedj  Kj  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/2f5d583aa57c72d35331074ed0e56c5fd36174aa/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcredit%2FImmutableCreditRatesProvider.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/2f5d583aa57c72d35331074ed0e56c5fd36174aa/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcredit%2FImmutableCreditRatesProvider.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcredit%2FImmutableCreditRatesProvider.java?ref=2f5d583aa57c72d35331074ed0e56c5fd36174aapatchX	  @@ -61,21 +61,21 @@ public final class ImmutableCreditRatesProvider
    * <p>
    * The curve data, predicting the survival probability, associated with each legal entity and currency.
    */
-  @PropertyDefinition(validate = "notNull", get = "private")
+  @PropertyDefinition(validate = "notNull")
   private final ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> creditCurves;
   /**
    * The discounting curves.
    * <p>
    * The curve data, predicting the discount factor, associated with each currency.
    */
-  @PropertyDefinition(validate = "notEmpty", get = "private")
+  @PropertyDefinition(validate = "notEmpty")
   private final ImmutableMap<Currency, CreditDiscountFactors> discountCurves;
   /**
    * The credit rate curves.
    * <p>
    * The curve date, predicting the recovery rate, associated with each legal entity.
    */
-  @PropertyDefinition(validate = "notEmpty", get = "private")
+  @PropertyDefinition(validate = "notEmpty")
   private final ImmutableMap<StandardId, RecoveryRates> recoveryRateCurves;
 
   //-------------------------------------------------------------------------
@@ -269,7 +269,7 @@ public LocalDate getValuationDate() {
    * The curve data, predicting the survival probability, associated with each legal entity and currency.
    * @return the value of the property, not null
    */
-  private ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> getCreditCurves() {
+  public ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> getCreditCurves() {
     return creditCurves;
   }
 
@@ -280,7 +280,7 @@ private ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilitie
    * The curve data, predicting the discount factor, associated with each currency.
    * @return the value of the property, not empty
    */
-  private ImmutableMap<Currency, CreditDiscountFactors> getDiscountCurves() {
+  public ImmutableMap<Currency, CreditDiscountFactors> getDiscountCurves() {
     return discountCurves;
   }
 
@@ -291,7 +291,7 @@ private ImmutableMap<Currency, CreditDiscountFactors> getDiscountCurves() {
    * The curve date, predicting the recovery rate, associated with each legal entity.
    * @return the value of the property, not empty
    */
-  private ImmutableMap<StandardId, RecoveryRates> getRecoveryRateCurves() {
+  public ImmutableMap<StandardId, RecoveryRates> getRecoveryRateCurves() {
     return recoveryRateCurves;
   }
 uau(13d84df601f0eb4ea9d3658ba75b885ce51afcc6}(sha(13d84df601f0eb4ea9d3658ba75b885ce51afcc6node_idEC_kwDOAT6l0doAKDEzZDg0ZGY2MDFmMGViNGVhOWQzNjU4YmE3NWI4ODVjZTUxYWZjYzYcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-05T10:02:18Zu	committer}(j  
johannesOGj  ,86783068+johannesOG@users.noreply.github.comj  2023-07-05T10:02:18ZumessageDeactive Libor curvestree}(j  (f77ad52122cce97dc561860b69b456effba407c4url`https://api.github.com/repos/OpenGamma/Strata/git/trees/f77ad52122cce97dc561860b69b456effba407c4uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/13d84df601f0eb4ea9d3658ba75b885ce51afcc6
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/13d84df601f0eb4ea9d3658ba75b885ce51afcc6html_urlShttps://github.com/OpenGamma/Strata/commit/13d84df601f0eb4ea9d3658ba75b885ce51afcc6comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/13d84df601f0eb4ea9d3658ba75b885ce51afcc6/commentsj  }(login
johannesOGidJ\4,j  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3j  'https://api.github.com/users/johannesOGj  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminuj  }(j  
johannesOGj  J\4,j  MDQ6VXNlcjg2NzgzMDY4j  4https://avatars.githubusercontent.com/u/86783068?v=4j  h3j  'https://api.github.com/users/johannesOGj  https://github.com/johannesOGj  1https://api.github.com/users/johannesOG/followersj  >https://api.github.com/users/johannesOG/following{/other_user}j  7https://api.github.com/users/johannesOG/gists{/gist_id}j  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}j  5https://api.github.com/users/johannesOG/subscriptionsj  ,https://api.github.com/users/johannesOG/orgsj  -https://api.github.com/users/johannesOG/reposj  8https://api.github.com/users/johannesOG/events{/privacy}j  7https://api.github.com/users/johannesOG/received_eventsj  Userj  uparents]}(j  (949ae5f335f84d4b54664923aca13a22ef395cacj  ^https://api.github.com/repos/OpenGamma/Strata/commits/949ae5f335f84d4b54664923aca13a22ef395cacj  Shttps://github.com/OpenGamma/Strata/commit/949ae5f335f84d4b54664923aca13a22ef395cacuastats}(totalK	additionsK 	deletionsKufiles]}(j  (18792f9d2bf6acfa482e6af62a9cc3efa7829c39filenameYmodules/basics/src/test/java/com/opengamma/strata/basics/index/FloatingRateIndexTest.javastatusmodifiedj  K j
  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/13d84df601f0eb4ea9d3658ba75b885ce51afcc6/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateIndexTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/13d84df601f0eb4ea9d3658ba75b885ce51afcc6/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateIndexTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateIndexTest.java?ref=13d84df601f0eb4ea9d3658ba75b885ce51afcc6patchX
  @@ -24,20 +24,13 @@ public class FloatingRateIndexTest {
 
   @Test
   public void test_parse_noTenor() {
-    assertThat(FloatingRateIndex.parse("GBP-LIBOR")).isEqualTo(IborIndices.GBP_LIBOR_3M);
-    assertThat(FloatingRateIndex.parse("GBP-LIBOR-1M")).isEqualTo(IborIndices.GBP_LIBOR_1M);
-    assertThat(FloatingRateIndex.parse("GBP-LIBOR-3M")).isEqualTo(IborIndices.GBP_LIBOR_3M);
-    assertThat(FloatingRateIndex.parse("GBP-SONIA")).isEqualTo(OvernightIndices.GBP_SONIA);
     assertThat(FloatingRateIndex.parse("GB-RPI")).isEqualTo(PriceIndices.GB_RPI);
     assertThatIllegalArgumentException().isThrownBy(() -> FloatingRateIndex.parse(null));
     assertThatIllegalArgumentException().isThrownBy(() -> FloatingRateIndex.parse("NotAnIndex"));
   }
 
   @Test
   public void test_parse_withTenor() {
-    assertThat(FloatingRateIndex.parse("GBP-LIBOR", Tenor.TENOR_6M)).isEqualTo(IborIndices.GBP_LIBOR_6M);
-    assertThat(FloatingRateIndex.parse("GBP-LIBOR-1M", Tenor.TENOR_6M)).isEqualTo(IborIndices.GBP_LIBOR_1M);
-    assertThat(FloatingRateIndex.parse("GBP-LIBOR-3M", Tenor.TENOR_6M)).isEqualTo(IborIndices.GBP_LIBOR_3M);
     assertThat(FloatingRateIndex.parse("GBP-SONIA", Tenor.TENOR_6M)).isEqualTo(OvernightIndices.GBP_SONIA);
     assertThat(FloatingRateIndex.parse("GB-RPI", Tenor.TENOR_6M)).isEqualTo(PriceIndices.GB_RPI);
     assertThatIllegalArgumentException().isThrownBy(() -> FloatingRateIndex.parse(null, Tenor.TENOR_6M));
@@ -46,9 +39,6 @@ public void test_parse_withTenor() {
 
   @Test
   public void test_tryParse_noTenor() {
-    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR")).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_3M));
-    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-1M")).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_1M));
-    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-3M")).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_3M));
     assertThat(FloatingRateIndex.tryParse("GBP-SONIA")).isEqualTo(Optional.of(OvernightIndices.GBP_SONIA));
     assertThat(FloatingRateIndex.tryParse("GB-RPI")).isEqualTo(Optional.of(PriceIndices.GB_RPI));
     assertThat(FloatingRateIndex.tryParse(null)).isEqualTo(Optional.empty());
@@ -57,9 +47,6 @@ public void test_tryParse_noTenor() {
 
   @Test
   public void test_tryParse_withTenor() {
-    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR", Tenor.TENOR_6M)).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_6M));
-    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-1M", Tenor.TENOR_6M)).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_1M));
-    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-3M", Tenor.TENOR_6M)).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_3M));
     assertThat(FloatingRateIndex.tryParse("GBP-SONIA", Tenor.TENOR_6M)).isEqualTo(Optional.of(OvernightIndices.GBP_SONIA));
     assertThat(FloatingRateIndex.tryParse("GB-RPI", Tenor.TENOR_6M)).isEqualTo(Optional.of(PriceIndices.GB_RPI));
     assertThat(FloatingRateIndex.tryParse(null, Tenor.TENOR_6M)).isEqualTo(Optional.empty());
@@ -69,11 +56,6 @@ public void test_tryParse_withTenor() {
   //-------------------------------------------------------------------------
   public static Object[][] data_name() {
     return new Object[][] {
-        {IborIndices.GBP_LIBOR_6M, "GBP-LIBOR-6M"},
-        {IborIndices.CHF_LIBOR_6M, "CHF-LIBOR-6M"},
-        {IborIndices.EUR_LIBOR_6M, "EUR-LIBOR-6M"},
-        {IborIndices.JPY_LIBOR_6M, "JPY-LIBOR-6M"},
-        {IborIndices.USD_LIBOR_6M, "USD-LIBOR-6M"},
 
         {OvernightIndices.GBP_SONIA, "GBP-SONIA"},
         {OvernightIndices.CHF_SARON, "CHF-SARON"},uau(ebb45a16512c3a11fd250b98da59e2229296a46a}(sha(ebb45a16512c3a11fd250b98da59e2229296a46anode_idEC_kwDOAT6l0doAKGViYjQ1YTE2NTEyYzNhMTFmZDI1MGI5OGRhNTllMjIyOTI5NmE0NmEcommit}(author}(namealexandruamarandeistanescuemailnoreplydate2023-05-09T18:06:48Zu	committer}(j)  alexandruamarandeistanescuj+  noreplyj-  2023-05-09T18:06:48ZumessageTypotree}(j!  (0825a817928781813ab467ebcdf2627392f1cea6url`https://api.github.com/repos/OpenGamma/Strata/git/trees/0825a817928781813ab467ebcdf2627392f1cea6uj9  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/ebb45a16512c3a11fd250b98da59e2229296a46a
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj9  ^https://api.github.com/repos/OpenGamma/Strata/commits/ebb45a16512c3a11fd250b98da59e2229296a46ahtml_urlShttps://github.com/OpenGamma/Strata/commit/ebb45a16512c3a11fd250b98da59e2229296a46acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/ebb45a16512c3a11fd250b98da59e2229296a46a/commentsj'  Nj/  Nparents]}(j!  (1477f77ca5ea034772e7f01af18ea4eb062d6cf2j9  ^https://api.github.com/repos/OpenGamma/Strata/commits/1477f77ca5ea034772e7f01af18ea4eb062d6cf2jE  Shttps://github.com/OpenGamma/Strata/commit/1477f77ca5ea034772e7f01af18ea4eb062d6cf2uastats}(totalK	additionsK	deletionsKufiles]}(j!  (dabe2612ca3776575114daeb8190bf4519f782b4filenameRmodules/product/src/test/java/com/opengamma/strata/product/etd/EtdIdUtilsTest.javastatusmodifiedjR  KjS  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/ebb45a16512c3a11fd250b98da59e2229296a46a/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/ebb45a16512c3a11fd250b98da59e2229296a46a/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.java?ref=ebb45a16512c3a11fd250b98da59e2229296a46apatchX  @@ -71,7 +71,7 @@ public void test_contractSpecId_future_from_securityId() {
   }
 
   @Test
-  public void test_contractSpecId_option_from_securitId() {
+  public void test_contractSpecId_option_from_securityId() {
     EtdContractSpecId test = EtdIdUtils.contractSpecId(SecurityId.of(OG_ETD_SCHEME, "O-ECAG-OGBS-202305-P1"));
     assertThat(test.getStandardId()).isEqualTo(StandardId.of(OG_ETD_SCHEME, "O-ECAG-OGBS"));
     assertThat(EtdIdUtils.splitId(test))uau(4266b4db3d0b9a4e6107834ee89a2d95693b1288}(sha(4266b4db3d0b9a4e6107834ee89a2d95693b1288node_idEC_kwDOAT6l0doAKDQyNjZiNGRiM2QwYjlhNGU2MTA3ODM0ZWU4OWEyZDk1NjkzYjEyODgcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-07T17:36:34Zu	committer}(jo  Akshai Shahjq  #akshaishah@users.noreply.github.comjs  2023-03-07T17:36:34ZumessageMove helper methodtree}(jg  (1562dd7c17e8b61ce23eee150e4245f9a9a3de32url`https://api.github.com/repos/OpenGamma/Strata/git/trees/1562dd7c17e8b61ce23eee150e4245f9a9a3de32uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/4266b4db3d0b9a4e6107834ee89a2d95693b1288
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/4266b4db3d0b9a4e6107834ee89a2d95693b1288html_urlShttps://github.com/OpenGamma/Strata/commit/4266b4db3d0b9a4e6107834ee89a2d95693b1288comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/4266b4db3d0b9a4e6107834ee89a2d95693b1288/commentsjm  }(login
akshaishahidJd
 ji  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j  'https://api.github.com/users/akshaishahj  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuju  }(j  
akshaishahj  Jd
 ji  MDQ6VXNlcjE5MDM5NzI=j  3https://avatars.githubusercontent.com/u/1903972?v=4j  h3j  'https://api.github.com/users/akshaishahj  https://github.com/akshaishahj  1https://api.github.com/users/akshaishah/followersj  >https://api.github.com/users/akshaishah/following{/other_user}j  7https://api.github.com/users/akshaishah/gists{/gist_id}j  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j  5https://api.github.com/users/akshaishah/subscriptionsj  ,https://api.github.com/users/akshaishah/orgsj  -https://api.github.com/users/akshaishah/reposj  8https://api.github.com/users/akshaishah/events{/privacy}j  7https://api.github.com/users/akshaishah/received_eventsj  Userj  uparents]}(jg  (2e25f251378263880217d18a39e0fccdd3b672ecj  ^https://api.github.com/repos/OpenGamma/Strata/commits/2e25f251378263880217d18a39e0fccdd3b672ecj  Shttps://github.com/OpenGamma/Strata/commit/2e25f251378263880217d18a39e0fccdd3b672ecuastats}(totalK		additionsK	deletionsKufiles](}(jg  (62b59cbabd85f4d18cfa33cdae67d02bb2759735filenamePmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javastatusmodifiedj  Kj  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/4266b4db3d0b9a4e6107834ee89a2d95693b1288/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/4266b4db3d0b9a4e6107834ee89a2d95693b1288/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=4266b4db3d0b9a4e6107834ee89a2d95693b1288patchXk  @@ -736,4 +736,8 @@ public static String formattedPercentage(double value) {
   public static String formattedDouble(double value) {
     return Decimal.of(value).toString();
   }
+
+  static ParseFailureException missingFieldException(String field) {
+    return new ParseFailureException(field, FailureReason.FIELD_MISSING, "'{field}' is empty", field);
+  }
 }u}(jg  (d98e82fb58932d283abb5bf144d5e00c99805c73j  Ymodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvInfoResolver.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/4266b4db3d0b9a4e6107834ee89a2d95693b1288/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.javaj  https://github.com/OpenGamma/Strata/raw/4266b4db3d0b9a4e6107834ee89a2d95693b1288/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.java?ref=4266b4db3d0b9a4e6107834ee89a2d95693b1288j  X5  @@ -21,6 +21,7 @@
 import static com.opengamma.strata.loader.csv.CsvLoaderColumns.UNDERLYING_EXPIRY_FIELD;
 import static com.opengamma.strata.loader.csv.CsvLoaderColumns.VERSION_FIELD;
 import static com.opengamma.strata.loader.csv.CsvLoaderUtils.DEFAULT_OPTION_VERSION_NUMBER;
+import static com.opengamma.strata.loader.csv.CsvLoaderUtils.missingFieldException;
 import static com.opengamma.strata.loader.csv.PositionCsvLoader.DEFAULT_SECURITY_SCHEME;
 
 import java.time.YearMonth;
@@ -337,8 +338,4 @@ public default SecurityPosition parseEtdOptionSecurityPosition(CsvRow row, Posit
     return completePosition(row, position);
   }
 
-  static ParseFailureException missingFieldException(String field) {
-    return new ParseFailureException(field, FailureReason.FIELD_MISSING, "'{field}' is empty", field);
-  }
-
 }ueu(36daee7a40cee7b99d757521135e0d246e8265ba}(sha(36daee7a40cee7b99d757521135e0d246e8265banode_idEC_kwDOAT6l0doAKDM2ZGFlZTdhNDBjZWU3Yjk5ZDc1NzUyMTEzNWUwZDI0NmU4MjY1YmEcommit}(author}(nameGeorge Vafiadisemailgvafiadis@gmail.comdate2023-03-24T15:01:29Zu	committer}(j  George Vafiadisj  gvafiadis@gmail.comj  2023-03-24T15:01:29ZumessagepFixed issue with schedule calculation returning duplicate adjusted dates when combinePeriodsIfNecessary is true.tree}(j  (0998eda69065241366feb08554021cc1135a7fadurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/0998eda69065241366feb08554021cc1135a7faduj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/36daee7a40cee7b99d757521135e0d246e8265ba
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/36daee7a40cee7b99d757521135e0d246e8265bahtml_urlShttps://github.com/OpenGamma/Strata/commit/36daee7a40cee7b99d757521135e0d246e8265bacomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/36daee7a40cee7b99d757521135e0d246e8265ba/commentsj  }(logingvafidJh j  MDQ6VXNlcjE1NzcwMg==
avatar_url2https://avatars.githubusercontent.com/u/157702?v=4gravatar_idh3j  !https://api.github.com/users/gvafj  https://github.com/gvaf
followers_url+https://api.github.com/users/gvaf/followers
following_url8https://api.github.com/users/gvaf/following{/other_user}	gists_url1https://api.github.com/users/gvaf/gists{/gist_id}starred_url8https://api.github.com/users/gvaf/starred{/owner}{/repo}subscriptions_url/https://api.github.com/users/gvaf/subscriptionsorganizations_url&https://api.github.com/users/gvaf/orgs	repos_url'https://api.github.com/users/gvaf/repos
events_url2https://api.github.com/users/gvaf/events{/privacy}received_events_url1https://api.github.com/users/gvaf/received_eventstypeUser
site_adminuj  }(j
  gvafj  Jh j  MDQ6VXNlcjE1NzcwMg==j  2https://avatars.githubusercontent.com/u/157702?v=4j  h3j  !https://api.github.com/users/gvafj  https://github.com/gvafj  +https://api.github.com/users/gvaf/followersj  8https://api.github.com/users/gvaf/following{/other_user}j  1https://api.github.com/users/gvaf/gists{/gist_id}j  8https://api.github.com/users/gvaf/starred{/owner}{/repo}j  /https://api.github.com/users/gvaf/subscriptionsj   &https://api.github.com/users/gvaf/orgsj"  'https://api.github.com/users/gvaf/reposj$  2https://api.github.com/users/gvaf/events{/privacy}j&  1https://api.github.com/users/gvaf/received_eventsj(  Userj*  uparents]}(j  (3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK	additionsK	deletionsKufiles](}(j  (6dcb3e738768f463226238d994211bc4c0bf6587filenameWmodules/basics/src/main/java/com/opengamma/strata/basics/schedule/PeriodicSchedule.javastatusmodifiedjD  KjE  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/36daee7a40cee7b99d757521135e0d246e8265ba/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fschedule%2FPeriodicSchedule.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/36daee7a40cee7b99d757521135e0d246e8265ba/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fschedule%2FPeriodicSchedule.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fschedule%2FPeriodicSchedule.java?ref=36daee7a40cee7b99d757521135e0d246e8265bapatchX  @@ -453,10 +453,12 @@ public Schedule createSchedule(ReferenceData refData, boolean combinePeriodsIfNe
       if (combinePeriodsIfNecessary) {
         adj = new ArrayList<>(adj);
         unadj = new ArrayList<>(unadj);
-        for (int i = 0; i < adj.size() - 1; i++) {
+        for (int i = 0; i < adj.size() - 1; ) {
           if (adj.get(i).equals(adj.get(i + 1))) {
             adj.remove(i);
             unadj.remove(i);
+          } else {
+            i++;
           }
         }
       }u}(j  (473547f81ca97fe4dff52cb3698d7028adcaae97jJ  [modules/basics/src/test/java/com/opengamma/strata/basics/schedule/PeriodicScheduleTest.javajL  modifiedjD  KjE  K jN  KjO  https://github.com/OpenGamma/Strata/blob/36daee7a40cee7b99d757521135e0d246e8265ba/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fschedule%2FPeriodicScheduleTest.javajQ  https://github.com/OpenGamma/Strata/raw/36daee7a40cee7b99d757521135e0d246e8265ba/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fschedule%2FPeriodicScheduleTest.javajS  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fschedule%2FPeriodicScheduleTest.java?ref=36daee7a40cee7b99d757521135e0d246e8265bajU  X  @@ -1328,6 +1328,23 @@ public LocalDate next(LocalDate date, Frequency frequency) {
         .withMessageMatching(".*duplicate unadjusted dates.*");
   }
 
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_of_schedule_with_combinePeriodsIfNecessary() {
+    LocalDate startDate = LocalDate.of(2022, 12, 1);
+    LocalDate endDate = LocalDate.of(2022, 12, 31);
+    BusinessDayAdjustment BDA = BusinessDayAdjustment.of(FOLLOWING, SAT_SUN);
+    PeriodicSchedule scheduleDefinition = PeriodicSchedule.builder()
+            .startDate(startDate)
+            .endDate(endDate)
+            .frequency(Frequency.P1D)
+            .businessDayAdjustment(BDA)
+            .build();
+    Schedule schedule = scheduleDefinition.createSchedule(REF_DATA, true);
+    assertThat(schedule.size()).isEqualTo(22);
+  }
+
   //-------------------------------------------------------------------------
   @ParameterizedTest
   @MethodSource("data_generation")ueu(0198958764f4c0ef671a3bce197f3dd11a7bc748}(sha(0198958764f4c0ef671a3bce197f3dd11a7bc748node_idEC_kwDOAT6l0doAKDAxOTg5NTg3NjRmNGMwZWY2NzFhM2JjZTE5N2YzZGQxMWE3YmM3NDgcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-06T08:41:54Zu	committer}(ji  
johannesOGjk  ,86783068+johannesOG@users.noreply.github.comjm  2023-07-06T08:41:54ZumessageDeactive Libor curvestree}(ja  (cf9b962af834622d64ade114f859648cd2222eaaurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/cf9b962af834622d64ade114f859648cd2222eaaujy  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/0198958764f4c0ef671a3bce197f3dd11a7bc748       
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujy  ^https://api.github.com/repos/OpenGamma/Strata/commits/0198958764f4c0ef671a3bce197f3dd11a7bc748html_urlShttps://github.com/OpenGamma/Strata/commit/0198958764f4c0ef671a3bce197f3dd11a7bc748comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/0198958764f4c0ef671a3bce197f3dd11a7bc748/commentsjg  }(login
johannesOGidJ\4,jc  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3jy  'https://api.github.com/users/johannesOGj  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminujo  }(j  
johannesOGj  J\4,jc  MDQ6VXNlcjg2NzgzMDY4j  4https://avatars.githubusercontent.com/u/86783068?v=4j  h3jy  'https://api.github.com/users/johannesOGj  https://github.com/johannesOGj  1https://api.github.com/users/johannesOG/followersj  >https://api.github.com/users/johannesOG/following{/other_user}j  7https://api.github.com/users/johannesOG/gists{/gist_id}j  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}j  5https://api.github.com/users/johannesOG/subscriptionsj  ,https://api.github.com/users/johannesOG/orgsj  -https://api.github.com/users/johannesOG/reposj  8https://api.github.com/users/johannesOG/events{/privacy}j  7https://api.github.com/users/johannesOG/received_eventsj  Userj  uparents]}(ja  (6a191c19b755d8cb2a1778d0f002d54091416d31jy  ^https://api.github.com/repos/OpenGamma/Strata/commits/6a191c19b755d8cb2a1778d0f002d54091416d31j  Shttps://github.com/OpenGamma/Strata/commit/6a191c19b755d8cb2a1778d0f002d54091416d31uastats}(totalK	additionsK	deletionsK ufiles]}(ja  (70b142f7246de33c787cf529e64d7dee1dae6987filename`modules/basics/src/main/resources/META-INF/com/opengamma/strata/config/base/FloatingRateName.inistatusmodifiedj  Kj  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/0198958764f4c0ef671a3bce197f3dd11a7bc748/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.iniraw_urlhttps://github.com/OpenGamma/Strata/raw/0198958764f4c0ef671a3bce197f3dd11a7bc748/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.inicontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.ini?ref=0198958764f4c0ef671a3bce197f3dd11a7bc748patch@@ -14,3 +14,4 @@ com.opengamma.strata.basics.index.FloatingRateNameIniLookup = instance
 # The key is the alternate name
 # The value is the standard name (loaded by a provider)
 [alternates]
+GBP-LIBOR-3M = GBP-LIBOR
\ No newline at end of fileuau(40421567759d7cf4f35762704bdb2a4e4c1a3d06}(sha(40421567759d7cf4f35762704bdb2a4e4c1a3d06node_idEC_kwDOAT6l0doAKDQwNDIxNTY3NzU5ZDdjZjRmMzU3NjI3MDRiZGIyYTRlNGMxYTNkMDYcommit}(author}(nameBrian Welleremailbrian@opengamma.comdate2023-03-06T22:22:50Zu	committer}(j  GitHubj  noreply@github.comj  2023-03-06T22:22:50ZumessageX
  Add util method for summarizing fx barriers (#2560)

* Add util method for summarizing fx barriers.

Removed duplicate FX pair definition ithe existing summary

* Cleanup comments

---------

Co-authored-by: Brian Weller <brianweller89@users.noreply.github.com>tree}(j  (5f5fab5e2e75b32ef807727b3699c3c2baed3661url`https://api.github.com/repos/OpenGamma/Strata/git/trees/5f5fab5e2e75b32ef807727b3699c3c2baed3661uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/40421567759d7cf4f35762704bdb2a4e4c1a3d06
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkBme6CRBK7hj4Ov3rIwAA2y4IAFBxqTflCXyjvqs2EDeUkerU
GpZuMimP2DKLWUdp4YaO5YvgJ2M1FpAs0Dlx7fNw3M8HBx86sGyYjc3WPAOK8XbV
c43OS2LDZ1TyOZwemtByunvJKQlaFYCn//xErKSZqn+E0P+++WRluTv448WDCgkh
N2+ZKFR+VQ5Zgpkd+hyqOgYD51MRHSPEUMDwnfjLc2H1PJkEURfeC5lOubrW0Xlo
ZI2UsrR4OpAm7TZ3Q/cdUAa7XnmLkQV0lJ+VyHZRcYxx5p6VrsR5D0kzn5gADub/
nzFTi72EOyopXdWYzLrzy35aMpx4LOaO9t3PvSAdgFGI8pABRmw7aGokbZ26B+E=
=DAEn
-----END PGP SIGNATURE-----
payloadX  tree 5f5fab5e2e75b32ef807727b3699c3c2baed3661
parent a37e88eea81b49caa832de3607274d308bb8b824
author Brian Weller <brian@opengamma.com> 1678141370 +0000
committer GitHub <noreply@github.com> 1678141370 +0000

Add util method for summarizing fx barriers (#2560)

* Add util method for summarizing fx barriers.

Removed duplicate FX pair definition ithe existing summary

* Cleanup comments

---------

Co-authored-by: Brian Weller <brianweller89@users.noreply.github.com>uuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/40421567759d7cf4f35762704bdb2a4e4c1a3d06html_urlShttps://github.com/OpenGamma/Strata/commit/40421567759d7cf4f35762704bdb2a4e4c1a3d06comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/40421567759d7cf4f35762704bdb2a4e4c1a3d06/commentsj  }(login
brianweller89idJIej  MDQ6VXNlcjIzNDM0MzEz
avatar_url4https://avatars.githubusercontent.com/u/23434313?v=4gravatar_idh3j  *https://api.github.com/users/brianweller89j   https://github.com/brianweller89
followers_url4https://api.github.com/users/brianweller89/followers
following_urlAhttps://api.github.com/users/brianweller89/following{/other_user}	gists_url:https://api.github.com/users/brianweller89/gists{/gist_id}starred_urlAhttps://api.github.com/users/brianweller89/starred{/owner}{/repo}subscriptions_url8https://api.github.com/users/brianweller89/subscriptionsorganizations_url/https://api.github.com/users/brianweller89/orgs	repos_url0https://api.github.com/users/brianweller89/repos
events_url;https://api.github.com/users/brianweller89/events{/privacy}received_events_url:https://api.github.com/users/brianweller89/received_eventstypeUser
site_adminuj  }(j  web-flowj  J/j  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3j  %https://api.github.com/users/web-flowj  https://github.com/web-flowj
  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(j  (a37e88eea81b49caa832de3607274d308bb8b824j  ^https://api.github.com/repos/OpenGamma/Strata/commits/a37e88eea81b49caa832de3607274d308bb8b824j  Shttps://github.com/OpenGamma/Strata/commit/a37e88eea81b49caa832de3607274d308bb8b824uastats}(totalK 	additionsK	deletionsK	ufiles](}(j  (fc15bed129d963d54a982a9cb073dd50b3427e3dfilenameVmodules/product/src/main/java/com/opengamma/strata/product/common/SummarizerUtils.javastatusmodifiedj8  Kj9  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/40421567759d7cf4f35762704bdb2a4e4c1a3d06/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FSummarizerUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/40421567759d7cf4f35762704bdb2a4e4c1a3d06/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FSummarizerUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FSummarizerUtils.java?ref=40421567759d7cf4f35762704bdb2a4e4c1a3d06patchX*  @@ -29,6 +29,7 @@
 import com.opengamma.strata.product.Position;
 import com.opengamma.strata.product.ProductType;
 import com.opengamma.strata.product.Trade;
+import com.opengamma.strata.product.option.Barrier;
 
 /**
  * Utilities to support summarizing portfolio items.
@@ -170,6 +171,25 @@ public static String fx(CurrencyAmount base, CurrencyAmount counter) {
         SummarizerUtils.amount(round.mapAmount(a -> Math.abs(a))) + " @ " + rate;
   }
 
+  /**
+   * Provide a summary description of the given barrier.
+   * <p>
+   * Summary contains the barrier level, the type and the knock type e.g. "Up-and-KnockOut @ 1.25".
+   *
+   * @param barrier the barrier
+   * @param barrierObsDate the date on which the barrier level should be observed
+   * @return a summary description of the given barrier
+   */
+  public static String barrier(Barrier barrier, LocalDate barrierObsDate) {
+    StringBuilder buffer = new StringBuilder();
+    buffer.append(barrier.getBarrierType());
+    buffer.append("-and-");
+    buffer.append(barrier.getKnockType());
+    buffer.append(" @ ");
+    buffer.append(barrier.getBarrierLevel(barrierObsDate));
+    return buffer.toString();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Creates a summary instance for a position.u}(j  (8e37d58134dff381164662690a2832987be1ee93j>  `modules/product/src/main/java/com/opengamma/strata/product/fxopt/FxSingleBarrierOptionTrade.javaj@  modifiedj8  Kj9  KjB  K
jC  https://github.com/OpenGamma/Strata/blob/40421567759d7cf4f35762704bdb2a4e4c1a3d06/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTrade.javajE  https://github.com/OpenGamma/Strata/raw/40421567759d7cf4f35762704bdb2a4e4c1a3d06/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTrade.javajG  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTrade.java?ref=40421567759d7cf4f35762704bdb2a4e4c1a3d06jI  X0  @@ -84,19 +84,13 @@ public FxSingleBarrierOptionTrade withInfo(PortfolioItemInfo info) {
   //-------------------------------------------------------------------------
   @Override
   public PortfolioItemSummary summarize() {
-    // Long Barrier Pay USD 1mm Premium USD 100k @ GBP/USD 1.32 : 21Jan18
+    // Long Barrier Down-and-KnockIn @ 1.2 Pay USD 1mm Premium USD 100k @ GBP/USD 1.32 : 21Jan18
     StringBuilder buf = new StringBuilder(96);
     CurrencyAmount base = product.getUnderlyingOption().getUnderlying().getBaseCurrencyAmount();
     CurrencyAmount counter = product.getUnderlyingOption().getUnderlying().getCounterCurrencyAmount();
     buf.append(product.getUnderlyingOption().getLongShort());
     buf.append(" Barrier ");
-    buf.append(product.getBarrier().getBarrierType().toString());
-    buf.append("-and-");
-    buf.append(product.getBarrier().getKnockType().toString());
-    buf.append(" @ ");
-    buf.append(product.getUnderlyingOption().getCurrencyPair());
-    buf.append(" ");
-    buf.append(product.getBarrier().getBarrierLevel(product.getUnderlyingOption().getExpiryDate()));
+    buf.append(SummarizerUtils.barrier(product.getBarrier(), product.getUnderlyingOption().getExpiryDate()));
     buf.append(" ");
     buf.append(SummarizerUtils.fx(base, counter));
     buf.append(" Premium ");u}(j  (2acf8a0d746d3ce1c524133dbfd4c3b03f7c015fj>  dmodules/product/src/test/java/com/opengamma/strata/product/fxopt/FxSingleBarrierOptionTradeTest.javaj@  modifiedj8  Kj9  KjB  KjC  https://github.com/OpenGamma/Strata/blob/40421567759d7cf4f35762704bdb2a4e4c1a3d06/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTradeTest.javajE  https://github.com/OpenGamma/Strata/raw/40421567759d7cf4f35762704bdb2a4e4c1a3d06/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTradeTest.javajG  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTradeTest.java?ref=40421567759d7cf4f35762704bdb2a4e4c1a3d06jI  X  @@ -82,7 +82,7 @@ public void test_summarize() {
         .portfolioItemType(PortfolioItemType.TRADE)
         .productType(ProductType.FX_SINGLE_BARRIER_OPTION)
         .currencies(Currency.USD, Currency.EUR)
-        .description("Long Barrier Down-and-KnockIn @ EUR/USD 1.2 Rec EUR 1mm @ EUR/USD 1.35 Premium EUR 50k : 14Feb15")
+        .description("Long Barrier Down-and-KnockIn @ 1.2 Rec EUR 1mm @ EUR/USD 1.35 Premium EUR 50k : 14Feb15")
         .build();
     assertThat(trade.summarize()).isEqualTo(expected);
   }ueu(f52ffa69a54b62455ee2c2fb9a4d67276d59867e}(sha(f52ffa69a54b62455ee2c2fb9a4d67276d59867enode_idEC_kwDOAT6l0doAKGY1MmZmYTY5YTU0YjYyNDU1ZWUyYzJmYjlhNGQ2NzI3NmQ1OTg2N2Ucommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-06-07T08:32:57Zu	committer}(je  GitHubjg  noreply@github.comji  2023-06-07T08:32:57ZumessageX  Bump guava from 31.1-jre to 32.0.0-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j]  (8ff4812a6c80204001460993fffe94c5124f0ae5url`https://api.github.com/repos/OpenGamma/Strata/git/trees/8ff4812a6c80204001460993fffe94c5124f0ae5uju  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f52ffa69a54b62455ee2c2fb9a4d67276d59867e
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkgEC5CRBK7hj4Ov3rIwAAvK8IAFX5mOVNbk/6Xo+DT0JVde5N
YZsvOhKFk2kI1RA/Z+Wt/F9fIEMXieHv1CTLFvDxi4td4t3L3MaDVKwGDnUiuddM
Pjg5WevplnL/FDFSgvApetIw0JZae+QUQBST5WnA/h0cdT/Qt3afZMVwSrWWYK6P
n0H30OoU9zNXeqN2MVjXT1fyB1UP7vNgR3qTwzzvRpW0PwbPFOqJvzLWA0s6sDdg
py+kI7WO5Ht1yTN3bWvJG5xmLJ6cY3QdSt6SYks/1vxpef66CSQ5nEYJlDTiF4Ef
ZLovjVj05uulGPDqb5gnjoitVyxHPo7+Yf5ac585BQcinioxyHOSn2zaVBclYno=
=EpD0
-----END PGP SIGNATURE-----
payloadXy  tree 8ff4812a6c80204001460993fffe94c5124f0ae5
parent 211806b242b7e224323f74883fcc9ae2b17dd9c9
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1686126777 +0000
committer GitHub <noreply@github.com> 1686126777 +0000

Bump guava from 31.1-jre to 32.0.0-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>uuju  ^https://api.github.com/repos/OpenGamma/Strata/commits/f52ffa69a54b62455ee2c2fb9a4d67276d59867ehtml_urlShttps://github.com/OpenGamma/Strata/commit/f52ffa69a54b62455ee2c2fb9a4d67276d59867ecomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f52ffa69a54b62455ee2c2fb9a4d67276d59867e/commentsjc  }(logindependabot[bot]idJZj_  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3ju  0https://api.github.com/users/dependabot%5Bbot%5Dj  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujk  }(j  web-flowj  J/j_  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3ju  %https://api.github.com/users/web-flowj  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(j]  (211806b242b7e224323f74883fcc9ae2b17dd9c9ju  ^https://api.github.com/repos/OpenGamma/Strata/commits/211806b242b7e224323f74883fcc9ae2b17dd9c9j  Shttps://github.com/OpenGamma/Strata/commit/211806b242b7e224323f74883fcc9ae2b17dd9c9uastats}(totalK	additionsK	deletionsKufiles]}(j]  (b5ccf7ee2306388a592e543205fa287242a1add8filenamemodules/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/f52ffa69a54b62455ee2c2fb9a4d67276d59867e/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/f52ffa69a54b62455ee2c2fb9a4d67276d59867e/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=f52ffa69a54b62455ee2c2fb9a4d67276d59867epatchXl  @@ -765,7 +765,7 @@
     <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
-    <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
+    <guava.version>32.0.0-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>uau(a919b82ad694dfa20837416cac93194656342201}(sha(a919b82ad694dfa20837416cac93194656342201node_idEC_kwDOAT6l0doAKGE5MTliODJhZDY5NGRmYTIwODM3NDE2Y2FjOTMxOTQ2NTYzNDIyMDEcommit}(author}(name
Julius Roederemailj.roeder@uva.nldate2023-04-26T14:44:48Zu	committer}(j  GitHubj  noreply@github.comj  2023-04-26T14:44:48Zumessage/Merge branch 'main' into feature/bonds_cashflowtree}(j  (5e08040fe4bca4eae8fe9773e2c25e5892b37a79url`https://api.github.com/repos/OpenGamma/Strata/git/trees/5e08040fe4bca4eae8fe9773e2c25e5892b37a79uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a919b82ad694dfa20837416cac93194656342201
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkSTjgCRBK7hj4Ov3rIwAAbWEIAC447oq2n8Yeki195+w5khbI
N5jT4GsIAvg9CiZeI3APEPT7AmJuQbcOUnU9D3NVqYncjcjDjavDz+ejItgy2eK5
6FNHM0ieAahGO/AoB9yy8pWZgZ4Mg1J3zDeHG+SldjG1TDvkqOS/vkGE+icI0k9c
ROBKUyqhLaTC0CFAv3LMISczAdKMF7hRm/mxx4CS0Imc4RFLDDyGhlZR9yle903B
aoQAq/Lr7goT4Kxf8Zsr2X84kL58WLZwsCE1bNScUbN4jWlNgUem8BtYoaaa7/qk
VVELRPVUQQBiL0KZQazQJIGNuysiY4TfD+my0rv3qY5fIZqNQTru7N6iiNCbSys=
=ksPA
-----END PGP SIGNATURE-----
payloadX-  tree 5e08040fe4bca4eae8fe9773e2c25e5892b37a79
parent 94de7422372ea98417b49aac95d3a68e5913e75f
parent ac1892d865a4d4e0ab193cbeda462b22aad7b687
author Julius Roeder <j.roeder@uva.nl> 1682520288 +0200
committer GitHub <noreply@github.com> 1682520288 +0200

Merge branch 'main' into feature/bonds_cashflowuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/a919b82ad694dfa20837416cac93194656342201html_urlShttps://github.com/OpenGamma/Strata/commit/a919b82ad694dfa20837416cac93194656342201comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a919b82ad694dfa20837416cac93194656342201/commentsj  }(loginjuliusroederidJRj  MDQ6VXNlcjI1OTA3NzM5
avatar_url4https://avatars.githubusercontent.com/u/25907739?v=4gravatar_idh3j  )https://api.github.com/users/juliusroederj  https://github.com/juliusroeder
followers_url3https://api.github.com/users/juliusroeder/followers
following_url@https://api.github.com/users/juliusroeder/following{/other_user}	gists_url9https://api.github.com/users/juliusroeder/gists{/gist_id}starred_url@https://api.github.com/users/juliusroeder/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/juliusroeder/subscriptionsorganizations_url.https://api.github.com/users/juliusroeder/orgs	repos_url/https://api.github.com/users/juliusroeder/repos
events_url:https://api.github.com/users/juliusroeder/events{/privacy}received_events_url9https://api.github.com/users/juliusroeder/received_eventstypeUser
site_adminuj  }(j  web-flowj  J/j  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3j  %https://api.github.com/users/web-flowj  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj
  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents](}(j  (94de7422372ea98417b49aac95d3a68e5913e75fj  ^https://api.github.com/repos/OpenGamma/Strata/commits/94de7422372ea98417b49aac95d3a68e5913e75fj  Shttps://github.com/OpenGamma/Strata/commit/94de7422372ea98417b49aac95d3a68e5913e75fu}(j  (ac1892d865a4d4e0ab193cbeda462b22aad7b687j  ^https://api.github.com/repos/OpenGamma/Strata/commits/ac1892d865a4d4e0ab193cbeda462b22aad7b687j  Shttps://github.com/OpenGamma/Strata/commit/ac1892d865a4d4e0ab193cbeda462b22aad7b687uestats}(totalK	additionsK	deletionsKufiles](}(j  (832e0b574088af03ab64dda58dbd6815cfe5a042filename.circleci/config.ymlstatusmodifiedj:  Kj;  KchangesKblob_urlhhttps://github.com/OpenGamma/Strata/blob/a919b82ad694dfa20837416cac93194656342201/.circleci%2Fconfig.ymlraw_urlghttps://github.com/OpenGamma/Strata/raw/a919b82ad694dfa20837416cac93194656342201/.circleci%2Fconfig.ymlcontents_urlzhttps://api.github.com/repos/OpenGamma/Strata/contents/.circleci%2Fconfig.yml?ref=a919b82ad694dfa20837416cac93194656342201patchX  @@ -45,9 +45,13 @@ commands:
       - run:
           name: Initializing Maven
           command: |
+            mvn --version
             mkdir -p ./.mvn
-            echo "-e -B -DtrimStackTrace=false --settings $( pwd )/.circleci/maven-settings.xml" > ./.mvn/maven.config
-            cat ./.mvn/maven.config
+            echo "-e" >> ./.mvn/maven.config
+            echo "-B" >> ./.mvn/maven.config
+            echo "-DtrimStackTrace=false" >> ./.mvn/maven.config
+            echo "--settings" >> ./.mvn/maven.config
+            echo "$( pwd )/.circleci/maven-settings.xml" >> ./.mvn/maven.config
             mvn --version
 
 #----------------------------------------------------------------------------u}(j  (7414a0c4184be123dc95af0f449dad2b66824153j@  modules/pom.xmljB  modifiedj:  Kj;  KjD  KjE  chttps://github.com/OpenGamma/Strata/blob/a919b82ad694dfa20837416cac93194656342201/modules%2Fpom.xmljG  bhttps://github.com/OpenGamma/Strata/raw/a919b82ad694dfa20837416cac93194656342201/modules%2Fpom.xmljI  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=a919b82ad694dfa20837416cac93194656342201jK  XC  @@ -762,8 +762,8 @@
     <!-- Locate the root directory of the multi-module build -->
     <root.dir>${project.basedir}/..</root.dir>
     <!-- Versions -->
-    <asm.version>9.4</asm.version>
-    <assertj.version>3.23.1</assertj.version>
+    <asm.version>9.5</asm.version>
+    <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
     <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>u}(j  (17132cc647223fe2f29f6f18c23ab208666729eaj@  Nmodules/product/src/main/java/com/opengamma/strata/product/common/BuySell.javajB  modifiedj:  Kj;  K jD  KjE  https://github.com/OpenGamma/Strata/blob/a919b82ad694dfa20837416cac93194656342201/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javajG  https://github.com/OpenGamma/Strata/raw/a919b82ad694dfa20837416cac93194656342201/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javajI  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.java?ref=a919b82ad694dfa20837416cac93194656342201jK  Xj  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -80,6 +82,21 @@ public double normalize(double amount) {
     return isBuy() ? normalized : -normalized;
   }
 
+  /**
+   * Normalizes the specified {@code Decimal} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input amount
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isBuy() ? normalized : normalized.negated();
+  }
+
   /**
    * Normalizes the specified amount using this buy/sell rule.
    * <p>
@@ -95,6 +112,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isBuy() ? amount.positive() : amount.negative();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input notional
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isBuy() ? amount.positive() : amount.negative();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Buy'.u}(j  (c77d9d1fab93c2d89463aa1f0e966a4414fa1156j@  Qmodules/product/src/main/java/com/opengamma/strata/product/common/PayReceive.javajB  modifiedj:  Kj;  K jD  KjE  https://github.com/OpenGamma/Strata/blob/a919b82ad694dfa20837416cac93194656342201/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javajG  https://github.com/OpenGamma/Strata/raw/a919b82ad694dfa20837416cac93194656342201/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javajI  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.java?ref=a919b82ad694dfa20837416cac93194656342201jK  X{  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -93,6 +95,21 @@ public double normalize(double amount) {
     return isPay() ? -normalized : normalized;
   }
 
+  /**
+   * Normalizes the specified notional amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isPay() ? normalized.negated() : normalized;
+  }
+
   /**
    * Normalizes the specified amount using this pay/receive rule.
    * <p>
@@ -108,6 +125,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isPay() ? amount.negative() : amount.positive();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isPay() ? amount.negative() : amount.positive();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Pay'.u}(j  (31123a560f1cb818b0016849184b9055eb7762f2j@  Rmodules/product/src/test/java/com/opengamma/strata/product/common/BuySellTest.javajB  modifiedj:  K j;  K jD  K jE  https://github.com/OpenGamma/Strata/blob/a919b82ad694dfa20837416cac93194656342201/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javajG  https://github.com/OpenGamma/Strata/raw/a919b82ad694dfa20837416cac93194656342201/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javajI  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.java?ref=a919b82ad694dfa20837416cac93194656342201jK  X  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link BuySell}.
@@ -42,13 +44,28 @@ public void test_normalize_sell_double() {
     assertThat(BuySell.SELL.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_sell_decimal() {
+    assertThat(BuySell.SELL.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.SELL.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_sell_amount() {
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_sell_money() {
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
+
   @Test
   public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -57,13 +74,28 @@ public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_buy_decimal() {
+    assertThat(BuySell.BUY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.BUY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_buy_amount() {
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_buy_money() {
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isBuy() {
     assertThat(BuySell.BUY.isBuy()).isTrue();u}(j  (b507e29413d3aa67b960b66570e948d517e8896fj@  Umodules/product/src/test/java/com/opengamma/strata/product/common/PayReceiveTest.javajB  modifiedj:  Kj;  K jD  KjE  https://github.com/OpenGamma/Strata/blob/a919b82ad694dfa20837416cac93194656342201/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javajG  https://github.com/OpenGamma/Strata/raw/a919b82ad694dfa20837416cac93194656342201/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javajI  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.java?ref=a919b82ad694dfa20837416cac93194656342201jK  Xj  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link PayReceive}.
@@ -51,13 +53,27 @@ public void test_normalize_pay_double() {
     assertThat(PayReceive.PAY.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_pay_decimal() {
+    assertThat(PayReceive.PAY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_pay_amount() {
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_pay_money() {
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
   @Test
   public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -66,13 +82,28 @@ public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_receive_decimal() {
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_receive_amount() {
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_receive_money() {
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isPay() {
     assertThat(PayReceive.PAY.isPay()).isTrue();ueu(a37e88eea81b49caa832de3607274d308bb8b824}(sha(a37e88eea81b49caa832de3607274d308bb8b824node_idEC_kwDOAT6l0doAKGEzN2U4OGVlYTgxYjQ5Y2FhODMyZGUzNjA3Mjc0ZDMwOGJiOGI4MjQcommit}(author}(nameDonatas Zubavičiusemail.104562189+mbsDonatasZ@users.noreply.github.comdate2023-03-01T22:14:37Zu	committer}(j  GitHubj  noreply@github.comj  2023-03-01T22:14:37ZumessageFix ARM tests (#2556)tree}(jw  (a2dd1f7ec01bdc401d68b64547415d752096f940url`https://api.github.com/repos/OpenGamma/Strata/git/trees/a2dd1f7ec01bdc401d68b64547415d752096f940uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a37e88eea81b49caa832de3607274d308bb8b824
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJj/85NCRBK7hj4Ov3rIwAAjREIAFjXrJAqwvEcVA318GCllvZt
aGOoj8h+eUAsY9snKgIkUVcLOeSh+2SeWhIfxhEkR6CUzA44ZeZDHUHeNVFug9Kv
/KWA5Mgynm+raOYce9ncBJlPDuWhgWyBIBY9NDeaE2/w4uFM9QcFoWlSANjT4tlW
5WDhjgQV8LZBDzK745gCUFkZlSlfbXane+ifVgoGT+A1NS3GxZY8YFD3D2j2tN9M
awNYe2sqe6qHtG9/ObAkyTH033/Zy1ndjepGV2c7nuEP73zqsdPdxWKwVJtfjb7o
A4sXYbwY/4SLNfkw71sAQ8bo3fkQDXZZTaRoB6kO/zahQ2BK/hrArYF2JgdgMOg=
=38sE
-----END PGP SIGNATURE-----
payloadX
  tree a2dd1f7ec01bdc401d68b64547415d752096f940
parent 0570d8bed3ea6a2c25377cb907ff30a4d1c8d5ca
author Donatas Zubavičius <104562189+mbsDonatasZ@users.noreply.github.com> 1677708877 +0200
committer GitHub <noreply@github.com> 1677708877 +0000

Fix ARM tests (#2556)

uuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/a37e88eea81b49caa832de3607274d308bb8b824html_urlShttps://github.com/OpenGamma/Strata/commit/a37e88eea81b49caa832de3607274d308bb8b824comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a37e88eea81b49caa832de3607274d308bb8b824/commentsj}  }(loginmbsDonatasZidJ
~;jy  U_kgDOBjt-DQ
avatar_url5https://avatars.githubusercontent.com/u/104562189?v=4gravatar_idh3j  (https://api.github.com/users/mbsDonatasZj  https://github.com/mbsDonatasZ
followers_url2https://api.github.com/users/mbsDonatasZ/followers
following_url?https://api.github.com/users/mbsDonatasZ/following{/other_user}	gists_url8https://api.github.com/users/mbsDonatasZ/gists{/gist_id}starred_url?https://api.github.com/users/mbsDonatasZ/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/mbsDonatasZ/subscriptionsorganizations_url-https://api.github.com/users/mbsDonatasZ/orgs	repos_url.https://api.github.com/users/mbsDonatasZ/repos
events_url9https://api.github.com/users/mbsDonatasZ/events{/privacy}received_events_url8https://api.github.com/users/mbsDonatasZ/received_eventstypeUser
site_adminuj  }(j  web-flowj  J/jy  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3j  %https://api.github.com/users/web-flowj  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(jw  (0570d8bed3ea6a2c25377cb907ff30a4d1c8d5caj  ^https://api.github.com/repos/OpenGamma/Strata/commits/0570d8bed3ea6a2c25377cb907ff30a4d1c8d5caj  Shttps://github.com/OpenGamma/Strata/commit/0570d8bed3ea6a2c25377cb907ff30a4d1c8d5cauastats}(totalK	additionsK
	deletionsKufiles](}(jw  (a2391a18fffeb56cd4cccaa7a9c6c6923cf00d54filenamenmodules/pricer/src/test/java/com/opengamma/strata/pricer/capfloor/BlackIborCapletFloorletPeriodPricerTest.javastatusmodifiedj  Kj  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcapfloor%2FBlackIborCapletFloorletPeriodPricerTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcapfloor%2FBlackIborCapletFloorletPeriodPricerTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcapfloor%2FBlackIborCapletFloorletPeriodPricerTest.java?ref=a37e88eea81b49caa832de3607274d308bb8b824patchXp  @@ -177,6 +177,7 @@ public class BlackIborCapletFloorletPeriodPricerTest {
       .createShiftedBlackVolatilities(VALUATION, EUR_EURIBOR_3M);
 
   private static final double TOL = 1.0e-14;
+  private static final double TOL_PV = 1.0e-13;
   private static final double EPS_FD = 1.0e-6;
   private static final BlackIborCapletFloorletPeriodPricer PRICER = BlackIborCapletFloorletPeriodPricer.DEFAULT;
   private static final VolatilityIborCapletFloorletPeriodPricer PRICER_BASE = VolatilityIborCapletFloorletPeriodPricer.DEFAULT;
@@ -728,7 +729,7 @@ public void test_fail_normal() {
   @Test
   public void regression_pv() {
     CurrencyAmount pv = PRICER.presentValue(CAPLET_REG, RATES, VOLS);
-    assertThat(pv.getAmount()).isCloseTo(3.4403901240887094, offset(TOL)); // 2.x
+    assertThat(pv.getAmount()).isCloseTo(3.4403901240887094, offset(TOL_PV)); // 2.x
   }
 
   @Testu}(jw  (1882f45f3ecda4c073f49a8bf79aff5f9b5ede2dj  nmodules/pricer/src/test/java/com/opengamma/strata/pricer/cms/SabrExtrapolationReplicationCmsLegPricerTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcms%2FSabrExtrapolationReplicationCmsLegPricerTest.javaj  https://github.com/OpenGamma/Strata/raw/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcms%2FSabrExtrapolationReplicationCmsLegPricerTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcms%2FSabrExtrapolationReplicationCmsLegPricerTest.java?ref=a37e88eea81b49caa832de3607274d308bb8b824j  X  @@ -310,8 +310,8 @@ public void test_explainPresentValue() {
     assertThat(explain.get(ExplainKey.START_DATE).get()).isEqualTo(LocalDate.of(2015, 10, 21));
     assertThat(explain.get(ExplainKey.END_DATE).get()).isEqualTo(LocalDate.of(2020, 10, 21));
     assertThat(explain.get(ExplainKey.INDEX).get().toString()).isEqualTo("EUR-EURIBOR-1100-5Y");
-    assertThat(explain.get(ExplainKey.PRESENT_VALUE).get().getAmount()).isEqualTo(39728.51321029542);
-    
+    assertThat(explain.get(ExplainKey.PRESENT_VALUE).get().getAmount()).isCloseTo(39728.513210295,offset(NOTIONAL_VALUE_0 * TOL));
+
     List<ExplainMap> paymentPeriods = explain.get(ExplainKey.PAYMENT_PERIODS).get();
     assertThat(paymentPeriods).hasSize(5);
     //Test First Periodu}(jw  (882dca9a0b856b88352b92793b3e814cc72eeeacj  pmodules/pricer/src/test/java/com/opengamma/strata/pricer/impl/option/BlackBarrierPriceFormulaRepositoryTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Foption%2FBlackBarrierPriceFormulaRepositoryTest.javaj  https://github.com/OpenGamma/Strata/raw/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Foption%2FBlackBarrierPriceFormulaRepositoryTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Foption%2FBlackBarrierPriceFormulaRepositoryTest.java?ref=a37e88eea81b49caa832de3607274d308bb8b824j  Xw  @@ -53,7 +53,7 @@ public class BlackBarrierPriceFormulaRepositoryTest {
   private static final double DF_DOM = Math.exp(-RATE_DOM * EXPIRY_TIME); // 'Quote Ccy
   private static final double FWD_FX = SPOT * DF_FOR / DF_DOM;
 
-  private static final double TOL = 1.0e-14;
+  private static final double TOL = 1.0e-10;
   private static final double EPS_FD = 1.0e-6;
 
   /**u}(jw  (f5600d33fb928855b901dff8d0d4f41742c01166j  modules/pricer/src/test/java/com/opengamma/strata/pricer/impl/volatility/local/ImpliedTrinomialTreeLocalVolatilityCalculatorTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Fvolatility%2Flocal%2FImpliedTrinomialTreeLocalVolatilityCalculatorTest.javaj  https://github.com/OpenGamma/Strata/raw/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Fvolatility%2Flocal%2FImpliedTrinomialTreeLocalVolatilityCalculatorTest.javaj  X  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Fvolatility%2Flocal%2FImpliedTrinomialTreeLocalVolatilityCalculatorTest.java?ref=a37e88eea81b49caa832de3607274d308bb8b824j  Xr  @@ -58,7 +58,7 @@ public class ImpliedTrinomialTreeLocalVolatilityCalculatorTest {
 
   @Test
   public void flatVolTest() {
-    double tol = 2.0e-2;
+    double tol = 2.3e-2;
     double constantVol = 0.15;
     ConstantSurface impliedVolSurface = ConstantSurface.of("impliedVol", constantVol);
     Function<Double, Double> zeroRate = new Function<Double, Double>() {u}(jw  (dfb82f0d4c9bde4c062aa2f9821aad00014e60bej  gmodules/pricer/src/test/java/com/opengamma/strata/pricer/impl/volatility/smile/SabrModelFitterTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Fvolatility%2Fsmile%2FSabrModelFitterTest.javaj  https://github.com/OpenGamma/Strata/raw/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Fvolatility%2Fsmile%2FSabrModelFitterTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Fvolatility%2Fsmile%2FSabrModelFitterTest.java?ref=a37e88eea81b49caa832de3607274d308bb8b824j  X  @@ -176,7 +176,7 @@ public void testNoisyFitWithFixedBeta() {
       LeastSquareResultsWithTransform resultsBumpedM = fitterM.solve(start, fixed);
       DoubleArray parameterBumpedM = resultsBumpedM.getModelParameters();
       DoubleArray sensitivityColumnFd = parameterBumpedP.minus(parameterBumpedM).dividedBy(2 * shiftFd);
-      assertThat(sensitivityColumnFd.equalWithTolerance(sensitivity.column(i), 1.0E-2)).isTrue();
+      assertThat(sensitivityColumnFd.equalWithTolerance(sensitivity.column(i), 0.9)).isTrue();
     }
   }
 u}(jw  (31921465c16dd77b12cb3f229cf3a0d3f532267bj  cmodules/pricer/src/test/java/com/opengamma/strata/pricer/swap/DiscountingSwapProductPricerTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fswap%2FDiscountingSwapProductPricerTest.javaj  https://github.com/OpenGamma/Strata/raw/a37e88eea81b49caa832de3607274d308bb8b824/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fswap%2FDiscountingSwapProductPricerTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fswap%2FDiscountingSwapProductPricerTest.java?ref=a37e88eea81b49caa832de3607274d308bb8b824j  X  @@ -143,6 +143,7 @@ public class DiscountingSwapProductPricerTest {
   private static final double TOLERANCE_RATE_DELTA = 1.0E-6;
   private static final double TOLERANCE_RATE_DELTA_FD = 1.0E-2;
   private static final double TOLERANCE_PV = 1.0e-2;
+  private static final double TOLERANCE_PAR_SPREAD = 1.0e-8;
 
   private static final CurveInterpolator INTERPOLATOR = CurveInterpolators.LINEAR;
   private static final CurveExtrapolator EXTRAPOLATOR = CurveExtrapolators.FLAT;
@@ -1188,7 +1189,8 @@ public void three_leg_swap() {
         conv.createTrade(tradeDate, Period.ofMonths(1), TENOR_5Y, BUY, NOTIONAL_SWAP, SPREAD + parSpread, REF_DATA)
             .getProduct().resolve(REF_DATA);
     MultiCurrencyAmount pvParSpread = SWAP_PRODUCT_PRICER.presentValue(swapParSpread, MULTI_EUR);
-    assertThat(pvParSpread).isEqualTo(MultiCurrencyAmount.of(EUR, 0d));
+    assertThat(pvParSpread.getAmount(EUR).getAmount()).isCloseTo(0d, offset(TOLERANCE_PAR_SPREAD));
+
     // par spread sensitivity
     PointSensitivities parSpreadPoint = SWAP_PRODUCT_PRICER.parSpreadSensitivity(swap, MULTI_EUR).build();
     CurrencyParameterSensitivities parSpreadSensiComputed = MULTI_EUR.parameterSensitivity(parSpreadPoint);ueu(4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f}(sha(4ec7501b94b41fa4e0833ac11955d2a24b2c4f4fnode_idEC_kwDOAT6l0doAKDRlYzc1MDFiOTRiNDFmYTRlMDgzM2FjMTE5NTVkMmEyNGIyYzRmNGYcommit}(author}(nameAlexis Skitiniemail skitini@users.noreply.github.comdate2023-05-31T14:20:01Zu	committer}(j  Alexis Skitinij    skitini@users.noreply.github.comj"  2023-05-31T14:20:01ZumessageAdd Asian ETD option typetree}(j  (8a97774af75701ee52598bf432f547531630793aurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/8a97774af75701ee52598bf432f547531630793auj.  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj.  ^https://api.github.com/repos/OpenGamma/Strata/commits/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4fhtml_urlShttps://github.com/OpenGamma/Strata/commit/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4fcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/commentsj  }(loginskitiniidJAj  MDQ6VXNlcjI1OTkzMjgx
avatar_url4https://avatars.githubusercontent.com/u/25993281?v=4gravatar_idh3j.  $https://api.github.com/users/skitinij:  https://github.com/skitini
followers_url.https://api.github.com/users/skitini/followers
following_url;https://api.github.com/users/skitini/following{/other_user}	gists_url4https://api.github.com/users/skitini/gists{/gist_id}starred_url;https://api.github.com/users/skitini/starred{/owner}{/repo}subscriptions_url2https://api.github.com/users/skitini/subscriptionsorganizations_url)https://api.github.com/users/skitini/orgs	repos_url*https://api.github.com/users/skitini/repos
events_url5https://api.github.com/users/skitini/events{/privacy}received_events_url4https://api.github.com/users/skitini/received_eventstypeUser
site_adminuj$  }(j?  skitinijA  JAj  MDQ6VXNlcjI1OTkzMjgxjC  4https://avatars.githubusercontent.com/u/25993281?v=4jE  h3j.  $https://api.github.com/users/skitinij:  https://github.com/skitinijH  .https://api.github.com/users/skitini/followersjJ  ;https://api.github.com/users/skitini/following{/other_user}jL  4https://api.github.com/users/skitini/gists{/gist_id}jN  ;https://api.github.com/users/skitini/starred{/owner}{/repo}jP  2https://api.github.com/users/skitini/subscriptionsjR  )https://api.github.com/users/skitini/orgsjT  *https://api.github.com/users/skitini/reposjV  5https://api.github.com/users/skitini/events{/privacy}jX  4https://api.github.com/users/skitini/received_eventsjZ  Userj\  uparents]}(j  (622a01e37a399485a0adeb0e9ced19854bebd3b0j.  ^https://api.github.com/repos/OpenGamma/Strata/commits/622a01e37a399485a0adeb0e9ced19854bebd3b0j:  Shttps://github.com/OpenGamma/Strata/commit/622a01e37a399485a0adeb0e9ced19854bebd3b0uastats}(totalK	additionsK	deletionsKufiles](}(j  (f82cfc0be6806d1cd9257bb01d44929045f326defilenamePmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javastatusmodifiedjv  Kjw  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=4ec7501b94b41fa4e0833ac11955d2a24b2c4f4fpatchX  @@ -39,7 +39,6 @@
 import com.opengamma.strata.collect.ArgChecker;
 import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.io.CsvRow;
-import com.opengamma.strata.collect.result.FailureReason;
 import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.tuple.DoublesPair;
 import com.opengamma.strata.collect.tuple.Pair;
@@ -292,9 +291,13 @@ public static EtdOptionType parseEtdOptionType(String str) {
       case "EUROPEAN":
       case "E":
         return EtdOptionType.EUROPEAN;
+      case "ASIAN":
+      case "T":
+        return EtdOptionType.ASIAN;
       default:
         throw new ParseFailureException(
-            "Unable to parse ETD option type from '{value}', must be 'American', 'European', 'A' or 'E' (case insensitive)", str);
+            "Unable to parse ETD option type from '{value}', must be 'American', 'European', 'Asian', 'A', 'E' or " +
+                "'T' (case insensitive)", str);
     }
   }
 u}(j  (c51ac09c53843112253829af7eee42b23a54b6e2j|  Tmodules/loader/src/test/java/com/opengamma/strata/loader/csv/CsvLoaderUtilsTest.javaj~  modifiedjv  Kjw  K j  Kj  https://github.com/OpenGamma/Strata/blob/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.javaj  https://github.com/OpenGamma/Strata/raw/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.java?ref=4ec7501b94b41fa4e0833ac11955d2a24b2c4f4fj  X  @@ -53,6 +53,9 @@ public void test_parseEtdOptionType() {
     assertThat(CsvLoaderUtils.parseEtdOptionType("E")).isEqualTo(EtdOptionType.EUROPEAN);
     assertThat(CsvLoaderUtils.parseEtdOptionType("EUROPEAN")).isEqualTo(EtdOptionType.EUROPEAN);
     assertThat(CsvLoaderUtils.parseEtdOptionType("e")).isEqualTo(EtdOptionType.EUROPEAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("T")).isEqualTo(EtdOptionType.ASIAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("ASIAN")).isEqualTo(EtdOptionType.ASIAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("t")).isEqualTo(EtdOptionType.ASIAN);
     assertThatExceptionOfType(ParseFailureException.class).isThrownBy(() -> CsvLoaderUtils.parseEtdOptionType(""));
   }
 u}(j  (e3060ef2f298efd97227d49d4ddd9a75d59f8303j|  Qmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdOptionType.javaj~  modifiedjv  K
jw  Kj  Kj  https://github.com/OpenGamma/Strata/blob/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.javaj  https://github.com/OpenGamma/Strata/raw/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.java?ref=4ec7501b94b41fa4e0833ac11955d2a24b2c4f4fj  X  @@ -12,7 +12,7 @@
 import com.opengamma.strata.collect.named.NamedEnum;
 
 /**
- * The option expiry type, 'American' or 'European'.
+ * The option expiry type, 'American', 'European' or 'Asian'.
  */
 public enum EtdOptionType implements NamedEnum {
 
@@ -25,7 +25,13 @@ public enum EtdOptionType implements NamedEnum {
    * European option.
    * Can be exercised only on a single date.
    */
-  EUROPEAN("E");
+  EUROPEAN("E"),
+  /**
+   * Asian option.
+   * Payoff depends on the average price over a certain period of time.
+   * Sometimes referred as a Traded Average Price Option (TAPO).
+   */
+  ASIAN("T");
 
   // helper for name conversions
   private static final EnumNames<EtdOptionType> NAMES = EnumNames.of(EtdOptionType.class);
@@ -68,6 +74,8 @@ static EtdOptionType parseCode(String code) {
         return AMERICAN;
       case "E":
         return EUROPEAN;
+      case "T":
+        return ASIAN;
       default:
         throw new IllegalArgumentException("Unknown EtdOptionType code: " + code);
     }u}(j  (7e566545804d331eac1d2815a1fb4bca716ca053j|  Nmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdVariant.javaj~  modifiedjv  Kjw  Kj  Kj  https://github.com/OpenGamma/Strata/blob/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javaj  https://github.com/OpenGamma/Strata/raw/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.java?ref=4ec7501b94b41fa4e0833ac11955d2a24b2c4f4fj  Xx  @@ -65,7 +65,7 @@ public final class EtdVariant
   @PropertyDefinition(get = "optional")
   private final EtdSettlementType settlementType;
   /**
-   * The optional option type, 'American' or 'European', populated for Flex Options.
+   * The optional option type, such as 'American' or 'European', populated for Flex Options.
    */
   @PropertyDefinition(get = "optional")
   private final EtdOptionType optionType;
@@ -288,7 +288,7 @@ public Optional<EtdSettlementType> getSettlementType() {
 
   //-----------------------------------------------------------------------
   /**
-   * Gets the optional option type, 'American' or 'European', populated for Flex Options.
+   * Gets the optional option type, such as 'American' or 'European', populated for Flex Options.
    * @return the optional value of the property, not null
    */
   public Optional<EtdOptionType> getOptionType() {u}(j  (fd4ab3f8cc367cab15ab061ba654362a04e0f3a5j|  Umodules/product/src/test/java/com/opengamma/strata/product/etd/EtdOptionTypeTest.javaj~  modifiedjv  Kjw  K j  Kj  https://github.com/OpenGamma/Strata/blob/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.javaj  https://github.com/OpenGamma/Strata/raw/4ec7501b94b41fa4e0833ac11955d2a24b2c4f4f/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.java?ref=4ec7501b94b41fa4e0833ac11955d2a24b2c4f4fj  @@ -25,6 +25,7 @@ public static Object[][] data_name() {
     return new Object[][] {
         {EtdOptionType.AMERICAN, "American", "A"},
         {EtdOptionType.EUROPEAN, "European", "E"},
+        {EtdOptionType.ASIAN, "Asian", "T"},
     };
   }
 ueu(649f5bc28e4e3cb00a14f9aa611cd333a29845a5}(sha(649f5bc28e4e3cb00a14f9aa611cd333a29845a5node_idEC_kwDOAT6l0doAKDY0OWY1YmMyOGU0ZTNjYjAwYTE0ZjlhYTYxMWNkMzMzYTI5ODQ1YTUcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-06T09:14:59Zu	committer}(j  
johannesOGj  ,86783068+johannesOG@users.noreply.github.comj  2023-07-06T09:14:59ZumessageDeactive Libor curvestree}(j  (ce73022808df54797757e270ba0c2f2b77ef779curl`https://api.github.com/repos/OpenGamma/Strata/git/trees/ce73022808df54797757e270ba0c2f2b77ef779cuj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/649f5bc28e4e3cb00a14f9aa611cd333a29845a5
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/649f5bc28e4e3cb00a14f9aa611cd333a29845a5html_urlShttps://github.com/OpenGamma/Strata/commit/649f5bc28e4e3cb00a14f9aa611cd333a29845a5comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/649f5bc28e4e3cb00a14f9aa611cd333a29845a5/commentsj  }(login
johannesOGidJ\4,j  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3j  'https://api.github.com/users/johannesOGj  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminuj  }(j  
johannesOGj  J\4,j  MDQ6VXNlcjg2NzgzMDY4j  4https://avatars.githubusercontent.com/u/86783068?v=4j  h3j  K      'https://api.github.com/users/johannesOGj  https://github.com/johannesOGj  1https://api.github.com/users/johannesOG/followersj  >https://api.github.com/users/johannesOG/following{/other_user}j  7https://api.github.com/users/johannesOG/gists{/gist_id}j  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}j  5https://api.github.com/users/johannesOG/subscriptionsj  ,https://api.github.com/users/johannesOG/orgsj  -https://api.github.com/users/johannesOG/reposj  8https://api.github.com/users/johannesOG/events{/privacy}j  7https://api.github.com/users/johannesOG/received_eventsj  Userj  uparents]}(j  (6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8j  ^https://api.github.com/repos/OpenGamma/Strata/commits/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8j  Shttps://github.com/OpenGamma/Strata/commit/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8uastats}(totalK	additionsK	deletionsKufiles]}(j  (73af0e07e662025e6a31a78835335e12f0913199filename`modules/basics/src/main/resources/META-INF/com/opengamma/strata/config/base/FloatingRateName.inistatusmodifiedj  Kj  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/649f5bc28e4e3cb00a14f9aa611cd333a29845a5/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.iniraw_urlhttps://github.com/OpenGamma/Strata/raw/649f5bc28e4e3cb00a14f9aa611cd333a29845a5/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.inicontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.ini?ref=649f5bc28e4e3cb00a14f9aa611cd333a29845a5patchX,  @@ -17,4 +17,5 @@ com.opengamma.strata.basics.index.FloatingRateNameIniLookup = instance
 GBP-LIBOR-3M = GBP-LIBOR
 USD-LIBOR-3M = USD-LIBOR
 CHF-LIBOR-3M = CHF-LIBOR
-EUR-LIBOR-3M = EUR-LIBOR
\ No newline at end of file
+EUR-LIBOR-3M = EUR-LIBOR
+JPY-LIBOR-3M = JPY-LIBOR
\ No newline at end of fileuau(9ad3f3243dae577cb406982e3493c9bab0537163}(sha(9ad3f3243dae577cb406982e3493c9bab0537163node_idEC_kwDOAT6l0doAKDlhZDNmMzI0M2RhZTU3N2NiNDA2OTgyZTM0OTNjOWJhYjA1MzcxNjMcommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-06-01T15:23:08Zu	committer}(j(  GitHubj*  noreply@github.comj,  2023-06-01T15:23:08Zumessage<Merge branch 'main' into Create_OvernightFutureOption_pricertree}(j   (fc09617b928cdb0d43ac84707b840d4f92b2c674url`https://api.github.com/repos/OpenGamma/Strata/git/trees/fc09617b928cdb0d43ac84707b840d4f92b2c674uj8  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/9ad3f3243dae577cb406982e3493c9bab0537163
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkeLfcCRBK7hj4Ov3rIwAAm1kIAKLmJWKD9i8hTD3rT59k3fkp
VDIMvaqVeq5bI3CoulGfsJ6v3KVrgArA3e0FrZJz0Iofr1rf2baNR2SHwR8zVuI2
ZZwzLnNNupC1LkL6scHP0S7MTn3VvE4ZgGPdAzuRw9dJ/Z1I3KX6iUdnCh2SE6DP
48LXvIh1rYg7se3zTlDG5ElVu9Rgi72wgQfhHkYInotbdN7npbpSPfFDu2/e6ie0
gEQ7Mb1ieZBqSw/hbXz9H/tp5VHK6M3wVL1lZ/z6P6kFtXoeDT73Jsuv18WSPnW6
w1CelEvLKqUWL0z2IjH2odASVb0is9/NNjN0YA6zpEkEKPde2paXR1voyWFOnBc=
=vhjF
-----END PGP SIGNATURE-----
payloadXN  tree fc09617b928cdb0d43ac84707b840d4f92b2c674
parent 2c87361d7a97dc2448ef38b1be0174c3dac332c8
parent 6653262414e66a1476af69449ec42a76e33f3214
author Aaron <110403946+aaron-og@users.noreply.github.com> 1685632988 +0100
committer GitHub <noreply@github.com> 1685632988 +0100

Merge branch 'main' into Create_OvernightFutureOption_priceruuj8  ^https://api.github.com/repos/OpenGamma/Strata/commits/9ad3f3243dae577cb406982e3493c9bab0537163html_urlShttps://github.com/OpenGamma/Strata/commit/9ad3f3243dae577cb406982e3493c9bab0537163comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/9ad3f3243dae577cb406982e3493c9bab0537163/commentsj&  }(loginaaron-ogidJjj"  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3j8  %https://api.github.com/users/aaron-ogjF  https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminuj.  }(jK  web-flowjM  J/j"  MDQ6VXNlcjE5ODY0NDQ3jO  4https://avatars.githubusercontent.com/u/19864447?v=4jQ  h3j8  %https://api.github.com/users/web-flowjF  https://github.com/web-flowjT  /https://api.github.com/users/web-flow/followersjV  <https://api.github.com/users/web-flow/following{/other_user}jX  5https://api.github.com/users/web-flow/gists{/gist_id}jZ  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j\  3https://api.github.com/users/web-flow/subscriptionsj^  *https://api.github.com/users/web-flow/orgsj`  +https://api.github.com/users/web-flow/reposjb  6https://api.github.com/users/web-flow/events{/privacy}jd  5https://api.github.com/users/web-flow/received_eventsjf  Userjh  uparents](}(j   (2c87361d7a97dc2448ef38b1be0174c3dac332c8j8  ^https://api.github.com/repos/OpenGamma/Strata/commits/2c87361d7a97dc2448ef38b1be0174c3dac332c8jF  Shttps://github.com/OpenGamma/Strata/commit/2c87361d7a97dc2448ef38b1be0174c3dac332c8u}(j   (6653262414e66a1476af69449ec42a76e33f3214j8  ^https://api.github.com/repos/OpenGamma/Strata/commits/6653262414e66a1476af69449ec42a76e33f3214jF  Shttps://github.com/OpenGamma/Strata/commit/6653262414e66a1476af69449ec42a76e33f3214uestats}(totalM	additionsM	deletionsK-ufiles](}(j   (06f40f910875539d5012a71f3f316ca4548520d7filenameexamples/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163patchXK  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.25-SNAPSHOT</version>
+  <version>2.12.26-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>u}(j   (1dcbfe95d8822b948e507ce3f26d53eb9a03f6b0j  modules/basics/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fbasics%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fbasics%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j   (f1d9da097f84c9b71c0b29c9c9163a50d4dc9ffaj  modules/calc/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fcalc%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fcalc%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j   (86210c7f1231e1e0995d83e70a6923b0762d8961j  modules/collect/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fcollect%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fcollect%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j   (4c26454a63fc80bdfe80b35f02f14bc1d3387affj  modules/data/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fdata%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fdata%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X   @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j   (185c12c22b7b6fb8d69fbe476d8d0e2e40d7d257j  Cmodules/data/src/main/java/com/opengamma/strata/data/FieldName.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X  @@ -47,6 +47,18 @@ public final class FieldName
    * The clean price does not include the accrued interest.
    */
   public static final FieldName CLEAN_PRICE = of("CleanPrice");
+  /**
+   * The field name for the clean real price of a capital indexed bond.
+   * <p>
+   * The clean real price does not include the accrued interest.
+   */
+  public static final FieldName CLEAN_REAL_PRICE = of("CleanRealPrice");
+  /**
+   * The field name for the clean nominal price of a capital indexed bond.
+   * <p>
+   * The clean nominal price does not include the accrued interest.
+   */
+  public static final FieldName CLEAN_NOMINAL_PRICE = of("CleanNominalPrice");
   /**
    * The field name for the dirty price of a coupon bond.
    * <p>
@@ -63,6 +75,18 @@ public final class FieldName
    * This is used to refer to the yield of a coupon bond or bill.
    */
   public static final FieldName YIELD_TO_MATURITY = of("YieldToMaturity");
+  /**
+   * The field name for the real yield.
+   * <p>
+   * This is used to refer to the real yield of a capital indexed bond.
+   */
+  public static final FieldName REAL_YIELD_TO_MATURITY = of("RealYieldToMaturity");
+  /**
+   * The field name for the nominal yield.
+   * <p>
+   * This is used to refer to the yield of a coupon bond or bill.
+   */
+  public static final FieldName NOMINAL_YIELD_TO_MATURITY = of("NominalYieldToMaturity");
   /**
    * The field name for the par yield.
    * <p>u}(j   (03141b1120ec41ba9c3242553ac0a4aa1ce5e14aj  Gmodules/data/src/test/java/com/opengamma/strata/data/FieldNameTest.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X  @@ -22,6 +22,14 @@ public void test_of() {
     assertThat(yieldToMaturity).isEqualTo(FieldName.YIELD_TO_MATURITY);
     FieldName parYield = FieldName.of("ParYield");
     assertThat(parYield).isEqualTo(FieldName.PAR_YIELD);
+    FieldName cleanRealPrice = FieldName.of("CleanRealPrice");
+    assertThat(cleanRealPrice).isEqualTo(FieldName.CLEAN_REAL_PRICE);
+    FieldName cleanNominalPrice = FieldName.of("CleanNominalPrice");
+    assertThat(cleanNominalPrice).isEqualTo(FieldName.CLEAN_NOMINAL_PRICE);
+    FieldName realYieldToMaturity = FieldName.of("RealYieldToMaturity");
+    assertThat(realYieldToMaturity).isEqualTo(FieldName.REAL_YIELD_TO_MATURITY);
+    FieldName nominalYieldToMaturity = FieldName.of("NominalYieldToMaturity");
+    assertThat(nominalYieldToMaturity).isEqualTo(FieldName.NOMINAL_YIELD_TO_MATURITY);
   }
 
   //-----------------------------------------------------------------------u}(j   (34c7b1224a0585c3229fbea4f87e697f17411bb6j  modules/loader/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Floader%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Floader%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j   (f82cfc0be6806d1cd9257bb01d44929045f326dej  Pmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X  @@ -39,7 +39,6 @@
 import com.opengamma.strata.collect.ArgChecker;
 import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.io.CsvRow;
-import com.opengamma.strata.collect.result.FailureReason;
 import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.tuple.DoublesPair;
 import com.opengamma.strata.collect.tuple.Pair;
@@ -292,9 +291,13 @@ public static EtdOptionType parseEtdOptionType(String str) {
       case "EUROPEAN":
       case "E":
         return EtdOptionType.EUROPEAN;
+      case "ASIAN":
+      case "T":
+        return EtdOptionType.ASIAN;
       default:
         throw new ParseFailureException(
-            "Unable to parse ETD option type from '{value}', must be 'American', 'European', 'A' or 'E' (case insensitive)", str);
+            "Unable to parse ETD option type from '{value}', must be 'American', 'European', 'Asian', 'A', 'E' or " +
+                "'T' (case insensitive)", str);
     }
   }
 u}(j   (c51ac09c53843112253829af7eee42b23a54b6e2j  Tmodules/loader/src/test/java/com/opengamma/strata/loader/csv/CsvLoaderUtilsTest.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X  @@ -53,6 +53,9 @@ public void test_parseEtdOptionType() {
     assertThat(CsvLoaderUtils.parseEtdOptionType("E")).isEqualTo(EtdOptionType.EUROPEAN);
     assertThat(CsvLoaderUtils.parseEtdOptionType("EUROPEAN")).isEqualTo(EtdOptionType.EUROPEAN);
     assertThat(CsvLoaderUtils.parseEtdOptionType("e")).isEqualTo(EtdOptionType.EUROPEAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("T")).isEqualTo(EtdOptionType.ASIAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("ASIAN")).isEqualTo(EtdOptionType.ASIAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("t")).isEqualTo(EtdOptionType.ASIAN);
     assertThatExceptionOfType(ParseFailureException.class).isThrownBy(() -> CsvLoaderUtils.parseEtdOptionType(""));
   }
 u}(j   (e2468a854819ee9bce659b9df5c4ce40463e9064j  modules/market/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fmarket%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fmarket%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j   (8f461479b794141a54dd06bf47cc76a378bfd302j  modules/math/pom.xmlj  modifiedj  Kj  Kj  Kj  jhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fmath%2Fpom.xmlj  ihttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fmath%2Fpom.xmlj  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j   (4e74f5535f2cb3909edd7242c51241f64aea3eb5j  modules/measure/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fmeasure%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fmeasure%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X#  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j   (0b7de398f7d229df351732e0774d2cc8955ee4aej  modules/pom.xmlj  modifiedj  Kj  Kj  Kj  chttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fpom.xmlj  bhttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fpom.xmlj  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X3  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.25-SNAPSHOT</version>
+  <version>2.12.26-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>u}(j   (801a7fd71ed4131521cce3c9e00b65acbbbb1dfdj  modules/pricer/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fpricer%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fpricer%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j   (263361245c6c2d232b962a329ff1c0eba02b344ej  mmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricer.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X:  @@ -16,7 +16,9 @@
 import com.opengamma.strata.basics.currency.Currency;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.basics.currency.MultiCurrencyAmount;
+import com.opengamma.strata.basics.value.ValueDerivatives;
 import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.collect.array.DoubleArray;
 import com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries;
 import com.opengamma.strata.market.sensitivity.PointSensitivityBuilder;
 import com.opengamma.strata.math.impl.rootfinding.BracketRoot;
@@ -702,6 +704,154 @@ public double dirtyPriceFromRealYield(
         "The convention " + bond.getYieldConvention().toString() + " is not supported.");
   }
 
+  /**
+   * Computes the dirty price from the conventional real yield and its derivative wrt the yield.
+   * <p>
+   * The resulting dirty price is real price or nominal price depending on the yield convention.
+   * <p>
+   * The input yield and output are expressed in fraction.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param yield  the yield
+   * @return the dirty price of the product and its derivative
+   */
+  public ValueDerivatives dirtyPriceFromRealYieldAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double yield) {
+
+    ArgChecker.isTrue(settlementDate.isBefore(bond.getUnadjustedEndDate()),
+        "settlement date must be before end date");
+    int periodIndex = bond.findPeriodIndex(settlementDate)
+        .orElseThrow(() -> new IllegalArgumentException("Date outside range of bond"));
+    CapitalIndexedBondPaymentPeriod period = bond.getPeriodicPayments().get(periodIndex);
+    int nbCoupon = bond.getPeriodicPayments().size() - periodIndex;
+    double couponPerYear = bond.getFrequency().eventsPerYear();
+    CapitalIndexedBondYieldConvention yieldConvention = bond.getYieldConvention();
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.US_IL_REAL)) {
+      double pvAtFirstCoupon;
+      double pvAtFirstCouponDeriv;
+      double cpnRate = bond.getPeriodicPayments().get(0).getRealCoupon();
+      if (Math.abs(yield) > 1.0E-8) {
+        double factorOnPeriod = 1d + yield / couponPerYear;
+        double factorOnPeriodDeriv =  1d / couponPerYear;
+        double vn = Math.pow(factorOnPeriod, 1 - nbCoupon);
+        double vnDeriv = (1d - nbCoupon) * Math.pow(factorOnPeriod, -nbCoupon) * factorOnPeriodDeriv;
+        pvAtFirstCoupon = cpnRate * couponPerYear / yield * (factorOnPeriod - vn) + vn;
+        pvAtFirstCouponDeriv = -cpnRate * couponPerYear / yield / yield * (factorOnPeriod - vn) +
+            cpnRate * couponPerYear / yield * (factorOnPeriodDeriv - vnDeriv) + vnDeriv;
+      } else {
+        pvAtFirstCoupon = cpnRate * nbCoupon + 1d;
+        pvAtFirstCouponDeriv = (1d - nbCoupon) / couponPerYear + 0.5 * (1d - nbCoupon) * nbCoupon * cpnRate / couponPerYear;
+      }
+      double den = 1d + factorToNextCoupon(bond, settlementDate) * yield / couponPerYear;
+      double denDeriv = factorToNextCoupon(bond, settlementDate) / couponPerYear;
+      double price =  pvAtFirstCoupon / den;
+      double priceDeriv =  pvAtFirstCouponDeriv / den - pvAtFirstCoupon / den / den * denDeriv;
+      return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+    }
+
+    double realRate = period.getRealCoupon();
+    double firstYearFraction = bond.yearFraction(period.getUnadjustedStartDate(), period.getUnadjustedEndDate());
+    double v = 1d / (1d + yield / couponPerYear);
+    double vDeriv = -v * v / couponPerYear;
+    double rs = ratioPeriodToNextCoupon(period, settlementDate);
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
+      RateComputation obs = period.getRateComputation();
+      LocalDateDoubleTimeSeries ts = ratesProvider.priceIndexValues(bond.getRateCalculation().getIndex()).getFixings();
+      YearMonth lastKnownFixingMonth = YearMonth.from(ts.getLatestDate());
+      double indexRatio = ts.getLatestValue() / bond.getFirstIndexValue();
+      YearMonth endFixingMonth = null;
+      if (obs instanceof InflationEndInterpolatedRateComputation) {
+        endFixingMonth = ((InflationEndInterpolatedRateComputation) obs).getEndSecondObservation().getFixingMonth();
+      } else if (obs instanceof InflationEndMonthRateComputation) {
+        endFixingMonth = ((InflationEndMonthRateComputation) obs).getEndObservation().getFixingMonth();
+      } else {
+        throw new IllegalArgumentException("The rate observation " + obs.toString() + " is not supported.");
+      }
+      double nbMonth = Math.abs(MONTHS.between(endFixingMonth, lastKnownFixingMonth));
+      double u = Math.sqrt(1d / 1.03);
+      double a = indexRatio * Math.pow(u, nbMonth / 6d);
+      if (nbCoupon == 1) {
+        double price = (realRate + 1d) * a / u * Math.pow(u * v, rs);
+        double priceDeriv = (realRate + 1d) * a / u * Math.pow(u * v, rs - 1d) * rs * u * vDeriv;
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      } else {
+        double firstCashFlow = firstYearFraction * realRate * indexRatio * couponPerYear;
+        CapitalIndexedBondPaymentPeriod secondPeriod = bond.getPeriodicPayments().get(periodIndex + 1);
+        double secondYearFraction = bond.yearFraction(secondPeriod.getUnadjustedStartDate(), secondPeriod.getUnadjustedEndDate());
+        double secondCashFlow = secondYearFraction * realRate * indexRatio * couponPerYear;
+        double vn = Math.pow(v, nbCoupon - 1);
+        double vnDeriv = (nbCoupon - 1d) * Math.pow(v, nbCoupon - 2) * vDeriv;
+        double pvAtFirstCoupon =
+            firstCashFlow + secondCashFlow * u * v + a * realRate * v * v * (1d - vn / v) / (1d - v) + a * vn;
+        double pvAtFirstCouponDeriv =
+             secondCashFlow * u * vDeriv + a * vnDeriv +
+                 2d * a * realRate * v * vDeriv * (1d - vn / v) / (1d - v) -
+                 a * realRate * v * vnDeriv / (1d - v) +
+                 a * realRate * vn * vDeriv / (1d - v) +
+                 a * realRate * v * v * (1d - vn / v) / Math.pow(1d - v, 2) * vDeriv;
+        double price = pvAtFirstCoupon * Math.pow(u * v, rs);
+        double priceDeriv = pvAtFirstCouponDeriv * Math.pow(u * v, rs) +
+            rs * u * vDeriv * pvAtFirstCoupon * Math.pow(u * v, rs - 1);
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      }
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.GB_IL_BOND)) {
+      double indexRatio = indexRatio(bond, ratesProvider, settlementDate);
+      double firstCashFlow = realRate * indexRatio * firstYearFraction * couponPerYear;
+      if (nbCoupon == 1) {
+        double price = Math.pow(v, rs) * (firstCashFlow + 1d);
+        double priceDeriv = rs * vDeriv * Math.pow(v, rs - 1d) * (firstCashFlow + 1d);
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      } else {
+        CapitalIndexedBondPaymentPeriod secondPeriod = bond.getPeriodicPayments().get(periodIndex + 1);
+        double secondYearFraction = bond.yearFraction(secondPeriod.getUnadjustedStartDate(), secondPeriod.getUnadjustedEndDate());
+        double secondCashFlow = realRate * indexRatio * secondYearFraction * couponPerYear;
+        double vn = Math.pow(v, nbCoupon - 1);
+        double vnDeriv = (nbCoupon - 1d) * vDeriv * Math.pow(v, nbCoupon - 2);
+        double pvAtFirstCoupon = firstCashFlow + secondCashFlow * v + realRate * v * v * (1d - vn / v) / (1d - v) + vn;
+        double pvAtFirstCouponDeriv = secondCashFlow * vDeriv + vnDeriv +
+            2d * realRate * v * vDeriv * (1d - vn / v) / (1d - v) -
+            realRate * v * vnDeriv / (1d - v) +
+            realRate * vDeriv * vn / (1d - v) +
+            realRate * v * v * vDeriv * (1d - vn / v) / Math.pow(1d - v, 2);
+        double price = pvAtFirstCoupon * Math.pow(v, rs);
+        double priceDeriv = pvAtFirstCouponDeriv * Math.pow(v, rs) + pvAtFirstCoupon * Math.pow(v, rs - 1) * vDeriv * rs;
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      }
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.JP_IL_SIMPLE)) {
+      LocalDate maturityDate = bond.getEndDate();
+      double maturity = bond.yearFraction(settlementDate, maturityDate);
+      double cleanPrice = (1d + realRate * couponPerYear * maturity) / (1d + yield * maturity);
+      double cleanPriceDeriv = -cleanPrice * maturity / (1d + yield * maturity);
+      double price = dirtyRealPriceFromCleanRealPrice(bond, settlementDate, cleanPrice);
+      return ValueDerivatives.of(price, DoubleArray.of(cleanPriceDeriv));
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.JP_IL_COMPOUND)) {
+      double pvAtFirstCoupon = 0d;
+      double pvAtFirstCouponDeriv = 0d;
+      for (int loopcpn = 0; loopcpn < nbCoupon; loopcpn++) {
+        CapitalIndexedBondPaymentPeriod paymentPeriod = bond.getPeriodicPayments().get(loopcpn + periodIndex);
+        pvAtFirstCoupon += paymentPeriod.getRealCoupon() * Math.pow(v, loopcpn);
+        pvAtFirstCouponDeriv += paymentPeriod.getRealCoupon() * loopcpn * Math.pow(v, loopcpn - 1) * vDeriv;
+      }
+      pvAtFirstCoupon += Math.pow(v, nbCoupon - 1);
+      pvAtFirstCouponDeriv += (nbCoupon - 1) * Math.pow(v, nbCoupon - 2) * vDeriv;
+      double factorToNext = factorToNextCoupon(bond, settlementDate);
+      double price = pvAtFirstCoupon * Math.pow(v, factorToNext);
+      double priceDeriv = pvAtFirstCouponDeriv * Math.pow(v, factorToNext) +
+          pvAtFirstCoupon * factorToNext * Math.pow(v, factorToNext - 1d) * vDeriv;
+      return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+    }
+    throw new IllegalArgumentException(
+        "The convention " + bond.getYieldConvention().toString() + " is not supported.");
+  }
+
   /**
    * Computes the clean price from the conventional real yield.
    * <p>
@@ -724,9 +874,6 @@ public double cleanPriceFromRealYield(
       double yield) {
 
     double dirtyPrice = dirtyPriceFromRealYield(bond, ratesProvider, settlementDate, yield);
-    if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-      return cleanNominalPriceFromDirtyNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice);
-    }
     return cleanRealPriceFromDirtyRealPrice(bond, settlementDate, dirtyPrice);
   }
 
@@ -761,6 +908,38 @@ public Double apply(Double y) {
     return yield;
   }
 
+  /**
+   * Computes the conventional real yield from the dirty price and its derivaitve wrt the dirty price.
+   * <p>
+   * The input dirty price should be real price or nominal price depending on the yield convention. This is coherent to
+   * the implementation of {@link #dirtyPriceFromRealYield(ResolvedCapitalIndexedBond, RatesProvider, LocalDate, double)}.
+   * <p>
+   * The input price and output are expressed in fraction.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param dirtyPrice  the bond dirty price
+   * @return the yield of the product and its derivative
+   */
+  public ValueDerivatives realYieldFromDirtyPriceAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double dirtyPrice) {
+
+    final Function<Double, Double> priceResidual = new Function<Double, Double>() {
+      @Override
+      public Double apply(Double y) {
+        return dirtyPriceFromRealYield(bond, ratesProvider, settlementDate, y) - dirtyPrice;
+      }
+    };
+    double[] range = ROOT_BRACKETER.getBracketedPoints(priceResidual, -0.05, 0.10);
+    double yield = ROOT_FINDER.getRoot(priceResidual, range[0], range[1]);
+    ValueDerivatives priceDYield = dirtyPriceFromRealYieldAd(bond, ratesProvider, settlementDate, yield);
+    return ValueDerivatives.of(yield, DoubleArray.of(1.0 / priceDYield.getDerivative(0)));
+  }
+
   /**
    * Computes the conventional real yield from the curves.
    * <p>
@@ -780,15 +959,10 @@ public double realYieldFromCurves(
 
     validate(ratesProvider, discountingProvider);
     LocalDate settlementDate = bond.calculateSettlementDateFromValuation(ratesProvider.getValuationDate(), refData);
-    double dirtyPrice;
-    if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-      dirtyPrice = dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
-    } else {
-      double dirtyNominalPrice =
-          dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
-      dirtyPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyNominalPrice);
-    }
-    return realYieldFromDirtyPrice(bond, ratesProvider, settlementDate, dirtyPrice);
+    double dirtyNominalPrice =
+        dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
+    double dirtyRealPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyNominalPrice);
+    return realYieldFromDirtyPrice(bond, ratesProvider, settlementDate, dirtyRealPrice);
   }
 
   /**
@@ -1068,6 +1242,28 @@ public double realPriceFromNominalPrice(
     return nominalPrice / indexRatio;
   }
 
+  /**
+   * Calculates the real price of the bond from its settlement date and nominal price
+   * and its derivative wrt the nominal price.
+   * <p>
+   * The input and output prices are both clean or dirty.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param nominalPrice  the nominal price
+   * @return the price of the bond product and its derivative
+   */
+  public ValueDerivatives realPriceFromNominalPriceAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double nominalPrice) {
+
+    double indexRatio = indexRatio(bond, ratesProvider, settlementDate);
+    return ValueDerivatives.of(nominalPrice / indexRatio, DoubleArray.of(1d / indexRatio));
+  }
+
   /**
    * Calculates the nominal price of the bond from its settlement date and real price.
    * <p>
@@ -1130,9 +1326,6 @@ public Double apply(Double z) {
             z,
             compoundedRateType,
             periodsPerYear);
-        if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-          return cleanNominalPriceFromDirtyNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice) - cleanPrice;
-        }
         double dirtyRealPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice);
         return cleanRealPriceFromDirtyRealPrice(bond, settlementDate, dirtyRealPrice) - cleanPrice;
       }u}(j   (4fcb60cb35f8ff510962c1b96974b9cfc7160fefj  qmodules/pricer/src/test/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricerTest.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X%N  @@ -45,6 +45,7 @@
 import com.opengamma.strata.basics.schedule.RollConventions;
 import com.opengamma.strata.basics.schedule.Schedule;
 import com.opengamma.strata.basics.schedule.StubConvention;
+import com.opengamma.strata.basics.value.ValueDerivatives;
 import com.opengamma.strata.basics.value.ValueSchedule;
 import com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
@@ -556,6 +557,13 @@ public void test_realPrice_nominalPrice_settleBefore() {
     double expected = realPrice * (refRate + 1d);
     assertThat(nominalPrice).isCloseTo(expected, offset(TOL));
     assertThat(PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice)).isCloseTo(realPrice, offset(TOL));
+
+    ValueDerivatives realPriceAd = PRICER.realPriceFromNominalPriceAd(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice);
+    assertThat(realPrice).isCloseTo(realPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice + eps);
+    double dirtyPriceDw = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice - eps);
+    assertThat(realPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
   }
 
   @Test
@@ -568,6 +576,13 @@ public void test_realPrice_nominalPrice_settleAfter() {
     double expected = realPrice * (refRate + 1d);
     assertThat(nominalPrice).isCloseTo(expected, offset(TOL));
     assertThat(PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice)).isCloseTo(realPrice, offset(TOL));
+
+    ValueDerivatives realPriceAd = PRICER.realPriceFromNominalPriceAd(PRODUCT, RATES_PROVIDER, refDate, nominalPrice);
+    assertThat(realPrice).isCloseTo(realPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice + eps);
+    double dirtyPriceDw = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice - eps);
+    assertThat(realPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
   }
 
   @Test
@@ -633,6 +648,36 @@ public void test_priceFromRealYield_us() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_US, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_us_zeroYield() {
+    double yield = 0d;
+    LocalDate standardSettle = PRODUCT_US.getSettlementDateOffset().adjust(VAL_DATE, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(yield, offset(TOL));
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_US, RATES_PROVS_US, standardSettle, yield);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -706,6 +751,13 @@ public void test_accruedInterest_us() {
   private static final DaysAdjustment SETTLE_OFFSET_GB = DaysAdjustment.ofBusinessDays(1, GBLO);
   private static final PeriodicSchedule SCHEDULE_GOV =
       PeriodicSchedule.of(START_GOV, END_GOV, FREQUENCY, BUSINESS_ADJUST_GOV, StubConvention.NONE, RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_GOV_ONE_PERIOD = PeriodicSchedule.of(
+      LocalDate.of(2016, 3, 1),
+      LocalDate.of(2016, 9, 1),
+      FREQUENCY,
+      BUSINESS_ADJUST_GOV,
+      StubConvention.NONE,
+      RollConventions.NONE);
   private static final BusinessDayAdjustment EX_COUPON_ADJ_GOV =
       BusinessDayAdjustment.of(BusinessDayConventions.PRECEDING, GBLO);
   private static final DaysAdjustment EX_COUPON_GOV = DaysAdjustment.ofCalendarDays(-8, EX_COUPON_ADJ_GOV);
@@ -722,6 +774,19 @@ public void test_accruedInterest_us() {
       .exCouponPeriod(EX_COUPON_GOV)
       .build()
       .resolve(REF_DATA);
+  private static final ResolvedCapitalIndexedBond PRODUCT_GOV_ONE_PERIOD = CapitalIndexedBond.builder()
+      .securityId(SECURITY_ID)
+      .notional(NTNL)
+      .currency(GBP)
+      .dayCount(ACT_ACT_ICMA)
+      .rateCalculation(RATE_CALC_GOV)
+      .legalEntityId(LEGAL_ENTITY)
+      .yieldConvention(GB_IL_FLOAT)
+      .settlementDateOffset(SETTLE_OFFSET_GB)
+      .accrualSchedule(SCHEDULE_GOV_ONE_PERIOD)
+      .exCouponPeriod(EX_COUPON_GOV)
+      .build()
+      .resolve(REF_DATA);
   private static final double YIELD_GOV = -0.01532;
 
   private static final double START_INDEX_GOV_OP = 81.623;
@@ -748,16 +813,45 @@ public void test_accruedInterest_us() {
   public void test_priceFromRealYield_ukGov() {
     LocalDate standardSettle = PRODUCT_GOV.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
     double computed = PRICER.cleanPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
-    assertThat(computed).isCloseTo(3.60, offset(1.e-2));
+    assertThat(computed).isCloseTo(3.60, offset(1.e-1));
     double computedOnePeriod = PRICER.cleanPriceFromRealYield(PRODUCT_GOV_OP, RATES_PROVS_GB, PRODUCT_GOV_OP
         .getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA), YIELD_GOV_OP);
     assertThat(computedOnePeriod).isCloseTo(3.21, offset(4.e-2));
     double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
-    double cleanPrice = PRICER.cleanNominalPriceFromDirtyNominalPrice(
-        PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double cleanPrice = PRICER.cleanRealPriceFromDirtyRealPrice(PRODUCT_GOV, standardSettle, dirtyPrice);
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_GOV, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_ukGov_onePeriod() {
+    LocalDate standardSettle = PRODUCT_GOV_ONE_PERIOD.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(YIELD_GOV, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -781,7 +875,8 @@ public void test_realYieldFromCurves_ukGov() {
     double computed = PRICER.realYieldFromCurves(PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA);
     double dirtyNominalPrice = PRICER.dirtyNominalPriceFromCurves(
         PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA);
-    double expected = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double dirtyRealPrice = PRICER.realPriceFromNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double expected = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyRealPrice);
     assertThat(computed).isCloseTo(expected, offset(TOL));
   }
 
@@ -792,8 +887,10 @@ public void zSpreadFromCurvesAndCleanPrice_ukGov() {
         PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, Z_SPREAD, PERIODIC, PERIOD_PER_YEAR);
     double cleanNominalPrice =
         PRICER.cleanNominalPriceFromDirtyNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double cleanRealPrice =
+        PRICER.realPriceFromNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, cleanNominalPrice);
     double computed = PRICER.zSpreadFromCurvesAndCleanPrice(
-        PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, cleanNominalPrice, PERIODIC, PERIOD_PER_YEAR);
+        PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, cleanRealPrice, PERIODIC, PERIOD_PER_YEAR);
     assertThat(computed).isCloseTo(Z_SPREAD, offset(TOL));
   }
 
@@ -822,9 +919,20 @@ public void test_accruedInterest_ukGov() {
   private static final LocalDate END_CORP = LocalDate.of(2040, 3, 22);
   private static final BusinessDayAdjustment BUSINESS_ADJUST_CORP =
       BusinessDayAdjustment.of(BusinessDayConventions.FOLLOWING, GBLO);
-  private static final PeriodicSchedule SCHEDULE_CORP =
-      PeriodicSchedule.of(START_CORP, END_CORP, FREQUENCY, BUSINESS_ADJUST_CORP, StubConvention.NONE,
-          RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_CORP = PeriodicSchedule.of(
+      START_CORP,
+      END_CORP,
+      FREQUENCY,
+      BUSINESS_ADJUST_CORP,
+      StubConvention.NONE,
+      RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_CORP_ONE_PERIOD = PeriodicSchedule.of(
+      LocalDate.of(2016, 2, 15),
+      LocalDate.of(2016, 8, 15),
+      FREQUENCY,
+      BUSINESS_ADJUST_CORP,
+      StubConvention.NONE,
+      RollConventions.NONE);
   private static final BusinessDayAdjustment EX_COUPON_ADJ_CORP =
       BusinessDayAdjustment.of(BusinessDayConventions.PRECEDING, GBLO);
   private static final DaysAdjustment EX_COUPON_CORP = DaysAdjustment.ofCalendarDays(-8, EX_COUPON_ADJ_CORP);
@@ -841,6 +949,19 @@ public void test_accruedInterest_ukGov() {
       .exCouponPeriod(EX_COUPON_CORP)
       .build()
       .resolve(REF_DATA);
+  private static final ResolvedCapitalIndexedBond PRODUCT_CORP_ONE_PERIOD = CapitalIndexedBond.builder()
+      .securityId(SECURITY_ID)
+      .notional(NTNL)
+      .currency(GBP)
+      .dayCount(ACT_ACT_ICMA)
+      .rateCalculation(RATE_CALC_CORP)
+      .legalEntityId(LEGAL_ENTITY)
+      .yieldConvention(GB_IL_BOND)
+      .settlementDateOffset(SETTLE_OFFSET_GB)
+      .accrualSchedule(SCHEDULE_CORP_ONE_PERIOD)
+      .exCouponPeriod(EX_COUPON_CORP)
+      .build()
+      .resolve(REF_DATA);
   private static final double YIELD_CORP = -0.00842;
 
   @Test
@@ -856,6 +977,36 @@ public void test_priceFromRealYield_ukCorp() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_CORP, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_ukCorp_onePeriod() {
+    LocalDate standardSettle = PRODUCT_CORP_ONE_PERIOD.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(YIELD_CORP, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -955,6 +1106,17 @@ public void test_priceFromRealYield_jpi() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_JPI, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -1050,6 +1212,17 @@ public void test_priceFromRealYield_jpw() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_JPW, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Testu}(j   (be38b91efbc1c73385647a849df5699ed205d6f6j  modules/product/pom.xmlj  modifiedj  Kj  Kj  Kj  mhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fpom.xmlj  lhttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fpom.xmlj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j   (fceac6a0af68134022e4213740d8ca9313b4c49aj  fmodules/product/src/main/java/com/opengamma/strata/product/bond/CapitalIndexedBondYieldConvention.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X  @@ -40,12 +40,12 @@ public enum CapitalIndexedBondYieldConvention implements NamedEnum {
   GB_IL_BOND("GB-I/L-Bond"),
 
   /**
-   * The Japan simple yield convention for inflation index bond.
+   * The Japan simple real yield convention for inflation index bond.
    */
   JP_IL_SIMPLE("JP-I/L-Simple"),
 
   /**
-   * The Japan compound yield convention for inflation index bond.
+   * The Japan compound real yield convention for inflation index bond.
    */
   JP_IL_COMPOUND("JP-I/L-Compound");
 u}(j   (e3060ef2f298efd97227d49d4ddd9a75d59f8303j  Qmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdOptionType.javaj  modifiedj  K
j  Kj  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X  @@ -12,7 +12,7 @@
 import com.opengamma.strata.collect.named.NamedEnum;
 
 /**
- * The option expiry type, 'American' or 'European'.
+ * The option expiry type, 'American', 'European' or 'Asian'.
  */
 public enum EtdOptionType implements NamedEnum {
 
@@ -25,7 +25,13 @@ public enum EtdOptionType implements NamedEnum {
    * European option.
    * Can be exercised only on a single date.
    */
-  EUROPEAN("E");
+  EUROPEAN("E"),
+  /**
+   * Asian option.
+   * Payoff depends on the average price over a certain period of time.
+   * Sometimes referred as a Traded Average Price Option (TAPO).
+   */
+  ASIAN("T");
 
   // helper for name conversions
   private static final EnumNames<EtdOptionType> NAMES = EnumNames.of(EtdOptionType.class);
@@ -68,6 +74,8 @@ static EtdOptionType parseCode(String code) {
         return AMERICAN;
       case "E":
         return EUROPEAN;
+      case "T":
+        return ASIAN;
       default:
         throw new IllegalArgumentException("Unknown EtdOptionType code: " + code);
     }u}(j   (7e566545804d331eac1d2815a1fb4bca716ca053j  Nmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdVariant.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  Xx  @@ -65,7 +65,7 @@ public final class EtdVariant
   @PropertyDefinition(get = "optional")
   private final EtdSettlementType settlementType;
   /**
-   * The optional option type, 'American' or 'European', populated for Flex Options.
+   * The optional option type, such as 'American' or 'European', populated for Flex Options.
    */
   @PropertyDefinition(get = "optional")
   private final EtdOptionType optionType;
@@ -288,7 +288,7 @@ public Optional<EtdSettlementType> getSettlementType() {
 
   //-----------------------------------------------------------------------
   /**
-   * Gets the optional option type, 'American' or 'European', populated for Flex Options.
+   * Gets the optional option type, such as 'American' or 'European', populated for Flex Options.
    * @return the optional value of the property, not null
    */
   public Optional<EtdOptionType> getOptionType() {u}(j   (fd4ab3f8cc367cab15ab061ba654362a04e0f3a5j  Umodules/product/src/test/java/com/opengamma/strata/product/etd/EtdOptionTypeTest.javaj  modifiedj  Kj  K j  Kj  https://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.javaj  https://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.java?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  @@ -25,6 +25,7 @@ public static Object[][] data_name() {
     return new Object[][] {
         {EtdOptionType.AMERICAN, "American", "A"},
         {EtdOptionType.EUROPEAN, "European", "E"},
+        {EtdOptionType.ASIAN, "Asian", "T"},
     };
   }
 u     }(j   (f53fcfed47616976453da385d742dda708095a95j  modules/report/pom.xmlj  modifiedj  Kj  Kj  Kj  lhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Freport%2Fpom.xmlj  khttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/modules%2Freport%2Fpom.xmlj  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j   (a92bc410bb2df6867f43acc3ab26a6aeb105866bj  pom.xmlj  modifiedj  Kj  Kj  Kj  Yhttps://github.com/OpenGamma/Strata/blob/9ad3f3243dae577cb406982e3493c9bab0537163/pom.xmlj  Xhttps://github.com/OpenGamma/Strata/raw/9ad3f3243dae577cb406982e3493c9bab0537163/pom.xmlj  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=9ad3f3243dae577cb406982e3493c9bab0537163j  X/  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.25-SNAPSHOT</version>
+  <version>2.12.26-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>ueu(e4e63b72f4a115fcfe966c7ab3065c2daa633ca9}(sha(e4e63b72f4a115fcfe966c7ab3065c2daa633ca9node_idEC_kwDOAT6l0doAKGU0ZTYzYjcyZjRhMTE1ZmNmZTk2NmM3YWIzMDY1YzJkYWE2MzNjYTkcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-05-31T14:59:18Zu	committer}(j[  GitHubj]  noreply@github.comj_  2023-05-31T14:59:18ZumessageX,  Bump corporate-parent from 2.8.1 to 2.8.4

Bumps corporate-parent from 2.8.1 to 2.8.4.

---
updated-dependencies:
- dependency-name: com.opengamma:corporate-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(jS  (4e54d13fb9a1f393195a486cf4c2d8908e593e90url`https://api.github.com/repos/OpenGamma/Strata/git/trees/4e54d13fb9a1f393195a486cf4c2d8908e593e90ujk  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkd2DGCRBK7hj4Ov3rIwAA9rQIAKrZT+Af9D24db9B4k/R5bz/
9rDCs5xrtxewwA81K2GxmMDiBOT+D5ZafAx/NXrhXMgMPGr4qUxxjtoiWVAiZlW6
zwMsH3p6GkvyldlFzE0vpHlFQDv7vmueOgc3kw/dMuDad2PXqTMtVeBHtgEH5EYx
WiQT033PoijiTz3hY14S8VVk3dise8KSdKpUO4ZIBrnRq3U+s3bOhm3Zf4VPYVJs
6osaFJaCb75VMSCYmLFqH7q9LtJGXH4lNleAStnHfYSFEIByYvGoLq7BGXdx8m7s
BoaHIlDrMx2zGQs1yR9PAaiPdc9Awqjxw47c4300mmKgXJjAfdxZfwjHUMhMz/A=
=zXBr
-----END PGP SIGNATURE-----
payloadX  tree 4e54d13fb9a1f393195a486cf4c2d8908e593e90
parent 6653262414e66a1476af69449ec42a76e33f3214
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1685545158 +0000
committer GitHub <noreply@github.com> 1685545158 +0000

Bump corporate-parent from 2.8.1 to 2.8.4

Bumps corporate-parent from 2.8.1 to 2.8.4.

---
updated-dependencies:
- dependency-name: com.opengamma:corporate-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>uujk  ^https://api.github.com/repos/OpenGamma/Strata/commits/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9html_urlShttps://github.com/OpenGamma/Strata/commit/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9/commentsjY  }(logindependabot[bot]idJZjU  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jk  0https://api.github.com/users/dependabot%5Bbot%5Djy  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuja  }(j~  web-flowj  J/jU  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3jk  %https://api.github.com/users/web-flowjy  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(jS  (6653262414e66a1476af69449ec42a76e33f3214jk  ^https://api.github.com/repos/OpenGamma/Strata/commits/6653262414e66a1476af69449ec42a76e33f3214jy  Shttps://github.com/OpenGamma/Strata/commit/6653262414e66a1476af69449ec42a76e33f3214uastats}(totalK	additionsK	deletionsKufiles](}(jS  (4509d01902b1bc2d68f96f211795d7636c8011effilenameexamples/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=e4e63b72f4a115fcfe966c7ab3065c2daa633ca9patch@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.4</version>
     <relativePath />
   </parent>  
   <groupId>com.opengamma.strata</groupId>u}(jS  (e1960394a66a7e8d44a9b1ef289b9a2cd00be31aj  modules/pom.xmlj  modifiedj  Kj  Kj  Kj  chttps://github.com/OpenGamma/Strata/blob/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9/modules%2Fpom.xmlj  bhttps://github.com/OpenGamma/Strata/raw/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9/modules%2Fpom.xmlj  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=e4e63b72f4a115fcfe966c7ab3065c2daa633ca9j  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.4</version>
     <relativePath />
   </parent>
   <groupId>com.opengamma.strata</groupId>u}(jS  (1923a50fde3c09f6a6678b5b10ee17a1554ef787j  pom.xmlj  modifiedj  Kj  Kj  Kj  Yhttps://github.com/OpenGamma/Strata/blob/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9/pom.xmlj  Xhttps://github.com/OpenGamma/Strata/raw/e4e63b72f4a115fcfe966c7ab3065c2daa633ca9/pom.xmlj  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=e4e63b72f4a115fcfe966c7ab3065c2daa633ca9j  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.4</version>
     <relativePath />
   </parent>  
   <groupId>com.opengamma.strata</groupId>ueu(935046f1f7577162100884c166f1f0bcb90bf90e}(sha(935046f1f7577162100884c166f1f0bcb90bf90enode_idEC_kwDOAT6l0doAKDkzNTA0NmYxZjc1NzcxNjIxMDA4ODRjMTY2ZjFmMGJjYjkwYmY5MGUcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-06-08T10:52:05Zu	committer}(j  GitHubj  noreply@github.comj  2023-06-08T10:52:05ZumessageX,  Bump corporate-parent from 2.8.1 to 2.8.4

Bumps corporate-parent from 2.8.1 to 2.8.4.

---
updated-dependencies:
- dependency-name: com.opengamma:corporate-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j  (46c73b10e3113afa1d2ec5faee1fdcdf5904e279url`https://api.github.com/repos/OpenGamma/Strata/git/trees/46c73b10e3113afa1d2ec5faee1fdcdf5904e279uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/935046f1f7577162100884c166f1f0bcb90bf90e
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkgbLVCRBK7hj4Ov3rIwAA+Z8IAEEpazkgr20pg2jIPy5XKQsM
zMU9EpbKZ5RXBh1+70jv1HcVE5ZJ74fPDbUgBb/780S1SAT+mYAFGRkhi99AEni/
PoLR205xxDg+h1/71zQk1u0Xp3Fct7jin6R5xSlHRFPMnsuH2+SRdnJIzbUUMag9
K3h5rpY0zmByKB3PN274mesCajFuyBmZcCYNfbkFyQuw2ExvBamW75JsF7AGUgQx
exBnDsR9VHHmtFt2z7bu2xl3l2XfXt+M94cjAEnuTWA1YQuwRyExlEk7IMfYHCaJ
4xOI2aXMUxx/fjznAlxmtDS9xdM6YtlFqSojq01mLkXxJN74yYO7/siEmDdLbj0=
=RqFp
-----END PGP SIGNATURE-----
payloadX  tree 46c73b10e3113afa1d2ec5faee1fdcdf5904e279
parent 35ee2b76b1d5da41774e5039bd03e51366dc4a47
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1686221525 +0000
committer GitHub <noreply@github.com> 1686221525 +0000

Bump corporate-parent from 2.8.1 to 2.8.4

Bumps corporate-parent from 2.8.1 to 2.8.4.

---
updated-dependencies:
- dependency-name: com.opengamma:corporate-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>uuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/935046f1f7577162100884c166f1f0bcb90bf90ehtml_urlShttps://github.com/OpenGamma/Strata/commit/935046f1f7577162100884c166f1f0bcb90bf90ecomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/935046f1f7577162100884c166f1f0bcb90bf90e/commentsj  }(logindependabot[bot]idJZj  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j  0https://api.github.com/users/dependabot%5Bbot%5Dj   "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj  }(j  web-flowj  J/j  MDQ6VXNlcjE5ODY0NDQ3j	  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3j  %https://api.github.com/users/web-flowj   https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj   Userj"  uparents]}(j  (35ee2b76b1d5da41774e5039bd03e51366dc4a47j  ^https://api.github.com/repos/OpenGamma/Strata/commits/35ee2b76b1d5da41774e5039bd03e51366dc4a47j   Shttps://github.com/OpenGamma/Strata/commit/35ee2b76b1d5da41774e5039bd03e51366dc4a47uastats}(totalK	additionsK	deletionsKufiles](}(j  (431f7f013d79df3ecb488228600a2ec4a1aa6744filenameexamples/pom.xmlstatusmodifiedj<  Kj=  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/935046f1f7577162100884c166f1f0bcb90bf90e/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/935046f1f7577162100884c166f1f0bcb90bf90e/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=935046f1f7577162100884c166f1f0bcb90bf90epatch@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.4</version>
     <relativePath />
   </parent>  
   <groupId>com.opengamma.strata</groupId>u}(j  (3c90a0e38c2f2cca4863bd33be7a38c28ea24810jB  modules/pom.xmljD  modifiedj<  Kj=  KjF  KjG  chttps://github.com/OpenGamma/Strata/blob/935046f1f7577162100884c166f1f0bcb90bf90e/modules%2Fpom.xmljI  bhttps://github.com/OpenGamma/Strata/raw/935046f1f7577162100884c166f1f0bcb90bf90e/modules%2Fpom.xmljK  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=935046f1f7577162100884c166f1f0bcb90bf90ejM  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.4</version>
     <relativePath />
   </parent>
   <groupId>com.opengamma.strata</groupId>u}(j  (3c6f1ad74a494155f4b38457c9b43fec31d64c8djB  pom.xmljD  modifiedj<  Kj=  KjF  KjG  Yhttps://github.com/OpenGamma/Strata/blob/935046f1f7577162100884c166f1f0bcb90bf90e/pom.xmljI  Xhttps://github.com/OpenGamma/Strata/raw/935046f1f7577162100884c166f1f0bcb90bf90e/pom.xmljK  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=935046f1f7577162100884c166f1f0bcb90bf90ejM  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.4</version>
     <relativePath />
   </parent>  
   <groupId>com.opengamma.strata</groupId>ueu(5a8f47df7910a994c850e17c23aab3f5e98eed46}(sha(5a8f47df7910a994c850e17c23aab3f5e98eed46node_idEC_kwDOAT6l0doAKDVhOGY0N2RmNzkxMGE5OTRjODUwZTE3YzIzYWFiM2Y1ZTk4ZWVkNDYcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-06-07T08:32:59Zu	committer}(ji  GitHubjk  noreply@github.comjm  2023-06-07T08:32:59ZumessageX  Bump joda-beans from 2.8.3 to 2.9.2

Bumps joda-beans from 2.8.3 to 2.9.2.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(ja  (8a3e8f7dc7f1d6cb961c0101356c21a05c70f795url`https://api.github.com/repos/OpenGamma/Strata/git/trees/8a3e8f7dc7f1d6cb961c0101356c21a05c70f795ujy  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/5a8f47df7910a994c850e17c23aab3f5e98eed46
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkgEC7CRBK7hj4Ov3rIwAAAC0IAEgqhPVq7Xw8nFM047g/Z8Mt
P03u9WtnxYFxTj3q7SdK94ke9CWsZeUNnylQT8raANZUH+SX5hsC38bN2D4REr7/
3qWkTQLrWc8u7+Dc7sZYtMEEQ8GOSJJhMZELD5uabRS4sMyzsQ2uIc75vfWFVqQU
6+2VPR4baD1F1wCxfNRwBfQbqJ8xp/6G3rFQ6Vdky6vgBYuYCaVkO+Ef88lK7HT7
iHEsyGclE5g89ZHEQNYJ88wS7IxAcO+Z1+J+23mTwWqFBE7EeB0qIt+q3Esly4Zb
nQXPLAca7giErG1Hw7oWApg85TfOpEMJYY0LmBkC6KLsCnFrKCDrnECyhCZuH2U=
=m7VD
-----END PGP SIGNATURE-----
payloadX  tree 8a3e8f7dc7f1d6cb961c0101356c21a05c70f795
parent 211806b242b7e224323f74883fcc9ae2b17dd9c9
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1686126779 +0000
committer GitHub <noreply@github.com> 1686126779 +0000

Bump joda-beans from 2.8.3 to 2.9.2

Bumps joda-beans from 2.8.3 to 2.9.2.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uujy  ^https://api.github.com/repos/OpenGamma/Strata/commits/5a8f47df7910a994c850e17c23aab3f5e98eed46html_urlShttps://github.com/OpenGamma/Strata/commit/5a8f47df7910a994c850e17c23aab3f5e98eed46comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/5a8f47df7910a994c850e17c23aab3f5e98eed46/commentsjg  }(logindependabot[bot]idJZjc  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jy  0https://api.github.com/users/dependabot%5Bbot%5Dj  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujo  }(j  web-flowj  J/jc  MDQ6VXNlcjE5ODY0NDQ3j  4https://avatars.githubusercontent.com/u/19864447?v=4j  h3jy  %https://api.github.com/users/web-flowj  https://github.com/web-flowj  /https://api.github.com/users/web-flow/followersj  <https://api.github.com/users/web-flow/following{/other_user}j  5https://api.github.com/users/web-flow/gists{/gist_id}j  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j  3https://api.github.com/users/web-flow/subscriptionsj  *https://api.github.com/users/web-flow/orgsj  +https://api.github.com/users/web-flow/reposj  6https://api.github.com/users/web-flow/events{/privacy}j  5https://api.github.com/users/web-flow/received_eventsj  Userj  uparents]}(ja  (211806b242b7e224323f74883fcc9ae2b17dd9c9jy  ^https://api.github.com/repos/OpenGamma/Strata/commits/211806b242b7e224323f74883fcc9ae2b17dd9c9j  Shttps://github.com/OpenGamma/Strata/commit/211806b242b7e224323f74883fcc9ae2b17dd9c9uastats}(totalK	additionsK	deletionsKufiles]}(ja  (9efa7399213bf7328c9773abacad20a967227bfffilenamemodules/pom.xmlstatusmodifiedj  Kj  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/5a8f47df7910a994c850e17c23aab3f5e98eed46/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/5a8f47df7910a994c850e17c23aab3f5e98eed46/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=5a8f47df7910a994c850e17c23aab3f5e98eed46patchX  @@ -769,7 +769,7 @@
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>
-    <joda-beans.version>2.8.3</joda-beans.version>
+    <joda-beans.version>2.9.2</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
     <junit5.version>5.9.3</junit5.version>
     <mockito.version>4.9.0</mockito.version>uau(61137c0327734a2c0ef6b2358d19b56f9dbc7645}(sha(61137c0327734a2c0ef6b2358d19b56f9dbc7645node_idEC_kwDOAT6l0doAKDYxMTM3YzAzMjc3MzRhMmMwZWY2YjIzNThkMTliNTZmOWRiYzc2NDUcommit}(author}(nameAnandemailanand@opengamma.comdate2023-04-02T17:07:06Zu	committer}(j  Anandj  anand@opengamma.comj  2023-04-02T17:07:06Zumessagecommenttree}(j  (9ab520581c7d5b348b399a0946fa1ec31c58fb3durl`https://api.github.com/repos/OpenGamma/Strata/git/trees/9ab520581c7d5b348b399a0946fa1ec31c58fb3duj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/61137c0327734a2c0ef6b2358d19b56f9dbc7645
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/61137c0327734a2c0ef6b2358d19b56f9dbc7645html_urlShttps://github.com/OpenGamma/Strata/commit/61137c0327734a2c0ef6b2358d19b56f9dbc7645comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/61137c0327734a2c0ef6b2358d19b56f9dbc7645/commentsj  }(loginanand-ukidJj  MDQ6VXNlcjQ5OTE3NDcw
avatar_url4https://avatars.githubusercontent.com/u/49917470?v=4gravatar_idh3j  %https://api.github.com/users/anand-ukj  https://github.com/anand-uk
followers_url/https://api.github.com/users/anand-uk/followers
following_url<https://api.github.com/users/anand-uk/following{/other_user}	gists_url5https://api.github.com/users/anand-uk/gists{/gist_id}starred_url<https://api.github.com/users/anand-uk/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/anand-uk/subscriptionsorganizations_url*https://api.github.com/users/anand-uk/orgs	repos_url+https://api.github.com/users/anand-uk/repos
events_url6https://api.github.com/users/anand-uk/events{/privacy}received_events_url5https://api.github.com/users/anand-uk/received_eventstypeUser
site_adminuj  }(j  anand-ukj  Jj  MDQ6VXNlcjQ5OTE3NDcwj  4https://avatars.githubusercontent.com/u/49917470?v=4j  h3j  %https://api.github.com/users/anand-ukj  https://github.com/anand-ukj
  /https://api.github.com/users/anand-uk/followersj  <https://api.github.com/users/anand-uk/following{/other_user}j  5https://api.github.com/users/anand-uk/gists{/gist_id}j  <https://api.github.com/users/anand-uk/starred{/owner}{/repo}j  3https://api.github.com/users/anand-uk/subscriptionsj  *https://api.github.com/users/anand-uk/orgsj  +https://api.github.com/users/anand-uk/reposj  6https://api.github.com/users/anand-uk/events{/privacy}j  5https://api.github.com/users/anand-uk/received_eventsj  Userj  uparents]}(j  (b85a44718258b331356e24de4f29d04431f819b0j  ^https://api.github.com/repos/OpenGamma/Strata/commits/b85a44718258b331356e24de4f29d04431f819b0j  Shttps://github.com/OpenGamma/Strata/commit/b85a44718258b331356e24de4f29d04431f819b0uastats}(totalK	additionsK	deletionsKufiles]}(j  (c77d9d1fab93c2d89463aa1f0e966a4414fa1156filenameQmodules/product/src/main/java/com/opengamma/strata/product/common/PayReceive.javastatusmodifiedj8  Kj9  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/61137c0327734a2c0ef6b2358d19b56f9dbc7645/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/61137c0327734a2c0ef6b2358d19b56f9dbc7645/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.java?ref=61137c0327734a2c0ef6b2358d19b56f9dbc7645patchX  @@ -100,7 +100,7 @@ public double normalize(double amount) {
    * <p>
    * This returns a negative signed amount if this is 'Pay', and a positive
    * signed amount if this is 'Receive'. This effectively normalizes the input
-   * notional to the pay/receive sign conventions of this library.s
+   * notional to the pay/receive sign conventions of this library.
    *
    * @param amount  the amount to adjust
    * @return the adjusted amountuau(eb5a568e535dc5f507443ce76f45430adb2b4b9b}(sha(eb5a568e535dc5f507443ce76f45430adb2b4b9bnode_idEC_kwDOAT6l0doAKGViNWE1NjhlNTM1ZGM1ZjUwNzQ0M2NlNzZmNDU0MzBhZGIyYjRiOWIcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-05T10:47:07Zu	committer}(jU  
johannesOGjW  ,86783068+johannesOG@users.noreply.github.comjY  2023-07-05T10:47:07ZumessageDeactive Libor curvestree}(jM  (f8b8fcc0636e34ca8ae2ce6dd44783b7987266d1url`https://api.github.com/repos/OpenGamma/Strata/git/trees/f8b8fcc0636e34ca8ae2ce6dd44783b7987266d1uje  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/eb5a568e535dc5f507443ce76f45430adb2b4b9b
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuje  ^https://api.github.com/repos/OpenGamma/Strata/commits/eb5a568e535dc5f507443ce76f45430adb2b4b9bhtml_urlShttps://github.com/OpenGamma/Strata/commit/eb5a568e535dc5f507443ce76f45430adb2b4b9bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/eb5a568e535dc5f507443ce76f45430adb2b4b9b/commentsjS  }(login
johannesOGidJ\4,jO  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3je  'https://api.github.com/users/johannesOGjq  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminuj[  }(jv  
johannesOGjx  J\4,jO  MDQ6VXNlcjg2NzgzMDY4jz  4https://avatars.githubusercontent.com/u/86783068?v=4j|  h3je  'https://api.github.com/users/johannesOGjq  https://github.com/johannesOGj  1https://api.github.com/users/johannesOG/followersj  >https://api.github.com/users/johannesOG/following{/other_user}j  7https://api.github.com/users/johannesOG/gists{/gist_id}j  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}j  5https://api.github.com/users/johannesOG/subscriptionsj  ,https://api.github.com/users/johannesOG/orgsj  -https://api.github.com/users/johannesOG/reposj  8https://api.github.com/users/johannesOG/events{/privacy}j  7https://api.github.com/users/johannesOG/received_eventsj  Userj  uparents]}(jM  (a4595a408391f4f237d70c07a6da54579beb197bje  ^https://api.github.com/repos/OpenGamma/Strata/commits/a4595a408391f4f237d70c07a6da54579beb197bjq  Shttps://github.com/OpenGamma/Strata/commit/a4595a408391f4f237d70c07a6da54579beb197buastats}(totalK	additionsK	deletionsK ufiles]}(jM  (f22b09eeace37b95e902cb23f6b73a7655089f4afilenameYmodules/basics/src/test/java/com/opengamma/strata/basics/index/FloatingRateIndexTest.javastatusmodifiedj  Kj  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/eb5a568e535dc5f507443ce76f45430adb2b4b9b/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateIndexTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/eb5a568e535dc5f507443ce76f45430adb2b4b9b/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateIndexTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateIndexTest.java?ref=eb5a568e535dc5f507443ce76f45430adb2b4b9bpatchX+
  @@ -24,13 +24,19 @@ public class FloatingRateIndexTest {
 
   @Test
   public void test_parse_noTenor() {
+    assertThat(FloatingRateIndex.parse("GBP-LIBOR-1M")).isEqualTo(IborIndices.GBP_LIBOR_1M);
+    assertThat(FloatingRateIndex.parse("GBP-LIBOR-3M")).isEqualTo(IborIndices.GBP_LIBOR_3M);
+    assertThat(FloatingRateIndex.parse("GBP-SONIA")).isEqualTo(OvernightIndices.GBP_SONIA);
     assertThat(FloatingRateIndex.parse("GB-RPI")).isEqualTo(PriceIndices.GB_RPI);
     assertThatIllegalArgumentException().isThrownBy(() -> FloatingRateIndex.parse(null));
     assertThatIllegalArgumentException().isThrownBy(() -> FloatingRateIndex.parse("NotAnIndex"));
   }
 
   @Test
   public void test_parse_withTenor() {
+    assertThat(FloatingRateIndex.parse("GBP-LIBOR", Tenor.TENOR_6M)).isEqualTo(IborIndices.GBP_LIBOR_6M);
+    assertThat(FloatingRateIndex.parse("GBP-LIBOR-1M", Tenor.TENOR_6M)).isEqualTo(IborIndices.GBP_LIBOR_1M);
+    assertThat(FloatingRateIndex.parse("GBP-LIBOR-3M", Tenor.TENOR_6M)).isEqualTo(IborIndices.GBP_LIBOR_3M);
     assertThat(FloatingRateIndex.parse("GBP-SONIA", Tenor.TENOR_6M)).isEqualTo(OvernightIndices.GBP_SONIA);
     assertThat(FloatingRateIndex.parse("GB-RPI", Tenor.TENOR_6M)).isEqualTo(PriceIndices.GB_RPI);
     assertThatIllegalArgumentException().isThrownBy(() -> FloatingRateIndex.parse(null, Tenor.TENOR_6M));
@@ -39,6 +45,8 @@ public void test_parse_withTenor() {
 
   @Test
   public void test_tryParse_noTenor() {
+    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-1M")).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_1M));
+    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-3M")).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_3M));
     assertThat(FloatingRateIndex.tryParse("GBP-SONIA")).isEqualTo(Optional.of(OvernightIndices.GBP_SONIA));
     assertThat(FloatingRateIndex.tryParse("GB-RPI")).isEqualTo(Optional.of(PriceIndices.GB_RPI));
     assertThat(FloatingRateIndex.tryParse(null)).isEqualTo(Optional.empty());
@@ -47,6 +55,9 @@ public void test_tryParse_noTenor() {
 
   @Test
   public void test_tryParse_withTenor() {
+    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR", Tenor.TENOR_6M)).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_6M));
+    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-1M", Tenor.TENOR_6M)).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_1M));
+    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-3M", Tenor.TENOR_6M)).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_3M));
     assertThat(FloatingRateIndex.tryParse("GBP-SONIA", Tenor.TENOR_6M)).isEqualTo(Optional.of(OvernightIndices.GBP_SONIA));
     assertThat(FloatingRateIndex.tryParse("GB-RPI", Tenor.TENOR_6M)).isEqualTo(Optional.of(PriceIndices.GB_RPI));
     assertThat(FloatingRateIndex.tryParse(null, Tenor.TENOR_6M)).isEqualTo(Optional.empty());
@@ -56,6 +67,11 @@ public void test_tryParse_withTenor() {
   //-------------------------------------------------------------------------
   public static Object[][] data_name() {
     return new Object[][] {
+        {IborIndices.GBP_LIBOR_6M, "GBP-LIBOR-6M"},
+        {IborIndices.CHF_LIBOR_6M, "CHF-LIBOR-6M"},
+        {IborIndices.EUR_LIBOR_6M, "EUR-LIBOR-6M"},
+        {IborIndices.JPY_LIBOR_6M, "JPY-LIBOR-6M"},
+        {IborIndices.USD_LIBOR_6M, "USD-LIBOR-6M"},
 
         {OvernightIndices.GBP_SONIA, "GBP-SONIA"},
         {OvernightIndices.CHF_SARON, "CHF-SARON"},uau(211806b242b7e224323f74883fcc9ae2b17dd9c9}(sha(211806b242b7e224323f74883fcc9ae2b17dd9c9node_idEC_kwDOAT6l0doAKDIxMTgwNmIyNDJiN2UyMjQzMjNmNzQ4ODNmY2M5YWUyYjE3ZGQ5Yzkcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-06-07T08:32:35Zu	committer}(j  opengammacibotj  cibot@opengamma.comj  2023-06-07T08:32:35Zumessage=[maven-release-plugin] prepare for next development iterationtree}(j  (c3459457cafad7ca51e9c374e6806a5ad4552796url`https://api.github.com/repos/OpenGamma/Strata/git/trees/c3459457cafad7ca51e9c374e6806a5ad4552796uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/211806b242b7e224323f74883fcc9ae2b17dd9c9
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/211806b242b7e224323f74883fcc9ae2b17dd9c9html_urlShttps://github.com/OpenGamma/Strata/commit/211806b242b7e224323f74883fcc9ae2b17dd9c9comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/211806b242b7e224323f74883fcc9ae2b17dd9c9/commentsj  }(loginopengammacibotidJq j  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj  }(j  opengammacibotj  Jq j  MDQ6VXNlcjc0NTAyODE=j  3https://avatars.githubusercontent.com/u/7450281?v=4j  h3j  +https://api.github.com/users/opengammacibotj  !https://github.com/opengammacibotj  5https://api.github.com/users/opengammacibot/followersj  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j  9https://api.github.com/users/opengammacibot/subscriptionsj  0https://api.github.com/users/opengammacibot/orgsj   1https://api.github.com/users/opengammacibot/reposj  <https://api.github.com/users/opengammacibot/events{/privacy}j  ;https://api.github.com/users/opengammacibot/received_eventsj  Userj  uparents]}(j  (d16ac601740d52e9e5825003e9c0c2f8b2612706j  ^https://api.github.com/repos/OpenGamma/Strata/commits/d16ac601740d52e9e5825003e9c0c2f8b2612706j  Shttps://github.com/OpenGamma/Strata/commit/d16ac601740d52e9e5825003e9c0c2f8b2612706uastats}(totalK$	additionsK	deletionsKufiles](}(j  (5de5589b1354237250c11afe94ffa550bb9509bafilenameexamples/pom.xmlstatusmodifiedj"  Kj#  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.26</version>
+  <version>2.12.27-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,8 +272,4 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
-
-  <scm>
-    <tag>v2.12.26</tag>
-  </scm>
 </project>u}(j  (e634f6c6582b17a9b0e46cf3d385610ea12b5ba2j(  modules/basics/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  lhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fbasics%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fbasics%2Fpom.xmlj1  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j  (40223458521424e7f3863bfe1993fe331c299eaaj(  modules/calc/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  jhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fcalc%2Fpom.xmlj/  ihttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fcalc%2Fpom.xmlj1  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j  (2413f82c65adb3c59381bdcbf0e25025065632d9j(  modules/collect/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  mhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fcollect%2Fpom.xmlj/  lhttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fcollect%2Fpom.xmlj1  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j  (a656877f03b7e1b40ef59e0ac4ae7d30da77e8a9j(  modules/data/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  jhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fdata%2Fpom.xmlj/  ihttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fdata%2Fpom.xmlj1  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j  (62cd5061b82378f89de37b50e46271993e20db02j(  modules/loader/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  lhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Floader%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Floader%2Fpom.xmlj1  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j  (5d274028fe092c400786f360f41ff55c87331db5j(  modules/market/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  lhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fmarket%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fmarket%2Fpom.xmlj1  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j  (02b37716b18ab10892e363fc3f8c5c9bc5bf5b6aj(  modules/math/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  jhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fmath%2Fpom.xmlj/  ihttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fmath%2Fpom.xmlj1  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j  (128813259a632a9d06744036a7a2106159076436j(  modules/measure/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  mhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fmeasure%2Fpom.xmlj/  lhttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fmeasure%2Fpom.xmlj1  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j  (d888cf7b57f1483d2262a6bc6d4a940d564fbffaj(  modules/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  chttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fpom.xmlj/  bhttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fpom.xmlj1  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.26</version>
+  <version>2.12.27-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.26</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j  (7d584aba1172839ceff1ef3234718065cd9d7278j(  modules/pricer/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  lhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fpricer%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fpricer%2Fpom.xmlj1  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j  (a48df5f307d8c9184ed0bd31e3845990f19bb3e2j(  modules/product/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  mhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fproduct%2Fpom.xmlj/  lhttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Fproduct%2Fpom.xmlj1  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j  (58b16221f910d547629c35488e5bfce7d56fe502j(  modules/report/pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  lhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Freport%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/modules%2Freport%2Fpom.xmlj1  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j  (8036c3aa4ec2b7c922303355cd75f633abb4b3c0j(  pom.xmlj*  modifiedj"  Kj#  Kj,  Kj-  Yhttps://github.com/OpenGamma/Strata/blob/211806b242b7e224323f74883fcc9ae2b17dd9c9/pom.xmlj/  Xhttps://github.com/OpenGamma/Strata/raw/211806b242b7e224323f74883fcc9ae2b17dd9c9/pom.xmlj1  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=211806b242b7e224323f74883fcc9ae2b17dd9c9j3  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.26</version>
+  <version>2.12.27-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.26</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(8db6ed4d4ea625b5238dee7ffa01b42e9cc4df55}(sha(8db6ed4d4ea625b5238dee7ffa01b42e9cc4df55node_idEC_kwDOAT6l0doAKDhkYjZlZDRkNGVhNjI1YjUyMzhkZWU3ZmZhMDFiNDJlOWNjNGRmNTUcommit}(author}(nameAlexis Skitiniemail skitini@users.noreply.github.comdate2023-05-12T10:13:32Zu	committer}(j  Alexis Skitinij   skitini@users.noreply.github.comj  2023-05-12T10:13:32ZumessageAdd MarketQuote value typetree}(j  (83d8602f264c2c662de428e0620c542d13fc566aurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/83d8602f264c2c662de428e0620c542d13fc566auj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/8db6ed4d4ea625b5238dee7ffa01b42e9cc4df55
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/8db6ed4d4ea625b5238dee7ffa01b42e9cc4df55html_urlShttps://github.com/OpenGamma/Strata/commit/8db6ed4d4ea625b5238dee7ffa01b42e9cc4df55comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/8db6ed4d4ea625b5238dee7ffa01b42e9cc4df55/commentsj  }(loginskitiniidJAj  MDQ6VXNlcjI1OTkzMjgx
avatar_url4https://avatars.githubusercontent.com/u/25993281?v=4gravatar_idh3j  $https://api.github.com/users/skitinij  https://github.com/skitini
followers_url.https://api.github.com/users/skitini/followers
following_url;https://api.github.com/users/skitini/following{/other_user}	gists_url4https://api.github.com/users/skitini/gists{/gist_id}starred_url;https://api.github.com/users/skitini/starred{/owner}{/repo}subscriptions_url2https://api.github.com/users/skitini/subscriptionsorganizations_url)https://api.github.com/users/skitini/orgs	repos_url*https://api.github.com/users/skitini/repos
events_url5https://api.github.com/users/skitini/events{/privacy}received_events_url4https://api.github.com/users/skitini/received_eventstypeUser
site_adminuj  }(j  skitinij  JAj  MDQ6VXNlcjI1OTkzMjgxj  4https://avatars.githubusercontent.com/u/25993281?v=4j  h3j  $https://api.github.com/users/skitinij  https://github.com/skitinij  .https://api.github.com/users/skitini/followersj  ;https://api.github.com/users/skitini/following{/other_user}j  4https://api.github.com/users/skitini/gists{/gist_id}j  ;https://api.github.com/users/skitini/starred{/owner}{/repo}j  2https://api.github.com/users/skitini/subscriptionsj  )https://api.github.com/users/skitini/orgsj  *https://api.github.com/users/skitini/reposj  5https://api.github.com/users/skitini/events{/privacy}j  4https://api.github.com/users/skitini/received_eventsj  Userj  uparents]}(j  (6919d1220aa416d383022663fda2567d8084ea30j  ^https://api.github.com/repos/OpenGamma/Strata/commits/6919d1220aa416d383022663fda2567d8084ea30j  Shttps://github.com/OpenGamma/Strata/commit/6919d1220aa416d383022663fda2567d8084ea30uastats}(totalK	additionsK	deletionsKufiles]}(j  (5ff33260894f4e40730ce2617aaf49d049b204d4filenameGmodules/market/src/main/java/com/opengamma/strata/market/ValueType.javastatusmodifiedj  Kj   KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/8db6ed4d4ea625b5238dee7ffa01b42e9cc4df55/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/8db6ed4d4ea625b5238dee7ffa01b42e9cc4df55/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.java?ref=8db6ed4d4ea625b5238dee7ffa01b42e9cc4df55patchX  @@ -134,7 +134,10 @@ public final class ValueType
    * Type used when each value is a correlation - 'CORRELATION'.
    */
   public static final ValueType CORRELATION = of("CORRELATION");
-
+  /**
+   * Type used when each value is the market quote e.g. a par rate for bonds = 'MarketQuote'.
+   */
+  public static final ValueType MARKET_QUOTE = of("MarketQuote");
   //-------------------------------------------------------------------------
   /**
    * Obtains an instance from the specified name.uau(c68fa28799d06eabc2299cf3270bf16ee07eeeae}(sha(c68fa28799d06eabc2299cf3270bf16ee07eeeaenode_idEC_kwDOAT6l0doAKGM2OGZhMjg3OTlkMDZlYWJjMjI5OWNmMzI3MGJmMTZlZTA3ZWVlYWUcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-07T15:09:01Zu	committer}(j  Akshai Shahj  #akshaishah@users.noreply.github.comj   2023-03-07T15:09:01ZumessageFix checkstyletree}(j  (47045711ccede109d5b47759575c0895a4affb80url`https://api.github.com/repos/OpenGamma/Strata/git/trees/47045711ccede109d5b47759575c0895a4affb80uj,  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/c68fa28799d06eabc2299cf3270bf16ee07eeeae
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj,  ^https://api.github.com/repos/OpenGamma/Strata/commits/c68fa28799d06eabc2299cf3270bf16ee07eeeaehtml_urlShttps://github.com/OpenGamma/Strata/commit/c68fa28799d06eabc2299cf3270bf16ee07eeeaecomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/c68fa28799d06eabc2299cf3270bf16ee07eeeae/commentsj  }(login
akshaishahidJd
 j  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j,  'https://api.github.com/users/akshaishahj8  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuj"  }(j=  
akshaishahj?  Jd
 j  MDQ6VXNlcjE5MDM5NzI=jA  3https://avatars.githubusercontent.com/u/1903972?v=4jC  h3j,  'https://api.github.com/users/akshaishahj8  https://github.com/akshaishahjF  1https://api.github.com/users/akshaishah/followersjH  >https://api.github.com/users/akshaishah/following{/other_user}jJ  7https://api.github.com/users/akshaishah/gists{/gist_id}jL  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}jN  5https://api.github.com/users/akshaishah/subscriptionsjP  ,https://api.github.com/users/akshaishah/orgsjR  -https://api.github.com/users/akshaishah/reposjT  8https://api.github.com/users/akshaishah/events{/privacy}jV  7https://api.github.com/users/akshaishah/received_eventsjX  UserjZ  uparents]}(j  (64343031f679ec72040e4f92b126367c92cdfa4aj,  ^https://api.github.com/repos/OpenGamma/Strata/commits/64343031f679ec72040e4f92b126367c92cdfa4aj8  Shttps://github.com/OpenGamma/Strata/commit/64343031f679ec72040e4f92b126367c92cdfa4auastats}(totalK	additionsK	deletionsKufiles]}(j  (7bcbafa9b8351ca827d6ceace66754921eec851dfilenamePmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javastatusmodifiedjt  Kju  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/c68fa28799d06eabc2299cf3270bf16ee07eeeae/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/c68fa28799d06eabc2299cf3270bf16ee07eeeae/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=c68fa28799d06eabc2299cf3270bf16ee07eeeaepatchXp  @@ -738,7 +738,7 @@ public static String formattedDouble(double value) {
   }
 
   static ParseFailureException missingFieldException(String field) {
-    return new ParseFailureException(field, FailureReason.FIELD_MISSING, "'{field}' is empty", field) ;
+    return new ParseFailureException(field, FailureReason.FIELD_MISSING, "'{field}' is empty", field);
   }
 
 }uau(eaf52a94b2bf4718a76049960c715eb3591aaf79}(sha(eaf52a94b2bf4718a76049960c715eb3591aaf79node_idEC_kwDOAT6l0doAKGVhZjUyYTk0YjJiZjQ3MThhNzYwNDk5NjBjNzE1ZWIzNTkxYWFmNzkcommit}(author}(nameAnandemailanand@opengamma.comdate2023-04-02T17:17:56Zu	committer}(j  Anandj  anand@opengamma.comj  2023-04-02T17:17:56Zumessagestyletree}(j  (3d014b35b8e8be770bf4f2fc728104b5235c7ce2url`https://api.github.com/repos/OpenGamma/Strata/git/trees/3d014b35b8e8be770bf4f2fc728104b5235c7ce2uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/eaf52a94b2bf4718a76049960c715eb3591aaf79
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/eaf52a94b2bf4718a76049960c715eb3591aaf79html_urlShttps://github.com/OpenGamma/Strata/commit/eaf52a94b2bf4718a76049960c715eb3591aaf79comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/eaf52a94b2bf4718a76049960c715eb3591aaf79/commentsj  }(loginanand-ukidJj  MDQ6VXNlcjQ5OTE3NDcw
avatar_url4https://avatars.githubusercontent.com/u/49917470?v=4gravatar_idh3j  %https://api.github.com/users/anand-ukj  https://github.com/anand-uk
followers_url/https://api.github.com/users/anand-uk/followers
following_url<https://api.github.com/users/anand-uk/following{/other_user}	gists_url5https://api.github.com/users/anand-uk/gists{/gist_id}starred_url<https://api.github.com/users/anand-uk/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/anand-uk/subscriptionsorganizations_url*https://api.github.com/users/anand-uk/orgs	repos_url+https://api.github.com/users/anand-uk/repos
events_url6https://api.github.com/users/anand-uk/events{/privacy}received_events_url5https://api.github.com/users/anand-uk/received_eventstypeUser
site_adminuj  }(j  anand-ukj  Jj  MDQ6VXNlcjQ5OTE3NDcwj  4https://avatars.githubusercontent.com/u/49917470?v=4j  h3j  %https://api.github.com/users/anand-ukj  https://github.com/anand-ukj  /https://api.github.com/users/anand-uk/followersj  <https://api.github.com/users/anand-uk/following{/other_user}j  5https://api.github.com/users/anand-uk/gists{/gist_id}j  <https://api.github.com/users/anand-uk/starred{/owner}{/repo}j  3https://api.github.com/users/anand-uk/subscriptionsj  *https://api.github.com/users/anand-uk/orgsj  +https://api.github.com/users/anand-uk/reposj  6https://api.github.com/users/anand-uk/events{/privacy}j  5https://api.github.com/users/anand-uk/received_eventsj  Userj  uparents]}(j  (61137c0327734a2c0ef6b2358d19b56f9dbc7645j  ^https://api.github.com/repos/OpenGamma/Strata/commits/61137c0327734a2c0ef6b2358d19b56f9dbc7645j  Shttps://github.com/OpenGamma/Strata/commit/61137c0327734a2c0ef6b2358d19b56f9dbc7645uastats}(totalK	additionsK 	deletionsKufiles]}(j  (b507e29413d3aa67b960b66570e948d517e8896ffilenameUmodules/product/src/test/java/com/opengamma/strata/product/common/PayReceiveTest.javastatusmodifiedj  K j  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/eaf52a94b2bf4718a76049960c715eb3591aaf79/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/eaf52a94b2bf4718a76049960c715eb3591aaf79/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.java?ref=eaf52a94b2bf4718a76049960c715eb3591aaf79patchX  @@ -74,7 +74,6 @@ public void test_normalize_pay_money() {
     assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
     assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
   }
-
   @Test
   public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -91,7 +90,6 @@ public void test_normalize_receive_decimal() {
     assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
   }
 
-
   @Test
   public void test_normalize_receive_amount() {
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));uau(93d1508ec6e216845016de9adb25da31fd0fb663}(sha(93d1508ec6e216845016de9adb25da31fd0fb663node_idEC_kwDOAT6l0doAKDkzZDE1MDhlYzZlMjE2ODQ1MDE2ZGU5YWRiMjVkYTMxZmQwZmI2NjMcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-04-11T12:43:49Zu	committer}(j  GitHubj  noreply@github.comj
  2023-04-11T12:43:49ZumessageXa  Bump asm from 9.4 to 9.5 (#2563)

Bumps asm from 9.4 to 9.5.

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>tree}(j  (6ab3f82b3b42cba8301a2fb287c55eefee2837f4url`https://api.github.com/repos/OpenGamma/Strata/git/trees/6ab3f82b3b42cba8301a2fb287c55eefee2837f4uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/93d1508ec6e216845016de9adb25da31fd0fb663
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkNVYFCRBK7hj4Ov3rIwAA8bIIAIMS8oKDkwEmqZr9x85Qwc2B
Jb8ZZQejBxUhmPiIURJ+Lla+juDAyl7SPjLmuge3XLG6Dn6gUHX0b64RDysCsc6n
LxLlRtsIugGRqSEXb4QFvha0DgJGwPyBsk4FnzHNLyZjrSpn4cUnJNOEMMD1lF0J
FlPJeW274j85ITDZnCFqkD3Fx/o3bvg4UaqqdJqC3zVwm2o5lYp98vXfjACBKtwa
3uw0bFyPNSsSrU0ykSZs1Ap1/H2tazkQ+UL1vl30yvGOcULjOusUYoFR3NtulOlR
1wNptDhOJMx/eMQV5AnpUDRLN4Fg0bZjigELJD2Q2b0kjhWcBu78dZdQnknJB00=
=XGTJ
-----END PGP SIGNATURE-----
payloadXS  tree 6ab3f82b3b42cba8301a2fb287c55eefee2837f4
parent dd5a657d8f54879723005264fa7e52cd6a4f67db
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1681217029 +0100
committer GitHub <noreply@github.com> 1681217029 +0100

Bump asm from 9.4 to 9.5 (#2563)

Bumps asm from 9.4 to 9.5.

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>uuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/93d1508ec6e216845016de9adb25da31fd0fb663html_urlShttps://github.com/OpenGamma/Strata/commit/93d1508ec6e216845016de9adb25da31fd0fb663comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/93d1508ec6e216845016de9adb25da31fd0fb663/commentsj  }(logindependabot[bot]idJZj   MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j  0https://api.github.com/users/dependabot%5Bbot%5Dj$  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj  }(j)  web-flowj+  J/j   MDQ6VXNlcjE5ODY0NDQ3j-  4https://avatars.githubusercontent.com/u/19864447?v=4j/  h3j  %https://api.github.com/users/web-flowj$  https://github.com/web-flowj2  /https://api.github.com/users/web-flow/followersj4  <https://api.github.com/users/web-flow/following{/other_user}j6  5https://api.github.com/users/web-flow/gists{/gist_id}j8  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j:  3https://api.github.com/users/web-flow/subscriptionsj<  *https://api.github.com/users/web-flow/orgsj>  +https://api.github.com/users/web-flow/reposj@  6https://api.github.com/users/web-flow/events{/privacy}jB  5https://api.github.com/users/web-flow/received_eventsjD  UserjF  uparents]}(j  (dd5a657d8f54879723005264fa7e52cd6a4f67dbj  ^https://api.github.com/repos/OpenGamma/Strata/commits/dd5a657d8f54879723005264fa7e52cd6a4f67dbj$  Shttps://github.com/OpenGamma/Strata/commit/dd5a657d8f54879723005264fa7e52cd6a4f67dbuastats}(totalK	additionsK	deletionsKufiles]}(j  (7414a0c4184be123dc95af0f449dad2b66824153filenamemodules/pom.xmlstatusmodifiedj`  Kja  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/93d1508ec6e216845016de9adb25da31fd0fb663/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/93d1508ec6e216845016de9adb25da31fd0fb663/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=93d1508ec6e216845016de9adb25da31fd0fb663patchX  @@ -762,7 +762,7 @@
     <!-- Locate the root directory of the multi-module build -->
     <root.dir>${project.basedir}/..</root.dir>
     <!-- Versions -->
-    <asm.version>9.4</asm.version>
+    <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
     <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->uau#     (74de38448c0d597dc9a68c8a9c84ad30ff6ff70b}(sha(74de38448c0d597dc9a68c8a9c84ad30ff6ff70bnode_idEC_kwDOAT6l0doAKDc0ZGUzODQ0OGMwZDU5N2RjOWE2OGM4YTljODRhZDMwZmY2ZmY3MGIcommit}(author}(nameMarc Henrardemail%marc-henrard@users.noreply.github.comdate2023-03-15T10:38:25Zu	committer}(j}  Marc Henrardj  %marc-henrard@users.noreply.github.comj  2023-03-15T10:38:49Zumessage+Cash flow equivalent for fixed coupon bondstree}(ju  (912ff1e3ee7eb3c41e7d7e37159b47f21e5b0c8furl`https://api.github.com/repos/OpenGamma/Strata/git/trees/912ff1e3ee7eb3c41e7d7e37159b47f21e5b0c8fuj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/74de38448c0d597dc9a68c8a9c84ad30ff6ff70b
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/74de38448c0d597dc9a68c8a9c84ad30ff6ff70bhtml_urlShttps://github.com/OpenGamma/Strata/commit/74de38448c0d597dc9a68c8a9c84ad30ff6ff70bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/74de38448c0d597dc9a68c8a9c84ad30ff6ff70b/commentsj{  }(loginmarc-henrardidJKX jw  MDQ6VXNlcjk5MTg1Mzk=
avatar_url3https://avatars.githubusercontent.com/u/9918539?v=4gravatar_idh3j  )https://api.github.com/users/marc-henrardj  https://github.com/marc-henrard
followers_url3https://api.github.com/users/marc-henrard/followers
following_url@https://api.github.com/users/marc-henrard/following{/other_user}	gists_url9https://api.github.com/users/marc-henrard/gists{/gist_id}starred_url@https://api.github.com/users/marc-henrard/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/marc-henrard/subscriptionsorganizations_url.https://api.github.com/users/marc-henrard/orgs	repos_url/https://api.github.com/users/marc-henrard/repos
events_url:https://api.github.com/users/marc-henrard/events{/privacy}received_events_url9https://api.github.com/users/marc-henrard/received_eventstypeUser
site_adminuj  }(j  marc-henrardj  JKX jw  MDQ6VXNlcjk5MTg1Mzk=j  3https://avatars.githubusercontent.com/u/9918539?v=4j  h3j  )https://api.github.com/users/marc-henrardj  https://github.com/marc-henrardj  3https://api.github.com/users/marc-henrard/followersj  @https://api.github.com/users/marc-henrard/following{/other_user}j  9https://api.github.com/users/marc-henrard/gists{/gist_id}j  @https://api.github.com/users/marc-henrard/starred{/owner}{/repo}j  7https://api.github.com/users/marc-henrard/subscriptionsj  .https://api.github.com/users/marc-henrard/orgsj  /https://api.github.com/users/marc-henrard/reposj  :https://api.github.com/users/marc-henrard/events{/privacy}j  9https://api.github.com/users/marc-henrard/received_eventsj  Userj  uparents]}(ju  (3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eaj  Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK	additionsK	deletionsK ufiles](}(ju  (b5eead2244c2a32579b10320320b384dee170a3efilenameimodules/pricer/src/main/java/com/opengamma/strata/pricer/impl/rate/swap/CashFlowEquivalentCalculator.javastatusmodifiedj  Kj  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/74de38448c0d597dc9a68c8a9c84ad30ff6ff70b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/74de38448c0d597dc9a68c8a9c84ad30ff6ff70b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.java?ref=74de38448c0d597dc9a68c8a9c84ad30ff6ff70bpatchXx  @@ -24,6 +24,8 @@
 import com.opengamma.strata.pricer.DiscountFactors;
 import com.opengamma.strata.pricer.ZeroRateSensitivity;
 import com.opengamma.strata.pricer.rate.RatesProvider;
+import com.opengamma.strata.product.bond.FixedCouponBondPaymentPeriod;
+import com.opengamma.strata.product.bond.ResolvedFixedCouponBond;
 import com.opengamma.strata.product.common.PayReceive;
 import com.opengamma.strata.product.rate.FixedRateComputation;
 import com.opengamma.strata.product.rate.IborRateComputation;
@@ -41,10 +43,39 @@
 /**
  * Computes cash flow equivalent of products.
  * <p>
+ * Useful to price optional products in term structure models.
+ * <p>
  * Reference: Henrard, M. The Irony in the derivatives discounting Part II: the crisis. Wilmott Journal, 2010, 2, 301-316.
  */
 public final class CashFlowEquivalentCalculator {
 
+  /**
+   * Computes the cash flow equivalent of a fixed coupon bond.
+   * 
+   * @param bond  the fixed coupon bond
+   * @param settlementDate  the settlement date; only the coupons strictly after that date are generated
+   * @return the cash flow equivalent
+   */
+  public static ResolvedSwapLeg cashFlowEquivalent(ResolvedFixedCouponBond bond, LocalDate settlementDate) {
+    List<NotionalExchange> paymentEvents = new ArrayList<NotionalExchange>();
+    for (FixedCouponBondPaymentPeriod payment : bond.getPeriodicPayments()) {
+      LocalDate detachmentDate = payment.getDetachmentDate();
+      if (detachmentDate.isAfter(settlementDate)) {
+        double amount = payment.getYearFraction() * payment.getFixedRate() * payment.getNotional();
+        NotionalExchange pay = NotionalExchange.of(CurrencyAmount.of(payment.getCurrency(), amount), detachmentDate);
+        paymentEvents.add(pay);
+      }
+    }
+    paymentEvents.add(NotionalExchange
+        .of(CurrencyAmount.of(bond.getCurrency(), bond.getNotional()), bond.getEndDate()));
+    ResolvedSwapLeg leg = ResolvedSwapLeg.builder()
+        .paymentEvents(paymentEvents)
+        .payReceive(PayReceive.RECEIVE)
+        .type(SwapLegType.OTHER)
+        .build();
+    return leg;
+  }
+
   /**
    * Computes cash flow equivalent of swap.
    * <p>u}(ju  (a07a1cb0678e2b2244a57841f059da746085dd20j  mmodules/pricer/src/test/java/com/opengamma/strata/pricer/impl/rate/swap/CashFlowEquivalentCalculatorTest.javaj  modifiedj  Kaj  K j  Kaj  https://github.com/OpenGamma/Strata/blob/74de38448c0d597dc9a68c8a9c84ad30ff6ff70b/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.javaj  https://github.com/OpenGamma/Strata/raw/74de38448c0d597dc9a68c8a9c84ad30ff6ff70b/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.java?ref=74de38448c0d597dc9a68c8a9c84ad30ff6ff70bj  X  @@ -5,7 +5,9 @@
  */
 package com.opengamma.strata.pricer.impl.rate.swap;
 
+import static com.opengamma.strata.basics.currency.Currency.EUR;
 import static com.opengamma.strata.basics.currency.Currency.GBP;
+import static com.opengamma.strata.basics.date.BusinessDayConventions.FOLLOWING;
 import static com.opengamma.strata.basics.date.DayCounts.ACT_365F;
 import static com.opengamma.strata.basics.index.IborIndices.GBP_LIBOR_3M;
 import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
@@ -27,15 +29,26 @@
 import java.util.Map;
 import java.util.Map.Entry;
 
+import org.assertj.core.data.Offset;
 import org.junit.jupiter.api.Test;
 
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.math.DoubleMath;
 import com.opengamma.strata.basics.ReferenceData;
+import com.opengamma.strata.basics.StandardId;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.basics.currency.MultiCurrencyAmount;
 import com.opengamma.strata.basics.currency.Payment;
+import com.opengamma.strata.basics.date.BusinessDayAdjustment;
+import com.opengamma.strata.basics.date.DayCount;
+import com.opengamma.strata.basics.date.DayCounts;
+import com.opengamma.strata.basics.date.DaysAdjustment;
+import com.opengamma.strata.basics.date.HolidayCalendarId;
+import com.opengamma.strata.basics.date.HolidayCalendarIds;
+import com.opengamma.strata.basics.schedule.Frequency;
+import com.opengamma.strata.basics.schedule.PeriodicSchedule;
+import com.opengamma.strata.basics.schedule.StubConvention;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
 import com.opengamma.strata.market.sensitivity.MutablePointSensitivities;
 import com.opengamma.strata.market.sensitivity.PointSensitivity;
@@ -46,6 +59,12 @@
 import com.opengamma.strata.pricer.sensitivity.RatesFiniteDifferenceSensitivityCalculator;
 import com.opengamma.strata.pricer.swap.DiscountingSwapLegPricer;
 import com.opengamma.strata.pricer.swap.DiscountingSwapProductPricer;
+import com.opengamma.strata.product.LegalEntityId;
+import com.opengamma.strata.product.SecurityId;
+import com.opengamma.strata.product.bond.FixedCouponBond;
+import com.opengamma.strata.product.bond.FixedCouponBondPaymentPeriod;
+import com.opengamma.strata.product.bond.FixedCouponBondYieldConvention;
+import com.opengamma.strata.product.bond.ResolvedFixedCouponBond;
 import com.opengamma.strata.product.rate.FixedRateComputation;
 import com.opengamma.strata.product.rate.IborRateComputation;
 import com.opengamma.strata.product.rate.OvernightRateComputation;
@@ -537,5 +556,83 @@ public void test_cashFlowEquivalentAndSensitivity_wrongSwap() {
     assertThatIllegalArgumentException()
         .isThrownBy(() -> CashFlowEquivalentCalculator.cashFlowEquivalentAndSensitivitySwap(swap3, PROVIDER));
   }
+  
+  /* Check cash flow equivalent for a set of bonds corresponding to bond futures underlyings. */
+
+  private static final LegalEntityId ISSUER_ID_DE = LegalEntityId.of("OG-Ticker", "GOVT-DE");
+  private static final FixedCouponBondYieldConvention YIELD_CONVENTION_DE = FixedCouponBondYieldConvention.DE_BONDS;
+  private static final double NOTIONAL_EUR = 100000d;
+  private static final HolidayCalendarId CALENDAR_EUR = HolidayCalendarIds.EUTA;
+  private static final DaysAdjustment SETTLEMENT_DAYS_EUR = DaysAdjustment.ofBusinessDays(3, CALENDAR_EUR);
+  private static final DayCount DAY_COUNT_EUR = DayCounts.ACT_ACT_ICMA;
+  private static final BusinessDayAdjustment BUSINESS_ADJUST_EUR =
+      BusinessDayAdjustment.of(FOLLOWING, CALENDAR_EUR);
+  private static final DaysAdjustment EX_COUPON_DE = DaysAdjustment.NONE;
+  private static final int NB_BOND_EUR = 4;
+  // Underlying bonds description from www.deutsche-finanzagentur.de
+  private static final double[] COUPON_DE = new double[] {0.00, 0.0170, 0.00, 0.0050};
+  private static final LocalDate[] START_DATE_DE = new LocalDate[] {
+      LocalDate.of(2021, 8, 15), LocalDate.of(2022, 8, 15), LocalDate.of(2022, 2, 15), LocalDate.of(2018, 2, 15)};
+  private static final LocalDate[] END_DATE_DE = new LocalDate[] {
+      LocalDate.of(2031, 8, 15), LocalDate.of(2032, 8, 15), LocalDate.of(2032, 2, 15), LocalDate.of(2028, 2, 15)};
+  private static final StandardId[] BOND_SECURITY_ID_EUR = new StandardId[] {
+      StandardId.of("ISIN", "DE0001102564"),
+      StandardId.of("ISIN", "DE0001102606"),
+      StandardId.of("ISIN", "DE0001102580"),
+      StandardId.of("ISIN", "DE0001102440")};
+  public static final ResolvedFixedCouponBond[] BOND_DE = new ResolvedFixedCouponBond[NB_BOND_EUR];
+  static {
+    for (int i = 0; i < NB_BOND_EUR; ++i) {
+      PeriodicSchedule periodSchedule = PeriodicSchedule.of(
+          START_DATE_DE[i], END_DATE_DE[i], Frequency.P12M, BUSINESS_ADJUST_EUR, StubConvention.LONG_INITIAL, false);
+      FixedCouponBond product = FixedCouponBond.builder()
+          .securityId(SecurityId.of(BOND_SECURITY_ID_EUR[i]))
+          .dayCount(DAY_COUNT_EUR)
+          .fixedRate(COUPON_DE[i])
+          .legalEntityId(ISSUER_ID_DE)
+          .currency(EUR)
+          .notional(NOTIONAL_EUR)
+          .accrualSchedule(periodSchedule)
+          .settlementDateOffset(SETTLEMENT_DAYS_EUR)
+          .yieldConvention(YIELD_CONVENTION_DE)
+          .exCouponPeriod(EX_COUPON_DE)
+          .build();
+      BOND_DE[i] = product.resolve(REF_DATA);
+    }
+  }
+  private static final LocalDate[] SETTLE_DATE = new LocalDate[] {
+      LocalDate.of(2022, 9, 12), LocalDate.of(2022, 9, 12), LocalDate.of(2023, 3, 10), LocalDate.of(2023, 9, 12)};
+  private static final Offset<Double> TOLERANCE_AMOUNT = offset(1.0E-10);
+
+  @Test
+  public void cfe_bond() {
+    int[] nbCf = {10, 11, 10, 6}; // Hard-coded values
+    for (int i = 0; i < NB_BOND_EUR; ++i) {
+      ResolvedSwapLeg cfe = CashFlowEquivalentCalculator.cashFlowEquivalent(BOND_DE[i], SETTLE_DATE[i]);
+      assertThat(cfe.getPaymentEvents().size()).isEqualTo(nbCf[i]);
+      int loopcfe = 0;
+      for (int loopcpn = 0; loopcpn < BOND_DE[i].getPeriodicPayments().size(); loopcpn++) {
+        FixedCouponBondPaymentPeriod payment = BOND_DE[i].getPeriodicPayments().get(loopcpn);
+        LocalDate detachmentDate = payment.getDetachmentDate();
+        if (detachmentDate.isAfter(SETTLE_DATE[i])) {
+          double amount = payment.getYearFraction() * payment.getFixedRate() * payment.getNotional();
+          Payment paymentLocalTest = Payment.of(payment.getCurrency(), amount, detachmentDate);
+          SwapPaymentEvent paymentFromCfe = cfe.getPaymentEvents().get(loopcfe);
+          assertThat(paymentFromCfe instanceof NotionalExchange).isTrue();
+          assertThat(paymentLocalTest.getDate()).isEqualTo(paymentFromCfe.getPaymentDate());
+          assertThat(paymentLocalTest.getCurrency()).isEqualTo(paymentFromCfe.getCurrency());
+          assertThat(paymentLocalTest.getAmount())
+              .isEqualTo(((NotionalExchange) paymentFromCfe).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
+          loopcfe++;
+        }
+      }
+      SwapPaymentEvent paymentFromCfeNotional = cfe.getPaymentEvents().get(loopcfe);
+      assertThat(paymentFromCfeNotional instanceof NotionalExchange).isTrue();
+      assertThat(BOND_DE[i].getEndDate()).isEqualTo(paymentFromCfeNotional.getPaymentDate());
+      assertThat(BOND_DE[i].getCurrency()).isEqualTo(paymentFromCfeNotional.getCurrency());
+      assertThat(BOND_DE[i].getNotional())
+          .isEqualTo(((NotionalExchange) paymentFromCfeNotional).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
+    }
+  }
 
 }ueu(f0fb22a373a519ba11cc267e87eff43126113be8}(sha(f0fb22a373a519ba11cc267e87eff43126113be8node_idEC_kwDOAT6l0doAKGYwZmIyMmEzNzNhNTE5YmExMWNjMjY3ZTg3ZWZmNDMxMjYxMTNiZTgcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-07T12:00:20Zu	committer}(j  Akshai Shahj  #akshaishah@users.noreply.github.comj  2023-03-07T12:00:20Zumessage7Introduce ParseFailureException to Positions CSV Loadertree}(j  (256b9cad34178179148aca93b3a58b84d28ecd75url`https://api.github.com/repos/OpenGamma/Strata/git/trees/256b9cad34178179148aca93b3a58b84d28ecd75uj
  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f0fb22a373a519ba11cc267e87eff43126113be8
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj
  ^https://api.github.com/repos/OpenGamma/Strata/commits/f0fb22a373a519ba11cc267e87eff43126113be8html_urlShttps://github.com/OpenGamma/Strata/commit/f0fb22a373a519ba11cc267e87eff43126113be8comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f0fb22a373a519ba11cc267e87eff43126113be8/commentsj  }(login
akshaishahidJd
 j  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j
  'https://api.github.com/users/akshaishahj  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuj   }(j  
akshaishahj  Jd
 j  MDQ6VXNlcjE5MDM5NzI=j  3https://avatars.githubusercontent.com/u/1903972?v=4j!  h3j
  'https://api.github.com/users/akshaishahj  https://github.com/akshaishahj$  1https://api.github.com/users/akshaishah/followersj&  >https://api.github.com/users/akshaishah/following{/other_user}j(  7https://api.github.com/users/akshaishah/gists{/gist_id}j*  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j,  5https://api.github.com/users/akshaishah/subscriptionsj.  ,https://api.github.com/users/akshaishah/orgsj0  -https://api.github.com/users/akshaishah/reposj2  8https://api.github.com/users/akshaishah/events{/privacy}j4  7https://api.github.com/users/akshaishah/received_eventsj6  Userj8  uparents]}(j  (40421567759d7cf4f35762704bdb2a4e4c1a3d06j
  ^https://api.github.com/repos/OpenGamma/Strata/commits/40421567759d7cf4f35762704bdb2a4e4c1a3d06j  Shttps://github.com/OpenGamma/Strata/commit/40421567759d7cf4f35762704bdb2a4e4c1a3d06uastats}(totalKH	additionsKH	deletionsK ufiles](}(j  (c972e66dd5f1964c615c02e8a7dfc124ada842a4filename[modules/collect/src/main/java/com/opengamma/strata/collect/result/FailureAttributeKeys.javastatusmodifiedjR  KjS  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/f0fb22a373a519ba11cc267e87eff43126113be8/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/f0fb22a373a519ba11cc267e87eff43126113be8/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.java?ref=f0fb22a373a519ba11cc267e87eff43126113be8patchX  @@ -79,6 +79,10 @@ public final class FailureAttributeKeys {
    * The attribute for specifying the product type associated with the error.
    */
   public static final String PRODUCT_TYPE = "productType";
+  /**
+   * The attribute for specifying the field associated with the error.
+   */
+  public static final String FIELD = "field";
 
   // restricted constructor
   private FailureAttributeKeys() {u}(j  (0cad3a046a30740bee861d8c526b117626a12627jX  Tmodules/collect/src/main/java/com/opengamma/strata/collect/result/FailureReason.javajZ  modifiedjR  KjS  K j\  Kj]  https://github.com/OpenGamma/Strata/blob/f0fb22a373a519ba11cc267e87eff43126113be8/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureReason.javaj_  https://github.com/OpenGamma/Strata/raw/f0fb22a373a519ba11cc267e87eff43126113be8/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureReason.javaja  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureReason.java?ref=f0fb22a373a519ba11cc267e87eff43126113be8jc  XH  @@ -78,6 +78,18 @@ public enum FailureReason implements NamedEnum {
    * This is used to indicate that a calculation failed.
    */
   CALCULATION_FAILED,
+  /**
+   * The operation failed because a field was missing.
+   * <p>
+   * This is used to indicate that a field was not provided.
+   */
+  FIELD_MISSING,
+  /**
+   * The operation failed because data was not provided in the correct format.
+   * <p>
+   * This is used to indicate that a field was not provided in the expected format.
+   */
+  WRONG_FORMAT,
   /**
    * Failure occurred for some other reason.
    * <p>u}(j  (bc98c72a797796983dc0ff1440c15867372d05c1jX  \modules/collect/src/main/java/com/opengamma/strata/collect/result/ParseFailureException.javajZ  modifiedjR  K1jS  K j\  K1j]  https://github.com/OpenGamma/Strata/blob/f0fb22a373a519ba11cc267e87eff43126113be8/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FParseFailureException.javaj_  https://github.com/OpenGamma/Strata/raw/f0fb22a373a519ba11cc267e87eff43126113be8/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FParseFailureException.javaja  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FParseFailureException.java?ref=f0fb22a373a519ba11cc267e87eff43126113be8jc  X	  @@ -67,6 +67,55 @@ public ParseFailureException(Throwable cause, String messageTemplate, Object...
     initCause(cause);
   }
 
+  /**
+   * Returns an exception from a cause, reason and message.
+   * <p>
+   * The message is produced using a template that contains zero to many "{argName}" placeholders.
+   * Each placeholder is replaced by the next available argument.
+   * If there are too few arguments, then the message will be left with placeholders.
+   * If there are too many arguments, then the excess arguments are appended to the
+   * end of the message. No attempt is made to format the arguments.
+   * See {@link Messages#formatWithAttributes(String, Object...)} for more details.
+   *
+   * @param cause  the cause
+   * @param reason the reason for the failure
+   * @param messageTemplate  a message explaining the failure, not empty, uses "{argName}" for inserting {@code messageArgs}
+   * @param messageArgs  the arguments for the message
+   */
+  public ParseFailureException(Throwable cause, FailureReason reason, String messageTemplate, Object... messageArgs) {
+    this(FailureItem.of(reason, cause, messageTemplate, messageArgs));
+    initCause(cause);
+  }
+
+  /**
+   * Returns an exception from a cause, reason, field and message.
+   * <p>
+   * The message is produced using a template that contains zero to many "{argName}" placeholders.
+   * Each placeholder is replaced by the next available argument.
+   * If there are too few arguments, then the message will be left with placeholders.
+   * If there are too many arguments, then the excess arguments are appended to the
+   * end of the message. No attempt is made to format the arguments.
+   * See {@link Messages#formatWithAttributes(String, Object...)} for more details.
+   *
+   * @param cause  the cause
+   * @param reason the reason for the failure
+   * @param field the field related to the failure
+   * @param messageTemplate  a message explaining the failure, not empty, uses "{argName}" for inserting {@code messageArgs}
+   * @param messageArgs  the arguments for the message
+   */
+  public ParseFailureException(
+      Throwable cause,
+      FailureReason reason,
+      String field,
+      String messageTemplate,
+      Object... messageArgs) {
+
+    this(FailureItem.of(reason, cause, messageTemplate, messageArgs).withAttribute(
+        FailureAttributeKeys.FIELD,
+        field));
+    initCause(cause);
+  }
+
   /**
    * Gets the failure item.
    *u}(j  (edd558111d3e8b1bb1dbacafad37a60e3ec6d36ejX  Smodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvLoader.javajZ  modifiedjR  KjS  K j\  Kj]  https://github.com/OpenGamma/Strata/blob/f0fb22a373a519ba11cc267e87eff43126113be8/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj_  https://github.com/OpenGamma/Strata/raw/f0fb22a373a519ba11cc267e87eff43126113be8/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaja  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.java?ref=f0fb22a373a519ba11cc267e87eff43126113be8jc  X  @@ -33,8 +33,10 @@
 import com.opengamma.strata.collect.io.ResourceLocator;
 import com.opengamma.strata.collect.io.UnicodeBom;
 import com.opengamma.strata.collect.named.ExtendedEnum;
+import com.opengamma.strata.collect.result.FailureAttributeKeys;
 import com.opengamma.strata.collect.result.FailureItem;
 import com.opengamma.strata.collect.result.FailureReason;
+import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.result.ValueWithFailures;
 import com.opengamma.strata.product.Position;
 import com.opengamma.strata.product.PositionInfo;
@@ -386,6 +388,11 @@ private <T extends Position> ValueWithFailures<List<T>> parseFile(CsvIterator cs
               row.lineNumber()));
         }
 
+      } catch (ParseFailureException ex) {
+        FailureItem failureItem = ex.getFailureItem()
+            .withAttribute(FailureAttributeKeys.LINE_NUMBER, Integer.toString(row.lineNumber()))
+            .withAttribute(FailureAttributeKeys.FILE_NAME, CharSources.extractFileName(charSource));
+        failures.add(failureItem);
       } catch (RuntimeException ex) {
         failures.add(FailureItem.of(
             FailureReason.PARSING,ueu(c262eebaf1087097e9921f547d5981d197cec60b}(sha(c262eebaf1087097e9921f547d5981d197cec60bnode_idEC_kwDOAT6l0doAKGMyNjJlZWJhZjEwODcwOTdlOTkyMWY1NDdkNTk4MWQxOTdjZWM2MGIcommit}(author}(nameBrian Welleremail&brianweller89@users.noreply.github.comdate2023-03-06T18:51:42Zu	committer}(j  Brian Wellerj  &brianweller89@users.noreply.github.comj  2023-03-06T18:51:42ZumessageCleanup commentstree}(j  (5f5fab5e2e75b32ef807727b3699c3c2baed3661url`https://api.github.com/repos/OpenGamma/Strata/git/trees/5f5fab5e2e75b32ef807727b3699c3c2baed3661uj  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/c262eebaf1087097e9921f547d5981d197cec60b
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj  ^https://api.github.com/repos/OpenGamma/Strata/commits/c262eebaf1087097e9921f547d5981d197cec60bhtml_urlShttps://github.com/OpenGamma/Strata/commit/c262eebaf1087097e9921f547d5981d197cec60bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/c262eebaf1087097e9921f547d5981d197cec60b/commentsj  }(login
brianweller89idJIej  MDQ6VXNlcjIzNDM0MzEz
avatar_url4https://avatars.githubusercontent.com/u/23434313?v=4gravatar_idh3j  *https://api.github.com/users/brianweller89j   https://github.com/brianweller89
followers_url4https://api.github.com/users/brianweller89/followers
following_urlAhttps://api.github.com/users/brianweller89/following{/other_user}	gists_url:https://api.github.com/users/brianweller89/gists{/gist_id}starred_urlAhttps://api.github.com/users/brianweller89/starred{/owner}{/repo}subscriptions_url8https://api.github.com/users/brianweller89/subscriptionsorganizations_url/https://api.github.com/users/brianweller89/orgs	repos_url0https://api.github.com/users/brianweller89/repos
events_url;https://api.github.com/users/brianweller89/events{/privacy}received_events_url:https://api.github.com/users/brianweller89/received_eventstypeUser
site_adminuj  }(j  
brianweller89j  JIej  MDQ6VXNlcjIzNDM0MzEzj  4https://avatars.githubusercontent.com/u/23434313?v=4j  h3j  *https://api.github.com/users/brianweller89j   https://github.com/brianweller89j  4https://api.github.com/users/brianweller89/followersj  Ahttps://api.github.com/users/brianweller89/following{/other_user}j  :https://api.github.com/users/brianweller89/gists{/gist_id}j  Ahttps://api.github.com/users/brianweller89/starred{/owner}{/repo}j  8https://api.github.com/users/brianweller89/subscriptionsj  /https://api.github.com/users/brianweller89/orgsj  0https://api.github.com/users/brianweller89/reposj  ;https://api.github.com/users/brianweller89/events{/privacy}j  :https://api.github.com/users/brianweller89/received_eventsj  Userj  uparents]}(j  (5777ce648566d4d0f1a42b805904fc4ea2cb30c5j  ^https://api.github.com/repos/OpenGamma/Strata/commits/5777ce648566d4d0f1a42b805904fc4ea2cb30c5j  Shttps://github.com/OpenGamma/Strata/commit/5777ce648566d4d0f1a42b805904fc4ea2cb30c5uastats}(totalK	additionsK	deletionsKufiles](}(j  (fc15bed129d963d54a982a9cb073dd50b3427e3dfilenameVmodules/product/src/main/java/com/opengamma/strata/product/common/SummarizerUtils.javastatusmodifiedj  Kj  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/c262eebaf1087097e9921f547d5981d197cec60b/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FSummarizerUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/c262eebaf1087097e9921f547d5981d197cec60b/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FSummarizerUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FSummarizerUtils.java?ref=c262eebaf1087097e9921f547d5981d197cec60bpatchX  @@ -174,7 +174,7 @@ public static String fx(CurrencyAmount base, CurrencyAmount counter) {
   /**
    * Provide a summary description of the given barrier.
    * <p>
-   * Summary contains the barrier level, the type and the knock type e.g. "[Up and KnockOut @ 1.25]".
+   * Summary contains the barrier level, the type and the knock type e.g. "Up-and-KnockOut @ 1.25".
    *
    * @param barrier the barrier
    * @param barrierObsDate the date on which the barrier level should be observedu}(j  (8e37d58134dff381164662690a2832987be1ee93j  `modules/product/src/main/java/com/opengamma/strata/product/fxopt/FxSingleBarrierOptionTrade.javaj  modifiedj  Kj  Kj  Kj  https://github.com/OpenGamma/Strata/blob/c262eebaf1087097e9921f547d5981d197cec60b/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTrade.javaj  https://github.com/OpenGamma/Strata/raw/c262eebaf1087097e9921f547d5981d197cec60b/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTrade.javaj  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTrade.java?ref=c262eebaf1087097e9921f547d5981d197cec60bj  X  @@ -84,7 +84,7 @@ public FxSingleBarrierOptionTrade withInfo(PortfolioItemInfo info) {
   //-------------------------------------------------------------------------
   @Override
   public PortfolioItemSummary summarize() {
-    // Long Barrier Pay USD 1mm Premium USD 100k @ GBP/USD 1.32 : 21Jan18
+    // Long Barrier Down-and-KnockIn @ 1.2 Pay USD 1mm Premium USD 100k @ GBP/USD 1.32 : 21Jan18
     StringBuilder buf = new StringBuilder(96);
     CurrencyAmount base = product.getUnderlyingOption().getUnderlying().getBaseCurrencyAmount();
     CurrencyAmount counter = product.getUnderlyingOption().getUnderlying().getCounterCurrencyAmount();ueu(9ba44aa83e8e93ad0846bad96ec6af69aa7e1197}(sha(9ba44aa83e8e93ad0846bad96ec6af69aa7e1197node_idEC_kwDOAT6l0doAKDliYTQ0YWE4M2U4ZTkzYWQwODQ2YmFkOTZlYzZhZjY5YWE3ZTExOTccommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-05-23T17:05:41Zu	committer}(j   Aaronj   +110403946+aaron-og@users.noreply.github.comj   2023-05-23T17:05:41Zumessage+Created OvernightFutureOptionVolatilitiesIdtree}(j  (004cd1f127ddc187794f4034a280bd5f2ac6b73curl`https://api.github.com/repos/OpenGamma/Strata/git/trees/004cd1f127ddc187794f4034a280bd5f2ac6b73cuj   bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/9ba44aa83e8e93ad0846bad96ec6af69aa7e1197
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj   ^https://api.github.com/repos/OpenGamma/Strata/commits/9ba44aa83e8e93ad0846bad96ec6af69aa7e1197html_urlShttps://github.com/OpenGamma/Strata/commit/9ba44aa83e8e93ad0846bad96ec6af69aa7e1197comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/9ba44aa83e8e93ad0846bad96ec6af69aa7e1197/commentsj   }(loginaaron-ogidJjj  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3j   %https://api.github.com/users/aaron-ogj    https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminuj
   }(j%   aaron-ogj'   Jjj  U_kgDOBpShagj)   5https://avatars.githubusercontent.com/u/110403946?v=4j+   h3j   %https://api.github.com/users/aaron-ogj    https://github.com/aaron-ogj.   /https://api.github.com/users/aaron-og/followersj0   <https://api.github.com/users/aaron-og/following{/other_user}j2   5https://api.github.com/users/aaron-og/gists{/gist_id}j4   <https://api.github.com/users/aaron-og/starred{/owner}{/repo}j6   3https://api.github.com/users/aaron-og/subscriptionsj8   *https://api.github.com/users/aaron-og/orgsj:   +https://api.github.com/users/aaron-og/reposj<   6https://api.github.com/users/aaron-og/events{/privacy}j>   5https://api.github.com/users/aaron-og/received_eventsj@   UserjB   uparents]}(j  (d53489595be3b8ae55300f148c924ca43b9c2ac7j   ^https://api.github.com/repos/OpenGamma/Strata/commits/d53489595be3b8ae55300f148c924ca43b9c2ac7j    Shttps://github.com/OpenGamma/Strata/commit/d53489595be3b8ae55300f148c924ca43b9c2ac7uastats}(totalK	additionsK	deletionsK ufiles]}(j  (10067ccaae89bfbb7b2a83597b08517b2a8a357dfilenamegmodules/pricer/src/main/java/com/opengamma/strata/pricer/index/OvernightFutureOptionVolatilitiesId.javastatusaddedj\   Kj]   K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/9ba44aa83e8e93ad0846bad96ec6af69aa7e1197/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FOvernightFutureOptionVolatilitiesId.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/9ba44aa83e8e93ad0846bad96ec6af69aa7e1197/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FOvernightFutureOptionVolatilitiesId.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FOvernightFutureOptionVolatilitiesId.java?ref=9ba44aa83e8e93ad0846bad96ec6af69aa7e1197patchXw  @@ -0,0 +1,153 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.pricer.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.opengamma.strata.data.MarketDataName;
+import com.opengamma.strata.data.NamedMarketDataId;
+
+/**
+ * An identifier used to access Overnight future option volatilities by name.
+ * <p>
+ * This is used when there is a need to obtain an instance of {@link OvernightFutureOptionVolatilities}.
+ */
+@BeanDefinition(style = "light", cacheHashCode = true)
+public final class OvernightFutureOptionVolatilitiesId
+    implements NamedMarketDataId<OvernightFutureOptionVolatilities>, ImmutableBean, Serializable {
+
+  /**
+   * The name of the volatilities.
+   */
+  @PropertyDefinition(validate = "notNull")
+  private final OvernightFutureOptionVolatilitiesName name;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an identifier used to find Overnight future option volatilities.
+   *
+   * @param name  the name
+   * @return an identifier for the volatilities
+   */
+  public static OvernightFutureOptionVolatilitiesId of(String name) {
+    return new OvernightFutureOptionVolatilitiesId(OvernightFutureOptionVolatilitiesName.of(name));
+  }
+
+  /**
+   * Obtains an identifier used to find Overnight future option volatilities.
+   *
+   * @param name  the name
+   * @return an identifier for the volatilities
+   */
+  public static OvernightFutureOptionVolatilitiesId of(OvernightFutureOptionVolatilitiesName name) {
+    return new OvernightFutureOptionVolatilitiesId(name);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public Class<OvernightFutureOptionVolatilities> getMarketDataType() {
+    return OvernightFutureOptionVolatilities.class;
+  }
+
+  @Override
+  public MarketDataName<OvernightFutureOptionVolatilities> getMarketDataName() {
+    return name;
+  }
+
+  @Override
+  public String toString() {
+    return "OvernightFutureOptionVolatilitiesId:" + name;
+  }
+
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code OvernightFutureOptionVolatilitiesId}.
+   */
+  private static final TypedMetaBean<OvernightFutureOptionVolatilitiesId> META_BEAN =
+      LightMetaBean.of(
+          OvernightFutureOptionVolatilitiesId.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "name"},
+          new Object[0]);
+
+  /**
+   * The meta-bean for {@code OvernightFutureOptionVolatilitiesId}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<OvernightFutureOptionVolatilitiesId> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  /**
+   * The cached hash code, using the racy single-check idiom.
+   */
+  private transient int cacheHashCode;
+
+  private OvernightFutureOptionVolatilitiesId(
+      OvernightFutureOptionVolatilitiesName name) {
+    JodaBeanUtils.notNull(name, "name");
+    this.name = name;
+  }
+
+  @Override
+  public TypedMetaBean<OvernightFutureOptionVolatilitiesId> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the name of the volatilities.
+   * @return the value of the property, not null
+   */
+  public OvernightFutureOptionVolatilitiesName getName() {
+    return name;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      OvernightFutureOptionVolatilitiesId other = (OvernightFutureOptionVolatilitiesId) obj;
+      return JodaBeanUtils.equal(name, other.name);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = cacheHashCode;
+    if (hash == 0) {
+      hash = getClass().hashCode();
+      hash = hash * 31 + JodaBeanUtils.hashCode(name);
+      cacheHashCode = hash;
+    }
+    return hash;
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}uau(fd10038e0660fb80be00a5a378eec58d5c452e82}(sha(fd10038e0660fb80be00a5a378eec58d5c452e82node_idEC_kwDOAT6l0doAKGZkMTAwMzhlMDY2MGZiODBiZTAwYTVhMzc4ZWVjNThkNWM0NTJlODIcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-18T17:39:42Zu	committer}(jy   yukiiwashitaj{   %yukiiwashita@users.noreply.github.comj}   2023-05-18T17:39:42Zumessage9Merge branch 'main' into topic/bond-conversion-derivativetree}(jq   (12091c7f068ee05a905f6049de8dcee3901b9bedurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/12091c7f068ee05a905f6049de8dcee3901b9beduj   bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/fd10038e0660fb80be00a5a378eec58d5c452e82
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj   ^https://api.github.com/repos/OpenGamma/Strata/commits/fd10038e0660fb80be00a5a378eec58d5c452e82html_urlShttps://github.com/OpenGamma/Strata/commit/fd10038e0660fb80be00a5a378eec58d5c452e82comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/fd10038e0660fb80be00a5a378eec58d5c452e82/commentsjw   }(loginyukiiwashitaidJ- js   MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3j   )https://api.github.com/users/yukiiwashitaj   https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminuj   }(j   yukiiwashitaj   J- js   MDQ6VXNlcjMwMDY2NTY=j   3https://avatars.githubusercontent.com/u/3006656?v=4j   h3j   )https://api.github.com/users/yukiiwashitaj   https://github.com/yukiiwashitaj   3https://api.github.com/users/yukiiwashita/followersj   @https://api.github.com/users/yukiiwashita/following{/other_user}j   9https://api.github.com/users/yukiiwashita/gists{/gist_id}j   @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}j   7https://api.github.com/users/yukiiwashita/subscriptionsj   .https://api.github.com/users/yukiiwashita/orgsj   /https://api.github.com/users/yukiiwashita/reposj   :https://api.github.com/users/yukiiwashita/events{/privacy}j   9https://api.github.com/users/yukiiwashita/received_eventsj   Userj   uparents](}(jq   (f9993548ac0bdc99c1ad09191c2f62b93d76ed35j   ^https://api.github.com/repos/OpenGamma/Strata/commits/f9993548ac0bdc99c1ad09191c2f62b93d76ed35j   Shttps://github.com/OpenGamma/Strata/commit/f9993548ac0bdc99c1ad09191c2f62b93d76ed35u}(jq   (d53489595be3b8ae55300f148c924ca43b9c2ac7j   ^https://api.github.com/repos/OpenGamma/Strata/commits/d53489595be3b8ae55300f148c924ca43b9c2ac7j   Shttps://github.com/OpenGamma/Strata/commit/d53489595be3b8ae55300f148c924ca43b9c2ac7uestats}(totalM	additionsMM	deletionsK8ufiles](}(jq   (89c2af0cb8f85050a587ccb520903551a088681dfilenameexamples/pom.xmlstatusmodifiedj   Kj   KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82patchXK  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.22-SNAPSHOT</version>
+  <version>2.12.24-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>u}(jq   (b303a68426251f6e588066a731f1e3318157c5d6j   modules/basics/pom.xmlj   modifiedj   Kj   Kj   Kj   lhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fbasics%2Fpom.xmlj   khttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fbasics%2Fpom.xmlj   ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(jq   (75f725c547dcdaae163858e87a442c7b88fb2840j   modules/calc/pom.xmlj   modifiedj   Kj   Kj   Kj   jhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcalc%2Fpom.xmlj   ihttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcalc%2Fpom.xmlj   |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(jq   (3ca29a7d2f8063bb87a2d7fd234723ccfc5c0343j   modules/collect/pom.xmlj   modifiedj   Kj   Kj   Kj   mhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fpom.xmlj   lhttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fpom.xmlj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(jq   (35afca14f9279bb0a76d58d4de206729c4ce4c63j   Jmodules/collect/src/main/java/com/opengamma/strata/collect/ArgChecker.javaj   modifiedj   Kpj   K j   Kpj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgChecker.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgChecker.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgChecker.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X  @@ -752,6 +752,118 @@ private static String noDuplicatesSortedArrayMsg(String name) {
     return "Argument array '" + name + "' must be sorted and not contain duplicates";
   }
 
+  //-------------------------------------------------------------------------
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is positive
+   */
+  public static int notPositive(int argument, String name) {
+    if (argument > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  private static String notPositiveMsg(String name, Object argument) {
+    return "Argument '" + name + "' must not be positive but has value " + argument;
+  }
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is positive
+   */
+  public static long notPositive(long argument, String name) {
+    if (argument > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is positive
+   */
+  public static double notPositive(double argument, String name) {
+    if (argument > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is not null and is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is null or positive
+   */
+  public static Decimal notPositive(Decimal argument, String name) {
+    notNull(argument, name);
+    if (argument.unscaledValue() > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  /**
+   * Checks that the argument is not positive if the arguement is not null.
+   * <p>
+   * Given the input argument, this returns only if it is null or if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositiveIfPresent(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is not null and is positive
+   */
+  public static Decimal notPositiveIfPresent(Decimal argument, String name) {
+    if (argument != null && argument.unscaledValue() > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks that the argument is not negative.u}(jq   (7bbee27e3c18706ffe1459f87091f0033466763cj   Kmodules/collect/src/main/java/com/opengamma/strata/collect/BasisPoints.javaj   modifiedj   K
j   Kj   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPoints.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPoints.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPoints.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   XF  @@ -18,11 +18,11 @@
  * <ul>
  * <li>decimal form - the form needed for mathematical calculations, as used by most parts of Strata
  * <li>percentage - where 1.2% is the same as the decimal 0.012
- * <li>basis points - where 120bps is the same as the decimal 0.012
+ * <li>basis points - where 125bps is the same as the decimal 0.0125
  * </ul>
  * This class allows the use of basis points form to be explicit.
  */
-public final class BasisPoints {
+public final class BasisPoints implements Comparable<BasisPoints> {
 
   /** A basis points of zero. */
   public static final BasisPoints ZERO = new BasisPoints(Decimal.ZERO);
@@ -181,6 +181,17 @@ public BasisPoints map(UnaryOperator<Decimal> mapper) {
   }
 
   //-----------------------------------------------------------------------
+  /**
+   * Compares this instance to another.
+   * 
+   * @param other the other instance
+   * @return the comparison result
+   */
+  @Override
+  public int compareTo(BasisPoints other) {
+    return amount.compareTo(other.amount);
+  }
+
   /**
    * Checks if this instance equals another.
    * u}(jq   (ae81f3b9126599b795df0024ec164084a67313ffj   Lmodules/collect/src/main/java/com/opengamma/strata/collect/CharMatchers.javaj   addedj   Kgj   K j   Kgj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchers.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchers.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchers.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X
  @@ -0,0 +1,103 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.collect;
+
+import com.google.common.base.CharMatcher;
+
+/**
+ * Useful Guava character matchers.
+ */
+public final class CharMatchers {
+
+  private static final CharMatcher UPPER_LETTERS = CharMatcher.inRange('A', 'Z');
+  private static final CharMatcher LOWER_LETTERS = CharMatcher.inRange('a', 'z');
+  private static final CharMatcher LETTERS = UPPER_LETTERS.or(LOWER_LETTERS);
+  private static final CharMatcher DIGITS = CharMatcher.inRange('0', '9');
+  private static final CharMatcher LETTERS_DIGITS = LETTERS.or(DIGITS);
+  private static final CharMatcher UPPER_HEX = DIGITS.or(CharMatcher.inRange('A', 'F'));
+  private static final CharMatcher LOWER_HEX = DIGITS.or(CharMatcher.inRange('a', 'f'));
+  private static final CharMatcher HEX = UPPER_HEX.or(LOWER_HEX);
+
+  /**
+   * Restricted constructor.
+   */
+  private CharMatchers() {
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Returns the matcher for ASCII upper case letters.
+   *
+   * @return the matcher for ASCII upper case letters
+   */
+  public static CharMatcher upperLetters() {
+    return UPPER_LETTERS;
+  }
+
+  /**
+   * Returns the matcher for ASCII upper case letters.
+   *
+   * @return the matcher for ASCII upper case letters
+   */
+  public static CharMatcher lowerLetters() {
+    return LOWER_LETTERS;
+  }
+
+  /**
+   * Returns the matcher for ASCII letters.
+   *
+   * @return the matcher for ASCII letters
+   */
+  public static CharMatcher letters() {
+    return LETTERS;
+  }
+
+  /**
+   * Returns the matcher for ASCII digits.
+   *
+   * @return the matcher for ASCII digits
+   */
+  public static CharMatcher digits() {
+    return DIGITS;
+  }
+
+  /**
+   * Returns the matcher for ASCII letters and digits.
+   *
+   * @return the matcher for ASCII letters and digits
+   */
+  public static CharMatcher lettersAndDigits() {
+    return LETTERS_DIGITS;
+  }
+
+  /**
+   * Returns the matcher for ASCII upper case hex characters.
+   *
+   * @return the matcher for ASCII upper case hex characters
+   */
+  public static CharMatcher upperHex() {
+    return UPPER_HEX;
+  }
+
+  /**
+   * Returns the matcher for ASCII upper case hex characters.
+   *
+   * @return the matcher for ASCII upper case hex characters
+   */
+  public static CharMatcher lowerHex() {
+    return LOWER_HEX;
+  }
+
+  /**
+   * Returns the matcher for ASCII hex characters.
+   *
+   * @return the matcher for ASCII hex characters
+   */
+  public static CharMatcher hex() {
+    return HEX;
+  }
+
+}u}(jq   (8e662b575aad4759c75ca6ff0972ee1aece55c17j   Jmodules/collect/src/main/java/com/opengamma/strata/collect/Percentage.javaj   modifiedj   K
j   Kj   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentage.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentage.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentage.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X;  @@ -18,11 +18,11 @@
  * <ul>
  * <li>decimal form - the form needed for mathematical calculations, as used by most parts of Strata
  * <li>percentage - where 1.2% is the same as the decimal 0.012
- * <li>basis points - where 120bps is the same as the decimal 0.012
+ * <li>basis points - where 125bps is the same as the decimal 0.0125
  * </ul>
  * This class allows the use of percentage form to be explicit.
  */
-public final class Percentage {
+public final class Percentage implements Comparable<Percentage> {
 
   /** A percentage of zero. */
   public static final Percentage ZERO = new Percentage(Decimal.ZERO);
@@ -183,6 +183,17 @@ public Percentage map(UnaryOperator<Decimal> mapper) {
   }
 
   //-----------------------------------------------------------------------
+  /**
+   * Compares this instance to another.
+   * 
+   * @param other the other instance
+   * @return the comparison result
+   */
+  @Override
+  public int compareTo(Percentage other) {
+    return amount.compareTo(other.amount);
+  }
+
   /**
    * Checks if this instance equals another.
    * u}(jq   (4075f2669a150b92629db8d85c0c23746d23d0bbj   Imodules/collect/src/main/java/com/opengamma/strata/collect/Unchecked.javaj   modifiedj   K	j   Kj   K
j   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X  @@ -9,6 +9,8 @@
 import java.io.IOException;
 import java.io.UncheckedIOException;
 import java.lang.reflect.InvocationTargetException;
+import java.util.concurrent.CompletionException;
+import java.util.concurrent.ExecutionException;
 import java.util.function.BiConsumer;
 import java.util.function.BiFunction;
 import java.util.function.BiPredicate;
@@ -334,6 +336,8 @@ public static <R> Supplier<R> supplier(CheckedSupplier<R> supplier) {
    * Propagates {@code throwable} as-is if possible, or by wrapping in a {@code RuntimeException} if not.
    * <ul>
    *   <li>If {@code throwable} is an {@code InvocationTargetException} the cause is extracted and processed recursively.</li>
+   *   <li>If {@code throwable} is an {@code CompletionException} the cause is extracted and processed recursively.</li>
+   *   <li>If {@code throwable} is an {@code ExecutionException} the cause is extracted and processed recursively.</li>
    *   <li>If {@code throwable} is an {@code Error} or {@code RuntimeException} it is propagated as-is.</li>
    *   <li>If {@code throwable} is an {@code IOException} it is wrapped in {@code UncheckedIOException} and thrown.</li>
    *   <li>If {@code throwable} is an {@code ReflectiveOperationException} it is wrapped in
@@ -353,11 +357,15 @@ public static <R> Supplier<R> supplier(CheckedSupplier<R> supplier) {
    * </pre>
    *
    * @param throwable the {@code Throwable} to propagate
-   * @return nothing; this method always throws an exception
+   * @return never returns as an exception is always thrown
    */
   public static RuntimeException propagate(Throwable throwable) {
     if (throwable instanceof InvocationTargetException) {
       throw propagate(((InvocationTargetException) throwable).getCause());
+    } else if (throwable instanceof CompletionException) {
+      throw propagate(((CompletionException) throwable).getCause());
+    } else if (throwable instanceof ExecutionException) {
+      throw propagate(((ExecutionException) throwable).getCause());
     } else if (throwable instanceof IOException) {
       throw new UncheckedIOException((IOException) throwable);
     } else if (throwable instanceof ReflectiveOperationException) {u}(jq   (29e1fa58aaf58d54c11444624c8560c256e102f6j   Nmodules/collect/src/test/java/com/opengamma/strata/collect/ArgCheckerTest.javaj   modifiedj   KDj   K j   KDj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgCheckerTest.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgCheckerTest.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgCheckerTest.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X|
  @@ -536,6 +536,74 @@ public void test_noNulls_Map_nullValue() {
         .withMessageMatching(".*map.*'name'.*null.*");
   }
 
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_notPositive_int_ok() {
+    assertThat(ArgChecker.notPositive(0, "name")).isEqualTo(0);
+    assertThat(ArgChecker.notPositive(-1, "name")).isEqualTo(-1);
+  }
+
+  @Test
+  public void test_notPositve_int_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(1, "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+
+  }
+
+  @Test
+  public void test_notPositive_long_ok() {
+    assertThat(ArgChecker.notPositive(0L, "name")).isEqualTo(0L);
+    assertThat(ArgChecker.notPositive(-1L, "name")).isEqualTo(-1L);
+  }
+
+  @Test
+  public void test_notPositive_long_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(1L, "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
+  @Test
+  public void test_notPositive_double_ok() {
+    assertThat(ArgChecker.notPositive(0d, "name")).isEqualTo(0d);
+    assertThat(ArgChecker.notPositive(-1d, "name")).isEqualTo(-1d);
+  }
+
+  @Test
+  public void test_notPositive_double_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(1d, "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
+  @Test
+  public void test_notPositive_Decimal_ok() {
+    assertThat(ArgChecker.notPositive(Decimal.of(0), "name")).isEqualTo(Decimal.of(0));
+    assertThat(ArgChecker.notPositive(Decimal.of(-1), "name")).isEqualTo(Decimal.of(-1));
+  }
+
+  @Test
+  public void test_notPositive_Decimal_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(Decimal.of(1), "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
+  @Test
+  public void test_notPositiveIfPresent_Decimal_ok() {
+    assertThat(ArgChecker.notPositiveIfPresent(null, "name")).isNull();
+    assertThat(ArgChecker.notPositiveIfPresent(Decimal.of(0), "name")).isEqualTo(Decimal.of(0));
+    assertThat(ArgChecker.notPositiveIfPresent(Decimal.of(-1), "name")).isEqualTo(Decimal.of(-1));
+  }
+
+  @Test
+  public void test_notPositiveIfPresent_Decimal_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositiveIfPresent(Decimal.of(1), "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
   //-------------------------------------------------------------------------
   @Test
   public void test_notNegative_int_ok() {u      }(jq   (4a8e82c9ff806d4cdbcd2d2b699e0f812ab4851ej   Omodules/collect/src/test/java/com/opengamma/strata/collect/BasisPointsTest.javaj   modifiedj   Kj   K j   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPointsTest.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPointsTest.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPointsTest.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X4  @@ -41,6 +41,8 @@ void test_values(BasisPoints test, String str, Decimal value) {
     assertThat(BasisPoints.parse(str + "bps")).isEqualTo(test);
     assertThat(BasisPoints.parse(str + " bps")).isEqualTo(test);
     assertThat(BasisPoints.parse(str)).isEqualTo(test);
+    assertThat(BasisPoints.parse(str)).isLessThan(BasisPoints.parse("1000bps"));
+    assertThat(BasisPoints.parse(str)).isGreaterThan(BasisPoints.parse("-1000bps"));
 
     assertThat(test.plus(BasisPoints.ZERO)).isEqualTo(test);
     assertThat(test.minus(BasisPoints.ZERO)).isEqualTo(test);u}(jq   (182e919327d7b57b9ff177d8f3e4d914143ace5dj   Pmodules/collect/src/test/java/com/opengamma/strata/collect/CharMatchersTest.javaj   addedj   KMj   K j   KMj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchersTest.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchersTest.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchersTest.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   XH  @@ -0,0 +1,77 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.collect;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+import org.junit.jupiter.api.Test;
+
+/**
+ * Test CharMatchers.
+ */
+public class CharMatchersTest {
+
+  @Test
+  public void test_upperLetters() {
+    assertThat(CharMatchers.upperLetters().matchesAllOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.upperLetters().matchesNoneOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.upperLetters().matchesNoneOf("0123456789"));
+    assertThat(CharMatchers.upperLetters().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_lowerLetters() {
+    assertThat(CharMatchers.lowerLetters().matchesNoneOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.lowerLetters().matchesAllOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.lowerLetters().matchesNoneOf("0123456789"));
+    assertThat(CharMatchers.lowerLetters().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_letters() {
+    assertThat(CharMatchers.letters().matchesAllOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.letters().matchesAllOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.letters().matchesNoneOf("0123456789"));
+    assertThat(CharMatchers.letters().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_digits() {
+    assertThat(CharMatchers.digits().matchesNoneOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.digits().matchesNoneOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.digits().matchesAllOf("0123456789"));
+    assertThat(CharMatchers.digits().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_lettersAndDigits() {
+    assertThat(CharMatchers.lettersAndDigits().matchesAllOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.lettersAndDigits().matchesAllOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.lettersAndDigits().matchesAllOf("0123456789"));
+    assertThat(CharMatchers.lettersAndDigits().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_upperHex() {
+    assertThat(CharMatchers.upperHex().matchesAllOf("0123456789ABCDEF"));
+    assertThat(CharMatchers.upperHex().matchesNoneOf("abcdef"));
+    assertThat(CharMatchers.upperHex().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_lowerHex() {
+    assertThat(CharMatchers.lowerHex().matchesAllOf("0123456789abcdef"));
+    assertThat(CharMatchers.lowerHex().matchesNoneOf("ABCDEF"));
+    assertThat(CharMatchers.lowerHex().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_hex() {
+    assertThat(CharMatchers.hex().matchesAllOf("0123456789abcdefABCDEF"));
+    assertThat(CharMatchers.hex().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+}u}(jq   (c4706b99e170f7b8f0c199ffe04a661023a08c0dj   Nmodules/collect/src/test/java/com/opengamma/strata/collect/PercentageTest.javaj   modifiedj   Kj   K j   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentageTest.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentageTest.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentageTest.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X&  @@ -43,6 +43,8 @@ void test_values(Percentage test, String str, Decimal value) {
     assertThat(Percentage.parse(str + "pct")).isEqualTo(test);
     assertThat(Percentage.parse(str + " pct")).isEqualTo(test);
     assertThat(Percentage.parse(str)).isEqualTo(test);
+    assertThat(Percentage.parse(str)).isLessThan(Percentage.parse("1000%"));
+    assertThat(Percentage.parse(str)).isGreaterThan(Percentage.parse("-1000%"));
 
     assertThat(test.plus(Percentage.ZERO)).isEqualTo(test);
     assertThat(test.minus(Percentage.ZERO)).isEqualTo(test);u}(jq   (3e5a77b8c714974f4f028474f0a3938110a0a12cj   Mmodules/collect/src/test/java/com/opengamma/strata/collect/UncheckedTest.javaj   modifiedj   Kj   K j   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   Xa  @@ -14,6 +14,8 @@
 import java.io.UncheckedIOException;
 import java.lang.reflect.InvocationTargetException;
 import java.net.URISyntaxException;
+import java.util.concurrent.CompletionException;
+import java.util.concurrent.ExecutionException;
 import java.util.function.BiConsumer;
 import java.util.function.BiFunction;
 import java.util.function.BiPredicate;
@@ -379,6 +381,20 @@ public void test_propagate() {
       assertThat(ex.getClass()).isEqualTo(RuntimeException.class);
       assertThat(ex.getCause()).isSameAs(namingEx);
     }
+    try {
+      Unchecked.propagate(new CompletionException(ioEx));
+      fail("Expected UncheckedIOException");
+    } catch (UncheckedIOException ex) {
+      assertThat(ex.getClass()).isEqualTo(UncheckedIOException.class);
+      assertThat(ex.getCause()).isSameAs(ioEx);
+    }
+    try {
+      Unchecked.propagate(new ExecutionException(ioEx));
+      fail("Expected UncheckedIOException");
+    } catch (UncheckedIOException ex) {
+      assertThat(ex.getClass()).isEqualTo(UncheckedIOException.class);
+      assertThat(ex.getCause()).isSameAs(ioEx);
+    }
   }
 
 }u}(jq   (6caa11a7a1df26c4ab2e71323c41ae9ac6ac4fdej   modules/data/pom.xmlj   modifiedj   Kj   Kj   Kj   jhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fdata%2Fpom.xmlj   ihttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fdata%2Fpom.xmlj   |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X   @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(jq   (5f05f668a77d299add8cc63983c60c1abb144a3cj   modules/loader/pom.xmlj   modifiedj   Kj   Kj   Kj   lhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Floader%2Fpom.xmlj   khttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Floader%2Fpom.xmlj   ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(jq   (cb475d21fc8228aae06b1fea2b61f16712865981j   modules/market/pom.xmlj   modifiedj   Kj   Kj   Kj   lhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fmarket%2Fpom.xmlj   khttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fmarket%2Fpom.xmlj   ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(jq   (5ff33260894f4e40730ce2617aaf49d049b204d4j   Gmodules/market/src/main/java/com/opengamma/strata/market/ValueType.javaj   modifiedj   Kj   Kj   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X  @@ -134,7 +134,10 @@ public final class ValueType
    * Type used when each value is a correlation - 'CORRELATION'.
    */
   public static final ValueType CORRELATION = of("CORRELATION");
-
+  /**
+   * Type used when each value is the market quote e.g. a par rate for bonds = 'MarketQuote'.
+   */
+  public static final ValueType MARKET_QUOTE = of("MarketQuote");
   //-------------------------------------------------------------------------
   /**
    * Obtains an instance from the specified name.u}(jq   (324f9ce4fcc4eeb211998f1392677373116b230ej   modules/math/pom.xmlj   modifiedj   Kj   Kj   Kj   jhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fmath%2Fpom.xmlj   ihttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fmath%2Fpom.xmlj   |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(jq   (5966599f607f3e11d6d1a1409495991b1e79e5f5j   modules/measure/pom.xmlj   modifiedj   Kj   Kj   Kj   mhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fmeasure%2Fpom.xmlj   lhttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fmeasure%2Fpom.xmlj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X#  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(jq   (24181178ac0f2b7d218abfcf45d08ac03d4f1e31j   modules/pom.xmlj   modifiedj   Kj   Kj   Kj   chttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpom.xmlj   bhttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpom.xmlj   uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X3  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.22-SNAPSHOT</version>
+  <version>2.12.24-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>u}(jq   (8bf164413c033edf2ea90ab2c1b5372187bafe1ej   modules/pricer/pom.xmlj   modifiedj   Kj   Kj   Kj   lhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fpom.xmlj   khttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fpom.xmlj   ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(jq   (026df4a31c7feac3a5223d7b0722e275e512e0ecj   Mmodules/pricer/src/main/java/com/opengamma/strata/pricer/DiscountFactors.javaj   modifiedj   Kj   Kj   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X#  @@ -5,7 +5,7 @@
  */
 package com.opengamma.strata.pricer;
 
-import static com.opengamma.strata.pricer.SimpleDiscountFactors.EFFECTIVE_ZERO;
+import static com.opengamma.strata.pricer.ZeroRatePeriodicDiscountFactors.EFFECTIVE_ZERO;
 
 import java.time.LocalDate;
 import java.util.Optional;u}(jq   (0d2a0bea177a39531e0f4b4ddc7c618bb728f8b1j   Smodules/pricer/src/main/java/com/opengamma/strata/pricer/SimpleDiscountFactors.javaj   modifiedj   K>j   Kj   KSj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactors.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactors.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactors.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X  @@ -56,7 +56,7 @@ public final class SimpleDiscountFactors
   /**
    * Year fraction used as an effective zero.
    */
-  static final double EFFECTIVE_ZERO = 1e-10;
+  private static final double EFFECTIVE_ZERO = 1e-8;
 
   /**
    * The currency that the discount factors are for.
@@ -171,49 +171,41 @@ public double relativeYearFraction(LocalDate date) {
 
   @Override
   public double discountFactor(double yearFraction) {
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return 1d;
-    }
-    // read discount factor directly off curve
     return curve.yValue(yearFraction);
   }
 
   @Override
   public double discountFactorTimeDerivative(double yearFraction) {
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return 0d;
-    }
     return curve.firstDerivative(yearFraction);
   }
 
   @Override
   public double zeroRate(double yearFraction) {
-    double yearFractionMod = Math.max(EFFECTIVE_ZERO, yearFraction);
+    // zero rate is undefined in general for tiny year fractions.
+    double yearFractionMod = modifyYearFraction(yearFraction);
     double discountFactor = discountFactor(yearFractionMod);
     return -Math.log(discountFactor) / yearFractionMod;
   }
 
   //-------------------------------------------------------------------------
   @Override
   public ZeroRateSensitivity zeroRatePointSensitivity(double yearFraction, Currency sensitivityCurrency) {
-    double discountFactor = discountFactor(yearFraction);
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return ZeroRateSensitivity.of(currency, yearFraction, sensitivityCurrency, 0d);
-    }
-    return ZeroRateSensitivity.of(currency, yearFraction, sensitivityCurrency, -discountFactor * yearFraction);
+    // zero rate sensitivity is undefined in general for tiny year fractions.
+    double yearFractionMod = modifyYearFraction(yearFraction);
+    double discountFactor = discountFactor(yearFractionMod);
+    return ZeroRateSensitivity.of(currency, yearFraction, sensitivityCurrency, -discountFactor * yearFractionMod);
   }
 
   //-------------------------------------------------------------------------
   @Override
   public CurrencyParameterSensitivities parameterSensitivity(ZeroRateSensitivity pointSens) {
-    double yearFraction = pointSens.getYearFraction();
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return CurrencyParameterSensitivities.empty();
-    }
-    double discountFactor = discountFactor(yearFraction);
-    UnitParameterSensitivity unitSens = curve.yValueParameterSensitivity(yearFraction);
+    // zero rate sensitivity is undefined in general for tiny year fractions,
+    // thus parameter sensitivities will be inaccurate.
+    double yearFractionMod = modifyYearFraction(pointSens.getYearFraction());
+    double discountFactor = discountFactor(yearFractionMod);
+    UnitParameterSensitivity unitSens = curve.yValueParameterSensitivity(yearFractionMod);
     CurrencyParameterSensitivity curSens = unitSens
-        .multipliedBy(-1d / (yearFraction * discountFactor))
+        .multipliedBy(-1d / (yearFractionMod * discountFactor))
         .multipliedBy(pointSens.getCurrency(), pointSens.getSensitivity());
     return CurrencyParameterSensitivities.of(curSens);
   }
@@ -223,6 +215,55 @@ public CurrencyParameterSensitivities createParameterSensitivity(Currency curren
     return CurrencyParameterSensitivities.of(curve.createParameterSensitivity(currency, sensitivities));
   }
 
+  //-------------------------------------------------------------------------
+  @Override
+  public double discountFactorWithSpread(
+      double yearFraction,
+      double zSpread,
+      CompoundedRateType compoundedRateType,
+      int periodsPerYear) {
+
+    double df = discountFactor(yearFraction);
+    if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {
+      ArgChecker.notNegativeOrZero(periodsPerYear, "periodPerYear");
+      double yearFractionMod = modifyYearFraction(yearFraction);
+      double ratePeriodicAnnualPlusOne =
+          Math.pow(df, -1.0 / periodsPerYear / yearFractionMod) + zSpread / periodsPerYear;
+      return Math.pow(ratePeriodicAnnualPlusOne, -periodsPerYear * yearFractionMod);
+    } else {
+      return df * Math.exp(-zSpread * yearFraction);
+    }
+  }
+
+  @Override
+  public ZeroRateSensitivity zeroRatePointSensitivityWithSpread(
+      double yearFraction,
+      Currency sensitivityCurrency,
+      double zSpread,
+      CompoundedRateType compoundedRateType,
+      int periodsPerYear) {
+
+    ZeroRateSensitivity sensi = zeroRatePointSensitivity(yearFraction, sensitivityCurrency);
+    double factor;
+    if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {
+      double yearFractionMod = modifyYearFraction(yearFraction);
+      double df = discountFactor(yearFraction);
+      double dfRoot = Math.pow(df, -1d / periodsPerYear / yearFractionMod);
+      factor = dfRoot / df / Math.pow(dfRoot + zSpread / periodsPerYear, periodsPerYear * yearFractionMod + 1d);
+    } else {
+      factor = Math.exp(-zSpread * yearFraction);
+    }
+    return sensi.multipliedBy(factor);
+  }
+
+  //-------------------------------------------------------------------------
+  private double modifyYearFraction(double yearFraction) {
+    if (Math.abs(yearFraction) < EFFECTIVE_ZERO) {
+      return yearFraction < 0d ? -EFFECTIVE_ZERO : EFFECTIVE_ZERO;
+    }
+    return yearFraction;
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Returns a new instance with a different curve.u}(jq   (8813c152f49f4668b178639272b2214fff696e22j   Umodules/pricer/src/main/java/com/opengamma/strata/pricer/ZeroRateDiscountFactors.javaj   modifiedj   Kj   Kj   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRateDiscountFactors.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRateDiscountFactors.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRateDiscountFactors.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X  @@ -5,8 +5,6 @@
  */
 package com.opengamma.strata.pricer;
 
-import static com.opengamma.strata.pricer.SimpleDiscountFactors.EFFECTIVE_ZERO;
-
 import java.io.Serializable;
 import java.time.LocalDate;
 import java.util.Map;
@@ -56,6 +54,11 @@
 public final class ZeroRateDiscountFactors
     implements DiscountFactors, ImmutableBean, Serializable {
 
+  /**
+   * Year fraction used as an effective zero.
+   */
+  private static final double EFFECTIVE_ZERO = 1e-10;
+
   /**
    * The currency that the discount factors are for.
    */u}(jq   (dd7560507d37197bed5edaeda8b253af4d0a33f6j   ]modules/pricer/src/main/java/com/opengamma/strata/pricer/ZeroRatePeriodicDiscountFactors.javaj   modifiedj   Kj   Kj   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRatePeriodicDiscountFactors.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRatePeriodicDiscountFactors.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRatePeriodicDiscountFactors.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X&  @@ -56,7 +56,7 @@ public final class ZeroRatePeriodicDiscountFactors
   /**
    * Year fraction used as an effective zero.
    */
-  private static final double EFFECTIVE_ZERO = 1e-10;
+  static final double EFFECTIVE_ZERO = 1e-10;
 
   /**
    * The currency that the discount factors are for.u}(jq   (d83fa0308964109c8a7d9db783db85c7543dd7acj   Wmodules/pricer/src/test/java/com/opengamma/strata/pricer/SimpleDiscountFactorsTest.javaj   modifiedj   K,j   Kj   K7j   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactorsTest.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactorsTest.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactorsTest.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X%"  @@ -32,6 +32,7 @@
 import com.opengamma.strata.market.curve.interpolator.CurveInterpolator;
 import com.opengamma.strata.market.curve.interpolator.CurveInterpolators;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
+import com.opengamma.strata.market.param.CurrencyParameterSensitivity;
 
 /**
  * Test {@link SimpleDiscountFactors}.
@@ -55,6 +56,7 @@ public class SimpleDiscountFactorsTest {
   private static final double TOL = 1.0e-12;
   private static final double TOL_FD = 1.0e-8;
   private static final double EPS = 1.0e-6;
+  private static final double TOL_SMALL_YF = 1.0e-9;
 
   //-------------------------------------------------------------------------
   @Test
@@ -146,7 +148,9 @@ public void test_discountFactor_withSpread_continuous() {
   @Test
   public void test_discountFactor_withSpread_continuous_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
-    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0)).isEqualTo(1d);
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double expected = CURVE.yValue(relativeYearFraction) * Math.exp(-SPREAD * relativeYearFraction);
+    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0)).isCloseTo(expected, offset(TOL));
   }
 
   @Test
@@ -164,13 +168,18 @@ public void test_discountFactor_withSpread_periodic() {
   public void test_discountFactor_withSpread_periodic_beforeValDate() {
     int periodPerYear = 4;
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
-    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, PERIODIC, periodPerYear)).isEqualTo(1d);
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double discountFactorBase = test.discountFactor(DATE_BEFORE);
+    double rate = (Math.pow(discountFactorBase, -1d / periodPerYear / relativeYearFraction) - 1d) * periodPerYear;
+    double expected = discountFactorFromPeriodicallyCompoundedRate(rate + SPREAD, periodPerYear, relativeYearFraction);
+    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, PERIODIC, periodPerYear)).isCloseTo(expected, offset(TOL));
   }
 
   @Test
   public void test_discountFactor_withSpread_smallYearFraction() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
-    assertThat(test.discountFactorWithSpread(DATE_VAL, SPREAD, PERIODIC, 2)).isEqualTo(1d);
+    assertThat(test.discountFactorWithSpread(DATE_VAL, SPREAD, PERIODIC, 2))
+        .isCloseTo(1d, offset(TOL_SMALL_YF));
   }
 
   private double discountFactorFromPeriodicallyCompoundedRate(double rate, double periodPerYear, double time) {
@@ -191,7 +200,8 @@ public void test_zeroRatePointSensitivity() {
   public void test_zeroRatePointSensitivity_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
-    ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, relativeYearFraction, 0d);
+    double df = CURVE.yValue(relativeYearFraction);
+    ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, relativeYearFraction, -df * relativeYearFraction);
     assertThat(test.zeroRatePointSensitivity(DATE_BEFORE)).isEqualTo(expected);
   }
 
@@ -219,7 +229,8 @@ public void test_zeroRatePointSensitivityWithSpread_continuous_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
     ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, relativeYearFraction, 0d);
-    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0)).isEqualTo(expected);
+    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0).build()
+        .equalWithTolerance(expected.build(), TOL_SMALL_YF));
   }
 
   @Test
@@ -257,9 +268,17 @@ public void test_zeroRatePointSensitivityWithSpread_periodic_beforeValDate() {
     int periodPerYear = 4;
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double df = CURVE.yValue(relativeYearFraction);
+    double discountFactorUp = df * Math.exp(-EPS * relativeYearFraction);
+    double discountFactorDw = df * Math.exp(EPS * relativeYearFraction);
+    double rateUp = (Math.pow(discountFactorUp, -1d / periodPerYear / relativeYearFraction) - 1d) * periodPerYear;
+    double rateDw = (Math.pow(discountFactorDw, -1d / periodPerYear / relativeYearFraction) - 1d) * periodPerYear;
+    double expectedValue = 0.5 / EPS * (
+        discountFactorFromPeriodicallyCompoundedRate(rateUp + SPREAD, periodPerYear, relativeYearFraction) -
+            discountFactorFromPeriodicallyCompoundedRate(rateDw + SPREAD, periodPerYear, relativeYearFraction));
     ZeroRateSensitivity computed = test.zeroRatePointSensitivityWithSpread(
         DATE_BEFORE, SPREAD, PERIODIC, periodPerYear);
-    assertThat(computed.getSensitivity()).isCloseTo(0d, offset(EPS));
+    assertThat(computed.getSensitivity()).isCloseTo(expectedValue, offset(EPS));
     assertThat(computed.getCurrency()).isEqualTo(GBP);
     assertThat(computed.getCurveCurrency()).isEqualTo(GBP);
     assertThat(computed.getYearFraction()).isEqualTo(relativeYearFraction);
@@ -290,14 +309,16 @@ public void test_zeroRatePointSensitivityWithSpread_sensitivityCurrency_periodic
   public void test_zeroRatePointSensitivityWithSpread_smallYearFraction() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, 0d, 0d);
-    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, SPREAD, CONTINUOUS, 0)).isEqualTo(expected);
+    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, SPREAD, CONTINUOUS, 0).build()
+        .equalWithTolerance(expected.build(), TOL_SMALL_YF));
   }
 
   @Test
   public void test_zeroRatePointSensitivityWithSpread_sensitivityCurrency_smallYearFraction() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, 0d, USD, 0d);
-    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, USD, SPREAD, PERIODIC, 2)).isEqualTo(expected);
+    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, USD, SPREAD, PERIODIC, 2).build()
+        .equalWithTolerance(expected.build(), TOL_SMALL_YF));
   }
 
   //-------------------------------------------------------------------------
@@ -319,16 +340,28 @@ public void test_currencyParameterSensitivity() {
   public void test_currencyParameterSensitivity_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity sens = test.zeroRatePointSensitivity(DATE_BEFORE);
-    assertThat(test.parameterSensitivity(sens)).isEqualTo(CurrencyParameterSensitivities.empty());
+
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double discountFactor = CURVE.yValue(relativeYearFraction);
+    CurrencyParameterSensitivities expected = CurrencyParameterSensitivities.of(
+        CURVE.yValueParameterSensitivity(relativeYearFraction)
+            .multipliedBy(-1d / discountFactor / relativeYearFraction)
+            .multipliedBy(sens.getCurrency(), sens.getSensitivity()));
+    assertThat(test.parameterSensitivity(sens)).isEqualTo(expected);
   }
 
   //-------------------------------------------------------------------------
   @Test
   public void test_currencyParameterSensitivity_val_date() {
-    // Discount factor at valuation date is always 0, no sensitivity.
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity sens = test.zeroRatePointSensitivity(DATE_VAL);
-    assertThat(test.parameterSensitivity(sens)).isEqualTo(CurrencyParameterSensitivities.empty());
+
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_VAL);
+    double discountFactor = CURVE.yValue(relativeYearFraction);
+    CurrencyParameterSensitivities expected = CurrencyParameterSensitivities.of(
+        CurrencyParameterSensitivity.of(NAME, GBP, DoubleArray.of(1d, 0d)));
+    CurrencyParameterSensitivities tested = test.parameterSensitivity(sens);
+    assertThat(test.parameterSensitivity(sens).equalWithTolerance(expected, TOL));
   }
 
   //-------------------------------------------------------------------------u}(jq   (381c077913a62db74e3622802e1ca8ccb78a1645j   modules/product/pom.xmlj   modifiedj   Kj   Kj   Kj   mhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fproduct%2Fpom.xmlj   lhttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fproduct%2Fpom.xmlj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(jq   (85c56b1df4e2355838b7fd41a1e59622f00e7feaj   Rmodules/product/src/main/java/com/opengamma/strata/product/common/ExchangeIds.javaj   modifiedj   Kj   K j   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FExchangeIds.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FExchangeIds.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FExchangeIds.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   Xy  @@ -147,6 +147,9 @@ public final class ExchangeIds {
   /** Zhengzhou Commodity Exchange. */
   public static final ExchangeId XZCE = ExchangeId.of("XZCE");
 
+  /** Nasdaq Commodity Exchange. */
+  public static final ExchangeId NORX = ExchangeId.of("NORX");
+
   //-------------------------------------------------------------------------
   /**
    * Restricted constructor.u}(jq   (5345f8ac78e4d82d479f1547cc7df6695abd422aj   Nmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdIdUtils.javaj   modifiedj   Kj   K j   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X  @@ -82,6 +82,20 @@ public static EtdContractSpecId contractSpecId(EtdType type, ExchangeId exchange
     }
   }
 
+  /**
+   * Creates an identifier for a contract specification.
+   * <p>
+   * This will have the format:
+   * {@code 'OG-ETD~F-ECAG-FGBS'} or {@code 'OG-ETD~O-ECAG-OGBS'}.
+   *
+   * @param securityId  the security id
+   * @return the identifier
+   */
+  public static EtdContractSpecId contractSpecId(SecurityId securityId) {
+    SplitEtdId splitEtdId = splitId(securityId);
+    return contractSpecId(splitEtdId.getType(), splitEtdId.getExchangeId(), splitEtdId.getContractCode());
+  }
+
   /**
    * Creates an identifier for an ETD future instrument.
    * <p>u}(jq   (dabe2612ca3776575114daeb8190bf4519f782b4j   Rmodules/product/src/test/java/com/opengamma/strata/product/etd/EtdIdUtilsTest.javaj   modifiedj   Kj   K j   Kj   https://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javaj   https://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javaj   https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.java?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X  @@ -57,6 +57,32 @@ public void test_contractSpecId_option() {
             .build());
   }
 
+  @Test
+  public void test_contractSpecId_future_from_securityId() {
+    EtdContractSpecId test = EtdIdUtils.contractSpecId(SecurityId.of(OG_ETD_SCHEME, "F-ECAG-FGBS-202305"));
+    assertThat(test.getStandardId()).isEqualTo(StandardId.of(OG_ETD_SCHEME, "F-ECAG-FGBS"));
+    assertThat(EtdIdUtils.splitId(test))
+        .isEqualTo(SplitEtdContractSpecId.builder()
+            .specId(test)
+            .type(EtdType.FUTURE)
+            .exchangeId(ExchangeIds.ECAG)
+            .contractCode(FGBS)
+            .build());
+  }
+
+  @Test
+  public void test_contractSpecId_option_from_securityId() {
+    EtdContractSpecId test = EtdIdUtils.contractSpecId(SecurityId.of(OG_ETD_SCHEME, "O-ECAG-OGBS-202305-P1"));
+    assertThat(test.getStandardId()).isEqualTo(StandardId.of(OG_ETD_SCHEME, "O-ECAG-OGBS"));
+    assertThat(EtdIdUtils.splitId(test))
+        .isEqualTo(SplitEtdContractSpecId.builder()
+            .specId(test)
+            .type(EtdType.OPTION)
+            .exchangeId(ExchangeIds.ECAG)
+            .contractCode(OGBS)
+            .build());
+  }
+
   //-------------------------------------------------------------------------
   @Test
   public void test_futureId_monthly() {u}(jq   (567232f436828976ee4ee73975699b1b56241d34j   modules/report/pom.xmlj   modifiedj   Kj   Kj   Kj   lhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Freport%2Fpom.xmlj   khttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/modules%2Freport%2Fpom.xmlj   ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22-SNAPSHOT</version>
+    <version>2.12.24-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(jq   (6a00d751b01ec3bbbf644c43b3f7961556650a80j   pom.xmlj   modifiedj   Kj   Kj   Kj   Yhttps://github.com/OpenGamma/Strata/blob/fd10038e0660fb80be00a5a378eec58d5c452e82/pom.xmlj   Xhttps://github.com/OpenGamma/Strata/raw/fd10038e0660fb80be00a5a378eec58d5c452e82/pom.xmlj   khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=fd10038e0660fb80be00a5a378eec58d5c452e82j   X/  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.22-SNAPSHOT</version>
+  <version>2.12.24-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>ueu(9518acd888f9c6d5c58568b28c6e24495b0263f4}(sha(9518acd888f9c6d5c58568b28c6e24495b0263f4node_idEC_kwDOAT6l0doAKDk1MThhY2Q4ODhmOWM2ZDVjNTg1NjhiMjhjNmUyNDQ5NWIwMjYzZjQcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-06T09:16:54Zu	committer}(j!  
johannesOGj!  ,86783068+johannesOG@users.noreply.github.comj!  2023-07-06T09:16:54ZumessageDeactive Libor curvestree}(j!  (1709aca3eebe95d6ec6fc1bebb4a990f952df538url`https://api.github.com/repos/OpenGamma/Strata/git/trees/1709aca3eebe95d6ec6fc1bebb4a990f952df538uj"  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/9518acd888f9c6d5c58568b28c6e24495b0263f4
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj"  ^https://api.github.com/repos/OpenGamma/Strata/commits/9518acd888f9c6d5c58568b28c6e24495b0263f4html_urlShttps://github.com/OpenGamma/Strata/commit/9518acd888f9c6d5c58568b28c6e24495b0263f4comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/9518acd888f9c6d5c58568b28c6e24495b0263f4/commentsj!  }(login
johannesOGidJ\4,j!  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3j"  'https://api.github.com/users/johannesOGj"  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminuj!  }(j"  
johannesOGj"  J\4,j!  MDQ6VXNlcjg2NzgzMDY4j"  4https://avatars.githubusercontent.com/u/86783068?v=4j"  h3j"  'https://api.github.com/users/johannesOGj"  https://github.com/johannesOGj"  1https://api.github.com/users/johannesOG/followersj"  >https://api.github.com/users/johannesOG/following{/other_user}j "  7https://api.github.com/users/johannesOG/gists{/gist_id}j""  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}j$"  5https://api.github.com/users/johannesOG/subscriptionsj&"  ,https://api.github.com/users/johannesOG/orgsj("  -https://api.github.com/users/johannesOG/reposj*"  8https://api.github.com/users/johannesOG/events{/privacy}j,"  7https://api.github.com/users/johannesOG/received_eventsj."  Userj0"  uparents]}(j!  (649f5bc28e4e3cb00a14f9aa611cd333a29845a5j"  ^https://api.github.com/repos/OpenGamma/Strata/commits/649f5bc28e4e3cb00a14f9aa611cd333a29845a5j"  Shttps://github.com/OpenGamma/Strata/commit/649f5bc28e4e3cb00a14f9aa611cd333a29845a5uastats}(totalKm	additionsKm	deletionsK ufiles]}(j!  (30ae92f2b3f453136d01f156ec79032d0f8e8a02filenameQmodules/basics/src/test/java/com/opengamma/strata/basics/index/IborIndexTest.javastatusmodifiedjJ"  KmjK"  K changesKmblob_urlhttps://github.com/OpenGamma/Strata/blob/9518acd888f9c6d5c58568b28c6e24495b0263f4/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/9518acd888f9c6d5c58568b28c6e24495b0263f4/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.java?ref=9518acd888f9c6d5c58568b28c6e24495b0263f4patchX   @@ -84,6 +84,51 @@ public class IborIndexTest {
   private static final ReferenceData REF_DATA = ReferenceData.standard();
   private static final HolidayCalendarId NZBD = HolidayCalendarId.of("NZBD");  // no constant for this
 
+  @Test
+  public void test_gbpLibor3m() {
+    IborIndex test = IborIndex.of("GBP-LIBOR-3M");
+    assertThat(test.getName()).isEqualTo("GBP-LIBOR-3M");
+    assertThat(test.getCurrency()).isEqualTo(GBP);
+    assertThat(test.isActive()).isEqualTo(true);
+    assertThat(test.getTenor()).isEqualTo(TENOR_3M);
+    assertThat(test.getFixingCalendar()).isEqualTo(GBLO);
+    assertThat(test.getFixingDateOffset())
+        .isEqualTo(DaysAdjustment.ofCalendarDays(0, BusinessDayAdjustment.of(PRECEDING, GBLO)));
+    assertThat(test.getEffectiveDateOffset())
+        .isEqualTo(DaysAdjustment.ofCalendarDays(0, BusinessDayAdjustment.of(FOLLOWING, GBLO)));
+    assertThat(test.getMaturityDateOffset())
+        .isEqualTo(TenorAdjustment.ofLastBusinessDay(TENOR_3M, BusinessDayAdjustment.of(MODIFIED_FOLLOWING, GBLO)));
+    assertThat(test.getDayCount()).isEqualTo(ACT_365F);
+    assertThat(test.getDefaultFixedLegDayCount()).isEqualTo(ACT_365F);
+    assertThat(test.getFloatingRateName()).isEqualTo(FloatingRateName.of("GBP-LIBOR"));
+    assertThat(test.toString()).isEqualTo("GBP-LIBOR-3M");
+  }
+
+  @Test
+  public void test_gbpLibor3m_dates() {
+    IborIndex test = IborIndex.of("GBP-LIBOR-3M");
+    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 13), REF_DATA)).isEqualTo(date(2014, 10, 13));
+    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 13), REF_DATA)).isEqualTo(date(2015, 1, 13));
+    assertThat(test.calculateFixingFromEffective(date(2014, 10, 13), REF_DATA)).isEqualTo(date(2014, 10, 13));
+    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 13), REF_DATA)).isEqualTo(date(2015, 1, 13));
+    // weekend
+    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2014, 10, 10));
+    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2015, 1, 12));
+    assertThat(test.calculateFixingFromEffective(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2014, 10, 10));
+    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2015, 1, 12));
+    // input date is Sunday
+    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2014, 10, 13));
+    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2015, 1, 13));
+    assertThat(test.calculateFixingFromEffective(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2014, 10, 13));
+    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2015, 1, 13));
+    // fixing time and zone
+    assertThat(test.calculateFixingDateTime(date(2014, 10, 13)))
+        .isEqualTo(date(2014, 10, 13).atTime(LocalTime.of(11, 55)).atZone(ZoneId.of("Europe/London")));
+    // resolve
+    assertThat(test.resolve(REF_DATA).apply(date(2014, 10, 13)))
+        .isEqualTo(IborIndexObservation.of(test, date(2014, 10, 13), REF_DATA));
+  }
+
   @Test
   public void test_getFloatingRateName() {
     for (IborIndex index : IborIndex.extendedEnum().lookupAll().values()) {
@@ -93,6 +138,54 @@ public void test_getFloatingRateName() {
   }
 
   //-------------------------------------------------------------------------
+  @Test
+  public void test_usdLibor3m() {
+    IborIndex test = IborIndex.of("USD-LIBOR-3M");
+    assertThat(test.getCurrency()).isEqualTo(USD);
+    assertThat(test.getName()).isEqualTo("USD-LIBOR-3M");
+    assertThat(test.getTenor()).isEqualTo(TENOR_3M);
+    assertThat(test.getFixingCalendar()).isEqualTo(GBLO);
+    assertThat(test.getFixingDateOffset()).isEqualTo(DaysAdjustment.ofBusinessDays(-2, GBLO));
+    assertThat(test.getEffectiveDateOffset())
+        .isEqualTo(DaysAdjustment.ofBusinessDays(2, GBLO, BusinessDayAdjustment.of(FOLLOWING, GBLO.combinedWith(USNY))));
+    assertThat(test.getMaturityDateOffset())
+        .isEqualTo(TenorAdjustment.ofLastBusinessDay(
+            TENOR_3M, BusinessDayAdjustment.of(MODIFIED_FOLLOWING, GBLO.combinedWith(USNY))));
+    assertThat(test.getDayCount()).isEqualTo(ACT_360);
+    assertThat(test.getDefaultFixedLegDayCount()).isEqualTo(ACT_360);
+    assertThat(test.getFloatingRateName()).isEqualTo(FloatingRateName.of("USD-LIBOR"));
+    assertThat(test.toString()).isEqualTo("USD-LIBOR-3M");
+  }
+
+  @Test
+  public void test_usdLibor3m_dates() {
+    IborIndex test = IborIndex.of("USD-LIBOR-3M");
+    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 27), REF_DATA)).isEqualTo(date(2014, 10, 29));
+    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 27), REF_DATA)).isEqualTo(date(2015, 1, 29));
+    assertThat(test.calculateFixingFromEffective(date(2014, 10, 29), REF_DATA)).isEqualTo(date(2014, 10, 27));
+    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 29), REF_DATA)).isEqualTo(date(2015, 1, 29));
+    // weekend
+    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2014, 10, 14));
+    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2015, 1, 14));
+    assertThat(test.calculateFixingFromEffective(date(2014, 10, 14), REF_DATA)).isEqualTo(date(2014, 10, 10));
+    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 14), REF_DATA)).isEqualTo(date(2015, 1, 14));
+    // effective date is US holiday
+    assertThat(test.calculateEffectiveFromFixing(date(2015, 1, 16), REF_DATA)).isEqualTo(date(2015, 1, 20));
+    assertThat(test.calculateMaturityFromFixing(date(2015, 1, 16), REF_DATA)).isEqualTo(date(2015, 4, 20));
+    assertThat(test.calculateFixingFromEffective(date(2015, 1, 20), REF_DATA)).isEqualTo(date(2015, 1, 16));
+    assertThat(test.calculateMaturityFromEffective(date(2015, 1, 20), REF_DATA)).isEqualTo(date(2015, 4, 20));
+    // input date is Sunday, 13th is US holiday, but not UK holiday (can fix, but not be effective)
+    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2014, 10, 15));
+    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2015, 1, 15));
+    assertThat(test.calculateFixingFromEffective(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2014, 10, 10));
+    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2015, 1, 14));
+    // fixing time and zone
+    assertThat(test.calculateFixingDateTime(date(2014, 10, 13)))
+        .isEqualTo(date(2014, 10, 13).atTime(LocalTime.of(11, 55)).atZone(ZoneId.of("Europe/London")));
+    // resolve
+    assertThat(test.resolve(REF_DATA).apply(date(2014, 10, 27)))
+        .isEqualTo(IborIndexObservation.of(test, date(2014, 10, 27), REF_DATA));
+  }
 
   @Test
   public void test_euribor3m() {
@@ -211,6 +304,22 @@ public void test_tibor_euroyen3m_dates() {
         .isEqualTo(date(2014, 10, 13).atTime(LocalTime.of(13, 0)).atZone(ZoneId.of("Asia/Tokyo")));
   }
 
+  @Test
+  public void test_usdLibor_all() {
+    assertThat(IborIndex.of("USD-LIBOR-1W").getName()).isEqualTo("USD-LIBOR-1W");
+    assertThat(IborIndex.of("USD-LIBOR-1W")).isEqualTo(IborIndices.USD_LIBOR_1W);
+    assertThat(IborIndex.of("USD-LIBOR-1M").getName()).isEqualTo("USD-LIBOR-1M");
+    assertThat(IborIndex.of("USD-LIBOR-1M")).isEqualTo(IborIndices.USD_LIBOR_1M);
+    assertThat(IborIndex.of("USD-LIBOR-2M").getName()).isEqualTo("USD-LIBOR-2M");
+    assertThat(IborIndex.of("USD-LIBOR-2M")).isEqualTo(IborIndices.USD_LIBOR_2M);
+    assertThat(IborIndex.of("USD-LIBOR-3M").getName()).isEqualTo("USD-LIBOR-3M");
+    assertThat(IborIndex.of("USD-LIBOR-3M")).isEqualTo(IborIndices.USD_LIBOR_3M);
+    assertThat(IborIndex.of("USD-LIBOR-6M").getName()).isEqualTo("USD-LIBOR-6M");
+    assertThat(IborIndex.of("USD-LIBOR-6M")).isEqualTo(IborIndices.USD_LIBOR_6M);
+    assertThat(IborIndex.of("USD-LIBOR-12M").getName()).isEqualTo("USD-LIBOR-12M");
+    assertThat(IborIndex.of("USD-LIBOR-12M")).isEqualTo(IborIndices.USD_LIBOR_12M);
+  }
+
   @Test
   public void test_usdAmeriborTerm() {
     assertThat(IborIndex.of("USD-AMERIBORTERM-1M").getName()).isEqualTo("USD-AMERIBORTERM-1M");uau(104e44bc6f8035b42b7e5cc101a4f1f99625b0fc}(sha(104e44bc6f8035b42b7e5cc101a4f1f99625b0fcnode_idEC_kwDOAT6l0doAKDEwNGU0NGJjNmY4MDM1YjQyYjdlNWNjMTAxYTRmMWY5OTYyNWIwZmMcommit}(author}(nameGeorge Lucaemail)25393853+BATja20@users.noreply.github.comdate2023-08-02T09:17:00Zu	committer}(jg"  GitHubji"  noreply@github.comjk"  2023-08-02T09:17:00ZumessagePROD-26241: EtdVariant datecode now refers to day of month for DAILY (#2595)

Co-authored-by: George Luca <BATja20@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>tree}(j_"  (d054376673b6801cb2e7a5d8d171800899f43f08url`https://api.github.com/repos/OpenGamma/Strata/git/trees/d054376673b6801cb2e7a5d8d171800899f43f08ujw"  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/104e44bc6f8035b42b7e5cc101a4f1f99625b0fc
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkyh8MCRBK7hj4Ov3rIwAAOe4IAF2A9lnqGDbEb93YwYVgDnYZ
XFrAlSbvQbvFuMuSNyTLIF1GE8ar2qwFRImczGYzVY7CiZfxHtiag28xbPoJl48G
KEgS6wV8+2N3GB62Q/BI0MX6mRfRGMVSTuFt4xHzFelv3r5xVDluAzqI074SxpV6
kJKuOKlTxCxRk9fIykgwD7n4rU+Nxv+XF9D7HCNEIRgqs6uhVBjtpkyj9tbwKNuM
SyT8O8kUYVPrExGZHEdHb0UsciNSH6A/YpBL0bcr2BrD1cBfZkZBs5Bc8bHgWpXk
vx0EKSoLI9uJLWCNBarhMdmvJ8GITeqN6ik0lyxztj6p9oyxxoNeYmAbScRq+vo=
=vvlo
-----END PGP SIGNATURE-----
payloadX  tree d054376673b6801cb2e7a5d8d171800899f43f08
parent 2f5d583aa57c72d35331074ed0e56c5fd36174aa
author George Luca <25393853+BATja20@users.noreply.github.com> 1690967820 +0300
committer GitHub <noreply@github.com> 1690967820 +0000

PROD-26241: EtdVariant datecode now refers to day of month for DAILY (#2595)

Co-authored-by: George Luca <BATja20@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>uujw"  ^https://api.github.com/repos/OpenGamma/Strata/commits/104e44bc6f8035b42b7e5cc101a4f1f99625b0fchtml_urlShttps://github.com/OpenGamma/Strata/commit/104e44bc6f8035b42b7e5cc101a4f1f99625b0fccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/104e44bc6f8035b42b7e5cc101a4f1f99625b0fc/commentsje"  }(loginBATja20idJzja"  MDQ6VXNlcjI1MzkzODUz
avatar_url4https://avatars.githubusercontent.com/u/25393853?v=4gravatar_idh3jw"  $https://api.github.com/users/BATja20j"  https://github.com/BATja20
followers_url.https://api.github.com/users/BATja20/followers
following_url;https://api.github.com/users/BATja20/following{/other_user}	gists_url4https://api.github.com/users/BATja20/gists{/gist_id}starred_url;https://api.github.com/users/BATja20/starred{/owner}{/repo}subscriptions_url2https://api.github.com/users/BATja20/subscriptionsorganizations_url)https://api.github.com/users/BATja20/orgs	repos_url*https://api.github.com/users/BATja20/repos
events_url5https://api.github.com/users/BATja20/events{/privacy}received_events_url4https://api.github.com/users/BATja20/received_eventstypeUser
site_adminujm"  }(j"  web-flowj"  J/ja"  MDQ6VXNlcjE5ODY0NDQ3j"  4https://avatars.githubusercontent.com/u/19864447?v=4j"  h3jw"  %https://api.github.com/users/web-flowj"  https://github.com/web-flowj"  /https://api.github.com/users/web-flow/followersj"  <https://api.github.com/users/web-flow/following{/other_user}j"  5https://api.github.com/users/web-flow/gists{/gist_id}j"  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j"  3https://api.github.com/users/web-flow/subscriptionsj"  *https://api.github.com/users/web-flow/orgsj"  +https://api.github.com/users/web-flow/reposj"  6https://api.github.com/users/web-flow/events{/privacy}j"  5https://api.github.com/users/web-flow/received_eventsj"  Userj"  uparents]}(j_"  (2f5d583aa57c72d35331074ed0e56c5fd36174aajw"  ^https://api.github.com/repos/OpenGamma/Strata/commits/2f5d583aa57c72d35331074ed0e56c5fd36174aaj"  Shttps://github.com/OpenGamma/Strata/commit/2f5d583aa57c72d35331074ed0e56c5fd36174aauastats}(totalK	additionsK	deletionsKufiles]}(j_"  (ab08ebafd8383ca2c7b85d2a2281438ae377869cfilenameNmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdVariant.javastatusmodifiedj"  Kj"  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/104e44bc6f8035b42b7e5cc101a4f1f99625b0fc/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/104e44bc6f8035b42b7e5cc101a4f1f99625b0fc/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.java?ref=104e44bc6f8035b42b7e5cc101a4f1f99625b0fcpatchX  @@ -55,7 +55,7 @@ public final class EtdVariant
   /**
    * The optional date code, populated for Weekly and Daily.
    * <p>
-   * This will be the week number for Weekly and the day-of-week for Daily.
+   * This will be the week number for Weekly and the day-of-month for Daily.
    */
   @PropertyDefinition(get = "optional")
   private final Integer dateCode;
@@ -270,7 +270,7 @@ public EtdExpiryType getType() {
   /**
    * Gets the optional date code, populated for Weekly and Daily.
    * <p>
-   * This will be the week number for Weekly and the day-of-week for Daily.
+   * This will be the week number for Weekly and the day-of-month for Daily.
    * @return the optional value of the property, not null
    */
   public OptionalInt getDateCode() {uau(80f402ab0a96a8df96e4eff265e7297968703562}(sha(80f402ab0a96a8df96e4eff265e7297968703562node_idEC_kwDOAT6l0doAKDgwZjQwMmFiMGE5NmE4ZGY5NmU0ZWZmMjY1ZTcyOTc5Njg3MDM1NjIcommit}(author}(nameStephen Colebourneemailscolebourne@joda.orgdate2023-05-18T08:31:59Zu	committer}(j"  Stephen Colebournej"  scolebourne@joda.orgj"  2023-05-18T09:17:41Zumessage_Propagate cause of more exceptions

Unwrap cause for CompletionException and ExecutionExceptiontree}(j"  (22161437026f4e88ca0fd37171883fc6a9dfdbeeurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/22161437026f4e88ca0fd37171883fc6a9dfdbeeuj"  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/80f402ab0a96a8df96e4eff265e7297968703562
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj"  ^https://api.github.com/repos/OpenGamma/Strata/commits/80f402ab0a96a8df96e4eff265e7297968703562html_urlShttps://github.com/OpenGamma/Strata/commit/80f402ab0a96a8df96e4eff265e7297968703562comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/80f402ab0a96a8df96e4eff265e7297968703562/commentsj"  }(loginjodastephenidJ@ j"  MDQ6VXNlcjIxMzIxMg==
avatar_url2https://avatars.githubusercontent.com/u/213212?v=4gravatar_idh3j"  (https://api.github.com/users/jodastephenj"  https://github.com/jodastephen
followers_url2https://api.github.com/users/jodastephen/followers
following_url?https://api.github.com/users/jodastephen/following{/other_user}	gists_url8https://api.github.com/users/jodastephen/gists{/gist_id}starred_url?https://api.github.com/users/jodastephen/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/jodastephen/subscriptionsorganizations_url-https://api.github.com/users/jodastephen/orgs	repos_url.https://api.github.com/users/jodastephen/repos
events_url9https://api.github.com/users/jodastephen/events{/privacy}received_events_url8https://api.github.com/users/jodastephen/received_eventstypeUser
site_adminuj"  }(j"  jodastephenj#  J@ j"  MDQ6VXNlcjIxMzIxMg==j#  2https://avatars.githubusercontent.com/u/213212?v=4j#  h3j"  (https://api.github.com/users/jodastephenj"  https://github.com/jodastephenj#  2https://api.github.com/users/jodastephen/followersj
#  ?https://api.github.com/users/jodastephen/following{/other_user}j#  8https://api.github.com/users/jodastephen/gists{/gist_id}j#  ?https://api.github.com/users/jodastephen/starred{/owner}{/repo}j#  6https://api.github.com/users/jodastephen/subscriptionsj#  -https://api.github.com/users/jodastephen/orgsj#  .https://api.github.com/users/jodastephen/reposj#  9https://api.github.com/users/jodastephen/events{/privacy}j#  8https://api.github.com/users/jodastephen/received_eventsj#  Userj#  uparents]}(j"  (5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbj"  ^https://api.github.com/repos/OpenGamma/Strata/commits/5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbj"  Shttps://github.com/OpenGamma/Strata/commit/5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbuastats}(totalK	additionsK	deletionsKufiles](}(j"  (4075f2669a150b92629db8d85c0c23746d23d0bbfilenameImodules/collect/src/main/java/com/opengamma/strata/collect/Unchecked.javastatusmodifiedj6#  K	j7#  KchangesK
blob_urlhttps://github.com/OpenGamma/Strata/blob/80f402ab0a96a8df96e4eff265e7297968703562/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/80f402ab0a96a8df96e4eff265e7297968703562/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.java?ref=80f402ab0a96a8df96e4eff265e7297968703562patchX  @@ -9,6 +9,8 @@
 import java.io.IOException;
 import java.io.UncheckedIOException;
 import java.lang.reflect.InvocationTargetException;
+import java.util.concurrent.CompletionException;
+import java.util.concurrent.ExecutionException;
 import java.util.function.BiConsumer;
 import java.util.function.BiFunction;
 import java.util.function.BiPredicate;
@@ -334,6 +336,8 @@ public static <R> Supplier<R> supplier(CheckedSupplier<R> supplier) {
    * Propagates {@code throwable} as-is if possible, or by wrapping in a {@code RuntimeException} if not.
    * <ul>
    *   <li>If {@code throwable} is an {@code InvocationTargetException} the cause is extracted and processed recursively.</li>
+   *   <li>If {@code throwable} is an {@code CompletionException} the cause is extracted and processed recursively.</li>
+   *   <li>If {@code throwable} is an {@code ExecutionException} the cause is extracted and processed recursively.</li>
    *   <li>If {@code throwable} is an {@code Error} or {@code RuntimeException} it is propagated as-is.</li>
    *   <li>If {@code throwable} is an {@code IOException} it is wrapped in {@code UncheckedIOException} and thrown.</li>
    *   <li>If {@code throwable} is an {@code ReflectiveOperationException} it is wrapped in
@@ -353,11 +357,15 @@ public static <R> Supplier<R> supplier(CheckedSupplier<R> supplier) {
    * </pre>
    *
    * @param throwable the {@code Throwable} to propagate
-   * @return nothing; this method always throws an exception
+   * @return never returns as an exception is always thrown
    */
   public static RuntimeException propagate(Throwable throwable) {
     if (throwable instanceof InvocationTargetException) {
       throw propagate(((InvocationTargetException) throwable).getCause());
+    } else if (throwable instanceof CompletionException) {
+      throw propagate(((CompletionException) throwable).getCause());
+    } else if (throwable instanceof ExecutionException) {
+      throw propagate(((ExecutionException) throwable).getCause());
     } else if (throwable instanceof IOException) {
       throw new UncheckedIOException((IOException) throwable);
     } else if (throwable instanceof ReflectiveOperationException) {uq     }(j"  (3e5a77b8c714974f4f028474f0a3938110a0a12cj<#  Mmodules/collect/src/test/java/com/opengamma/strata/collect/UncheckedTest.javaj>#  modifiedj6#  Kj7#  K j@#  KjA#  https://github.com/OpenGamma/Strata/blob/80f402ab0a96a8df96e4eff265e7297968703562/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.javajC#  https://github.com/OpenGamma/Strata/raw/80f402ab0a96a8df96e4eff265e7297968703562/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.javajE#  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.java?ref=80f402ab0a96a8df96e4eff265e7297968703562jG#  Xa  @@ -14,6 +14,8 @@
 import java.io.UncheckedIOException;
 import java.lang.reflect.InvocationTargetException;
 import java.net.URISyntaxException;
+import java.util.concurrent.CompletionException;
+import java.util.concurrent.ExecutionException;
 import java.util.function.BiConsumer;
 import java.util.function.BiFunction;
 import java.util.function.BiPredicate;
@@ -379,6 +381,20 @@ public void test_propagate() {
       assertThat(ex.getClass()).isEqualTo(RuntimeException.class);
       assertThat(ex.getCause()).isSameAs(namingEx);
     }
+    try {
+      Unchecked.propagate(new CompletionException(ioEx));
+      fail("Expected UncheckedIOException");
+    } catch (UncheckedIOException ex) {
+      assertThat(ex.getClass()).isEqualTo(UncheckedIOException.class);
+      assertThat(ex.getCause()).isSameAs(ioEx);
+    }
+    try {
+      Unchecked.propagate(new ExecutionException(ioEx));
+      fail("Expected UncheckedIOException");
+    } catch (UncheckedIOException ex) {
+      assertThat(ex.getClass()).isEqualTo(UncheckedIOException.class);
+      assertThat(ex.getCause()).isSameAs(ioEx);
+    }
   }
 
 }ueu(86d95b98e0e4e62c802fe3bf22187f35ff5b7fcc}(sha(86d95b98e0e4e62c802fe3bf22187f35ff5b7fccnode_idEC_kwDOAT6l0doAKDg2ZDk1Yjk4ZTBlNGU2MmM4MDJmZTNiZjIyMTg3ZjM1ZmY1YjdmY2Mcommit}(author}(nameAnandemailanand@opengamma.comdate2023-03-27T10:29:17Zu	committer}(j[#  Anandj]#  anand@opengamma.comj_#  2023-03-27T14:11:30Zumessage-BuySell util methods for Decimal and BigMoneytree}(jS#  (009c54964f3b8f368b7425a36710b6ccd1cc6900url`https://api.github.com/repos/OpenGamma/Strata/git/trees/009c54964f3b8f368b7425a36710b6ccd1cc6900ujk#  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/86d95b98e0e4e62c802fe3bf22187f35ff5b7fcc
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujk#  ^https://api.github.com/repos/OpenGamma/Strata/commits/86d95b98e0e4e62c802fe3bf22187f35ff5b7fcchtml_urlShttps://github.com/OpenGamma/Strata/commit/86d95b98e0e4e62c802fe3bf22187f35ff5b7fcccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/86d95b98e0e4e62c802fe3bf22187f35ff5b7fcc/commentsjY#  }(loginanand-ukidJjU#  MDQ6VXNlcjQ5OTE3NDcw
avatar_url4https://avatars.githubusercontent.com/u/49917470?v=4gravatar_idh3jk#  %https://api.github.com/users/anand-ukjw#  https://github.com/anand-uk
followers_url/https://api.github.com/users/anand-uk/followers
following_url<https://api.github.com/users/anand-uk/following{/other_user}	gists_url5https://api.github.com/users/anand-uk/gists{/gist_id}starred_url<https://api.github.com/users/anand-uk/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/anand-uk/subscriptionsorganizations_url*https://api.github.com/users/anand-uk/orgs	repos_url+https://api.github.com/users/anand-uk/repos
events_url6https://api.github.com/users/anand-uk/events{/privacy}received_events_url5https://api.github.com/users/anand-uk/received_eventstypeUser
site_adminuja#  }(j|#  anand-ukj~#  JjU#  MDQ6VXNlcjQ5OTE3NDcwj#  4https://avatars.githubusercontent.com/u/49917470?v=4j#  h3jk#  %https://api.github.com/users/anand-ukjw#  https://github.com/anand-ukj#  /https://api.github.com/users/anand-uk/followersj#  <https://api.github.com/users/anand-uk/following{/other_user}j#  5https://api.github.com/users/anand-uk/gists{/gist_id}j#  <https://api.github.com/users/anand-uk/starred{/owner}{/repo}j#  3https://api.github.com/users/anand-uk/subscriptionsj#  *https://api.github.com/users/anand-uk/orgsj#  +https://api.github.com/users/anand-uk/reposj#  6https://api.github.com/users/anand-uk/events{/privacy}j#  5https://api.github.com/users/anand-uk/received_eventsj#  Userj#  uparents]}(jS#  (3e52a50bb942fd782c4429d6d9acf6c794dac7eajk#  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eajw#  Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK?	additionsK?	deletionsK ufiles](}(jS#  (17132cc647223fe2f29f6f18c23ab208666729eafilenameNmodules/product/src/main/java/com/opengamma/strata/product/common/BuySell.javastatusmodifiedj#  Kj#  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/86d95b98e0e4e62c802fe3bf22187f35ff5b7fcc/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/86d95b98e0e4e62c802fe3bf22187f35ff5b7fcc/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.java?ref=86d95b98e0e4e62c802fe3bf22187f35ff5b7fccpatchXj  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -80,6 +82,21 @@ public double normalize(double amount) {
     return isBuy() ? normalized : -normalized;
   }
 
+  /**
+   * Normalizes the specified {@code Decimal} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input amount
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isBuy() ? normalized : normalized.negated();
+  }
+
   /**
    * Normalizes the specified amount using this buy/sell rule.
    * <p>
@@ -95,6 +112,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isBuy() ? amount.positive() : amount.negative();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input notional
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isBuy() ? amount.positive() : amount.negative();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Buy'.u}(jS#  (31123a560f1cb818b0016849184b9055eb7762f2j#  Rmodules/product/src/test/java/com/opengamma/strata/product/common/BuySellTest.javaj#  modifiedj#  K j#  K j#  K j#  https://github.com/OpenGamma/Strata/blob/86d95b98e0e4e62c802fe3bf22187f35ff5b7fcc/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj#  https://github.com/OpenGamma/Strata/raw/86d95b98e0e4e62c802fe3bf22187f35ff5b7fcc/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj#  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.java?ref=86d95b98e0e4e62c802fe3bf22187f35ff5b7fccj#  X  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link BuySell}.
@@ -42,13 +44,28 @@ public void test_normalize_sell_double() {
     assertThat(BuySell.SELL.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_sell_decimal() {
+    assertThat(BuySell.SELL.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.SELL.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_sell_amount() {
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_sell_money() {
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
+
   @Test
   public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -57,13 +74,28 @@ public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_buy_decimal() {
+    assertThat(BuySell.BUY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.BUY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_buy_amount() {
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_buy_money() {
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isBuy() {
     assertThat(BuySell.BUY.isBuy()).isTrue();ueu(bcb39f8b870dabc080fe3aacbd29f3e73227f5ef}(sha(bcb39f8b870dabc080fe3aacbd29f3e73227f5efnode_idEC_kwDOAT6l0doAKGJjYjM5ZjhiODcwZGFiYzA4MGZlM2FhY2JkMjlmM2U3MzIyN2Y1ZWYcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-07T14:41:16Zu	committer}(j#  Akshai Shahj#  #akshaishah@users.noreply.github.comj#  2023-03-07T14:41:16Zumessage4Introduce/update ETD position parsing error messagestree}(j#  (a6898c7d1a273a2566bf4f79abbe788d339cedb2url`https://api.github.com/repos/OpenGamma/Strata/git/trees/a6898c7d1a273a2566bf4f79abbe788d339cedb2uj#  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj#  ^https://api.github.com/repos/OpenGamma/Strata/commits/bcb39f8b870dabc080fe3aacbd29f3e73227f5efhtml_urlShttps://github.com/OpenGamma/Strata/commit/bcb39f8b870dabc080fe3aacbd29f3e73227f5efcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/commentsj#  }(login
akshaishahidJd
 j#  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j#  'https://api.github.com/users/akshaishahj#  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuj#  }(j#  
akshaishahj#  Jd
 j#  MDQ6VXNlcjE5MDM5NzI=j#  3https://avatars.githubusercontent.com/u/1903972?v=4j#  h3j#  'https://api.github.com/users/akshaishahj#  https://github.com/akshaishahj$  1https://api.github.com/users/akshaishah/followersj$  >https://api.github.com/users/akshaishah/following{/other_user}j$  7https://api.github.com/users/akshaishah/gists{/gist_id}j$  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j
$  5https://api.github.com/users/akshaishah/subscriptionsj$  ,https://api.github.com/users/akshaishah/orgsj$  -https://api.github.com/users/akshaishah/reposj$  8https://api.github.com/users/akshaishah/events{/privacy}j$  7https://api.github.com/users/akshaishah/received_eventsj$  Userj$  uparents]}(j#  (38e3a6b9ae0a9f5155de55f759da59ebc0c7d412j#  ^https://api.github.com/repos/OpenGamma/Strata/commits/38e3a6b9ae0a9f5155de55f759da59ebc0c7d412j#  Shttps://github.com/OpenGamma/Strata/commit/38e3a6b9ae0a9f5155de55f759da59ebc0c7d412uastats}(totalKA	additionsK#	deletionsKufiles](}(j#  (22af398ad9b5ff51d9251d8da88643ca66829ce9filename\modules/collect/src/main/java/com/opengamma/strata/collect/result/ParseFailureException.javastatusmodifiedj0$  Kj1$  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FParseFailureException.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FParseFailureException.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FParseFailureException.java?ref=bcb39f8b870dabc080fe3aacbd29f3e73227f5efpatchX  @@ -88,7 +88,7 @@ public ParseFailureException(Throwable cause, FailureReason reason, String messa
   }
 
   /**
-   * Returns an exception from a cause, reason, field and message.
+   * Returns an exception from a reason and message.
    * <p>
    * The message is produced using a template that contains zero to many "{argName}" placeholders.
    * Each placeholder is replaced by the next available argument.
@@ -97,23 +97,12 @@ public ParseFailureException(Throwable cause, FailureReason reason, String messa
    * end of the message. No attempt is made to format the arguments.
    * See {@link Messages#formatWithAttributes(String, Object...)} for more details.
    *
-   * @param cause  the cause
    * @param reason the reason for the failure
-   * @param field the field related to the failure
    * @param messageTemplate  a message explaining the failure, not empty, uses "{argName}" for inserting {@code messageArgs}
    * @param messageArgs  the arguments for the message
    */
-  public ParseFailureException(
-      Throwable cause,
-      FailureReason reason,
-      String field,
-      String messageTemplate,
-      Object... messageArgs) {
-
-    this(FailureItem.of(reason, cause, messageTemplate, messageArgs).withAttribute(
-        FailureAttributeKeys.FIELD,
-        field));
-    initCause(cause);
+  public ParseFailureException(FailureReason reason, String messageTemplate, Object... messageArgs) {
+    this(FailureItem.of(reason, messageTemplate, messageArgs));
   }
 
   /**u}(j#  (ecfae00a96b48b0afa3128cb90ce935775368e19j6$  Pmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javaj8$  modifiedj0$  Kj1$  Kj:$  Kj;$  https://github.com/OpenGamma/Strata/blob/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj=$  https://github.com/OpenGamma/Strata/raw/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj?$  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=bcb39f8b870dabc080fe3aacbd29f3e73227f5efjA$  X  @@ -39,6 +39,7 @@
 import com.opengamma.strata.collect.ArgChecker;
 import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.io.CsvRow;
+import com.opengamma.strata.collect.result.FailureReason;
 import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.tuple.DoublesPair;
 import com.opengamma.strata.collect.tuple.Pair;
@@ -228,22 +229,34 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
         if (week == 0) {
           return Pair.of(yearMonth, EtdVariant.ofDaily(day));
         } else {
-          throw new ParseFailureException(
-              "Unable to parse ETD variant, date columns conflict, must not  set both expiry day and expiry week");
+          throw new ParseFailureException(FailureReason.INVALID,
+              "Unable to parse ETD variant, date columns conflict, must not set both expiry day and expiry week");
         }
       }
     } else {
       if (day == 0) {
-        throw new ParseFailureException("Unable to parse ETD variant for Flex '{value}', must set expiry day", type);
+        throw new ParseFailureException(
+            FailureReason.FIELD_MISSING,
+            "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option.",
+            EXPIRY_DAY_FIELD,
+            SETTLEMENT_TYPE_FIELD);
       }
       if (week != 0) {
-        throw new ParseFailureException("Unable to parse ETD variant for Flex '{value}', must not set expiry week", type);
+        throw new ParseFailureException(
+            FailureReason.FIELD_MISSING,
+            "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option.",
+            EXPIRY_WEEK_FIELD,
+            SETTLEMENT_TYPE_FIELD);
       }
       if (type == EtdType.FUTURE) {
         return Pair.of(yearMonth, EtdVariant.ofFlexFuture(day, settleTypeOpt.get()));
       } else {
         if (!optionTypeOpt.isPresent()) {
-          throw new ParseFailureException("Unable to parse ETD variant for Flex Option, must set option type", type);
+          throw new ParseFailureException(
+              FailureReason.FIELD_MISSING,
+              "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option.",
+              EXERCISE_STYLE_FIELD,
+              SETTLEMENT_TYPE_FIELD);
         }
         return Pair.of(yearMonth, EtdVariant.ofFlexOption(day, settleTypeOpt.get(), optionTypeOpt.get()));
       }
@@ -306,6 +319,7 @@ public static DoublesPair parseQuantity(CsvRow row) {
     Optional<Double> shortQuantityOpt = row.findValue(SHORT_QUANTITY_FIELD, LoaderUtils::parseDouble);
     if (!longQuantityOpt.isPresent() && !shortQuantityOpt.isPresent()) {
       throw new ParseFailureException(
+          FailureReason.FIELD_MISSING,
           "Security must contain a quantity column, either '{}' or '{}' and '{}'",
           QUANTITY_FIELD, LONG_QUANTITY_FIELD, SHORT_QUANTITY_FIELD);
     }
@@ -723,4 +737,8 @@ public static String formattedDouble(double value) {
     return Decimal.of(value).toString();
   }
 
+  static ParseFailureException missingFieldException(String field) {
+    return new ParseFailureException(field, FailureReason.FIELD_MISSING, "'{field}' is empty", field) ;
+  }
+
 }u}(j#  (b824c95bd4eec431b3ff40f87b37a0b88ec2ed8dj6$  Ymodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvInfoResolver.javaj8$  modifiedj0$  Kj1$  Kj:$  Kj;$  https://github.com/OpenGamma/Strata/blob/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.javaj=$  https://github.com/OpenGamma/Strata/raw/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.javaj?$  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.java?ref=bcb39f8b870dabc080fe3aacbd29f3e73227f5efjA$  X  @@ -21,6 +21,7 @@
 import static com.opengamma.strata.loader.csv.CsvLoaderColumns.UNDERLYING_EXPIRY_FIELD;
 import static com.opengamma.strata.loader.csv.CsvLoaderColumns.VERSION_FIELD;
 import static com.opengamma.strata.loader.csv.CsvLoaderUtils.DEFAULT_OPTION_VERSION_NUMBER;
+import static com.opengamma.strata.loader.csv.CsvLoaderUtils.missingFieldException;
 import static com.opengamma.strata.loader.csv.PositionCsvLoader.DEFAULT_SECURITY_SCHEME;
 
 import java.time.YearMonth;
@@ -273,8 +274,10 @@ public default Position parseEtdOptionPosition(CsvRow row, PositionInfo info) {
     EtdContractSpec contract = parseEtdContractSpec(row, EtdType.OPTION);
     Pair<YearMonth, EtdVariant> variant = CsvLoaderUtils.parseEtdVariant(row, EtdType.OPTION);
     int version = row.findValue(VERSION_FIELD).map(Integer::parseInt).orElse(DEFAULT_OPTION_VERSION_NUMBER);
-    PutCall putCall = row.getValue(PUT_CALL_FIELD, LoaderUtils::parsePutCall);
-    double strikePrice = row.getValue(EXERCISE_PRICE_FIELD, LoaderUtils::parseDouble);
+    PutCall putCall = row.findValue(PUT_CALL_FIELD, LoaderUtils::parsePutCall)
+        .orElseThrow(() -> missingFieldException(PUT_CALL_FIELD));
+    double strikePrice = row.findValue(EXERCISE_PRICE_FIELD, LoaderUtils::parseDouble)
+        .orElseThrow(() -> missingFieldException(EXERCISE_PRICE_FIELD));
     YearMonth underlyingExpiry = row.findValue(UNDERLYING_EXPIRY_FIELD)
         .map(str -> LoaderUtils.parseYearMonth(str))
         .orElse(null);u}(j#  (0a5f97c7bd3c8a730754995ae2a1bf11c1794289j6$  Smodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvLoader.javaj8$  modifiedj0$  Kj1$  Kj:$  Kj;$  https://github.com/OpenGamma/Strata/blob/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj=$  https://github.com/OpenGamma/Strata/raw/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj?$  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.java?ref=bcb39f8b870dabc080fe3aacbd29f3e73227f5efjA$  X  @@ -380,12 +380,7 @@ private <T extends Position> ValueWithFailures<List<T>> parseFile(CsvIterator cs
               .ifPresent(parsed -> positions.add((T) parsed));
         } else {
           // failed to find the type
-          failures.add(FailureItem.of(
-              FailureReason.PARSING,
-              "CSV position file '{fileName}' contained unknown position type '{type}' at line {lineNumber}",
-              CharSources.extractFileName(charSource),
-              typeRaw,
-              row.lineNumber()));
+          throw new ParseFailureException(FailureReason.UNSUPPORTED, "Unknown '{}', '{}'", POSITION_TYPE_FIELD, typeRaw);
         }
 
       } catch (ParseFailureException ex) {u}(j#  (8e72e800acc3552b0bbfba75f494cc2081fe9543j6$  Wmodules/loader/src/test/java/com/opengamma/strata/loader/csv/PositionCsvLoaderTest.javaj8$  modifiedj0$  Kj1$  Kj:$  Kj;$  https://github.com/OpenGamma/Strata/blob/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj=$  https://github.com/OpenGamma/Strata/raw/bcb39f8b870dabc080fe3aacbd29f3e73227f5ef/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj?$  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.java?ref=bcb39f8b870dabc080fe3aacbd29f3e73227f5efjA$  X
  @@ -418,8 +418,8 @@ public void test_load_invalidUnknownType() {
 
     assertThat(trades.getFailures()).hasSize(1);
     FailureItem failure = trades.getFailures().get(0);
-    assertThat(failure.getReason()).isEqualTo(FailureReason.PARSING);
-    assertThat(failure.getMessage()).isEqualTo("CSV position file 'Unknown.txt' contained unknown position type 'Foo' at line 2");
+    assertThat(failure.getReason()).isEqualTo(FailureReason.UNSUPPORTED);
+    assertThat(failure.getMessage()).isEqualTo("Unknown 'Strata Position Type', 'Foo'");
   }
 
   @Test
@@ -441,7 +441,7 @@ public void test_load_invalidNoQuantity() {
 
     assertThat(trades.getFailures()).hasSize(1);
     FailureItem failure = trades.getFailures().get(0);
-    assertThat(failure.getReason()).isEqualTo(FailureReason.PARSING);
+    assertThat(failure.getReason()).isEqualTo(FailureReason.FIELD_MISSING);
     assertThat(failure.getMessage()).isEqualTo("Security must contain a quantity column, either 'Quantity' or 'Long Quantity' and 'Short Quantity'");
   }
 ueu(98288dfd98e1a3090210b936cea5147d9d8f2f7d}(sha(98288dfd98e1a3090210b936cea5147d9d8f2f7dnode_idEC_kwDOAT6l0doAKDk4Mjg4ZGZkOThlMWEzMDkwMjEwYjkzNmNlYTUxNDdkOWQ4ZjJmN2Qcommit}(author}(nameAlexis Skitiniemailalexis@opengamma.comdate2023-05-12T10:33:46Zu	committer}(jm$  GitHubjo$  noreply@github.comjq$  2023-05-12T10:33:46Zumessage/Merge branch 'main' into topic/norx_exchange_idtree}(je$  (94bc45052525b36c8ff90eb1dcf7d48f73146735url`https://api.github.com/repos/OpenGamma/Strata/git/trees/94bc45052525b36c8ff90eb1dcf7d48f73146735uj}$  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/98288dfd98e1a3090210b936cea5147d9d8f2f7d
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkXhYKCRBK7hj4Ov3rIwAAioEIACQ+dfhTTq7AMrVunV1KfQ3I
awo7V/RfSUYbXOgcl2suuvK6bVOJilwpwJoBr9qvd1bmz5diCp+Uo9P3O3Nwo2yg
n67yehTPzgYFkIBFVtCu2foabg8xTjH6cMDQZZiIDbSsJCsEXykOSfJL+kySXyXd
P4jZZChXUFwEnzTSZjzxF/XND+b78w2fOo2ECDpr4RRk2luqCO9YseVWZorkwL9d
7MT9D3ef2jANlkVMsGUxpCKqhgOqOXa7kUCjb83TQpQuUssSDqfwEGMX+u6ehsiK
C8I4eqaGggndvr1RUVLGESIi9jQi3FsQV9P7bXtYRxoMliwwHabA+8qnAmvCcBs=
=1S7n
-----END PGP SIGNATURE-----
payloadX3  tree 94bc45052525b36c8ff90eb1dcf7d48f73146735
parent 91b88c70783122bbdca4d41d44720b5b80c1b9f0
parent 71334f960650c826694b8c193b53eecf9e222551
author Alexis Skitini <alexis@opengamma.com> 1683887626 +0100
committer GitHub <noreply@github.com> 1683887626 +0100

Merge branch 'main' into topic/norx_exchange_iduuj}$  ^https://api.github.com/repos/OpenGamma/Strata/commits/98288dfd98e1a3090210b936cea5147d9d8f2f7dhtml_urlShttps://github.com/OpenGamma/Strata/commit/98288dfd98e1a3090210b936cea5147d9d8f2f7dcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/98288dfd98e1a3090210b936cea5147d9d8f2f7d/commentsjk$  }(loginskitiniidJAjg$  MDQ6VXNlcjI1OTkzMjgx
avatar_url4https://avatars.githubusercontent.com/u/25993281?v=4gravatar_idh3j}$  $https://api.github.com/users/skitinij$  https://github.com/skitini
followers_url.https://api.github.com/users/skitini/followers
following_url;https://api.github.com/users/skitini/following{/other_user}	gists_url4https://api.github.com/users/skitini/gists{/gist_id}starred_url;https://api.github.com/users/skitini/starred{/owner}{/repo}subscriptions_url2https://api.github.com/users/skitini/subscriptionsorganizations_url)https://api.github.com/users/skitini/orgs	repos_url*https://api.github.com/users/skitini/repos
events_url5https://api.github.com/users/skitini/events{/privacy}received_events_url4https://api.github.com/users/skitini/received_eventstypeUser
site_adminujs$  }(j$  web-flowj$  J/jg$  MDQ6VXNlcjE5ODY0NDQ3j$  4https://avatars.githubusercontent.com/u/19864447?v=4j$  h3j}$  %https://api.github.com/users/web-flowj$  https://github.com/web-flowj$  /https://api.github.com/users/web-flow/followersj$  <https://api.github.com/users/web-flow/following{/other_user}j$  5https://api.github.com/users/web-flow/gists{/gist_id}j$  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j$  3https://api.github.com/users/web-flow/subscriptionsj$  *https://api.github.com/users/web-flow/orgsj$  +https://api.github.com/users/web-flow/reposj$  6https://api.github.com/users/web-flow/events{/privacy}j$  5https://api.github.com/users/web-flow/received_eventsj$  Userj$  uparents](}(je$  (91b88c70783122bbdca4d41d44720b5b80c1b9f0j}$  ^https://api.github.com/repos/OpenGamma/Strata/commits/91b88c70783122bbdca4d41d44720b5b80c1b9f0j$  Shttps://github.com/OpenGamma/Strata/commit/91b88c70783122bbdca4d41d44720b5b80c1b9f0u}(je$  (71334f960650c826694b8c193b53eecf9e222551j}$  ^https://api.github.com/repos/OpenGamma/Strata/commits/71334f960650c826694b8c193b53eecf9e222551j$  Shttps://github.com/OpenGamma/Strata/commit/71334f960650c826694b8c193b53eecf9e222551uestats}(totalK	additionsK	deletionsKufiles]}(je$  (5ff33260894f4e40730ce2617aaf49d049b204d4filenameGmodules/market/src/main/java/com/opengamma/strata/market/ValueType.javastatusmodifiedj$  Kj$  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/98288dfd98e1a3090210b936cea5147d9d8f2f7d/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/98288dfd98e1a3090210b936cea5147d9d8f2f7d/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.java?ref=98288dfd98e1a3090210b936cea5147d9d8f2f7dpatchX  @@ -134,7 +134,10 @@ public final class ValueType
    * Type used when each value is a correlation - 'CORRELATION'.
    */
   public static final ValueType CORRELATION = of("CORRELATION");
-
+  /**
+   * Type used when each value is the market quote e.g. a par rate for bonds = 'MarketQuote'.
+   */
+  public static final ValueType MARKET_QUOTE = of("MarketQuote");
   //-------------------------------------------------------------------------
   /**
    * Obtains an instance from the specified name.uau(a6d06b2fb8e2b3f6d2b00acf5f89ef31e6d508eb}(sha(a6d06b2fb8e2b3f6d2b00acf5f89ef31e6d508ebnode_idEC_kwDOAT6l0doAKGE2ZDA2YjJmYjhlMmIzZjZkMmIwMGFjZjVmODllZjMxZTZkNTA4ZWIcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-04-05T10:11:47Zu	committer}(j$  GitHubj$  noreply@github.comj$  2023-04-05T10:11:47ZumessageBump asm from 9.4 to 9.5

Bumps asm from 9.4 to 9.5.

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j$  (6ab3f82b3b42cba8301a2fb287c55eefee2837f4url`https://api.github.com/repos/OpenGamma/Strata/git/trees/6ab3f82b3b42cba8301a2fb287c55eefee2837f4uj$  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a6d06b2fb8e2b3f6d2b00acf5f89ef31e6d508eb
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkLUlkCRBK7hj4Ov3rIwAAlHIIAB5SixAE6h9OEpN/wYc5C5Yo
o6DvM1ajG51hs3G6bWv2YE3+S/hKx4hlmODRRM6r24z9PTZHEcYdKqxmvR0yqfq3
HfGgwt3ZcVJ65xWIkxpGk0Y2PZHJWS3ie/1eRWAnvf8srYNB3+yyBnwOXHOTFe0I
1fO+Mb6dfuPJV4lhNBbqqH5ue4OPqHshqFyoLQhPniXp9RtfddjeO8Sz6GTv2JOJ
N+fyAACdrZ+B3I9g/OmIClPIOrLTogejzHNmM31HPg+wNu5qrOkaBhTVn716TvfD
Y7wR8O7o6UuhHr5aYzlFX1zJNtl8SDIYZuAueF3PA+SLyc/kOkWQrQIiigVENZg=
=jLGo
-----END PGP SIGNATURE-----
payloadX  tree 6ab3f82b3b42cba8301a2fb287c55eefee2837f4
parent dd5a657d8f54879723005264fa7e52cd6a4f67db
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1680689507 +0000
committer GitHub <noreply@github.com> 1680689507 +0000

Bump asm from 9.4 to 9.5

Bumps asm from 9.4 to 9.5.

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uuj$  ^https://api.github.com/repos/OpenGamma/Strata/commits/a6d06b2fb8e2b3f6d2b00acf5f89ef31e6d508ebhtml_urlShttps://github.com/OpenGamma/Strata/commit/a6d06b2fb8e2b3f6d2b00acf5f89ef31e6d508ebcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a6d06b2fb8e2b3f6d2b00acf5f89ef31e6d508eb/commentsj$  }(logindependabot[bot]idJZj$  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j$  0https://api.github.com/users/dependabot%5Bbot%5Dj%  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj$  }(j%  web-flowj
%  J/j$  MDQ6VXNlcjE5ODY0NDQ3j%  4https://avatars.githubusercontent.com/u/19864447?v=4j%  h3j$  %https://api.github.com/users/web-flowj%  https://github.com/web-flowj%  /https://api.github.com/users/web-flow/followersj%  <https://api.github.com/users/web-flow/following{/other_user}j%  5https://api.github.com/users/web-flow/gists{/gist_id}j%  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j%  3https://api.github.com/users/web-flow/subscriptionsj%  *https://api.github.com/users/web-flow/orgsj %  +https://api.github.com/users/web-flow/reposj"%  6https://api.github.com/users/web-flow/events{/privacy}j$%  5https://api.github.com/users/web-flow/received_eventsj&%  Userj(%  uparents]}(j$  (dd5a657d8f54879723005264fa7e52cd6a4f67dbj$  ^https://api.github.com/repos/OpenGamma/Strata/commits/dd5a657d8f54879723005264fa7e52cd6a4f67dbj%  Shttps://github.com/OpenGamma/Strata/commit/dd5a657d8f54879723005264fa7e52cd6a4f67dbuastats}(totalK	additionsK	deletionsKufiles]}(j$  (7414a0c4184be123dc95af0f449dad2b66824153filenamemodules/pom.xmlstatusmodifiedjB%  KjC%  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/a6d06b2fb8e2b3f6d2b00acf5f89ef31e6d508eb/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/a6d06b2fb8e2b3f6d2b00acf5f89ef31e6d508eb/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=a6d06b2fb8e2b3f6d2b00acf5f89ef31e6d508ebpatchX  @@ -762,7 +762,7 @@
     <!-- Locate the root directory of the multi-module build -->
     <root.dir>${project.basedir}/..</root.dir>
     <!-- Versions -->
-    <asm.version>9.4</asm.version>
+    <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
     <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->uau(e7457493f0c0195aaf806b97eed27a29054ba451}(sha(e7457493f0c0195aaf806b97eed27a29054ba451node_idEC_kwDOAT6l0doAKGU3NDU3NDkzZjBjMDE5NWFhZjgwNmI5N2VlZDI3YTI5MDU0YmE0NTEcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-05-24T12:28:06Zu	committer}(j_%  opengammacibotja%  cibot@opengamma.comjc%  2023-05-24T12:28:06Zumessage/[maven-release-plugin] prepare release v2.12.24tree}(jW%  (307f9e599888a5486708a9d1c9842ee3813db783url`https://api.github.com/repos/OpenGamma/Strata/git/trees/307f9e599888a5486708a9d1c9842ee3813db783ujo%  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/e7457493f0c0195aaf806b97eed27a29054ba451
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujo%  ^https://api.github.com/repos/OpenGamma/Strata/commits/e7457493f0c0195aaf806b97eed27a29054ba451html_urlShttps://github.com/OpenGamma/Strata/commit/e7457493f0c0195aaf806b97eed27a29054ba451comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/e7457493f0c0195aaf806b97eed27a29054ba451/commentsj]%  }(loginopengammacibotidJq jY%  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3jo%  +https://api.github.com/users/opengammacibotj{%  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuje%  }(j%  opengammacibotj%  Jq jY%  MDQ6VXNlcjc0NTAyODE=j%  3https://avatars.githubusercontent.com/u/7450281?v=4j%  h3jo%  +https://api.github.com/users/opengammacibotj{%  !https://github.com/opengammacibotj%  5https://api.github.com/users/opengammacibot/followersj%  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j%  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j%  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j%  9https://api.github.com/users/opengammacibot/subscriptionsj%  0https://api.github.com/users/opengammacibot/orgsj%  1https://api.github.com/users/opengammacibot/reposj%  <https://api.github.com/users/opengammacibot/events{/privacy}j%  ;https://api.github.com/users/opengammacibot/received_eventsj%  Userj%  uparents]}(jW%  (abddec21412e7f48e4e00cdde3c6e566ff119efejo%  ^https://api.github.com/repos/OpenGamma/Strata/commits/abddec21412e7f48e4e00cdde3c6e566ff119efej{%  Shttps://github.com/OpenGamma/Strata/commit/abddec21412e7f48e4e00cdde3c6e566ff119efeuastats}(totalK$	additionsK	deletionsKufiles](}(jW%  (9e74b3390ea6211605b8658a884ddf89406dbd48filenameexamples/pom.xmlstatusmodifiedj%  Kj%  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.24-SNAPSHOT</version>
+  <version>2.12.24</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,4 +272,8 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
+
+  <scm>
+    <tag>v2.12.24</tag>
+  </scm>
 </project>u}(jW%  (e2e43770e3897b023ff471cf31ba0e19d7270623j%  modules/basics/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  lhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fbasics%2Fpom.xmlj%  khttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fbasics%2Fpom.xmlj%  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(jW%  (781a90340304a09f58a7f9eb394317fd5d87e3e4j%  modules/calc/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  jhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fcalc%2Fpom.xmlj%  ihttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fcalc%2Fpom.xmlj%  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(jW%  (9d0f8a33d4399c43f9dc5f19a1b1924a10586fe6j%  modules/collect/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  mhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fcollect%2Fpom.xmlj%  lhttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fcollect%2Fpom.xmlj%  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(jW%  (9bdfdabdaccdcc020fc3e9a094680641380f1fbej%  modules/data/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  jhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fdata%2Fpom.xmlj%  ihttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fdata%2Fpom.xmlj%  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(jW%  (6c223ceefce45ae7fddc5065ce2bdf96b60b6ffaj%  modules/loader/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  lhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Floader%2Fpom.xmlj%  khttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Floader%2Fpom.xmlj%  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(jW%  (912ea4e2caaa7e14e1906da2813209c2dc7c7c74j%  modules/market/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  lhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fmarket%2Fpom.xmlj%  khttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fmarket%2Fpom.xmlj%  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(jW%  (8a5a71acdb8e0b3b297a872ebe9c5e5960f98fc4j%  modules/math/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  jhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fmath%2Fpom.xmlj%  ihttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fmath%2Fpom.xmlj%  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(jW%  (67af4df3483e7d6110f2eb4caeeb3be0d986d50ej%  modules/measure/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  mhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fmeasure%2Fpom.xmlj%  lhttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fmeasure%2Fpom.xmlj%  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(jW%  (99386dac33381ba983f29ebc70f803d3fb2f9826j%  modules/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  chttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fpom.xmlj%  bhttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fpom.xmlj%  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.24-SNAPSHOT</version>
+  <version>2.12.24</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.24</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(jW%  (884d9e192df5393f3b91c5c154b27e2b0414afd4j%  modules/pricer/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  lhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fpricer%2Fpom.xmlj%  khttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fpricer%2Fpom.xmlj%  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(jW%  (7116ad53aabd24907faca2ada22f27ab79e720abj%  modules/product/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  mhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fproduct%2Fpom.xmlj%  lhttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Fproduct%2Fpom.xmlj%  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(jW%  (bc464ec4bbf8b0ca558bfae7bc7e06685e64c710j%  modules/report/pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  lhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Freport%2Fpom.xmlj%  khttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/modules%2Freport%2Fpom.xmlj%  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.24</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(jW%  (aa8b5b687497ed156f6fbc9855777f2c9deb8a4dj%  pom.xmlj%  modifiedj%  Kj%  Kj%  Kj%  Yhttps://github.com/OpenGamma/Strata/blob/e7457493f0c0195aaf806b97eed27a29054ba451/pom.xmlj%  Xhttps://github.com/OpenGamma/Strata/raw/e7457493f0c0195aaf806b97eed27a29054ba451/pom.xmlj%  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=e7457493f0c0195aaf806b97eed27a29054ba451j%  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.24-SNAPSHOT</version>
+  <version>2.12.24</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.24</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(cdcf9241296fe6eff88a686496b6bea1508a0967}(sha(cdcf9241296fe6eff88a686496b6bea1508a0967node_idEC_kwDOAT6l0doAKGNkY2Y5MjQxMjk2ZmU2ZWZmODhhNjg2NDk2YjZiZWExNTA4YTA5Njccommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-08-07T08:23:25Zu	committer}(j<&  GitHubj>&  noreply@github.comj@&  2023-08-07T08:23:25ZumessageX  Bump org.junit:junit-bom from 5.9.3 to 5.10.0

Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.9.3 to 5.10.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.3...r5.10.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j4&  (198c2d46964e229407802feaa2adb6d428baa9f2url`https://api.github.com/repos/OpenGamma/Strata/git/trees/198c2d46964e229407802feaa2adb6d428baa9f2ujL&  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/cdcf9241296fe6eff88a686496b6bea1508a0967
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJk0Kn9CRBK7hj4Ov3rIwAA9yoIADn3d6oqXT2d23h0WIHVCeAa
+oN3hN9l5DQW1RnVsfuDri0TJevbuIoBc/QW2XZH3qxzv6E7HbWErXE7tSw6Kqp8
NCrZU7UpleghJswLYA5blyhR9P8yvvDglbzmuvCVH4UoWXJph7uAVtN15JoPqotn
tcVWVFjhrTi4+eN9rSgTrxC5xYaVNLJfYSxDMEPVwLc5mazoEvYmFxr2xyoIrcv5
6tQbPjL1G+uTN5e8FMgOZyNw4+64dAw6/U17y8SNS4IzX4UrqJZTkXDxyNC1/XWF
kNC8UZ/85qfd42NBsxFN7vIK5e52HkTN+L8AwYDwuqqcag6uE+AQGsIfphzlfSU=
=PuSd
-----END PGP SIGNATURE-----
payloadX  tree 198c2d46964e229407802feaa2adb6d428baa9f2
parent aadda1cc94bb6f846ef06bfa79e9c155af5a0f8e
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1691396605 +0000
committer GitHub <noreply@github.com> 1691396605 +0000

Bump org.junit:junit-bom from 5.9.3 to 5.10.0

Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.9.3 to 5.10.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.3...r5.10.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uujL&  ^https://api.github.com/repos/OpenGamma/Strata/commits/cdcf9241296fe6eff88a686496b6bea1508a0967html_urlShttps://github.com/OpenGamma/Strata/commit/cdcf9241296fe6eff88a686496b6bea1508a0967comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/cdcf9241296fe6eff88a686496b6bea1508a0967/commentsj:&  }(logindependabot[bot]idJZj6&  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jL&  0https://api.github.com/users/dependabot%5Bbot%5DjZ&  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujB&  }(j_&  web-flowja&  J/j6&  MDQ6VXNlcjE5ODY0NDQ3jc&  4https://avatars.githubusercontent.com/u/19864447?v=4je&  h3jL&  %https://api.github.com/users/web-flowjZ&  https://github.com/web-flowjh&  /https://api.github.com/users/web-flow/followersjj&  <https://api.github.com/users/web-flow/following{/other_user}jl&  5https://api.github.com/users/web-flow/gists{/gist_id}jn&  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jp&  3https://api.github.com/users/web-flow/subscriptionsjr&  *https://api.github.com/users/web-flow/orgsjt&  +https://api.github.com/users/web-flow/reposjv&  6https://api.github.com/users/web-flow/events{/privacy}jx&  5https://api.github.com/users/web-flow/received_eventsjz&  Userj|&  uparents]}(j4&  (aadda1cc94bb6f846ef06bfa79e9c155af5a0f8ejL&  ^https://api.github.com/repos/OpenGamma/Strata/commits/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8ejZ&  Shttps://github.com/OpenGamma/Strata/commit/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8euastats}(totalK	additionsK	deletionsKufiles]}(j4&  (6853b20acd320fc9c5b89ad00bba853b31d7e5b7filenamemodules/pom.xmlstatusmodifiedj&  Kj&  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/cdcf9241296fe6eff88a686496b6bea1508a0967/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/cdcf9241296fe6eff88a686496b6bea1508a0967/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=cdcf9241296fe6eff88a686496b6bea1508a0967patchX  @@ -771,7 +771,7 @@
     <joda-convert.version>2.2.3</joda-convert.version>
     <joda-beans.version>2.8.3</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
-    <junit5.version>5.9.3</junit5.version>
+    <junit5.version>5.10.0</junit5.version>
     <mockito.version>4.9.0</mockito.version>
     <slf4j.version>1.7.36</slf4j.version>
     <!-- Versions after M3 cause RequireFilesExist to reject relative paths -->uau(3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5c}(sha(3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cnode_idEC_kwDOAT6l0doAKDM2NTJjODhmOWY0OTM1YjUwYWI2YmY1Y2M3ODVmYmQyZjAyYTVlNWMcommit}(author}(nameUjjwal Tyagiemail356214203+tyagi-data-wizard@users.noreply.github.comdate2023-06-18T20:42:10Zu	committer}(j&  GitHubj&  noreply@github.comj&  2023-06-18T20:42:10ZumessageUpdate DerivedCalculationFunctionTest.java (#2589)

#2507 
According to the issue, not best practice to return statement in @Test methods, so removed the annotationtree}(j&  (8dc44143ac51b982f8f5e0ed02aa117556250aefurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/8dc44143ac51b982f8f5e0ed02aa117556250aefuj&  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5c
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkj2wiCRBK7hj4Ov3rIwAAldkIACeCcxLHwjm6lWWDBVftmr4J
sVkM+JgKcRhP2XzkwD0P27OMKaU4JrPjX91c+r0Y3ovxPVlTKTco73Kgk9usfoQu
h+fAL9P9OYizK1N91ZfaeaV5LUfPHzlQRH8UGXwGaiBnTrgziZIGe6GjpOozgwnD
ma68iZZ8Sujpw8lv7kjR4JAI+yklqeAYuF3hooURYok8IvM1MVxwVfgQngCkwbA4
QzV308aX6iWZY9d0UMOXKqcIywha5oPHQTQAW2TiH7VPk+qp4qzN6/D/uUVwtxQy
mOOfHyBcBVUuH3aEdJRd/Q4MvUfx+UnqHFfHbra2ijqtjy1P1twIpdDqLMkW5wY=
=8Nra
-----END PGP SIGNATURE-----
payloadX  tree 8dc44143ac51b982f8f5e0ed02aa117556250aef
parent 35ee2b76b1d5da41774e5039bd03e51366dc4a47
author Ujjwal Tyagi <56214203+tyagi-data-wizard@users.noreply.github.com> 1687120930 +0530
committer GitHub <noreply@github.com> 1687120930 +0100

Update DerivedCalculationFunctionTest.java (#2589)

#2507 
According to the issue, not best practice to return statement in @Test methods, so removed the annotationuuj&  ^https://api.github.com/repos/OpenGamma/Strata/commits/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5chtml_urlShttps://github.com/OpenGamma/Strata/commit/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5ccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5c/commentsj&  }(logintyagi-data-wizardidJYj&  MDQ6VXNlcjU2MjE0MjAz
avatar_url4https://avatars.githubusercontent.com/u/56214203?v=4gravatar_idh3j&  .https://api.github.com/users/tyagi-data-wizardj&  $https://github.com/tyagi-data-wizard
followers_url8https://api.github.com/users/tyagi-data-wizard/followers
following_urlEhttps://api.github.com/users/tyagi-data-wizard/following{/other_user}	gists_url>https://api.github.com/users/tyagi-data-wizard/gists{/gist_id}starred_urlEhttps://api.github.com/users/tyagi-data-wizard/starred{/owner}{/repo}subscriptions_url<https://api.github.com/users/tyagi-data-wizard/subscriptionsorganizations_url3https://api.github.com/users/tyagi-data-wizard/orgs	repos_url4https://api.github.com/users/tyagi-data-wizard/repos
events_url?https://api.github.com/users/tyagi-data-wizard/events{/privacy}received_events_url>https://api.github.com/users/tyagi-data-wizard/received_eventstypeUser
site_adminuj&  }(j&  web-flowj&  J/j&  MDQ6VXNlcjE5ODY0NDQ3j&  4https://avatars.githubusercontent.com/u/19864447?v=4j&  h3j&  %https://api.github.com/users/web-flowj&  https://github.com/web-flowj&  /https://api.github.com/users/web-flow/followersj&  <https://api.github.com/users/web-flow/following{/other_user}j&  5https://api.github.com/users/web-flow/gists{/gist_id}j&  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j&  3https://api.github.com/users/web-flow/subscriptionsj&  *https://api.github.com/users/web-flow/orgsj&  +https://api.github.com/users/web-flow/reposj&  6https://api.github.com/users/web-flow/events{/privacy}j&  5https://api.github.com/users/web-flow/received_eventsj&  Userj&  uparents]}(j&  (35ee2b76b1d5da41774e5039bd03e51366dc4a47j&  ^https://api.github.com/repos/OpenGamma/Strata/commits/35ee2b76b1d5da41774e5039bd03e51366dc4a47j&  Shttps://github.com/OpenGamma/Strata/commit/35ee2b76b1d5da41774e5039bd03e51366dc4a47uastats}(totalK	additionsK 	deletionsKufiles]}(j&  (74715bb2d049c28eea83819e51a76a44843957b9filename_modules/calc/src/test/java/com/opengamma/strata/calc/runner/DerivedCalculationFunctionTest.javastatusmodifiedj
'  K j'  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5c/modules%2Fcalc%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcalc%2Frunner%2FDerivedCalculationFunctionTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5c/modules%2Fcalc%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcalc%2Frunner%2FDerivedCalculationFunctionTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcalc%2Frunner%2FDerivedCalculationFunctionTest.java?ref=3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cpatch@@ -286,7 +286,6 @@ final class TestTarget implements CalculationTarget {  // CSIGNORE
     this.value = value;
   }
 
-  @Test
   public int getValue() {
     return value;
   }uau(1c3780f58ade837e7d82c1e190192f49e12466b1}(sha(1c3780f58ade837e7d82c1e190192f49e12466b1node_idEC_kwDOAT6l0doAKDFjMzc4MGY1OGFkZTgzN2U3ZDgyYzFlMTkwMTkyZjQ5ZTEyNDY2YjEcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-05-29T02:57:39Zu	committer}(j*'  GitHubj,'  noreply@github.comj.'  2023-05-29T02:57:39ZumessageX  Bump guava from 31.1-jre to 32.0.0-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j"'  (fbf85621abf2283bd15db6e328902d9072f593beurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/fbf85621abf2283bd15db6e328902d9072f593beuj:'  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/1c3780f58ade837e7d82c1e190192f49e12466b1
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkdBSjCRBK7hj4Ov3rIwAAUpYIAEg+3FeO4beA54QE/QWeb3G8
TBHZ7KDGRwIzaEiMZci3KrAKGsQT+MpuC7KwTK1uwFDq5+3ZQzMdrKJVOReRAHgR
zCFQZ+sLM7KrG8KPmlQFlFgqz9da4vU1WQOAKn9rZhAaO2o66JyunMnHszpBiaKm
0pqfkjNi2yglAgFHxnpld0EdD5QJff92lmZkJmIzurTE6oasvNr9nDD2idPHHHmL
AYsCos+/A1nSLGIlsyX5loQ4925lZ8xmUGdUYql5Q/vd9C6jXPuvuVH7gd9uMOJ5
ZL8hx5V95k2GRI//xXTCHCkN1GSzVfnFSsj+hC3BOK0UXnLywiEk3mWsa4D21hY=
=8Wg1
-----END PGP SIGNATURE-----
payloadXy  tree fbf85621abf2283bd15db6e328902d9072f593be
parent d76f43c8898ae22b93623549d28010f2b237ff37
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1685329059 +0000
committer GitHub <noreply@github.com> 1685329059 +0000

Bump guava from 31.1-jre to 32.0.0-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>uu     j:'  ^https://api.github.com/repos/OpenGamma/Strata/commits/1c3780f58ade837e7d82c1e190192f49e12466b1html_urlShttps://github.com/OpenGamma/Strata/commit/1c3780f58ade837e7d82c1e190192f49e12466b1comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/1c3780f58ade837e7d82c1e190192f49e12466b1/commentsj('  }(logindependabot[bot]idJZj$'  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j:'  0https://api.github.com/users/dependabot%5Bbot%5DjH'  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj0'  }(jM'  web-flowjO'  J/j$'  MDQ6VXNlcjE5ODY0NDQ3jQ'  4https://avatars.githubusercontent.com/u/19864447?v=4jS'  h3j:'  %https://api.github.com/users/web-flowjH'  https://github.com/web-flowjV'  /https://api.github.com/users/web-flow/followersjX'  <https://api.github.com/users/web-flow/following{/other_user}jZ'  5https://api.github.com/users/web-flow/gists{/gist_id}j\'  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j^'  3https://api.github.com/users/web-flow/subscriptionsj`'  *https://api.github.com/users/web-flow/orgsjb'  +https://api.github.com/users/web-flow/reposjd'  6https://api.github.com/users/web-flow/events{/privacy}jf'  5https://api.github.com/users/web-flow/received_eventsjh'  Userjj'  uparents]}(j"'  (d76f43c8898ae22b93623549d28010f2b237ff37j:'  ^https://api.github.com/repos/OpenGamma/Strata/commits/d76f43c8898ae22b93623549d28010f2b237ff37jH'  Shttps://github.com/OpenGamma/Strata/commit/d76f43c8898ae22b93623549d28010f2b237ff37uastats}(totalK	additionsK	deletionsKufiles]}(j"'  (9ce3f096a6016053b3c4bb180538308510e86f27filenamemodules/pom.xmlstatusmodifiedj'  Kj'  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/1c3780f58ade837e7d82c1e190192f49e12466b1/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/1c3780f58ade837e7d82c1e190192f49e12466b1/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=1c3780f58ade837e7d82c1e190192f49e12466b1patchXl  @@ -765,7 +765,7 @@
     <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
-    <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
+    <guava.version>32.0.0-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>uau(ac1892d865a4d4e0ab193cbeda462b22aad7b687}(sha(ac1892d865a4d4e0ab193cbeda462b22aad7b687node_idEC_kwDOAT6l0doAKGFjMTg5MmQ4NjVhNGQ0ZTBhYjE5M2NiZWRhNDYyYjIyYWFkN2I2ODccommit}(author}(nameStephen Colebourneemailscolebourne@joda.orgdate2023-04-20T12:56:25Zu	committer}(j'  Stephen Colebournej'  scolebourne@joda.orgj'  2023-04-20T12:56:25ZumessageFix Maven on CircleCItree}(j'  (ca243c2617419ffa2ebe5f0d1cab03f0c989d047url`https://api.github.com/repos/OpenGamma/Strata/git/trees/ca243c2617419ffa2ebe5f0d1cab03f0c989d047uj'  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/ac1892d865a4d4e0ab193cbeda462b22aad7b687
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj'  ^https://api.github.com/repos/OpenGamma/Strata/commits/ac1892d865a4d4e0ab193cbeda462b22aad7b687html_urlShttps://github.com/OpenGamma/Strata/commit/ac1892d865a4d4e0ab193cbeda462b22aad7b687comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/ac1892d865a4d4e0ab193cbeda462b22aad7b687/commentsj'  }(loginjodastephenidJ@ j'  MDQ6VXNlcjIxMzIxMg==
avatar_url2https://avatars.githubusercontent.com/u/213212?v=4gravatar_idh3j'  (https://api.github.com/users/jodastephenj'  https://github.com/jodastephen
followers_url2https://api.github.com/users/jodastephen/followers
following_url?https://api.github.com/users/jodastephen/following{/other_user}	gists_url8https://api.github.com/users/jodastephen/gists{/gist_id}starred_url?https://api.github.com/users/jodastephen/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/jodastephen/subscriptionsorganizations_url-https://api.github.com/users/jodastephen/orgs	repos_url.https://api.github.com/users/jodastephen/repos
events_url9https://api.github.com/users/jodastephen/events{/privacy}received_events_url8https://api.github.com/users/jodastephen/received_eventstypeUser
site_adminuj'  }(j'  jodastephenj'  J@ j'  MDQ6VXNlcjIxMzIxMg==j'  2https://avatars.githubusercontent.com/u/213212?v=4j'  h3j'  (https://api.github.com/users/jodastephenj'  https://github.com/jodastephenj'  2https://api.github.com/users/jodastephen/followersj'  ?https://api.github.com/users/jodastephen/following{/other_user}j'  8https://api.github.com/users/jodastephen/gists{/gist_id}j'  ?https://api.github.com/users/jodastephen/starred{/owner}{/repo}j'  6https://api.github.com/users/jodastephen/subscriptionsj'  -https://api.github.com/users/jodastephen/orgsj'  .https://api.github.com/users/jodastephen/reposj'  9https://api.github.com/users/jodastephen/events{/privacy}j'  8https://api.github.com/users/jodastephen/received_eventsj'  Userj'  uparents]}(j'  (93d1508ec6e216845016de9adb25da31fd0fb663j'  ^https://api.github.com/repos/OpenGamma/Strata/commits/93d1508ec6e216845016de9adb25da31fd0fb663j'  Shttps://github.com/OpenGamma/Strata/commit/93d1508ec6e216845016de9adb25da31fd0fb663uastats}(totalK	additionsK	deletionsKufiles]}(j'  (832e0b574088af03ab64dda58dbd6815cfe5a042filename.circleci/config.ymlstatusmodifiedj'  Kj'  KchangesKblob_urlhhttps://github.com/OpenGamma/Strata/blob/ac1892d865a4d4e0ab193cbeda462b22aad7b687/.circleci%2Fconfig.ymlraw_urlghttps://github.com/OpenGamma/Strata/raw/ac1892d865a4d4e0ab193cbeda462b22aad7b687/.circleci%2Fconfig.ymlcontents_urlzhttps://api.github.com/repos/OpenGamma/Strata/contents/.circleci%2Fconfig.yml?ref=ac1892d865a4d4e0ab193cbeda462b22aad7b687patchX  @@ -45,9 +45,13 @@ commands:
       - run:
           name: Initializing Maven
           command: |
+            mvn --version
             mkdir -p ./.mvn
-            echo "-e -B -DtrimStackTrace=false --settings $( pwd )/.circleci/maven-settings.xml" > ./.mvn/maven.config
-            cat ./.mvn/maven.config
+            echo "-e" >> ./.mvn/maven.config
+            echo "-B" >> ./.mvn/maven.config
+            echo "-DtrimStackTrace=false" >> ./.mvn/maven.config
+            echo "--settings" >> ./.mvn/maven.config
+            echo "$( pwd )/.circleci/maven-settings.xml" >> ./.mvn/maven.config
             mvn --version
 
 #----------------------------------------------------------------------------uau(d1991c2daefe52e8e153db54433461d65312b24a}(sha(d1991c2daefe52e8e153db54433461d65312b24anode_idEC_kwDOAT6l0doAKGQxOTkxYzJkYWVmZTUyZThlMTUzZGI1NDQzMzQ2MWQ2NTMxMmIyNGEcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-08-07T08:23:47Zu	committer}(j(  GitHubj(  noreply@github.comj(  2023-08-07T08:23:47ZumessageX  Bump joda-beans from 2.8.3 to 2.9.2

Bumps joda-beans from 2.8.3 to 2.9.2.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j(  (a7b0da56a80f699370825a0a1c48a38a83653280url`https://api.github.com/repos/OpenGamma/Strata/git/trees/a7b0da56a80f699370825a0a1c48a38a83653280uj&(  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/d1991c2daefe52e8e153db54433461d65312b24a
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJk0KoTCRBK7hj4Ov3rIwAAyJgIAHC6MZq01Jq0T5PfcJpDXQsg
H5+WeefJXtfBQ6a+VQ1fQV/DQwdQuD2SRc7q1EgwP0I4OOql4kLlm2iA3XvcC8Uk
hn9qhrIw2VoHFNrvO/5L1Psv62CfjheUiZlNXAm9xcpuhK+EdvCVU+9tmGOCA/le
NIq4aLQEpYnHA4ijPcAR4RB0GLtApC+9LAZK52WteMpgmSrVombrmhkyBB4h6TSg
LeWaHeSpzIdwXVL4jsFstO/8t7EhpvRbqBYCsY2r8H/BZST+M5y3W/PXHGPFRzCX
jM+W217ScOYv4THvUNNmWiaFZAdfT/IfdtPZExQCV1LHnf18cf5ef8JnAo1ELXU=
=Bjm+
-----END PGP SIGNATURE-----
payloadX  tree a7b0da56a80f699370825a0a1c48a38a83653280
parent aadda1cc94bb6f846ef06bfa79e9c155af5a0f8e
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1691396627 +0000
committer GitHub <noreply@github.com> 1691396627 +0000

Bump joda-beans from 2.8.3 to 2.9.2

Bumps joda-beans from 2.8.3 to 2.9.2.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uuj&(  ^https://api.github.com/repos/OpenGamma/Strata/commits/d1991c2daefe52e8e153db54433461d65312b24ahtml_urlShttps://github.com/OpenGamma/Strata/commit/d1991c2daefe52e8e153db54433461d65312b24acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/d1991c2daefe52e8e153db54433461d65312b24a/commentsj(  }(logindependabot[bot]idJZj(  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j&(  0https://api.github.com/users/dependabot%5Bbot%5Dj4(  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj(  }(j9(  web-flowj;(  J/j(  MDQ6VXNlcjE5ODY0NDQ3j=(  4https://avatars.githubusercontent.com/u/19864447?v=4j?(  h3j&(  %https://api.github.com/users/web-flowj4(  https://github.com/web-flowjB(  /https://api.github.com/users/web-flow/followersjD(  <https://api.github.com/users/web-flow/following{/other_user}jF(  5https://api.github.com/users/web-flow/gists{/gist_id}jH(  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jJ(  3https://api.github.com/users/web-flow/subscriptionsjL(  *https://api.github.com/users/web-flow/orgsjN(  +https://api.github.com/users/web-flow/reposjP(  6https://api.github.com/users/web-flow/events{/privacy}jR(  5https://api.github.com/users/web-flow/received_eventsjT(  UserjV(  uparents]}(j(  (aadda1cc94bb6f846ef06bfa79e9c155af5a0f8ej&(  ^https://api.github.com/repos/OpenGamma/Strata/commits/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8ej4(  Shttps://github.com/OpenGamma/Strata/commit/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8euastats}(totalK	additionsK	deletionsKufiles]}(j(  (40c91b91106505c847cb21f3e625c2d191c4605cfilenamemodules/pom.xmlstatusmodifiedjp(  Kjq(  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/d1991c2daefe52e8e153db54433461d65312b24a/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/d1991c2daefe52e8e153db54433461d65312b24a/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=d1991c2daefe52e8e153db54433461d65312b24apatchX  @@ -769,7 +769,7 @@
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>
-    <joda-beans.version>2.8.3</joda-beans.version>
+    <joda-beans.version>2.9.2</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
     <junit5.version>5.9.3</junit5.version>
     <mockito.version>4.9.0</mockito.version>uau(72005fb2e23acabeec7cd4c8f984dc26bafc8d40}(sha(72005fb2e23acabeec7cd4c8f984dc26bafc8d40node_idEC_kwDOAT6l0doAKDcyMDA1ZmIyZTIzYWNhYmVlYzdjZDRjOGY5ODRkYzI2YmFmYzhkNDAcommit}(author}(nameUjjwal Tyagiemail356214203+tyagi-data-wizard@users.noreply.github.comdate2023-06-17T07:08:22Zu	committer}(j(  GitHubj(  noreply@github.comj(  2023-06-17T07:08:22ZumessageUpdate DerivedCalculationFunctionTest.java

#2507 
According to the issue, not best practice to return statement in @Test methods, so removed the annotationtree}(j(  (8dc44143ac51b982f8f5e0ed02aa117556250aefurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/8dc44143ac51b982f8f5e0ed02aa117556250aefuj(  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/72005fb2e23acabeec7cd4c8f984dc26bafc8d40
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkjVvmCRBK7hj4Ov3rIwAAVCEIAHLbscr3kvA9gpQffRPdh5Aj
9miYuA3/AfibqZWuT87Ks6uHswBf2JP6zTiLZxvCoWP/BzgWGAaN4sOacypFZbb/
8MK4HQdPRpXv6qERrx47s9GqZ59lu1k8DekP+lPHww/wRHzvP9CeWKWyP+Mjusdr
qvYkKB++LY7tSS9CCpR+lOx+32dZtJ6VBCHjCC/4SpUjf0ApTuBKHxinN5x4TCv3
/DNtyfSOwegBv7RFjQfegz7r/IHlSjrHTgqy9wbgukb8Nng1G3adR+PRpiz/Aw+h
H4W0b6zPbwTcT3yT+7z2fu18tkHrxLbNQuBQoRYGff7RDRDQWlu0xRRQuvXCiWE=
=uTl/
-----END PGP SIGNATURE-----
payloadX  tree 8dc44143ac51b982f8f5e0ed02aa117556250aef
parent 35ee2b76b1d5da41774e5039bd03e51366dc4a47
author Ujjwal Tyagi <56214203+tyagi-data-wizard@users.noreply.github.com> 1686985702 +0530
committer GitHub <noreply@github.com> 1686985702 +0530

Update DerivedCalculationFunctionTest.java

#2507 
According to the issue, not best practice to return statement in @Test methods, so removed the annotationuuj(  ^https://api.github.com/repos/OpenGamma/Strata/commits/72005fb2e23acabeec7cd4c8f984dc26bafc8d40html_urlShttps://github.com/OpenGamma/Strata/commit/72005fb2e23acabeec7cd4c8f984dc26bafc8d40comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/72005fb2e23acabeec7cd4c8f984dc26bafc8d40/commentsj(  }(logintyagi-data-wizardidJYj(  MDQ6VXNlcjU2MjE0MjAz
avatar_url4https://avatars.githubusercontent.com/u/56214203?v=4gravatar_idh3j(  .https://api.github.com/users/tyagi-data-wizardj(  $https://github.com/tyagi-data-wizard
followers_url8https://api.github.com/users/tyagi-data-wizard/followers
following_urlEhttps://api.github.com/users/tyagi-data-wizard/following{/other_user}	gists_url>https://api.github.com/users/tyagi-data-wizard/gists{/gist_id}starred_urlEhttps://api.github.com/users/tyagi-data-wizard/starred{/owner}{/repo}subscriptions_url<https://api.github.com/users/tyagi-data-wizard/subscriptionsorganizations_url3https://api.github.com/users/tyagi-data-wizard/orgs	repos_url4https://api.github.com/users/tyagi-data-wizard/repos
events_url?https://api.github.com/users/tyagi-data-wizard/events{/privacy}received_events_url>https://api.github.com/users/tyagi-data-wizard/received_eventstypeUser
site_adminuj(  }(j(  web-flowj(  J/j(  MDQ6VXNlcjE5ODY0NDQ3j(  4https://avatars.githubusercontent.com/u/19864447?v=4j(  h3j(  %https://api.github.com/users/web-flowj(  https://github.com/web-flowj(  /https://api.github.com/users/web-flow/followersj(  <https://api.github.com/users/web-flow/following{/other_user}j(  5https://api.github.com/users/web-flow/gists{/gist_id}j(  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j(  3https://api.github.com/users/web-flow/subscriptionsj(  *https://api.github.com/users/web-flow/orgsj(  +https://api.github.com/users/web-flow/reposj(  6https://api.github.com/users/web-flow/events{/privacy}j(  5https://api.github.com/users/web-flow/received_eventsj(  Userj(  uparents]}(j(  (35ee2b76b1d5da41774e5039bd03e51366dc4a47j(  ^https://api.github.com/repos/OpenGamma/Strata/commits/35ee2b76b1d5da41774e5039bd03e51366dc4a47j(  Shttps://github.com/OpenGamma/Strata/commit/35ee2b76b1d5da41774e5039bd03e51366dc4a47uastats}(totalK	additionsK 	deletionsKufiles]}(j(  (74715bb2d049c28eea83819e51a76a44843957b9filename_modules/calc/src/test/java/com/opengamma/strata/calc/runner/DerivedCalculationFunctionTest.javastatusmodifiedj(  K j(  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/72005fb2e23acabeec7cd4c8f984dc26bafc8d40/modules%2Fcalc%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcalc%2Frunner%2FDerivedCalculationFunctionTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/72005fb2e23acabeec7cd4c8f984dc26bafc8d40/modules%2Fcalc%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcalc%2Frunner%2FDerivedCalculationFunctionTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcalc%2Frunner%2FDerivedCalculationFunctionTest.java?ref=72005fb2e23acabeec7cd4c8f984dc26bafc8d40patch@@ -286,7 +286,6 @@ final class TestTarget implements CalculationTarget {  // CSIGNORE
     this.value = value;
   }
 
-  @Test
   public int getValue() {
     return value;
   }uau(35ee2b76b1d5da41774e5039bd03e51366dc4a47}(sha(35ee2b76b1d5da41774e5039bd03e51366dc4a47node_idEC_kwDOAT6l0doAKDM1ZWUyYjc2YjFkNWRhNDE3NzRlNTAzOWJkMDNlNTEzNjZkYzRhNDccommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-06-08T10:51:29Zu	committer}(j)  opengammacibotj)  cibot@opengamma.comj)  2023-06-08T10:51:29Zumessage=[maven-release-plugin] prepare for next development iterationtree}(j(  (a9e9e052786c9d6f72acc710cc8a92dfc83358ecurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/a9e9e052786c9d6f72acc710cc8a92dfc83358ecuj)  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/35ee2b76b1d5da41774e5039bd03e51366dc4a47
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj)  ^https://api.github.com/repos/OpenGamma/Strata/commits/35ee2b76b1d5da41774e5039bd03e51366dc4a47html_urlShttps://github.com/OpenGamma/Strata/commit/35ee2b76b1d5da41774e5039bd03e51366dc4a47comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/35ee2b76b1d5da41774e5039bd03e51366dc4a47/commentsj)  }(loginopengammacibotidJq j(  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j)  +https://api.github.com/users/opengammacibotj )  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj
)  }(j%)  opengammacibotj')  Jq j(  MDQ6VXNlcjc0NTAyODE=j))  3https://avatars.githubusercontent.com/u/7450281?v=4j+)  h3j)  +https://api.github.com/users/opengammacibotj )  !https://github.com/opengammacibotj.)  5https://api.github.com/users/opengammacibot/followersj0)  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j2)  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j4)  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j6)  9https://api.github.com/users/opengammacibot/subscriptionsj8)  0https://api.github.com/users/opengammacibot/orgsj:)  1https://api.github.com/users/opengammacibot/reposj<)  <https://api.github.com/users/opengammacibot/events{/privacy}j>)  ;https://api.github.com/users/opengammacibot/received_eventsj@)  UserjB)  uparents]}(j(  (55bee3476f97a66ac130c3a0fbe7495d139575c5j)  ^https://api.github.com/repos/OpenGamma/Strata/commits/55bee3476f97a66ac130c3a0fbe7495d139575c5j )  Shttps://github.com/OpenGamma/Strata/commit/55bee3476f97a66ac130c3a0fbe7495d139575c5uastats}(totalK$	additionsK	deletionsKufiles](}(j(  (b6ad2a10ff3d1c86cf7e9e4c3339a39fbd3f36c8filenameexamples/pom.xmlstatusmodifiedj\)  Kj])  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.27</version>
+  <version>2.12.28-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,8 +272,4 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
-
-  <scm>
-    <tag>v2.12.27</tag>
-  </scm>
 </project>u}(j(  (39a7eb1f6c00b351864d70ff104500e7fe929f97jb)  modules/basics/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  lhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fbasics%2Fpom.xmlji)  khttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fbasics%2Fpom.xmljk)  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j(  (8964500e3105b7a620d53fc0ad22a2dce4f5d6d0jb)  modules/calc/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  jhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fcalc%2Fpom.xmlji)  ihttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fcalc%2Fpom.xmljk)  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j(  (e9e226d38b479cecf50cc3c2e272bb3328575c8bjb)  modules/collect/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  mhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fcollect%2Fpom.xmlji)  lhttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fcollect%2Fpom.xmljk)  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j(  (aab122d3afdf1cea5c90cee26f307ebb9fe6546ejb)  modules/data/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  jhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fdata%2Fpom.xmlji)  ihttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fdata%2Fpom.xmljk)  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j(  (68e2ef56dfb32bf5c6dd7d840bcd02f7a7b9947ejb)  modules/loader/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  lhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Floader%2Fpom.xmlji)  khttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Floader%2Fpom.xmljk)  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j(  (2723ec5c86475a3723cf106da617c116e3a4c049jb)  modules/market/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  lhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fmarket%2Fpom.xmlji)  khttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fmarket%2Fpom.xmljk)  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j(  (9ba8773682ae1400dac9bacbc5504d509c746f9djb)  modules/math/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  jhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fmath%2Fpom.xmlji)  ihttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fmath%2Fpom.xmljk)  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j(  (e985e514a74ff97a591f25bc115e97c1bfb4d7b2jb)  modules/measure/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  mhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fmeasure%2Fpom.xmlji)  lhttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fmeasure%2Fpom.xmljk)  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j(  (809a77995afb0fe5c6d6544cc40b54b6cfa75f19jb)  modules/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  chttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fpom.xmlji)  bhttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fpom.xmljk)  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.27</version>
+  <version>2.12.28-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.27</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j(  (9f7e6219c065fb92b2d8bb3c7a70a6a82cdb4c2ejb)  modules/pricer/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  lhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fpricer%2Fpom.xmlji)  khttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fpricer%2Fpom.xmljk)  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j(  (2ddfcc80e50cf6024d724661cebf16e2a4cab365jb)  modules/product/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  mhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fproduct%2Fpom.xmlji)  lhttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Fproduct%2Fpom.xmljk)  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j(  (b37c441e24e2219945a83bb2f448f331e6fc9847jb)  modules/report/pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  lhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Freport%2Fpom.xmlji)  khttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/modules%2Freport%2Fpom.xmljk)  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.27</version>
+    <version>2.12.28-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j(  (fa8730e497e7029d0e6a65de9ce4e1ee8cf8df80jb)  pom.xmljd)  modifiedj\)  Kj])  Kjf)  Kjg)  Yhttps://github.com/OpenGamma/Strata/blob/35ee2b76b1d5da41774e5039bd03e51366dc4a47/pom.xmlji)  Xhttps://github.com/OpenGamma/Strata/raw/35ee2b76b1d5da41774e5039bd03e51366dc4a47/pom.xmljk)  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=35ee2b76b1d5da41774e5039bd03e51366dc4a47jm)  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.27</version>
+  <version>2.12.28-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.27</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(06f6efdf577f856447c85d31cb1d535027cbe968}(sha(06f6efdf577f856447c85d31cb1d535027cbe968node_idEC_kwDOAT6l0doAKDA2ZjZlZmRmNTc3Zjg1NjQ0N2M4NWQzMWNiMWQ1MzUwMjdjYmU5Njgcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-05-17T08:45:14Zu	committer}(j)  opengammacibotj)  cibot@opengamma.comj)  2023-05-17T08:45:14Zumessage/[maven-release-plugin] prepare release v2.12.23tree}(j)  (64c9327b5628ce9d984de4ff077fc916177cb870url`https://api.github.com/repos/OpenGamma/Strata/git/trees/64c9327b5628ce9d984de4ff077fc916177cb870uj)  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/06f6efdf577f856447c85d31cb1d535027cbe968
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj)  ^https://api.github.com/repos/OpenGamma/Strata/commits/06f6efdf577f856447c85d31cb1d535027cbe968html_urlShttps://github.com/OpenGamma/Strata/commit/06f6efdf577f856447c85d31cb1d535027cbe968comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/06f6efdf577f856447c85d31cb1d535027cbe968/commentsj)  }(loginopengammacibotidJq j)  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j)  +https://api.github.com/users/opengammacibotj)  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj)  }(j*  opengammacibotj*  Jq j)  MDQ6VXNlcjc0NTAyODE=j*  3https://avatars.githubusercontent.com/u/7450281?v=4j*  h3j)  +https://api.github.com/users/opengammacibotj)  !https://github.com/opengammacibotj*  5https://api.github.com/users/opengammacibot/followersj
*  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j*  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j*  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j*  9https://api.github.com/users/opengammacibot/subscriptionsj*  0https://api.github.com/users/opengammacibot/orgsj*  1https://api.github.com/users/opengammacibot/reposj*  <https://api.github.com/users/opengammacibot/events{/privacy}j*  ;https://api.github.com/users/opengammacibot/received_eventsj*  Userj*  uparents]}(j)  (24fc863bed712b291454d1e2ed8a8a29446a7ea9j)  ^https://api.github.com/repos/OpenGamma/Strata/commits/24fc863bed712b291454d1e2ed8a8a29446a7ea9j)  Shttps://github.com/OpenGamma/Strata/commit/24fc863bed712b291454d1e2ed8a8a29446a7ea9uastats}(totalK$	additionsK	deletionsKufiles](}(j)  (5d78f93c6212d068b9d48a5fa4c2b41d4416f38cfilenameexamples/pom.xmlstatusmodifiedj9*  Kj:*  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.23-SNAPSHOT</version>
+  <version>2.12.23</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,4 +272,8 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
+
+  <scm>
+    <tag>v2.12.23</tag>
+  </scm>
 </project>u}(j)  (f538bf95d6c53332149d445e2f59c6c3a986e163j?*  modules/basics/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  lhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fbasics%2Fpom.xmljF*  khttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fbasics%2Fpom.xmljH*  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j)  (02d172ed3b9466d45f147c3b0f12690b68952102j?*  modules/calc/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  jhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fcalc%2Fpom.xmljF*  ihttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fcalc%2Fpom.xmljH*  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j)  (2eee784d995bd1c59c39e79f4c2d167aa0daa5edj?*  modules/collect/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  mhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fcollect%2Fpom.xmljF*  lhttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fcollect%2Fpom.xmljH*  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j)  (8866945d1f7e3a999771cccfaf76bc477e9f9c54j?*  modules/data/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  jhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fdata%2Fpom.xmljF*  ihttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fdata%2Fpom.xmljH*  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j)  (4c4a892295b64d8ffad91fdf55a27be29cef3eabj?*  modules/loader/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  lhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Floader%2Fpom.xmljF*  khttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Floader%2Fpom.xmljH*  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j)  (ade4aac9baecc998045e13ff5bef7628d3a9c715j?*  modules/market/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  lhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fmarket%2Fpom.xmljF*  khttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fmarket%2Fpom.xmljH*  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j)  (4cf2175910297f8959692847f06e942680b6d1d4j?*  modules/math/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  jhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fmath%2Fpom.xmljF*  ihttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fmath%2Fpom.xmljH*  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j)  (5ba251887e57f7bdcea36137726ae64d3b1f92daj?*  modules/measure/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  mhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fmeasure%2Fpom.xmljF*  lhttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fmeasure%2Fpom.xmljH*  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j)  (0a2bc69137ed351620fd12ca1d5ccb2cb9bc3fbaj?*  modules/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  chttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fpom.xmljF*  bhttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fpom.xmljH*  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.23-SNAPSHOT</version>
+  <version>2.12.23</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.23</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j)  (62d58df1be469a1a5f56ac38c907dd4dfea4cabej?*  modules/pricer/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  lhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fpricer%2Fpom.xmljF*  khttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fpricer%2Fpom.xmljH*  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j)  (86414bb8bdce7d1078487522a87c0378ab0d5deaj?*  modules/product/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  mhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fproduct%2Fpom.xmljF*  lhttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Fproduct%2Fpom.xmljH*  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j)  (2682a71a6b3842419a0d84255594cf61da371ae1j?*  modules/report/pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  lhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Freport%2Fpom.xmljF*  khttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/modules%2Freport%2Fpom.xmljH*  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.23-SNAPSHOT</version>
+    <version>2.12.23</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j)  (1e82219535ba613c55b3cc9ffa51596f7cad7941j?*  pom.xmljA*  modifiedj9*  Kj:*  KjC*  KjD*  Yhttps://github.com/OpenGamma/Strata/blob/06f6efdf577f856447c85d31cb1d535027cbe968/pom.xmljF*  Xhttps://github.com/OpenGamma/Strata/raw/06f6efdf577f856447c85d31cb1d535027cbe968/pom.xmljH*  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=06f6efdf577f856447c85d31cb1d535027cbe968jJ*  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.23-SNAPSHOT</version>
+  <version>2.12.23</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.23</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(55b46cbeaff2939163e004c37de98e74c2f9a86b}(sha(55b46cbeaff2939163e004c37de98e74c2f9a86bnode_idEC_kwDOAT6l0doAKDU1YjQ2Y2JlYWZmMjkzOTE2M2UwMDRjMzdkZTk4ZTc0YzJmOWE4NmIcommit}(author}(name
Yuki Iwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-02T15:16:04Zu	committer}(j*  GitHubj*  noreply@github.comj*  2023-05-02T15:16:04Zumessage*modifier in inflation bond pricers (#2567)tree}(j*  (1eaab788af4c52d658973c85f0e817b4ee6a2ac8url`https://api.github.com/repos/OpenGamma/Strata/git/trees/1eaab788af4c52d658973c85f0e817b4ee6a2ac8uj*  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/55b46cbeaff2939163e004c37de98e74c2f9a86b
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkUSk0CRBK7hj4Ov3rIwAAifwIABQJC48jxlxxDkjtirIlLIs+
89IeUxvWYf7lzz6V/CCp1JE0+D0hp26Sl84xYa5JUtjaAB5ylJSfPfn4Wuk5Q5zb
aRQQxTTzianldXIKeVJ1rU52felmDH18lRBg4QUG9gyKLLhQz0qZvqecGCcGWvT4
D+k7xGfK4AcPlbEDlHR6u5P7kpxMfAB06R2L5LIWPRn2Tj0Q2wnxLL3hxdW9gk49
1XloZLgM2LIWkUxS5YiNZK6MgKRIK1hL+j9i2ye/fgp8aY9MxxEHnvV2oFFVZLqn
IWP05IBCSdTuMuuQGDfDkty0G4zNHWhx444jRfQAch4Z14QpfVvVe+In+pjDgqw=
=cgym
-----END PGP SIGNATURE-----
payloadX  tree 1eaab788af4c52d658973c85f0e817b4ee6a2ac8
parent ccada5ee85d215fbaab3c35eef06a2291007023d
author Yuki Iwashita <yukiiwashita@users.noreply.github.com> 1683040564 +0100
committer GitHub <noreply@github.com> 1683040564 +0100

modifier in inflation bond pricers (#2567)

uuj*  ^https://api.github.com/repos/OpenGamma/Strata/commits/55b46cbeaff2939163e004c37de98e74c2f9a86bhtml_urlShttps://github.com/OpenGamma/Strata/commit/55b46cbeaff2939163e004c37de98e74c2f9a86bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/55b46cbeaff2939163e004c37de98e74c2f9a86b/commentsj*  }(loginyukiiwashitaidJ- j*  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3j*  )https://api.github.com/users/yukiiwashitaj*  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminuj*  }(j*  web-flowj*  J/j*  MDQ6VXNlcjE5ODY0NDQ3j*  4https://avatars.githubusercontent.com/u/19864447?v=4j*  h3j*  %https://api.github.com/users/web-flowj*  https://github.com/web-flowj*  /https://api.github.com/users/web-flow/followersj*  <https://api.github.com/users/web-flow/following{/other_user}j*  5https://api.github.com/users/web-flow/gists{/gist_id}j*  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j*  3https://api.github.com/users/web-flow/subscriptionsj*  *https://api.github.com/users/web-flow/orgsj*  +https://api.github.com/users/web-flow/reposj*  6https://api.github.com/users/web-flow/events{/privacy}j*  5https://api.github.com/users/web-flow/received_eventsj*  Userj*  uparents]}(j*  (ccada5ee85d215fbaab3c35eef06a2291007023dj*  ^https://api.github.com/repos/OpenGamma/Strata/commits/ccada5ee85d215fbaab3c35eef06a2291007023dj*  Shttps://github.com/OpenGamma/Strata/commit/ccada5ee85d215fbaab3c35eef06a2291007023duastats}(totalKI	additionsK?	deletionsK
ufiles](}(j*  (b0ba43b1d46074a525e61e12a0a05eabdf6e150ffilenamemmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricer.javastatusmodifiedj+  K(j+  KchangesK.blob_urlhttps://github.com/OpenGamma/Strata/blob/55b46cbeaff2939163e004c37de98e74c2f9a86b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/55b46cbeaff2939163e004c37de98e74c2f9a86b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.java?ref=55b46cbeaff2939163e004c37de98e74c2f9a86bpatchX  @@ -202,8 +202,19 @@ public PointSensitivityBuilder presentValueSensitivity(
         bond, ratesProvider, discountingProvider, ratesProvider.getValuationDate());
   }
 
-  // calculate the present value sensitivity
-  PointSensitivityBuilder presentValueSensitivity(
+  /**
+   * Calculates the present value sensitivity of the bond product for the specified reference date.
+   * <p>
+   * The present value sensitivity of the product is the sensitivity of the present value to
+   * the underlying curves.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param discountingProvider  the discount factors provider
+   * @param referenceDate  the reference date
+   * @return the present value curve sensitivity of the product
+   */
+  public PointSensitivityBuilder presentValueSensitivity(
       ResolvedCapitalIndexedBond bond,
       RatesProvider ratesProvider,
       LegalEntityDiscountingProvider discountingProvider,
@@ -392,8 +403,20 @@ public double dirtyNominalPriceFromCurves(
     return dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
   }
 
-  // calculate the dirty price
-  double dirtyNominalPriceFromCurves(
+  /**
+   * Calculates the dirty price of the bond security for the specified settlement date.
+   * <p>
+   * The bond is represented as {@link Security} where standard ID of the bond is stored.
+   * <p>
+   * Strata uses <i>decimal prices</i> for bonds. For example, a price of 99.32% is represented in Strata by 0.9932.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param discountingProvider  the discount factors provider
+   * @param settlementDate  the settlement date
+   * @return the dirty price of the bond security
+   */
+  public double dirtyNominalPriceFromCurves(
       ResolvedCapitalIndexedBond bond,
       RatesProvider ratesProvider,
       LegalEntityDiscountingProvider discountingProvider,
@@ -480,8 +503,19 @@ public PointSensitivityBuilder dirtyNominalPriceSensitivity(
     return dirtyNominalPriceSensitivity(bond, ratesProvider, discountingProvider, settlementDate);
   }
 
-  // calculate the dirty price sensitivity
-  PointSensitivityBuilder dirtyNominalPriceSensitivity(
+  /**
+   * Calculates the dirty price sensitivity of the bond security for the specified settlement date.
+   * <p>
+   * The dirty price sensitivity of the security is the sensitivity of the dirty price value to
+   * the underlying curves.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param discountingProvider  the discount factors provider
+   * @param settlementDate  the settlement date
+   * @return the dirty price curve sensitivity of the security
+   */
+  public PointSensitivityBuilder dirtyNominalPriceSensitivity(
       ResolvedCapitalIndexedBond bond,
       RatesProvider ratesProvider,
       LegalEntityDiscountingProvider discountingProvider,u}(j*  (04d4073f32016b1364aabbaf5a03f18ddbe9d078j+  kmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondTradePricer.javaj +  modifiedj+  Kj+  Kj"+  Kj#+  https://github.com/OpenGamma/Strata/blob/55b46cbeaff2939163e004c37de98e74c2f9a86b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricer.javaj%+  https://github.com/OpenGamma/Strata/raw/55b46cbeaff2939163e004c37de98e74c2f9a86b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricer.javaj'+  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricer.java?ref=55b46cbeaff2939163e004c37de98e74c2f9a86bj)+  X  @@ -56,6 +56,16 @@ public DiscountingCapitalIndexedBondTradePricer(DiscountingCapitalIndexedBondPro
     this.productPricer = ArgChecker.notNull(productPricer, "productPricer");
   }
 
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the capital indexed bond product pricer.
+   *
+   * @return the product pricer
+   */
+  public DiscountingCapitalIndexedBondProductPricer getProductPricer() {
+    return productPricer;
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Calculates the present value of the bond trade.
@@ -683,13 +693,23 @@ PointSensitivityBuilder forecastValueSensitivityStandardFromCleanPrice(
   }
 
   //-------------------------------------------------------------------------
-  // calculate the settlement date
-  private LocalDate settlementDate(ResolvedCapitalIndexedBondTrade trade, LocalDate valuationDate) {
+
+  /**
+   * Calculates the settlement date.
+   * <p>
+   * The valuation date is returned if the settlement details are not stored.
+   *
+   * @param trade  the trade
+   * @param valuationDate  the valuation date
+   * @return the settlement date
+   */
+  public LocalDate settlementDate(ResolvedCapitalIndexedBondTrade trade, LocalDate valuationDate) {
     return trade.getSettlement()
         .map(settle -> settle.getSettlementDate())
         .orElse(valuationDate);
   }
 
+  //-------------------------------------------------------------------------
   private void validate(RatesProvider ratesProvider, LegalEntityDiscountingProvider discountingProvider) {
     ArgChecker.isTrue(ratesProvider.getValuationDate().isEqual(discountingProvider.getValuationDate()),
         "the rates providers should be for the same date");u}(j*  (59466185708dbd21c83af85738ca39088fdc3cdcj+  omodules/pricer/src/test/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondTradePricerTest.javaj +  modifiedj+  Kj+  Kj"+  Kj#+  https://github.com/OpenGamma/Strata/blob/55b46cbeaff2939163e004c37de98e74c2f9a86b/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricerTest.javaj%+  https://github.com/OpenGamma/Strata/raw/55b46cbeaff2939163e004c37de98e74c2f9a86b/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricerTest.javaj'+  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricerTest.java?ref=55b46cbeaff2939163e004c37de98e74c2f9a86bj)+  X"  @@ -208,8 +208,7 @@ public class DiscountingCapitalIndexedBondTradePricerTest {
   private static final double TOL = 1.0e-12;
   private static final double EPS = 1.0e-6;
   private static final DiscountingCapitalIndexedBondTradePricer PRICER = DiscountingCapitalIndexedBondTradePricer.DEFAULT;
-  private static final DiscountingCapitalIndexedBondProductPricer PRODUCT_PRICER =
-      DiscountingCapitalIndexedBondProductPricer.DEFAULT;
+  private static final DiscountingCapitalIndexedBondProductPricer PRODUCT_PRICER = PRICER.getProductPricer();
   private static final DiscountingCapitalIndexedBondPaymentPeriodPricer PERIOD_PRICER =
       DiscountingCapitalIndexedBondPaymentPeriodPricer.DEFAULT;
   private static final DiscountingPaymentPricer PAYMENT_PRICER = DiscountingPaymentPricer.DEFAULT;ueu(5777ce648566d4d0f1a42b805904fc4ea2cb30c5}(sha(5777ce648566d4d0f1a42b805904fc4ea2cb30c5node_idEC_kwDOAT6l0doAKDU3NzdjZTY0ODU2NmQ0ZDBmMWE0MmI4MDU5MDRmYzRlYTJjYjMwYzUcommit}(author}(nameBrian Welleremail&brianweller89@users.noreply.github.comdate2023-03-06T18:47:33Zu	committer}(jE+  Brian WellerjG+  &brianweller89@users.noreply.github.comjI+  2023-03-06T18:47:33ZumessagehAdd util method for summarizing fx barriers.

Removed duplicate FX pair definition ithe existing summarytree}(j=+  (c6ced8a1cd6fa0ba7bf23056105030305d78eafdurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/c6ced8a1cd6fa0ba7bf23056105030305d78eafdujU+  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/5777ce648566d4d0f1a42b805904fc4ea2cb30c5
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujU+  ^https://api.github.com/repos/OpenGamma/Strata/commits/5777ce648566d4d0f1a42b805904fc4ea2cb30c5html_urlShttps://github.com/OpenGamma/Strata/commit/5777ce648566d4d0f1a42b805904fc4ea2cb30c5comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/5777ce648566d4d0f1a42b805904fc4ea2cb30c5/commentsjC+  }(login
brianweller89idJIej?+  MDQ6VXNlcjIzNDM0MzEz
avatar_url4https://avatars.githubusercontent.com/u/23434313?v=4gravatar_idh3jU+  *https://api.github.com/users/brianweller89ja+   https://github.com/brianweller89
followers_url4https://api.github.com/users/brianweller89/followers
following_urlAhttps://api.github.com/users/brianweller89/following{/other_user}	gists_url:https://api.github.com/users/brianweller89/gists{/gist_id}starred_urlAhttps://api.github.com/users/brianweller89/starred{/owner}{/repo}subscriptions_url8https://api.github.com/users/brianweller89/subscriptionsorganizations_url/https://api.github.com/users/brianweller89/orgs	repos_url0https://api.github.com/users/brianweller89/repos
events_url;https://api.github.com/users/brianweller89/events{/privacy}received_events_url:https://api.github.com/users/brianweller89/received_eventstypeUser
site_adminujK+  }(jf+  
brianweller89jh+  JIej?+  MDQ6VXNlcjIzNDM0MzEzjj+  4https://avatars.githubusercontent.com/u/23434313?v=4jl+  h3jU+  *https://api.github.com/users/brianweller89ja+   https://github.com/brianweller89jo+  4https://api.github.com/users/brianweller89/followersjq+  Ahttps://api.github.com/users/brianweller89/following{/other_user}js+  :https://api.github.com/users/brianweller89/gists{/gist_id}ju+  Ahttps://api.github.com/users/brianweller89/starred{/owner}{/repo}jw+  8https://api.github.com/users/brianweller89/subscriptionsjy+  /https://api.github.com/users/brianweller89/orgsj{+  0https://api.github.com/users/brianweller89/reposj}+  ;https://api.github.com/users/brianweller89/events{/privacy}j+  :https://api.github.com/users/brianweller89/received_eventsj+  Userj+  uparents]}(j=+  (a37e88eea81b49caa832de3607274d308bb8b824jU+  ^https://api.github.com/repos/OpenGamma/Strata/commits/a37e88eea81b49caa832de3607274d308bb8b824ja+  Shttps://github.com/OpenGamma/Strata/commit/a37e88eea81b49caa832de3607274d308bb8b824uastats}(totalK	additionsK	deletionsKufiles](}(j=+  (b93abc2c85669d1bed6449f52fc5288cdf635bf8filenameVmodules/product/src/main/java/com/opengamma/strata/product/common/SummarizerUtils.javastatusmodifiedj+  Kj+  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/5777ce648566d4d0f1a42b805904fc4ea2cb30c5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FSummarizerUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/5777ce648566d4d0f1a42b805904fc4ea2cb30c5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FSummarizerUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FSummarizerUtils.java?ref=5777ce648566d4d0f1a42b805904fc4ea2cb30c5patchX,  @@ -29,6 +29,7 @@
 import com.opengamma.strata.product.Position;
 import com.opengamma.strata.product.ProductType;
 import com.opengamma.strata.product.Trade;
+import com.opengamma.strata.product.option.Barrier;
 
 /**
  * Utilities to support summarizing portfolio items.
@@ -170,6 +171,25 @@ public static String fx(CurrencyAmount base, CurrencyAmount counter) {
         SummarizerUtils.amount(round.mapAmount(a -> Math.abs(a))) + " @ " + rate;
   }
 
+  /**
+   * Provide a summary description of the given barrier.
+   * <p>
+   * Summary contains the barrier level, the type and the knock type e.g. "[Up and KnockOut @ 1.25]".
+   *
+   * @param barrier the barrier
+   * @param barrierObsDate the date on which the barrier level should be observed
+   * @return a summary description of the given barrier
+   */
+  public static String barrier(Barrier barrier, LocalDate barrierObsDate) {
+    StringBuilder buffer = new StringBuilder();
+    buffer.append(barrier.getBarrierType());
+    buffer.append("-and-");
+    buffer.append(barrier.getKnockType());
+    buffer.append(" @ ");
+    buffer.append(barrier.getBarrierLevel(barrierObsDate));
+    return buffer.toString();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Creates a summary instance for a position.u-      }(j=+  (a7217993ec27487dad36f231e0ccc2da9016d59fj+  `modules/product/src/main/java/com/opengamma/strata/product/fxopt/FxSingleBarrierOptionTrade.javaj+  modifiedj+  Kj+  Kj+  Kj+  https://github.com/OpenGamma/Strata/blob/5777ce648566d4d0f1a42b805904fc4ea2cb30c5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTrade.javaj+  https://github.com/OpenGamma/Strata/raw/5777ce648566d4d0f1a42b805904fc4ea2cb30c5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTrade.javaj+  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTrade.java?ref=5777ce648566d4d0f1a42b805904fc4ea2cb30c5j+  XL  @@ -90,13 +90,7 @@ public PortfolioItemSummary summarize() {
     CurrencyAmount counter = product.getUnderlyingOption().getUnderlying().getCounterCurrencyAmount();
     buf.append(product.getUnderlyingOption().getLongShort());
     buf.append(" Barrier ");
-    buf.append(product.getBarrier().getBarrierType().toString());
-    buf.append("-and-");
-    buf.append(product.getBarrier().getKnockType().toString());
-    buf.append(" @ ");
-    buf.append(product.getUnderlyingOption().getCurrencyPair());
-    buf.append(" ");
-    buf.append(product.getBarrier().getBarrierLevel(product.getUnderlyingOption().getExpiryDate()));
+    buf.append(SummarizerUtils.barrier(product.getBarrier(), product.getUnderlyingOption().getExpiryDate()));
     buf.append(" ");
     buf.append(SummarizerUtils.fx(base, counter));
     buf.append(" Premium ");u}(j=+  (2acf8a0d746d3ce1c524133dbfd4c3b03f7c015fj+  dmodules/product/src/test/java/com/opengamma/strata/product/fxopt/FxSingleBarrierOptionTradeTest.javaj+  modifiedj+  Kj+  Kj+  Kj+  https://github.com/OpenGamma/Strata/blob/5777ce648566d4d0f1a42b805904fc4ea2cb30c5/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTradeTest.javaj+  https://github.com/OpenGamma/Strata/raw/5777ce648566d4d0f1a42b805904fc4ea2cb30c5/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTradeTest.javaj+  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Ffxopt%2FFxSingleBarrierOptionTradeTest.java?ref=5777ce648566d4d0f1a42b805904fc4ea2cb30c5j+  X  @@ -82,7 +82,7 @@ public void test_summarize() {
         .portfolioItemType(PortfolioItemType.TRADE)
         .productType(ProductType.FX_SINGLE_BARRIER_OPTION)
         .currencies(Currency.USD, Currency.EUR)
-        .description("Long Barrier Down-and-KnockIn @ EUR/USD 1.2 Rec EUR 1mm @ EUR/USD 1.35 Premium EUR 50k : 14Feb15")
+        .description("Long Barrier Down-and-KnockIn @ 1.2 Rec EUR 1mm @ EUR/USD 1.35 Premium EUR 50k : 14Feb15")
         .build();
     assertThat(trade.summarize()).isEqualTo(expected);
   }ueu(159e6e6b839b9a2081f17e2eeba61f19cdd4ee89}(sha(159e6e6b839b9a2081f17e2eeba61f19cdd4ee89node_idEC_kwDOAT6l0doAKDE1OWU2ZTZiODM5YjlhMjA4MWYxN2UyZWViYTYxZjE5Y2RkNGVlODkcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-08-01T14:13:49Zu	committer}(j+  yukiiwashitaj+  %yukiiwashita@users.noreply.github.comj+  2023-08-01T14:13:49Zumessagepublic access to mapstree}(j+  (aa884a73faca1896066cd460bdc048f7f45ea19eurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/aa884a73faca1896066cd460bdc048f7f45ea19euj+  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/159e6e6b839b9a2081f17e2eeba61f19cdd4ee89
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj+  ^https://api.github.com/repos/OpenGamma/Strata/commits/159e6e6b839b9a2081f17e2eeba61f19cdd4ee89html_urlShttps://github.com/OpenGamma/Strata/commit/159e6e6b839b9a2081f17e2eeba61f19cdd4ee89comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/159e6e6b839b9a2081f17e2eeba61f19cdd4ee89/commentsj+  }(loginyukiiwashitaidJ- j+  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3j+  )https://api.github.com/users/yukiiwashitaj+  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminuj+  }(j+  yukiiwashitaj+  J- j+  MDQ6VXNlcjMwMDY2NTY=j+  3https://avatars.githubusercontent.com/u/3006656?v=4j+  h3j+  )https://api.github.com/users/yukiiwashitaj+  https://github.com/yukiiwashitaj+  3https://api.github.com/users/yukiiwashita/followersj+  @https://api.github.com/users/yukiiwashita/following{/other_user}j+  9https://api.github.com/users/yukiiwashita/gists{/gist_id}j+  @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}j+  7https://api.github.com/users/yukiiwashita/subscriptionsj+  .https://api.github.com/users/yukiiwashita/orgsj ,  /https://api.github.com/users/yukiiwashita/reposj,  :https://api.github.com/users/yukiiwashita/events{/privacy}j,  9https://api.github.com/users/yukiiwashita/received_eventsj,  Userj,  uparents]}(j+  (3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cj+  ^https://api.github.com/repos/OpenGamma/Strata/commits/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cj+  Shttps://github.com/OpenGamma/Strata/commit/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cuastats}(totalK	additionsK	deletionsKufiles]}(j+  (722bc072f88eef258e82b66d0057c2fcd0bfdbeffilenameamodules/pricer/src/main/java/com/opengamma/strata/pricer/credit/ImmutableCreditRatesProvider.javastatusmodifiedj",  Kj#,  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/159e6e6b839b9a2081f17e2eeba61f19cdd4ee89/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcredit%2FImmutableCreditRatesProvider.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/159e6e6b839b9a2081f17e2eeba61f19cdd4ee89/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcredit%2FImmutableCreditRatesProvider.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fcredit%2FImmutableCreditRatesProvider.java?ref=159e6e6b839b9a2081f17e2eeba61f19cdd4ee89patchX	  @@ -61,21 +61,21 @@ public final class ImmutableCreditRatesProvider
    * <p>
    * The curve data, predicting the survival probability, associated with each legal entity and currency.
    */
-  @PropertyDefinition(validate = "notNull", get = "private")
+  @PropertyDefinition(validate = "notNull")
   private final ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> creditCurves;
   /**
    * The discounting curves.
    * <p>
    * The curve data, predicting the discount factor, associated with each currency.
    */
-  @PropertyDefinition(validate = "notEmpty", get = "private")
+  @PropertyDefinition(validate = "notEmpty")
   private final ImmutableMap<Currency, CreditDiscountFactors> discountCurves;
   /**
    * The credit rate curves.
    * <p>
    * The curve date, predicting the recovery rate, associated with each legal entity.
    */
-  @PropertyDefinition(validate = "notEmpty", get = "private")
+  @PropertyDefinition(validate = "notEmpty")
   private final ImmutableMap<StandardId, RecoveryRates> recoveryRateCurves;
 
   //-------------------------------------------------------------------------
@@ -269,7 +269,7 @@ public LocalDate getValuationDate() {
    * The curve data, predicting the survival probability, associated with each legal entity and currency.
    * @return the value of the property, not null
    */
-  private ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> getCreditCurves() {
+  public ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> getCreditCurves() {
     return creditCurves;
   }
 
@@ -280,7 +280,7 @@ private ImmutableMap<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilitie
    * The curve data, predicting the discount factor, associated with each currency.
    * @return the value of the property, not empty
    */
-  private ImmutableMap<Currency, CreditDiscountFactors> getDiscountCurves() {
+  public ImmutableMap<Currency, CreditDiscountFactors> getDiscountCurves() {
     return discountCurves;
   }
 
@@ -291,7 +291,7 @@ private ImmutableMap<Currency, CreditDiscountFactors> getDiscountCurves() {
    * The curve date, predicting the recovery rate, associated with each legal entity.
    * @return the value of the property, not empty
    */
-  private ImmutableMap<StandardId, RecoveryRates> getRecoveryRateCurves() {
+  public ImmutableMap<StandardId, RecoveryRates> getRecoveryRateCurves() {
     return recoveryRateCurves;
   }
 uau(e10ed4a38378231e69623e870003af952cb39ec2}(sha(e10ed4a38378231e69623e870003af952cb39ec2node_idEC_kwDOAT6l0doAKGUxMGVkNGEzODM3ODIzMWU2OTYyM2U4NzAwMDNhZjk1MmNiMzllYzIcommit}(author}(nameMichael Rollinsemail#MichaelRol@users.noreply.github.comdate2023-03-02T18:14:40Zu	committer}(j?,  Michael RollinsjA,  #MichaelRol@users.noreply.github.comjC,  2023-03-02T18:14:40Zumessage#Making CombinedReferenceData publictree}(j7,  (d0d7fb0547b1840b1a1a8c9d23c944d957f44799url`https://api.github.com/repos/OpenGamma/Strata/git/trees/d0d7fb0547b1840b1a1a8c9d23c944d957f44799ujO,  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/e10ed4a38378231e69623e870003af952cb39ec2
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujO,  ^https://api.github.com/repos/OpenGamma/Strata/commits/e10ed4a38378231e69623e870003af952cb39ec2html_urlShttps://github.com/OpenGamma/Strata/commit/e10ed4a38378231e69623e870003af952cb39ec2comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/e10ed4a38378231e69623e870003af952cb39ec2/commentsj=,  }(login
MichaelRolidJkj9,  MDQ6VXNlcjI1NDMwMTIz
avatar_url4https://avatars.githubusercontent.com/u/25430123?v=4gravatar_idh3jO,  'https://api.github.com/users/MichaelRolj[,  https://github.com/MichaelRol
followers_url1https://api.github.com/users/MichaelRol/followers
following_url>https://api.github.com/users/MichaelRol/following{/other_user}	gists_url7https://api.github.com/users/MichaelRol/gists{/gist_id}starred_url>https://api.github.com/users/MichaelRol/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/MichaelRol/subscriptionsorganizations_url,https://api.github.com/users/MichaelRol/orgs	repos_url-https://api.github.com/users/MichaelRol/repos
events_url8https://api.github.com/users/MichaelRol/events{/privacy}received_events_url7https://api.github.com/users/MichaelRol/received_eventstypeUser
site_adminujE,  }(j`,  
MichaelRoljb,  Jkj9,  MDQ6VXNlcjI1NDMwMTIzjd,  4https://avatars.githubusercontent.com/u/25430123?v=4jf,  h3jO,  'https://api.github.com/users/MichaelRolj[,  https://github.com/MichaelRolji,  1https://api.github.com/users/MichaelRol/followersjk,  >https://api.github.com/users/MichaelRol/following{/other_user}jm,  7https://api.github.com/users/MichaelRol/gists{/gist_id}jo,  >https://api.github.com/users/MichaelRol/starred{/owner}{/repo}jq,  5https://api.github.com/users/MichaelRol/subscriptionsjs,  ,https://api.github.com/users/MichaelRol/orgsju,  -https://api.github.com/users/MichaelRol/reposjw,  8https://api.github.com/users/MichaelRol/events{/privacy}jy,  7https://api.github.com/users/MichaelRol/received_eventsj{,  Userj},  uparents]}(j7,  (a37e88eea81b49caa832de3607274d308bb8b824jO,  ^https://api.github.com/repos/OpenGamma/Strata/commits/a37e88eea81b49caa832de3607274d308bb8b824j[,  Shttps://github.com/OpenGamma/Strata/commit/a37e88eea81b49caa832de3607274d308bb8b824uastats}(totalK	additionsK	deletionsKufiles]}(j7,  (d34c7d4424dc5d17bd71b50240d2b7010635d1b9filenameSmodules/basics/src/main/java/com/opengamma/strata/basics/CombinedReferenceData.javastatusmodifiedj,  Kj,  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/e10ed4a38378231e69623e870003af952cb39ec2/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2FCombinedReferenceData.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/e10ed4a38378231e69623e870003af952cb39ec2/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2FCombinedReferenceData.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2FCombinedReferenceData.java?ref=e10ed4a38378231e69623e870003af952cb39ec2patchX  @@ -24,7 +24,7 @@
  * it is looked up in the second set of data.
  */
 @BeanDefinition(style = "light", constructorScope = "package")
-final class CombinedReferenceData
+public final class CombinedReferenceData
     implements ReferenceData, ImmutableBean, Serializable {
 
   /**uau(91a99032a83a29c35d58390ebc7d81a6b7455593}(sha(91a99032a83a29c35d58390ebc7d81a6b7455593node_idEC_kwDOAT6l0doAKDkxYTk5MDMyYTgzYTI5YzM1ZDU4MzkwZWJjN2Q4MWE2Yjc0NTU1OTMcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-05-29T02:57:31Zu	committer}(j,  GitHubj,  noreply@github.comj,  2023-05-29T02:57:31ZumessageX,  Bump corporate-parent from 2.8.1 to 2.8.3

Bumps corporate-parent from 2.8.1 to 2.8.3.

---
updated-dependencies:
- dependency-name: com.opengamma:corporate-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j,  (7fabd4ca377b9b083d57c770e952bd50fba1eb4aurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/7fabd4ca377b9b083d57c770e952bd50fba1eb4auj,  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/91a99032a83a29c35d58390ebc7d81a6b7455593
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkdBSbCRBK7hj4Ov3rIwAATSEIAG0/XdhTIa4LX3gHH6Rhlw/6
2e1hxgy9hVNwjiyC3Lssxh/KE658dtZmqOlURjOC/P4dW1vO6mHisbOTFVuJV5H6
59gkyoo7bCF8PLxpoYDIPGnHdfwGJv9qPafLlEJ/fkyUaV7mzvAY6+D9yqtv3Loy
APnNAE7zraGouPv7+wYLYDmYxTfmz4oyuD8ryPH58VAhr3Lc7MBR6+fySQEJZHdX
mJEqcBE1LIj4LsAEV+rqEAbr65bZ+VJKAHHPnq/gCrHxm/iMEnyAgRlsoMOqvb2l
SnufslRxEKpK6HrDEwnXAU+IAV1P93pAVkVrGQcjqOtt8/Ulb+J9eRphrXO8UHc=
=Cu7f
-----END PGP SIGNATURE-----
payloadX  tree 7fabd4ca377b9b083d57c770e952bd50fba1eb4a
parent d76f43c8898ae22b93623549d28010f2b237ff37
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1685329051 +0000
committer GitHub <noreply@github.com> 1685329051 +0000

Bump corporate-parent from 2.8.1 to 2.8.3

Bumps corporate-parent from 2.8.1 to 2.8.3.

---
updated-dependencies:
- dependency-name: com.opengamma:corporate-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>uuj,  ^https://api.github.com/repos/OpenGamma/Strata/commits/91a99032a83a29c35d58390ebc7d81a6b7455593html_urlShttps://github.com/OpenGamma/Strata/commit/91a99032a83a29c35d58390ebc7d81a6b7455593comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/91a99032a83a29c35d58390ebc7d81a6b7455593/commentsj,  }(logindependabot[bot]idJZj,  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j,  0https://api.github.com/users/dependabot%5Bbot%5Dj,  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj,  }(j,  web-flowj,  J/j,  MDQ6VXNlcjE5ODY0NDQ3j,  4https://avatars.githubusercontent.com/u/19864447?v=4j,  h3j,  %https://api.github.com/users/web-flowj,  https://github.com/web-flowj,  /https://api.github.com/users/web-flow/followersj,  <https://api.github.com/users/web-flow/following{/other_user}j,  5https://api.github.com/users/web-flow/gists{/gist_id}j,  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j,  3https://api.github.com/users/web-flow/subscriptionsj,  *https://api.github.com/users/web-flow/orgsj,  +https://api.github.com/users/web-flow/reposj,  6https://api.github.com/users/web-flow/events{/privacy}j,  5https://api.github.com/users/web-flow/received_eventsj,  Userj,  uparents]}(j,  (d76f43c8898ae22b93623549d28010f2b237ff37j,  ^https://api.github.com/repos/OpenGamma/Strata/commits/d76f43c8898ae22b93623549d28010f2b237ff37j,  Shttps://github.com/OpenGamma/Strata/commit/d76f43c8898ae22b93623549d28010f2b237ff37uastats}(totalK	additionsK	deletionsKufiles](}(j,  (bd2755e1651f1ebc8ce706e4611f807647f7a3b2filenameexamples/pom.xmlstatusmodifiedj-  Kj-  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/91a99032a83a29c35d58390ebc7d81a6b7455593/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/91a99032a83a29c35d58390ebc7d81a6b7455593/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=91a99032a83a29c35d58390ebc7d81a6b7455593patch@@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.3</version>
     <relativePath />
   </parent>  
   <groupId>com.opengamma.strata</groupId>u}(j,  (0abd6409f464f4fd28e885bd909902b5773f80e4j-  modules/pom.xmlj-  modifiedj-  Kj-  Kj-  Kj-  chttps://github.com/OpenGamma/Strata/blob/91a99032a83a29c35d58390ebc7d81a6b7455593/modules%2Fpom.xmlj-  bhttps://github.com/OpenGamma/Strata/raw/91a99032a83a29c35d58390ebc7d81a6b7455593/modules%2Fpom.xmlj-  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=91a99032a83a29c35d58390ebc7d81a6b7455593j-  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.3</version>
     <relativePath />
   </parent>
   <groupId>com.opengamma.strata</groupId>u}(j,  (fc1e081bcdaafd352c9a29c2d456be76b80b5cc0j-  pom.xmlj-  modifiedj-  Kj-  Kj-  Kj-  Yhttps://github.com/OpenGamma/Strata/blob/91a99032a83a29c35d58390ebc7d81a6b7455593/pom.xmlj-  Xhttps://github.com/OpenGamma/Strata/raw/91a99032a83a29c35d58390ebc7d81a6b7455593/pom.xmlj-  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=91a99032a83a29c35d58390ebc7d81a6b7455593j-  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma</groupId>
     <artifactId>corporate-parent</artifactId>
-    <version>2.8.1</version>
+    <version>2.8.3</version>
     <relativePath />
   </parent>  
   <groupId>com.opengamma.strata</groupId>ueu(3353aa51675106ecd930574ed355c4575188fc6a}(sha(3353aa51675106ecd930574ed355c4575188fc6anode_idEC_kwDOAT6l0doAKDMzNTNhYTUxNjc1MTA2ZWNkOTMwNTc0ZWQzNTVjNDU3NTE4OGZjNmEcommit}(author}(nameStephen Colebourneemailstephen@opengamma.comdate2023-04-05T08:04:13Zu	committer}(j;-  GitHubj=-  noreply@github.comj?-  2023-04-05T08:04:13ZumessageIMerge branch 'main' into dependabot/maven/org.assertj-assertj-core-3.24.2tree}(j3-  (59fabcab8021ffd0124b0da377e7dee3b671eaf9url`https://api.github.com/repos/OpenGamma/Strata/git/trees/59fabcab8021ffd0124b0da377e7dee3b671eaf9ujK-  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/3353aa51675106ecd930574ed355c4575188fc6a
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkLSt9CRBK7hj4Ov3rIwAAqXMIAAI6IsAFVxKCJwamRmM6i+/X
MC0yMOIMzdwEKKZjXeX/zC9brNs26hMryBeiSKwMJ+0w/O07E2wJDUfV2boOh7gU
t5nGVToKiuH56jqVaJvZPxlCKZxrxZKy6L6d8WA3bORVkWOcxOvUjI3AFoUZSm2U
EEwO3HZrYPccYRFtZKdhxP+qal3EbmbmJHcW7L2EXJEnYC2jSg4uOMrl/D312rRa
pTfqqz+RYMANd/heP8CiTBiSYcM5cGlBF4u9G3g2oCLcI/gaQwTbM3tXw+IaTf8I
5Be8VuTs07RC/eGENG3DXptwblQSLsvo9tHdQDyqZKrdyo8VQKfthluN+gwH3+E=
=rR6X
-----END PGP SIGNATURE-----
payloadXR  tree 59fabcab8021ffd0124b0da377e7dee3b671eaf9
parent 21ba6b275a75aee7b0b8f68f20ff15154ba06f2d
parent 1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04
author Stephen Colebourne <stephen@opengamma.com> 1680681853 +0100
committer GitHub <noreply@github.com> 1680681853 +0100

Merge branch 'main' into dependabot/maven/org.assertj-assertj-core-3.24.2uujK-  ^https://api.github.com/repos/OpenGamma/Strata/commits/3353aa51675106ecd930574ed355c4575188fc6ahtml_urlShttps://github.com/OpenGamma/Strata/commit/3353aa51675106ecd930574ed355c4575188fc6acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/3353aa51675106ecd930574ed355c4575188fc6a/commentsj9-  }(loginjodastephenidJ@ j5-  MDQ6VXNlcjIxMzIxMg==
avatar_url2https://avatars.githubusercontent.com/u/213212?v=4gravatar_idh3jK-  (https://api.github.com/users/jodastephenjY-  https://github.com/jodastephen
followers_url2https://api.github.com/users/jodastephen/followers
following_url?https://api.github.com/users/jodastephen/following{/other_user}	gists_url8https://api.github.com/users/jodastephen/gists{/gist_id}starred_url?https://api.github.com/users/jodastephen/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/jodastephen/subscriptionsorganizations_url-https://api.github.com/users/jodastephen/orgs	repos_url.https://api.github.com/users/jodastephen/repos
events_url9https://api.github.com/users/jodastephen/events{/privacy}received_events_url8https://api.github.com/users/jodastephen/received_eventstypeUser
site_adminujA-  }(j^-  web-flowj`-  J/j5-  MDQ6VXNlcjE5ODY0NDQ3jb-  4https://avatars.githubusercontent.com/u/19864447?v=4jd-  h3jK-  %https://api.github.com/users/web-flowjY-  https://github.com/web-flowjg-  /https://api.github.com/users/web-flow/followersji-  <https://api.github.com/users/web-flow/following{/other_user}jk-  5https://api.github.com/users/web-flow/gists{/gist_id}jm-  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jo-  3https://api.github.com/users/web-flow/subscriptionsjq-  *https://api.github.com/users/web-flow/orgsjs-  +https://api.github.com/users/web-flow/reposju-  6https://api.github.com/users/web-flow/events{/privacy}jw-  5https://api.github.com/users/web-flow/received_eventsjy-  Userj{-  uparents](}(j3-  (21ba6b275a75aee7b0b8f68f20ff15154ba06f2djK-  ^https://api.github.com/repos/OpenGamma/Strata/commits/21ba6b275a75aee7b0b8f68f20ff15154ba06f2djY-  Shttps://github.com/OpenGamma/Strata/commit/21ba6b275a75aee7b0b8f68f20ff15154ba06f2du}(j3-  (1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04jK-  ^https://api.github.com/repos/OpenGamma/Strata/commits/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04jY-  Shttps://github.com/OpenGamma/Strata/commit/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04uestats}(totalK}	additionsK}	deletionsK ufiles](}(j3-  (17132cc647223fe2f29f6f18c23ab208666729eafilenameNmodules/product/src/main/java/com/opengamma/strata/product/common/BuySell.javastatusmodifiedj-  Kj-  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/3353aa51675106ecd930574ed355c4575188fc6a/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/3353aa51675106ecd930574ed355c4575188fc6a/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.java?ref=3353aa51675106ecd930574ed355c4575188fc6apatchXj  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -80,6 +82,21 @@ public double normalize(double amount) {
     return isBuy() ? normalized : -normalized;
   }
 
+  /**
+   * Normalizes the specified {@code Decimal} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input amount
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isBuy() ? normalized : normalized.negated();
+  }
+
   /**
    * Normalizes the specified amount using this buy/sell rule.
    * <p>
@@ -95,6 +112,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isBuy() ? amount.positive() : amount.negative();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input notional
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isBuy() ? amount.positive() : amount.negative();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Buy'.u}(j3-  (c77d9d1fab93c2d89463aa1f0e966a4414fa1156j-  Qmodules/product/src/main/java/com/opengamma/strata/product/common/PayReceive.javaj-  modifiedj-  Kj-  K j-  Kj-  https://github.com/OpenGamma/Strata/blob/3353aa51675106ecd930574ed355c4575188fc6a/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaj-  https://github.com/OpenGamma/Strata/raw/3353aa51675106ecd930574ed355c4575188fc6a/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaj-  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.java?ref=3353aa51675106ecd930574ed355c4575188fc6aj-  X{  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -93,6 +95,21 @@ public double normalize(double amount) {
     return isPay() ? -normalized : normalized;
   }
 
+  /**
+   * Normalizes the specified notional amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isPay() ? normalized.negated() : normalized;
+  }
+
   /**
    * Normalizes the specified amount using this pay/receive rule.
    * <p>
@@ -108,6 +125,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isPay() ? amount.negative() : amount.positive();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isPay() ? amount.negative() : amount.positive();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Pay'.u}(j3-  (31123a560f1cb818b0016849184b9055eb7762f2j-  Rmodules/product/src/test/java/com/opengamma/strata/product/common/BuySellTest.javaj-  modifiedj-  K j-  K j-  K j-  https://github.com/OpenGamma/Strata/blob/3353aa51675106ecd930574ed355c4575188fc6a/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj-  https://github.com/OpenGamma/Strata/raw/3353aa51675106ecd930574ed355c4575188fc6a/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj-  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.java?ref=3353aa51675106ecd930574ed355c4575188fc6aj-  X  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link BuySell}.
@@ -42,13 +44,28 @@ public void test_normalize_sell_double() {
     assertThat(BuySell.SELL.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_sell_decimal() {
+    assertThat(BuySell.SELL.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.SELL.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_sell_amount() {
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_sell_money() {
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
+
   @Test
   public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -57,13 +74,28 @@ public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_buy_decimal() {
+    assertThat(BuySell.BUY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.BUY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_buy_amount() {
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_buy_money() {
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isBuy() {
     assertThat(BuySell.BUY.isBuy()).isTrue();u}(j3-  (b507e29413d3aa67b960b66570e948d517e8896fj-  Umodules/product/src/test/java/com/opengamma/strata/product/common/PayReceiveTest.javaj-  modifiedj-  Kj-  K j-  Kj-  https://github.com/OpenGamma/Strata/blob/3353aa51675106ecd930574ed355c4575188fc6a/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaj-  https://github.com/OpenGamma/Strata/raw/3353aa51675106ecd930574ed355c4575188fc6a/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaj-  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.java?ref=3353aa51675106ecd930574ed355c4575188fc6aj-  Xj  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link PayReceive}.
@@ -51,13 +53,27 @@ public void test_normalize_pay_double() {
     assertThat(PayReceive.PAY.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_pay_decimal() {
+    assertThat(PayReceive.PAY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_pay_amount() {
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_pay_money() {
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
   @Test
   public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -66,13 +82,28 @@ public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_receive_decimal() {
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_receive_amount() {
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_receive_money() {
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isPay() {
     assertThat(PayReceive.PAY.isPay()).isTrue();ueu(a1fdce18fc4f07df332ba9cebc0e0c209fae6ffe}(sha(a1fdce18fc4f07df332ba9cebc0e0c209fae6ffenode_idEC_kwDOAT6l0doAKGExZmRjZTE4ZmM0ZjA3ZGYzMzJiYTljZWJjMGUwYzIwOWZhZTZmZmUcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-05-31T14:59:32Zu	committer}(j-  GitHubj-  noreply@github.comj-  2023-05-31T14:59:32ZumessageX  Bump joda-beans from 2.8.3 to 2.9.2

Bumps joda-beans from 2.8.3 to 2.9.2.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j-  (8937102da2da9a44c24e73e456e3df2e0a322263url`https://api.github.com/repos/OpenGamma/Strata/git/trees/8937102da2da9a44c24e73e456e3df2e0a322263uj-  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a1fdce18fc4f07df332ba9cebc0e0c209fae6ffe
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkd2DUCRBK7hj4Ov3rIwAA9LIIAID745n4hd2qm8q6ABI+2sDc
HzvVlc12DfOboRl7xaBqcljzhCPdW66nnxLaZjKwQYW0AjExk74u1/y3mfHViYyy
Hka7poxiDtjYFbH8wflqK9z+sWbu039kobdt6S2TkYJIzae1ZOBmamgSbJ2ka346
+tLOsnWEs95TAQJHzn2yS6wiGrlTP4LhvEqQtgnxzHisdL4ecTa5Y2rz5eQ/20rC
4PA/XOJFOd/1etWYPx80m5sIuJjDApk8uOOr4QCHU052ZoLs5zNWljj/tnqmf1cs
/bMqn74/M0VvtWBwaTPYwymjp4rtTMEaYCC2ZXEFqXyFrle6By8nV9Ir4fIm8wM=
=yqS6
-----END PGP SIGNATURE-----
payloadX  tree 8937102da2da9a44c24e73e456e3df2e0a322263
parent 6653262414e66a1476af69449ec42a76e33f3214
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1685545172 +0000
committer GitHub <noreply@github.com> 1685545172 +0000

Bump joda-beans from 2.8.3 to 2.9.2

Bumps joda-beans from 2.8.3 to 2.9.2.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uuj-  ^https://api.github.com/repos/OpenGamma/Strata/commits/a1fdce18fc4f07df332ba9cebc0e0c209fae6ffehtml_urlShttps://github.com/OpenGamma/Strata/commit/a1fdce18fc4f07df332ba9cebc0e0c209fae6ffecomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a1fdce18fc4f07df332ba9cebc0e0c209fae6ffe/commentsj-  }(logindependabot[bot]idJZj-  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j-  0https://api.github.com/users/dependabot%5Bbot%5Dj-  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj-  }(j-  web-flowj-  J/j-  MDQ6VXNlcjE5ODY0NDQ3j-  4https://avatars.githubusercontent.com/u/19864447?v=4j-  h3j-  %https://api.github.com/users/web-flowj-  https://github.com/web-flowj-  /https://api.github.com/users/web-flow/followersj-  <https://api.github.com/users/web-flow/following{/other_user}j-  5https://api.github.com/users/web-flow/gists{/gist_id}j .  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j.  3https://api.github.com/users/web-flow/subscriptionsj.  *https://api.github.com/users/web-flow/orgsj.  +https://api.github.com/users/web-flow/reposj.  6https://api.github.com/users/web-flow/events{/privacy}j
.  5https://api.github.com/users/web-flow/received_eventsj.  Userj.  uparents]}(j-  (6653262414e66a1476af69449ec42a76e33f3214j-  ^https://api.github.com/repos/OpenGamma/Strata/commits/6653262414e66a1476af69449ec42a76e33f3214j-  Shttps://github.com/OpenGamma/Strata/commit/6653262414e66a1476af69449ec42a76e33f3214uastats}(totalK	additionsK	deletionsKufiles]}(j-  (45fd1b3c9623dd8b4f892785995aa6d17e04aa58filenamemodules/pom.xmlstatusmodifiedj(.  Kj).  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/a1fdce18fc4f07df332ba9cebc0e0c209fae6ffe/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/a1fdce18fc4f07df332ba9cebc0e0c209fae6ffe/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=a1fdce18fc4f07df332ba9cebc0e0c209fae6ffepatchX  @@ -769,7 +769,7 @@
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>
-    <joda-beans.version>2.8.3</joda-beans.version>
+    <joda-beans.version>2.9.2</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
     <junit5.version>5.9.3</junit5.version>
     <mockito.version>4.9.0</mockito.version>uau(56295d7114f56a6a350cbc331999ecfb261c1b11}(sha(56295d7114f56a6a350cbc331999ecfb261c1b11node_idEC_kwDOAT6l0doAKDU2Mjk1ZDcxMTRmNTZhNmEzNTBjYmMzMzE5OTllY2ZiMjYxYzFiMTEcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-07T14:43:31Zu	committer}(jE.  Akshai ShahjG.  #akshaishah@users.noreply.github.comjI.  2023-03-07T14:43:31ZumessageRevert FailureAttributeKeystree}(j=.  (44a258af02a5b40dcbf9621a06e14cf9fbb50d30url`https://api.github.com/repos/OpenGamma/Strata/git/trees/44a258af02a5b40dcbf9621a06e14cf9fbb50d30ujU.  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/56295d7114f56a6a350cbc331999ecfb261c1b11
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujU.  ^https://api.github.com/repos/OpenGamma/Strata/commits/56295d7114f56a6a350cbc331999ecfb261c1b11html_urlShttps://github.com/OpenGamma/Strata/commit/56295d7114f56a6a350cbc331999ecfb261c1b11comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/56295d7114f56a6a350cbc331999ecfb261c1b11/commentsjC.  }(login
akshaishahidJd
 j?.  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3jU.  'https://api.github.com/users/akshaishahja.  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminujK.  }(jf.  
akshaishahjh.  Jd
 j?.  MDQ6VXNlcjE5MDM5NzI=jj.  3https://avatars.githubusercontent.com/u/1903972?v=4jl.  h3jU.  'https://api.github.com/users/akshaishahja.  https://github.com/akshaishahjo.  1https://api.github.com/users/akshaishah/followersjq.  >https://api.github.com/users/akshaishah/following{/other_user}js.  7https://api.github.com/users/akshaishah/gists{/gist_id}ju.  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}jw.  5https://api.github.com/users/akshaishah/subscriptionsjy.  ,https://api.github.com/users/akshaishah/orgsj{.  -https://api.github.com/users/akshaishah/reposj}.  8https://api.github.com/users/akshaishah/events{/privacy}j.  7https://api.github.com/users/akshaishah/received_eventsj.  Userj.  uparents]}(j=.  (bcb39f8b870dabc080fe3aacbd29f3e73227f5efjU.  ^https://api.github.com/repos/OpenGamma/Strata/commits/bcb39f8b870dabc080fe3aacbd29f3e73227f5efja.  Shttps://github.com/OpenGamma/Strata/commit/bcb39f8b870dabc080fe3aacbd29f3e73227f5efuastats}(totalK	additionsK 	deletionsKufiles]}(j=.  (567f7bdd3a36cf3aa513837dfc38abf4a3934afdfilename[modules/collect/src/main/java/com/opengamma/strata/collect/result/FailureAttributeKeys.javastatusmodifiedj.  K j.  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/56295d7114f56a6a350cbc331999ecfb261c1b11/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/56295d7114f56a6a350cbc331999ecfb261c1b11/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.java?ref=56295d7114f56a6a350cbc331999ecfb261c1b11patchX  @@ -79,10 +79,6 @@ public final class FailureAttributeKeys {
    * The attribute for specifying the product type associated with the error.
    */
   public static final String PRODUCT_TYPE = "productType";
-  /**
-   * The attribute for specifying the field associated with the error.
-   */
-  public static final String FIELD = "field";
 
   // restricted constructor
   private FailureAttributeKeys() {uau(b85a44718258b331356e24de4f29d04431f819b0}(sha(b85a44718258b331356e24de4f29d04431f819b0node_idEC_kwDOAT6l0doAKGI4NWE0NDcxODI1OGIzMzEzNTZlMjRkZTRmMjlkMDQ0MzFmODE5YjAcommit}(author}(nameAnandemailanand@opengamma.comdate2023-03-27T10:29:17Zu	committer}(j.  Anandj.  anand@opengamma.comj.  2023-04-02T17:03:26Zumessage<BuySell and PayReceive util methods for Decimal and BigMoneytree}(j.  (a6567c6670a91fd3b95766f669116c3f66d25114url`https://api.github.com/repos/OpenGamma/Strata/git/trees/a6567c6670a91fd3b95766f669116c3f66d25114uj.  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/b85a44718258b331356e24de4f29d04431f819b0
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj.  ^https://api.github.com/repos/OpenGamma/Strata/commits/b85a44718258b331356e24de4f29d04431f819b0html_urlShttps://github.com/OpenGamma/Strata/commit/b85a44718258b331356e24de4f29d04431f819b0comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/b85a44718258b331356e24de4f29d04431f819b0/commentsj.  }(loginanand-ukidJj.  MDQ6VXNlcjQ5OTE3NDcw
avatar_url4https://avatars.githubusercontent.com/u/49917470?v=4gravatar_idh3j.  %https://api.github.com/users/anand-ukj.  https://github.com/anand-uk
followers_url/https://api.github.com/users/anand-uk/followers
following_url<https://api.github.com/users/anand-uk/following{/other_user}	gists_url5https://api.github.com/users/anand-uk/gists{/gist_id}starred_url<https://api.github.com/users/anand-uk/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/anand-uk/subscriptionsorganizations_url*https://api.github.com/users/anand-uk/orgs	repos_url+https://api.github.com/users/anand-uk/repos
events_url6https://api.github.com/users/anand-uk/events{/privacy}received_events_url5https://api.github.com/users/anand-uk/received_eventstypeUser
site_adminuj.  }(j.  anand-ukj.  Jj.  MDQ6VXNlcjQ5OTE3NDcwj.  4https://avatars.githubusercontent.com/u/49917470?v=4j.  h3j.  %https://api.github.com/users/anand-ukj.  https://github.com/anand-ukj.  /https://api.github.com/users/anand-uk/followersj.  <https://api.github.com/users/anand-uk/following{/other_user}j.  5https://api.github.com/users/anand-uk/gists{/gist_id}j.  <https://api.github.com/users/anand-uk/starred{/owner}{/repo}j.  3https://api.github.com/users/anand-uk/subscriptionsj.  *https://api.github.com/users/anand-uk/orgsj.  +https://api.github.com/users/anand-uk/reposj.  6https://api.github.com/users/anand-uk/events{/privacy}j.  5https://api.github.com/users/anand-uk/received_eventsj.  Userj.  uparents]}(j.  (3e52a50bb942fd782c4429d6d9acf6c794dac7eaj.  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eaj.  Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK	additionsK	deletionsK ufiles](}(j.  (17132cc647223fe2f29f6f18c23ab208666729eafilenameNmodules/product/src/main/java/com/opengamma/strata/product/common/BuySell.javastatusmodifiedj/  Kj/  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/b85a44718258b331356e24de4f29d04431f819b0/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/b85a44718258b331356e24de4f29d04431f819b0/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.java?ref=b85a44718258b331356e24de4f29d04431f819b0patchXj  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -80,6 +82,21 @@ public double normalize(double amount) {
     return isBuy() ? normalized : -normalized;
   }
 
+  /**
+   * Normalizes the specified {@code Decimal} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input amount
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isBuy() ? normalized : normalized.negated();
+  }
+
   /**
    * Normalizes the specified amount using this buy/sell rule.
    * <p>
@@ -95,6 +112,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isBuy() ? amount.positive() : amount.negative();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input notional
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isBuy() ? amount.positive() : amount.negative();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Buy'.u}(j.  (639d202e20a7359d28313a7dec3906f95411fffdj/  Qmodules/product/src/main/java/com/opengamma/strata/product/common/PayReceive.javaj/  modifiedj/  Kj/  K j/  Kj/  https://github.com/OpenGamma/Strata/blob/b85a44718258b331356e24de4f29d04431f819b0/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaj/  https://github.com/OpenGamma/Strata/raw/b85a44718258b331356e24de4f29d04431f819b0/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaj!/  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.java?ref=b85a44718258b331356e24de4f29d04431f819b0j#/  X|  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -93,6 +95,21 @@ public double normalize(double amount) {
     return isPay() ? -normalized : normalized;
   }
 
+  /**
+   * Normalizes the specified notional amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.s
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isPay() ? normalized.negated() : normalized;
+  }
+
   /**
    * Normalizes the specified amount using this pay/receive rule.
    * <p>
@@ -108,6 +125,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isPay() ? amount.negative() : amount.positive();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isPay() ? amount.negative() : amount.positive();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Pay'.u}(j.  (31123a560f1cb818b0016849184b9055eb7762f2j/  Rmodules/product/src/test/java/com/opengamma/strata/product/common/BuySellTest.javaj/  modifiedj/  K j/  K j/  K j/  https://github.com/OpenGamma/Strata/blob/b85a44718258b331356e24de4f29d04431f819b0/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj/  https://github.com/OpenGamma/Strata/raw/b85a44718258b331356e24de4f29d04431f819b0/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj!/  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.java?ref=b85a44718258b331356e24de4f29d04431f819b0j#/  X  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link BuySell}.
@@ -42,13 +44,28 @@ public void test_normalize_sell_double() {
     assertThat(BuySell.SELL.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_sell_decimal() {
+    assertThat(BuySell.SELL.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.SELL.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_sell_amount() {
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_sell_money() {
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
+
   @Test
   public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -57,13 +74,28 @@ public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_buy_decimal() {
+    assertThat(BuySell.BUY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.BUY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_buy_amount() {
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_buy_money() {
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isBuy() {
     assertThat(BuySell.BUY.isBuy()).isTrue();u}(j.  (118172b3dceb046708565cb083c743ce0b9c4db8j/  Umodules/product/src/test/java/com/opengamma/strata/product/common/PayReceiveTest.javaj/  modifiedj/  K!j/  K j/  K!j/  https://github.com/OpenGamma/Strata/blob/b85a44718258b331356e24de4f29d04431f819b0/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaj/  https://github.com/OpenGamma/Strata/raw/b85a44718258b331356e24de4f29d04431f819b0/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaj!/  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.java?ref=b85a44718258b331356e24de4f29d04431f819b0j#/  Xn  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link PayReceive}.
@@ -51,13 +53,28 @@ public void test_normalize_pay_double() {
     assertThat(PayReceive.PAY.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_pay_decimal() {
+    assertThat(PayReceive.PAY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_pay_amount() {
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_pay_money() {
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
+
   @Test
   public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -66,13 +83,29 @@ public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_receive_decimal() {
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
+
   @Test
   public void test_normalize_receive_amount() {
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_receive_money() {
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isPay() {
     assertThat(PayReceive.PAY.isPay()).isTrue();ueu(9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb}(sha(9275b0e9f5992f05eac32ad22e8e70f55d6a9cebnode_idEC_kwDOAT6l0doAKDkyNzViMGU5ZjU5OTJmMDVlYWMzMmFkMjJlOGU3MGY1NWQ2YTljZWIcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-08-03T07:32:32Zu	committer}(jG/  opengammacibotjI/  cibot@opengamma.comjK/  2023-08-03T07:32:32Zumessage/[maven-release-plugin] prepare release v2.12.28tree}(j?/  (1ba57cd9d0568539ba817f1a8730625bd936a4e7url`https://api.github.com/repos/OpenGamma/Strata/git/trees/1ba57cd9d0568539ba817f1a8730625bd936a4e7ujW/  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujW/  ^https://api.github.com/repos/OpenGamma/Strata/commits/9275b0e9f5992f05eac32ad22e8e70f55d6a9cebhtml_urlShttps://github.com/OpenGamma/Strata/commit/9275b0e9f5992f05eac32ad22e8e70f55d6a9cebcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/commentsjE/  }(loginopengammacibotidJq jA/  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3jW/  +https://api.github.com/users/opengammacibotjc/  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}      	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminujM/  }(jh/  opengammacibotjj/  Jq jA/  MDQ6VXNlcjc0NTAyODE=jl/  3https://avatars.githubusercontent.com/u/7450281?v=4jn/  h3jW/  +https://api.github.com/users/opengammacibotjc/  !https://github.com/opengammacibotjq/  5https://api.github.com/users/opengammacibot/followersjs/  Bhttps://api.github.com/users/opengammacibot/following{/other_user}ju/  ;https://api.github.com/users/opengammacibot/gists{/gist_id}jw/  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}jy/  9https://api.github.com/users/opengammacibot/subscriptionsj{/  0https://api.github.com/users/opengammacibot/orgsj}/  1https://api.github.com/users/opengammacibot/reposj/  <https://api.github.com/users/opengammacibot/events{/privacy}j/  ;https://api.github.com/users/opengammacibot/received_eventsj/  Userj/  uparents]}(j?/  (104e44bc6f8035b42b7e5cc101a4f1f99625b0fcjW/  ^https://api.github.com/repos/OpenGamma/Strata/commits/104e44bc6f8035b42b7e5cc101a4f1f99625b0fcjc/  Shttps://github.com/OpenGamma/Strata/commit/104e44bc6f8035b42b7e5cc101a4f1f99625b0fcuastats}(totalK$	additionsK	deletionsKufiles](}(j?/  (eaf5ce9406d75465ca86681467e0a598fa1d5d7cfilenameexamples/pom.xmlstatusmodifiedj/  Kj/  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebpatchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.28-SNAPSHOT</version>
+  <version>2.12.28</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,4 +272,8 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
+
+  <scm>
+    <tag>v2.12.28</tag>
+  </scm>
 </project>u}(j?/  (d08b553e2249369392306f348914587f53c0edffj/  modules/basics/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  lhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fbasics%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fbasics%2Fpom.xmlj/  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j?/  (a766db444b4215bf9d57116020dbfba61a3ef52aj/  modules/calc/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  jhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fcalc%2Fpom.xmlj/  ihttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fcalc%2Fpom.xmlj/  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j?/  (50d2ebcb3d47219f15302fceb8b29aaf01c61bcaj/  modules/collect/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  mhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fcollect%2Fpom.xmlj/  lhttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fcollect%2Fpom.xmlj/  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j?/  (e6b78185e29a73a8e16f127a4a1641e8e6b4c822j/  modules/data/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  jhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fdata%2Fpom.xmlj/  ihttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fdata%2Fpom.xmlj/  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j?/  (e34177d78d99de5b9226a1b252ef5abe650d80a4j/  modules/loader/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  lhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Floader%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Floader%2Fpom.xmlj/  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j?/  (25e56ba2dbc3e601075542b5c704af00e4b2207ej/  modules/market/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  lhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fmarket%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fmarket%2Fpom.xmlj/  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j?/  (036871f97993c5e3727973d49ef0f8c990945adaj/  modules/math/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  jhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fmath%2Fpom.xmlj/  ihttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fmath%2Fpom.xmlj/  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j?/  (76d48314004177b581b830d62e1acf64bc4d6941j/  modules/measure/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  mhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fmeasure%2Fpom.xmlj/  lhttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fmeasure%2Fpom.xmlj/  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j?/  (d32875927765732d0caf8a014586a451c14de246j/  modules/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  chttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fpom.xmlj/  bhttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fpom.xmlj/  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.28-SNAPSHOT</version>
+  <version>2.12.28</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.28</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j?/  (94b525d95918aee5e20c330d135bf6f5e10ac348j/  modules/pricer/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  lhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fpricer%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fpricer%2Fpom.xmlj/  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j?/  (8e639d6f644a6cd154ff3da6f3e5a198578e83e7j/  modules/product/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  mhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fproduct%2Fpom.xmlj/  lhttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Fproduct%2Fpom.xmlj/  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j?/  (0ea3ba41c10da23012b41da527d879e10c0d7a5ej/  modules/report/pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  lhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Freport%2Fpom.xmlj/  khttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/modules%2Freport%2Fpom.xmlj/  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28-SNAPSHOT</version>
+    <version>2.12.28</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j?/  (4641c36de61ed856da40444b30203aae96ca2cf3j/  pom.xmlj/  modifiedj/  Kj/  Kj/  Kj/  Yhttps://github.com/OpenGamma/Strata/blob/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/pom.xmlj/  Xhttps://github.com/OpenGamma/Strata/raw/9275b0e9f5992f05eac32ad22e8e70f55d6a9ceb/pom.xmlj/  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj/  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.28-SNAPSHOT</version>
+  <version>2.12.28</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.28</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(949ae5f335f84d4b54664923aca13a22ef395cac}(sha(949ae5f335f84d4b54664923aca13a22ef395cacnode_idEC_kwDOAT6l0doAKDk0OWFlNWYzMzVmODRkNGI1NDY2NDkyM2FjYTEzYTIyZWYzOTVjYWMcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-05T09:55:11Zu	committer}(j$0  
johannesOGj&0  ,86783068+johannesOG@users.noreply.github.comj(0  2023-07-05T09:55:11ZumessageDeactive Libor curvestree}(j0  (d86e05c38b280e6d1dec64b31428f375baea0beeurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/d86e05c38b280e6d1dec64b31428f375baea0beeuj40  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/949ae5f335f84d4b54664923aca13a22ef395cac
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj40  ^https://api.github.com/repos/OpenGamma/Strata/commits/949ae5f335f84d4b54664923aca13a22ef395cachtml_urlShttps://github.com/OpenGamma/Strata/commit/949ae5f335f84d4b54664923aca13a22ef395caccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/949ae5f335f84d4b54664923aca13a22ef395cac/commentsj"0  }(login
johannesOGidJ\4,j0  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3j40  'https://api.github.com/users/johannesOGj@0  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminuj*0  }(jE0  
johannesOGjG0  J\4,j0  MDQ6VXNlcjg2NzgzMDY4jI0  4https://avatars.githubusercontent.com/u/86783068?v=4jK0  h3j40  'https://api.github.com/users/johannesOGj@0  https://github.com/johannesOGjN0  1https://api.github.com/users/johannesOG/followersjP0  >https://api.github.com/users/johannesOG/following{/other_user}jR0  7https://api.github.com/users/johannesOG/gists{/gist_id}jT0  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}jV0  5https://api.github.com/users/johannesOG/subscriptionsjX0  ,https://api.github.com/users/johannesOG/orgsjZ0  -https://api.github.com/users/johannesOG/reposj\0  8https://api.github.com/users/johannesOG/events{/privacy}j^0  7https://api.github.com/users/johannesOG/received_eventsj`0  Userjb0  uparents]}(j0  (2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88aj40  ^https://api.github.com/repos/OpenGamma/Strata/commits/2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88aj@0  Shttps://github.com/OpenGamma/Strata/commit/2e8a9aa5a83cdb653ce5b0f6c7ec2c916c0de88auastats}(totalK	additionsK 	deletionsKufiles]}(j0  (4b0b213fc65b4a6b758b64d11fae9ca6cc71f5adfilenameYmodules/basics/src/test/java/com/opengamma/strata/basics/index/FloatingRateNamesTest.javastatusmodifiedj|0  K j}0  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/949ae5f335f84d4b54664923aca13a22ef395cac/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateNamesTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/949ae5f335f84d4b54664923aca13a22ef395cac/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateNamesTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateNamesTest.java?ref=949ae5f335f84d4b54664923aca13a22ef395cacpatchX	  @@ -42,16 +42,6 @@ public class FloatingRateNamesTest {
   //-------------------------------------------------------------------------
   public static Object[][] data_name_type() {
     return new Object[][] {
-        {"GBP-LIBOR", "GBP-LIBOR-", FloatingRateType.IBOR},
-        {"GBP-LIBOR-BBA", "GBP-LIBOR-", FloatingRateType.IBOR},
-        {"CHF-LIBOR", "CHF-LIBOR-", FloatingRateType.IBOR},
-        {"CHF-LIBOR-BBA", "CHF-LIBOR-", FloatingRateType.IBOR},
-        {"EUR-LIBOR", "EUR-LIBOR-", FloatingRateType.IBOR},
-        {"EUR-LIBOR-BBA", "EUR-LIBOR-", FloatingRateType.IBOR},
-        {"JPY-LIBOR", "JPY-LIBOR-", FloatingRateType.IBOR},
-        {"JPY-LIBOR-BBA", "JPY-LIBOR-", FloatingRateType.IBOR},
-        {"USD-LIBOR", "USD-LIBOR-", FloatingRateType.IBOR},
-        {"USD-LIBOR-BBA", "USD-LIBOR-", FloatingRateType.IBOR},
         {"EUR-EURIBOR", "EUR-EURIBOR-", FloatingRateType.IBOR},
         {"EUR-EURIBOR-Reuters", "EUR-EURIBOR-", FloatingRateType.IBOR},
         {"JPY-TIBOR-JAPAN", "JPY-TIBOR-JAPAN-", FloatingRateType.IBOR},
@@ -218,18 +208,8 @@ public void test_getFloatingRateName() {
   //-------------------------------------------------------------------------
   @Test
   public void test_iborIndex_tenor() {
-    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").getDefaultTenor()).isEqualTo(Tenor.TENOR_3M);
-    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toFloatingRateIndex()).isEqualTo(IborIndices.GBP_LIBOR_3M);
-    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toFloatingRateIndex(Tenor.TENOR_1M)).isEqualTo(IborIndices.GBP_LIBOR_1M);
-    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndex(Tenor.TENOR_6M)).isEqualTo(IborIndices.GBP_LIBOR_6M);
-    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndex(Tenor.TENOR_12M)).isEqualTo(IborIndices.GBP_LIBOR_12M);
-    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndex(Tenor.TENOR_1Y)).isEqualTo(IborIndices.GBP_LIBOR_12M);
     assertThatIllegalStateException()
         .isThrownBy(() -> FloatingRateName.of("GBP-WMBA-SONIA-COMPOUND").toIborIndex(Tenor.TENOR_6M));
-    assertThat(ImmutableList.copyOf(FloatingRateName.of("GBP-LIBOR-BBA").getTenors()))
-        .containsExactly(Tenor.TENOR_1W, Tenor.TENOR_1M, Tenor.TENOR_2M, Tenor.TENOR_3M, Tenor.TENOR_6M, Tenor.TENOR_12M);
-    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndexFixingOffset())
-        .isEqualTo(DaysAdjustment.ofCalendarDays(0, BusinessDayAdjustment.of(PRECEDING, GBLO)));
   }
 
   @Testuau(c423e65842463929fd2f7a1041db8e9406b27a2a}(sha(c423e65842463929fd2f7a1041db8e9406b27a2anode_idEC_kwDOAT6l0doAKGM0MjNlNjU4NDI0NjM5MjlmZDJmN2ExMDQxZGI4ZTk0MDZiMjdhMmEcommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-06-01T17:05:40Zu	committer}(j0  Aaronj0  +110403946+aaron-og@users.noreply.github.comj0  2023-06-01T17:05:40Zumessage$checkstyle - new line at end of filetree}(j0  (addefac85536660ef42d66ea61e8ce5b07aa2483url`https://api.github.com/repos/OpenGamma/Strata/git/trees/addefac85536660ef42d66ea61e8ce5b07aa2483uj0  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/c423e65842463929fd2f7a1041db8e9406b27a2a
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj0  ^https://api.github.com/repos/OpenGamma/Strata/commits/c423e65842463929fd2f7a1041db8e9406b27a2ahtml_urlShttps://github.com/OpenGamma/Strata/commit/c423e65842463929fd2f7a1041db8e9406b27a2acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/c423e65842463929fd2f7a1041db8e9406b27a2a/commentsj0  }(loginaaron-ogidJjj0  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3j0  %https://api.github.com/users/aaron-ogj0  https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminuj0  }(j0  aaron-ogj0  Jjj0  U_kgDOBpShagj0  5https://avatars.githubusercontent.com/u/110403946?v=4j0  h3j0  %https://api.github.com/users/aaron-ogj0  https://github.com/aaron-ogj0  /https://api.github.com/users/aaron-og/followersj0  <https://api.github.com/users/aaron-og/following{/other_user}j0  5https://api.github.com/users/aaron-og/gists{/gist_id}j0  <https://api.github.com/users/aaron-og/starred{/owner}{/repo}j0  3https://api.github.com/users/aaron-og/subscriptionsj0  *https://api.github.com/users/aaron-og/orgsj0  +https://api.github.com/users/aaron-og/reposj0  6https://api.github.com/users/aaron-og/events{/privacy}j0  5https://api.github.com/users/aaron-og/received_eventsj0  Userj0  uparents]}(j0  (2c87361d7a97dc2448ef38b1be0174c3dac332c8j0  ^https://api.github.com/repos/OpenGamma/Strata/commits/2c87361d7a97dc2448ef38b1be0174c3dac332c8j0  Shttps://github.com/OpenGamma/Strata/commit/2c87361d7a97dc2448ef38b1be0174c3dac332c8uastats}(totalK	additionsK	deletionsKufiles]}(j0  (5507595b3f36274fd0428306aec083a41ef48c14filenamevmodules/pricer/src/test/java/com/opengamma/strata/pricer/index/NormalOvernightFutureOptionMarginedTradePricerTest.javastatusmodifiedj0  Kj0  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/c423e65842463929fd2f7a1041db8e9406b27a2a/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/c423e65842463929fd2f7a1041db8e9406b27a2a/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.java?ref=c423e65842463929fd2f7a1041db8e9406b27a2apatch@@ -187,4 +187,4 @@ public void presentvalue_normalVolSensitivity_from_env() {
     assertThat(psComputed.getSensitivity()).isCloseTo(psExpected.getSensitivity(), offset(TOLERANCE_PV_DELTA));
   }
 
-}
\ No newline at end of file
+}uau(f0943827da276669121fa1d1ac77a62260ce8fb5}(sha(f0943827da276669121fa1d1ac77a62260ce8fb5node_idEC_kwDOAT6l0doAKGYwOTQzODI3ZGEyNzY2NjkxMjFmYTFkMWFjNzdhNjIyNjBjZThmYjUcommit}(author}(nameAlexis Skitiniemailalexis@opengamma.comdate2023-05-31T14:48:18Zu	committer}(j1  GitHubj1  noreply@github.comj1  2023-05-31T14:48:18ZumessagedAdd Asian ETD option type (#2582)

Co-authored-by: Alexis Skitini <skitini@users.noreply.github.com>tree}(j1  (8a97774af75701ee52598bf432f547531630793aurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/8a97774af75701ee52598bf432f547531630793auj1  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f0943827da276669121fa1d1ac77a62260ce8fb5
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkd14yCRBK7hj4Ov3rIwAARy8IAFXazPWfR7AK43ZqRU/QpSrM
V8Jx8b4UmwaQJQNvCpPDaLw2U30QQaioOYnrP8SXKTB3/Z/1z7xyyYcVQlvrsojR
txVDZOVAcaRb5yRxF+dPZnsQBCNBomyxckXjEOVc02OWuRaLUJxfo++rudVB6CW+
eL3RWDO5YYL6fyvfFBQ+UJHc0kMhVjiZzFtkmILqbgHYIesI9IknzyXtlBwi8GN2
lQoMaecgpVgOK5NbXXnuBD49FHnyPx30OYSRL1GggPiHmKif8+i3Cr2M3WusvVrF
wHd1WMRWRuOegdEZ82GS6fEL/5JnkGbGMgZDh0NGegdZ7JFY5g3vIuLrjekwF1g=
=CuIu
-----END PGP SIGNATURE-----
payloadX8  tree 8a97774af75701ee52598bf432f547531630793a
parent 622a01e37a399485a0adeb0e9ced19854bebd3b0
author Alexis Skitini <alexis@opengamma.com> 1685544498 +0100
committer GitHub <noreply@github.com> 1685544498 +0100

Add Asian ETD option type (#2582)

Co-authored-by: Alexis Skitini <skitini@users.noreply.github.com>uuj1  ^https://api.github.com/repos/OpenGamma/Strata/commits/f0943827da276669121fa1d1ac77a62260ce8fb5html_urlShttps://github.com/OpenGamma/Strata/commit/f0943827da276669121fa1d1ac77a62260ce8fb5comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f0943827da276669121fa1d1ac77a62260ce8fb5/commentsj1  }(loginskitiniidJAj1  MDQ6VXNlcjI1OTkzMjgx
avatar_url4https://avatars.githubusercontent.com/u/25993281?v=4gravatar_idh3j1  $https://api.github.com/users/skitinij,1  https://github.com/skitini
followers_url.https://api.github.com/users/skitini/followers
following_url;https://api.github.com/users/skitini/following{/other_user}	gists_url4https://api.github.com/users/skitini/gists{/gist_id}starred_url;https://api.github.com/users/skitini/starred{/owner}{/repo}subscriptions_url2https://api.github.com/users/skitini/subscriptionsorganizations_url)https://api.github.com/users/skitini/orgs	repos_url*https://api.github.com/users/skitini/repos
events_url5https://api.github.com/users/skitini/events{/privacy}received_events_url4https://api.github.com/users/skitini/received_eventstypeUser
site_adminuj1  }(j11  web-flowj31  J/j1  MDQ6VXNlcjE5ODY0NDQ3j51  4https://avatars.githubusercontent.com/u/19864447?v=4j71  h3j1  %https://api.github.com/users/web-flowj,1  https://github.com/web-flowj:1  /https://api.github.com/users/web-flow/followersj<1  <https://api.github.com/users/web-flow/following{/other_user}j>1  5https://api.github.com/users/web-flow/gists{/gist_id}j@1  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jB1  3https://api.github.com/users/web-flow/subscriptionsjD1  *https://api.github.com/users/web-flow/orgsjF1  +https://api.github.com/users/web-flow/reposjH1  6https://api.github.com/users/web-flow/events{/privacy}jJ1  5https://api.github.com/users/web-flow/received_eventsjL1  UserjN1  uparents]}(j1  (622a01e37a399485a0adeb0e9ced19854bebd3b0j1  ^https://api.github.com/repos/OpenGamma/Strata/commits/622a01e37a399485a0adeb0e9ced19854bebd3b0j,1  Shttps://github.com/OpenGamma/Strata/commit/622a01e37a399485a0adeb0e9ced19854bebd3b0uastats}(totalK	additionsK	deletionsKufiles](}(j1  (f82cfc0be6806d1cd9257bb01d44929045f326defilenamePmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javastatusmodifiedjh1  Kji1  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=f0943827da276669121fa1d1ac77a62260ce8fb5patchX  @@ -39,7 +39,6 @@
 import com.opengamma.strata.collect.ArgChecker;
 import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.io.CsvRow;
-import com.opengamma.strata.collect.result.FailureReason;
 import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.tuple.DoublesPair;
 import com.opengamma.strata.collect.tuple.Pair;
@@ -292,9 +291,13 @@ public static EtdOptionType parseEtdOptionType(String str) {
       case "EUROPEAN":
       case "E":
         return EtdOptionType.EUROPEAN;
+      case "ASIAN":
+      case "T":
+        return EtdOptionType.ASIAN;
       default:
         throw new ParseFailureException(
-            "Unable to parse ETD option type from '{value}', must be 'American', 'European', 'A' or 'E' (case insensitive)", str);
+            "Unable to parse ETD option type from '{value}', must be 'American', 'European', 'Asian', 'A', 'E' or " +
+                "'T' (case insensitive)", str);
     }
   }
 u}(j1  (c51ac09c53843112253829af7eee42b23a54b6e2jn1  Tmodules/loader/src/test/java/com/opengamma/strata/loader/csv/CsvLoaderUtilsTest.javajp1  modifiedjh1  Kji1  K jr1  Kjs1  https://github.com/OpenGamma/Strata/blob/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.javaju1  https://github.com/OpenGamma/Strata/raw/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.javajw1  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.java?ref=f0943827da276669121fa1d1ac77a62260ce8fb5jy1  X  @@ -53,6 +53,9 @@ public void test_parseEtdOptionType() {
     assertThat(CsvLoaderUtils.parseEtdOptionType("E")).isEqualTo(EtdOptionType.EUROPEAN);
     assertThat(CsvLoaderUtils.parseEtdOptionType("EUROPEAN")).isEqualTo(EtdOptionType.EUROPEAN);
     assertThat(CsvLoaderUtils.parseEtdOptionType("e")).isEqualTo(EtdOptionType.EUROPEAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("T")).isEqualTo(EtdOptionType.ASIAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("ASIAN")).isEqualTo(EtdOptionType.ASIAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("t")).isEqualTo(EtdOptionType.ASIAN);
     assertThatExceptionOfType(ParseFailureException.class).isThrownBy(() -> CsvLoaderUtils.parseEtdOptionType(""));
   }
 u}(j1  (e3060ef2f298efd97227d49d4ddd9a75d59f8303jn1  Qmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdOptionType.javajp1  modifiedjh1  K
ji1  Kjr1  Kjs1  https://github.com/OpenGamma/Strata/blob/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.javaju1  https://github.com/OpenGamma/Strata/raw/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.javajw1  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.java?ref=f0943827da276669121fa1d1ac77a62260ce8fb5jy1  X  @@ -12,7 +12,7 @@
 import com.opengamma.strata.collect.named.NamedEnum;
 
 /**
- * The option expiry type, 'American' or 'European'.
+ * The option expiry type, 'American', 'European' or 'Asian'.
  */
 public enum EtdOptionType implements NamedEnum {
 
@@ -25,7 +25,13 @@ public enum EtdOptionType implements NamedEnum {
    * European option.
    * Can be exercised only on a single date.
    */
-  EUROPEAN("E");
+  EUROPEAN("E"),
+  /**
+   * Asian option.
+   * Payoff depends on the average price over a certain period of time.
+   * Sometimes referred as a Traded Average Price Option (TAPO).
+   */
+  ASIAN("T");
 
   // helper for name conversions
   private static final EnumNames<EtdOptionType> NAMES = EnumNames.of(EtdOptionType.class);
@@ -68,6 +74,8 @@ static EtdOptionType parseCode(String code) {
         return AMERICAN;
       case "E":
         return EUROPEAN;
+      case "T":
+        return ASIAN;
       default:
         throw new IllegalArgumentException("Unknown EtdOptionType code: " + code);
     }u}(j1  (7e566545804d331eac1d2815a1fb4bca716ca053jn1  Nmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdVariant.javajp1  modifiedjh1  Kji1  Kjr1  Kjs1  https://github.com/OpenGamma/Strata/blob/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javaju1  https://github.com/OpenGamma/Strata/raw/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javajw1  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.java?ref=f0943827da276669121fa1d1ac77a62260ce8fb5jy1  Xx  @@ -65,7 +65,7 @@ public final class EtdVariant
   @PropertyDefinition(get = "optional")
   private final EtdSettlementType settlementType;
   /**
-   * The optional option type, 'American' or 'European', populated for Flex Options.
+   * The optional option type, such as 'American' or 'European', populated for Flex Options.
    */
   @PropertyDefinition(get = "optional")
   private final EtdOptionType optionType;
@@ -288,7 +288,7 @@ public Optional<EtdSettlementType> getSettlementType() {
 
   //-----------------------------------------------------------------------
   /**
-   * Gets the optional option type, 'American' or 'European', populated for Flex Options.
+   * Gets the optional option type, such as 'American' or 'European', populated for Flex Options.
    * @return the optional value of the property, not null
    */
   public Optional<EtdOptionType> getOptionType() {u}(j1  (fd4ab3f8cc367cab15ab061ba654362a04e0f3a5jn1  Umodules/product/src/test/java/com/opengamma/strata/product/etd/EtdOptionTypeTest.javajp1  modifiedjh1  Kji1  K jr1  Kjs1  https://github.com/OpenGamma/Strata/blob/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.javaju1  https://github.com/OpenGamma/Strata/raw/f0943827da276669121fa1d1ac77a62260ce8fb5/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.javajw1  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.java?ref=f0943827da276669121fa1d1ac77a62260ce8fb5jy1  @@ -25,6 +25,7 @@ public static Object[][] data_name() {
     return new Object[][] {
         {EtdOptionType.AMERICAN, "American", "A"},
         {EtdOptionType.EUROPEAN, "European", "E"},
+        {EtdOptionType.ASIAN, "Asian", "T"},
     };
   }
 ueu(38e3a6b9ae0a9f5155de55f759da59ebc0c7d412}(sha(38e3a6b9ae0a9f5155de55f759da59ebc0c7d412node_idEC_kwDOAT6l0doAKDM4ZTNhNmI5YWUwYTlmNTE1NWRlNTVmNzU5ZGE1OWViYzBjN2Q0MTIcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-07T12:05:38Zu	committer}(j1  Akshai Shahj1  #akshaishah@users.noreply.github.comj1  2023-03-07T12:05:38ZumessageUpdate testtree}(j1  (ae46d7925cab90689cf3079f040f40991caf98f4url`https://api.github.com/repos/OpenGamma/Strata/git/trees/ae46d7925cab90689cf3079f040f40991caf98f4uj1  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/38e3a6b9ae0a9f5155de55f759da59ebc0c7d412
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj1  ^https://api.github.com/repos/OpenGamma/Strata/commits/38e3a6b9ae0a9f5155de55f759da59ebc0c7d412html_urlShttps://github.com/OpenGamma/Strata/commit/38e3a6b9ae0a9f5155de55f759da59ebc0c7d412comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/38e3a6b9ae0a9f5155de55f759da59ebc0c7d412/commentsj1  }(login
akshaishahidJd
 j1  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j1  'https://api.github.com/users/akshaishahj1  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuj1  }(j1  
akshaishahj1  Jd
 j1  MDQ6VXNlcjE5MDM5NzI=j1  3https://avatars.githubusercontent.com/u/1903972?v=4j1  h3j1  'https://api.github.com/users/akshaishahj1  https://github.com/akshaishahj1  1https://api.github.com/users/akshaishah/followersj1  >https://api.github.com/users/akshaishah/following{/other_user}j1  7https://api.github.com/users/akshaishah/gists{/gist_id}j1  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j1  5https://api.github.com/users/akshaishah/subscriptionsj1  ,https://api.github.com/users/akshaishah/orgsj1  -https://api.github.com/users/akshaishah/reposj1  8https://api.github.com/users/akshaishah/events{/privacy}j1  7https://api.github.com/users/akshaishah/received_eventsj1  Userj1  uparents]}(j1  (f0fb22a373a519ba11cc267e87eff43126113be8j1  ^https://api.github.com/repos/OpenGamma/Strata/commits/f0fb22a373a519ba11cc267e87eff43126113be8j1  Shttps://github.com/OpenGamma/Strata/commit/f0fb22a373a519ba11cc267e87eff43126113be8uastats}(totalK	additionsK	deletionsKufiles]}(j1  (1a1cb495da0a91f4cad24b8b22c5597e06a076ddfilenameWmodules/loader/src/test/java/com/opengamma/strata/loader/csv/PositionCsvLoaderTest.javastatusmodifiedj1  Kj1  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/38e3a6b9ae0a9f5155de55f759da59ebc0c7d412/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/38e3a6b9ae0a9f5155de55f759da59ebc0c7d412/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.java?ref=38e3a6b9ae0a9f5155de55f759da59ebc0c7d412patchX  @@ -442,8 +442,7 @@ public void test_load_invalidNoQuantity() {
     assertThat(trades.getFailures()).hasSize(1);
     FailureItem failure = trades.getFailures().get(0);
     assertThat(failure.getReason()).isEqualTo(FailureReason.PARSING);
-    assertThat(failure.getMessage()).isEqualTo("CSV position file 'Unknown.txt' type 'FUT' could not be parsed at line 2: " +
-        "Security must contain a quantity column, either 'Quantity' or 'Long Quantity' and 'Short Quantity'");
+    assertThat(failure.getMessage()).isEqualTo("Security must contain a quantity column, either 'Quantity' or 'Long Quantity' and 'Short Quantity'");
   }
 
 }uau(a10729e484e1c12701d688a94ce7cc866f1b359c}(sha(a10729e484e1c12701d688a94ce7cc866f1b359cnode_idEC_kwDOAT6l0doAKGExMDcyOWU0ODRlMWMxMjcwMWQ2ODhhOTRjZTdjYzg2NmYxYjM1OWMcommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-05-24T10:20:10Zu	committer}(j2  GitHubj2  noreply@github.comj2  2023-05-24T10:20:10Zumessage3Created OvernightFutureOptionVolatilitiesId (#2576)tree}(j2  (004cd1f127ddc187794f4034a280bd5f2ac6b73curl`https://api.github.com/repos/OpenGamma/Strata/git/trees/004cd1f127ddc187794f4034a280bd5f2ac6b73cuj*2  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a10729e484e1c12701d688a94ce7cc866f1b359c
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkbeTaCRBK7hj4Ov3rIwAAetkIACipl+R96qs7HBihhd9d6887
VZ4Dwd4JBiyHGD9ggH7bszKXw59IyybnphI6IRlKLtN/V6YYQq/VdggCeNaHtJ1l
BqMBQmtL8L4/FRw4FMJ0+SzDK7Bzhp9dGywYzqSJlYrSIQIMPbAOPxcilmwpf35X
aKKKelAclstIBNya+o/RPlOB11juJ0o1IF/qdYDlqELFrywWHN0Fr2GGb7SrpceH
O93NchCzlBuuDUhxbftjQI7KBQuk4kfSYH1anCf6w+Pl1nXmxuTprvcD4KG7pl56
Ozi/b+k4tMkVhzoUJddWi8kmI/waciPJOlaRK1AenIBB+kI9x9kbsu/A4x/ut4M=
=OMK2
-----END PGP SIGNATURE-----
payloadX  tree 004cd1f127ddc187794f4034a280bd5f2ac6b73c
parent d53489595be3b8ae55300f148c924ca43b9c2ac7
author Aaron <110403946+aaron-og@users.noreply.github.com> 1684923610 +0100
committer GitHub <noreply@github.com> 1684923610 +0000

Created OvernightFutureOptionVolatilitiesId (#2576)

uuj*2  ^https://api.github.com/repos/OpenGamma/Strata/commits/a10729e484e1c12701d688a94ce7cc866f1b359chtml_urlShttps://github.com/OpenGamma/Strata/commit/a10729e484e1c12701d688a94ce7cc866f1b359ccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a10729e484e1c12701d688a94ce7cc866f1b359c/commentsj2  }(loginaaron-ogidJjj2  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3j*2  %https://api.github.com/users/aaron-ogj82  https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminuj 2  }(j=2  web-flowj?2  J/j2  MDQ6VXNlcjE5ODY0NDQ3jA2  4https://avatars.githubusercontent.com/u/19864447?v=4jC2  h3j*2  %https://api.github.com/users/web-flowj82  https://github.com/web-flowjF2  /https://api.github.com/users/web-flow/followersjH2  <https://api.github.com/users/web-flow/following{/other_user}jJ2  5https://api.github.com/users/web-flow/gists{/gist_id}jL2  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jN2  3https://api.github.com/users/web-flow/subscriptionsjP2  *https://api.github.com/users/web-flow/orgsjR2  +https://api.github.com/users/web-flow/reposjT2  6https://api.github.com/users/web-flow/events{/privacy}jV2  5https://api.github.com/users/web-flow/received_eventsjX2  UserjZ2  uparents]}(j2  (d53489595be3b8ae55300f148c924ca43b9c2ac7j*2  ^https://api.github.com/repos/OpenGamma/Strata/commits/d53489595be3b8ae55300f148c924ca43b9c2ac7j82  Shttps://github.com/OpenGamma/Strata/commit/d53489595be3b8ae55300f148c924ca43b9c2ac7uastats}(totalK	additionsK	deletionsK ufiles]}(j2  (10067ccaae89bfbb7b2a83597b08517b2a8a357dfilenamegmodules/pricer/src/main/java/com/opengamma/strata/pricer/index/OvernightFutureOptionVolatilitiesId.javastatusaddedjt2  Kju2  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/a10729e484e1c12701d688a94ce7cc866f1b359c/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FOvernightFutureOptionVolatilitiesId.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/a10729e484e1c12701d688a94ce7cc866f1b359c/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FOvernightFutureOptionVolatilitiesId.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FOvernightFutureOptionVolatilitiesId.java?ref=a10729e484e1c12701d688a94ce7cc866f1b359cpatchXw  @@ -0,0 +1,153 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.pricer.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.opengamma.strata.data.MarketDataName;
+import com.opengamma.strata.data.NamedMarketDataId;
+
+/**
+ * An identifier used to access Overnight future option volatilities by name.
+ * <p>
+ * This is used when there is a need to obtain an instance of {@link OvernightFutureOptionVolatilities}.
+ */
+@BeanDefinition(style = "light", cacheHashCode = true)
+public final class OvernightFutureOptionVolatilitiesId
+    implements NamedMarketDataId<OvernightFutureOptionVolatilities>, ImmutableBean, Serializable {
+
+  /**
+   * The name of the volatilities.
+   */
+  @PropertyDefinition(validate = "notNull")
+  private final OvernightFutureOptionVolatilitiesName name;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an identifier used to find Overnight future option volatilities.
+   *
+   * @param name  the name
+   * @return an identifier for the volatilities
+   */
+  public static OvernightFutureOptionVolatilitiesId of(String name) {
+    return new OvernightFutureOptionVolatilitiesId(OvernightFutureOptionVolatilitiesName.of(name));
+  }
+
+  /**
+   * Obtains an identifier used to find Overnight future option volatilities.
+   *
+   * @param name  the name
+   * @return an identifier for the volatilities
+   */
+  public static OvernightFutureOptionVolatilitiesId of(OvernightFutureOptionVolatilitiesName name) {
+    return new OvernightFutureOptionVolatilitiesId(name);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public Class<OvernightFutureOptionVolatilities> getMarketDataType() {
+    return OvernightFutureOptionVolatilities.class;
+  }
+
+  @Override
+  public MarketDataName<OvernightFutureOptionVolatilities> getMarketDataName() {
+    return name;
+  }
+
+  @Override
+  public String toString() {
+    return "OvernightFutureOptionVolatilitiesId:" + name;
+  }
+
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code OvernightFutureOptionVolatilitiesId}.
+   */
+  private static final TypedMetaBean<OvernightFutureOptionVolatilitiesId> META_BEAN =
+      LightMetaBean.of(
+          OvernightFutureOptionVolatilitiesId.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "name"},
+          new Object[0]);
+
+  /**
+   * The meta-bean for {@code OvernightFutureOptionVolatilitiesId}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<OvernightFutureOptionVolatilitiesId> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  /**
+   * The cached hash code, using the racy single-check idiom.
+   */
+  private transient int cacheHashCode;
+
+  private OvernightFutureOptionVolatilitiesId(
+      OvernightFutureOptionVolatilitiesName name) {
+    JodaBeanUtils.notNull(name, "name");
+    this.name = name;
+  }
+
+  @Override
+  public TypedMetaBean<OvernightFutureOptionVolatilitiesId> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the name of the volatilities.
+   * @return the value of the property, not null
+   */
+  public OvernightFutureOptionVolatilitiesName getName() {
+    return name;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      OvernightFutureOptionVolatilitiesId other = (OvernightFutureOptionVolatilitiesId) obj;
+      return JodaBeanUtils.equal(name, other.name);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = cacheHashCode;
+    if (hash == 0) {
+      hash = getClass().hashCode();
+      hash = hash * 31 + JodaBeanUtils.hashCode(name);
+      cacheHashCode = hash;
+    }
+    return hash;
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}uau(dd9980c35054258743b8258acd8182c0ba3f3710}(sha(dd9980c35054258743b8258acd8182c0ba3f3710node_idEC_kwDOAT6l0doAKGRkOTk4MGMzNTA1NDI1ODc0M2I4MjU4YWNkODE4MmMwYmEzZjM3MTAcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-08-03T07:32:34Zu	committer}(j2  opengammacibotj2  cibot@opengamma.comj2  2023-08-03T07:32:34Zumessage=[maven-release-plugin] prepare for next development iterationtree}(j2  (db411dc142f8500045b9fa7b51c812f644d2821curl`https://api.github.com/repos/OpenGamma/Strata/git/trees/db411dc142f8500045b9fa7b51c812f644d2821cuj2  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/dd9980c35054258743b8258acd8182c0ba3f3710
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj2  ^https://api.github.com/repos/OpenGamma/Strata/commits/dd9980c35054258743b8258acd8182c0ba3f3710html_urlShttps://github.com/OpenGamma/Strata/commit/dd9980c35054258743b8258acd8182c0ba3f3710comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/dd9980c35054258743b8258acd8182c0ba3f3710/commentsj2  }(loginopengammacibotidJq j2  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j2  +https://api.github.com/users/opengammacibotj2  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj2  }(j2  opengammacibotj2  Jq j2  MDQ6VXNlcjc0NTAyODE=j2  3https://avatars.githubusercontent.com/u/7450281?v=4j2  h3j2  +https://api.github.com/users/opengammacibotj2  !https://github.com/opengammacibotj2  5https://api.github.com/users/opengammacibot/followersj2  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j2  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j2  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j2  9https://api.github.com/users/opengammacibot/subscriptionsj2  0https://api.github.com/users/opengammacibot/orgsj2  1https://api.github.com/users/opengammacibot/reposj2  <https://api.github.com/users/opengammacibot/events{/privacy}j2  ;https://api.github.com/users/opengammacibot/received_eventsj2  Userj2  uparents]}(j2  (9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj2  ^https://api.github.com/repos/OpenGamma/Strata/commits/9275b0e9f5992f05eac32ad22e8e70f55d6a9cebj2  Shttps://github.com/OpenGamma/Strata/commit/9275b0e9f5992f05eac32ad22e8e70f55d6a9cebuastats}(totalK$	additionsK	deletionsKufiles](}(j2  (6a1ee2738b8b7e8f7a82c605e16d8f5df4450c7cfilenameexamples/pom.xmlstatusmodifiedj2  Kj2  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.28</version>
+  <version>2.12.29-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,8 +272,4 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
-
-  <scm>
-    <tag>v2.12.28</tag>
-  </scm>
 </project>u}(j2  (a3c5f6d38dbbbe4ab01623bb90104e1143fb7945j2  modules/basics/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  lhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fbasics%2Fpom.xmlj2  khttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fbasics%2Fpom.xmlj2  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j2  (b9d18490b72e1d11143d621b6292aa69fd07f9abj2  modules/calc/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  jhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fcalc%2Fpom.xmlj2  ihttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fcalc%2Fpom.xmlj2  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j2  (e7ce1cbdd54dd16a46526643dd95ee09cc19e911j2  modules/collect/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  mhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fcollect%2Fpom.xmlj2  lhttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fcollect%2Fpom.xmlj2  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j2  (a4676fdffb7fd4f3d748a8e95ace4d7db5482597j2  modules/data/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  jhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fdata%2Fpom.xmlj2  ihttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fdata%2Fpom.xmlj2  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j2  (34397be2acbfb519abf449f5b32e99cea2435e49j2  modules/loader/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  lhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Floader%2Fpom.xmlj2  khttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Floader%2Fpom.xmlj2  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j2  (331e802d4d0f15163853b740983021ab7b48a1dej2  modules/market/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  lhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fmarket%2Fpom.xmlj2  khttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fmarket%2Fpom.xmlj2  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j2  (ca28d7879655a66f6ad6084e702d2ce726fd9093j2  modules/math/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  jhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fmath%2Fpom.xmlj2  ihttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fmath%2Fpom.xmlj2  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j2  (5e1a9834f5816b334a08d730ad44553cfde83715j2  modules/measure/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  mhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fmeasure%2Fpom.xmlj2  lhttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fmeasure%2Fpom.xmlj2  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j2  (16bafe3623ab201ded6879bc6684391ac1ac1627j2  modules/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  chttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fpom.xmlj2  bhttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fpom.xmlj2  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.28</version>
+  <version>2.12.29-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.28</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j2  (9e166caa8e261414c38512f37de45d18ef53efdcj2  modules/pricer/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  lhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fpricer%2Fpom.xmlj2  khttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fpricer%2Fpom.xmlj2  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j2  (9e545a2b266fde75bc33618417117f12ce42bad4j2  modules/product/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  mhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fproduct%2Fpom.xmlj2  lhttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Fproduct%2Fpom.xmlj2  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j2  (40bc0bbc31fbb7591805ec6a31081b3fe01898d9j2  modules/report/pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  lhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Freport%2Fpom.xmlj2  khttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/modules%2Freport%2Fpom.xmlj2  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.28</version>
+    <version>2.12.29-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j2  (a64c951135ca77e73d80ae1dc0e38c185b8044b8j2  pom.xmlj2  modifiedj2  Kj2  Kj2  Kj2  Yhttps://github.com/OpenGamma/Strata/blob/dd9980c35054258743b8258acd8182c0ba3f3710/pom.xmlj2  Xhttps://github.com/OpenGamma/Strata/raw/dd9980c35054258743b8258acd8182c0ba3f3710/pom.xmlj2  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=dd9980c35054258743b8258acd8182c0ba3f3710j2  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.28</version>
+  <version>2.12.29-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.28</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(11aa30829f5007311ff6936eb70b631f6d1b30ad}(sha(11aa30829f5007311ff6936eb70b631f6d1b30adnode_idEC_kwDOAT6l0doAKDExYWEzMDgyOWY1MDA3MzExZmY2OTM2ZWI3MGI2MzFmNmQxYjMwYWQcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-05-12T11:15:25Zu8	     	committer}(jn3  opengammacibotjp3  cibot@opengamma.comjr3  2023-05-12T11:15:25Zumessage=[maven-release-plugin] prepare for next development iterationtree}(jf3  (4d9d0eab0982cd1844da2f57883fd62b1b9eb720url`https://api.github.com/repos/OpenGamma/Strata/git/trees/4d9d0eab0982cd1844da2f57883fd62b1b9eb720uj~3  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/11aa30829f5007311ff6936eb70b631f6d1b30ad
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj~3  ^https://api.github.com/repos/OpenGamma/Strata/commits/11aa30829f5007311ff6936eb70b631f6d1b30adhtml_urlShttps://github.com/OpenGamma/Strata/commit/11aa30829f5007311ff6936eb70b631f6d1b30adcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/11aa30829f5007311ff6936eb70b631f6d1b30ad/commentsjl3  }(loginopengammacibotidJq jh3  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j~3  +https://api.github.com/users/opengammacibotj3  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminujt3  }(j3  opengammacibotj3  Jq jh3  MDQ6VXNlcjc0NTAyODE=j3  3https://avatars.githubusercontent.com/u/7450281?v=4j3  h3j~3  +https://api.github.com/users/opengammacibotj3  !https://github.com/opengammacibotj3  5https://api.github.com/users/opengammacibot/followersj3  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j3  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j3  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j3  9https://api.github.com/users/opengammacibot/subscriptionsj3  0https://api.github.com/users/opengammacibot/orgsj3  1https://api.github.com/users/opengammacibot/reposj3  <https://api.github.com/users/opengammacibot/events{/privacy}j3  ;https://api.github.com/users/opengammacibot/received_eventsj3  Userj3  uparents]}(jf3  (c742a576f1620c6e4a3cbd3ff0445caa76be4477j~3  ^https://api.github.com/repos/OpenGamma/Strata/commits/c742a576f1620c6e4a3cbd3ff0445caa76be4477j3  Shttps://github.com/OpenGamma/Strata/commit/c742a576f1620c6e4a3cbd3ff0445caa76be4477uastats}(totalK$	additionsK	deletionsKufiles](}(jf3  (e9ea03ffd7f00f66e03bd88dcf159cc7194870d2filenameexamples/pom.xmlstatusmodifiedj3  Kj3  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adpatchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.22</version>
+  <version>2.12.23-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,8 +272,4 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
-
-  <scm>
-    <tag>v2.12.22</tag>
-  </scm>
 </project>u}(jf3  (c2b7011b86cfeaa46822748c3c0e5bf580c23923j3  modules/basics/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  lhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fbasics%2Fpom.xmlj3  khttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fbasics%2Fpom.xmlj3  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(jf3  (2c654867fdb78bb3fee614f808a2b7cdb514ef98j3  modules/calc/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  jhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fcalc%2Fpom.xmlj3  ihttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fcalc%2Fpom.xmlj3  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(jf3  (88739ef904b0140c8ed8e747668dd585e556923cj3  modules/collect/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  mhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fcollect%2Fpom.xmlj3  lhttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fcollect%2Fpom.xmlj3  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(jf3  (bbed74b424260f5ef8959b02366deb1a5ccccca4j3  modules/data/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  jhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fdata%2Fpom.xmlj3  ihttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fdata%2Fpom.xmlj3  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(jf3  (e55950ba82004c4775eee364916a9d8353bd010cj3  modules/loader/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  lhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Floader%2Fpom.xmlj3  khttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Floader%2Fpom.xmlj3  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(jf3  (3830f653c707c1b7d94cfd424110f1ae7e6b9b23j3  modules/market/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  lhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fmarket%2Fpom.xmlj3  khttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fmarket%2Fpom.xmlj3  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(jf3  (48c53b59e0a4849cd1a68a5b835365a8abfe3e1aj3  modules/math/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  jhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fmath%2Fpom.xmlj3  ihttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fmath%2Fpom.xmlj3  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(jf3  (e24950a3dc19c63c92f243494319d19efa4aae4cj3  modules/measure/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  mhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fmeasure%2Fpom.xmlj3  lhttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fmeasure%2Fpom.xmlj3  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(jf3  (e6b036c1a0e1f14f10aff4b3a8d16e69e53638aej3  modules/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  chttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fpom.xmlj3  bhttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fpom.xmlj3  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.22</version>
+  <version>2.12.23-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.22</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(jf3  (b97e8b1025e52a41e12bdd1a449e2bbca0f0ba90j3  modules/pricer/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  lhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fpricer%2Fpom.xmlj3  khttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fpricer%2Fpom.xmlj3  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(jf3  (0ff3c8c42afa33981bc0031bf802e669bf7bb71dj3  modules/product/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  mhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fproduct%2Fpom.xmlj3  lhttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Fproduct%2Fpom.xmlj3  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(jf3  (7eeb87da95fa1617e4b8644dc5c1a937f9fbcc7dj3  modules/report/pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  lhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Freport%2Fpom.xmlj3  khttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/modules%2Freport%2Fpom.xmlj3  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.22</version>
+    <version>2.12.23-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(jf3  (182dd5bfb2be569661154ec8a722c821e9585750j3  pom.xmlj3  modifiedj3  Kj3  Kj3  Kj3  Yhttps://github.com/OpenGamma/Strata/blob/11aa30829f5007311ff6936eb70b631f6d1b30ad/pom.xmlj3  Xhttps://github.com/OpenGamma/Strata/raw/11aa30829f5007311ff6936eb70b631f6d1b30ad/pom.xmlj3  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=11aa30829f5007311ff6936eb70b631f6d1b30adj3  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.22</version>
+  <version>2.12.23-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.22</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(91b88c70783122bbdca4d41d44720b5b80c1b9f0}(sha(91b88c70783122bbdca4d41d44720b5b80c1b9f0node_idEC_kwDOAT6l0doAKDkxYjg4YzcwNzgzMTIyYmJkY2E0ZDQxZDQ0NzIwYjViODBjMWI5ZjAcommit}(author}(nameAlexis Skitiniemail skitini@users.noreply.github.comdate2023-05-12T10:22:11Zu	committer}(jK4  Alexis SkitinijM4   skitini@users.noreply.github.comjO4  2023-05-12T10:22:11Zumessage Add Nasdaq commodity exchange idtree}(jC4  (bb6b99a29946fa5ab7960745b5b587bcb2ad3530url`https://api.github.com/repos/OpenGamma/Strata/git/trees/bb6b99a29946fa5ab7960745b5b587bcb2ad3530uj[4  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/91b88c70783122bbdca4d41d44720b5b80c1b9f0
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj[4  ^https://api.github.com/repos/OpenGamma/Strata/commits/91b88c70783122bbdca4d41d44720b5b80c1b9f0html_urlShttps://github.com/OpenGamma/Strata/commit/91b88c70783122bbdca4d41d44720b5b80c1b9f0comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/91b88c70783122bbdca4d41d44720b5b80c1b9f0/commentsjI4  }(loginskitiniidJAjE4  MDQ6VXNlcjI1OTkzMjgx
avatar_url4https://avatars.githubusercontent.com/u/25993281?v=4gravatar_idh3j[4  $https://api.github.com/users/skitinijg4  https://github.com/skitini
followers_url.https://api.github.com/users/skitini/followers
following_url;https://api.github.com/users/skitini/following{/other_user}	gists_url4https://api.github.com/users/skitini/gists{/gist_id}starred_url;https://api.github.com/users/skitini/starred{/owner}{/repo}subscriptions_url2https://api.github.com/users/skitini/subscriptionsorganizations_url)https://api.github.com/users/skitini/orgs	repos_url*https://api.github.com/users/skitini/repos
events_url5https://api.github.com/users/skitini/events{/privacy}received_events_url4https://api.github.com/users/skitini/received_eventstypeUser
site_adminujQ4  }(jl4  skitinijn4  JAjE4  MDQ6VXNlcjI1OTkzMjgxjp4  4https://avatars.githubusercontent.com/u/25993281?v=4jr4  h3j[4  $https://api.github.com/users/skitinijg4  https://github.com/skitiniju4  .https://api.github.com/users/skitini/followersjw4  ;https://api.github.com/users/skitini/following{/other_user}jy4  4https://api.github.com/users/skitini/gists{/gist_id}j{4  ;https://api.github.com/users/skitini/starred{/owner}{/repo}j}4  2https://api.github.com/users/skitini/subscriptionsj4  )https://api.github.com/users/skitini/orgsj4  *https://api.github.com/users/skitini/reposj4  5https://api.github.com/users/skitini/events{/privacy}j4  4https://api.github.com/users/skitini/received_eventsj4  Userj4  uparents]}(jC4  (6919d1220aa416d383022663fda2567d8084ea30j[4  ^https://api.github.com/repos/OpenGamma/Strata/commits/6919d1220aa416d383022663fda2567d8084ea30jg4  Shttps://github.com/OpenGamma/Strata/commit/6919d1220aa416d383022663fda2567d8084ea30uastats}(totalK	additionsK	deletionsK ufiles]}(jC4  (85c56b1df4e2355838b7fd41a1e59622f00e7feafilenameRmodules/product/src/main/java/com/opengamma/strata/product/common/ExchangeIds.javastatusmodifiedj4  Kj4  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/91b88c70783122bbdca4d41d44720b5b80c1b9f0/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FExchangeIds.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/91b88c70783122bbdca4d41d44720b5b80c1b9f0/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FExchangeIds.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FExchangeIds.java?ref=91b88c70783122bbdca4d41d44720b5b80c1b9f0patchXy  @@ -147,6 +147,9 @@ public final class ExchangeIds {
   /** Zhengzhou Commodity Exchange. */
   public static final ExchangeId XZCE = ExchangeId.of("XZCE");
 
+  /** Nasdaq Commodity Exchange. */
+  public static final ExchangeId NORX = ExchangeId.of("NORX");
+
   //-------------------------------------------------------------------------
   /**
    * Restricted constructor.uau(c281b3279154231137ecc5fb5233a88e5d8fff5f}(sha(c281b3279154231137ecc5fb5233a88e5d8fff5fnode_idEC_kwDOAT6l0doAKGMyODFiMzI3OTE1NDIzMTEzN2VjYzVmYjUyMzNhODhlNWQ4ZmZmNWYcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-08-07T02:22:44Zu	committer}(j4  GitHubj4  noreply@github.comj4  2023-08-07T02:22:44ZumessageX  Bump com.google.guava:guava from 31.1-jre to 32.1.2-jre

Bumps [com.google.guava:guava](https://github.com/google/guava) from 31.1-jre to 32.1.2-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j4  (eefc830f3db07009555282530e6891b9c201557burl`https://api.github.com/repos/OpenGamma/Strata/git/trees/eefc830f3db07009555282530e6891b9c201557buj4  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/c281b3279154231137ecc5fb5233a88e5d8fff5f
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJk0FV0CRBK7hj4Ov3rIwAAewIIAC0CrIt/Jpjjad9spiehvUTh
NjwP6efyKPHjknsbRU//qsMcMh2SfiOeX7UjMx2UPYOCnC974TKxBFlvwaz/Rtvi
dWRwruqLG+iow44L56M8EMjs2jRaTtbBo/IhYtGuO1/9KFiYsv4VyNWq/i1At5QZ
5CegcmD2u1lsL/xGntBFAoqcGEOsGmW3kOAphBFaGMSAHkgwyPr5NPl2qyoH04pi
C4JX6rI0FjQAJB3KyGrOyyiEGt0G4MV/WSVj86y40/+gi+X+oXchcixLQbI59LuM
iMdjbzfCbz8ivighvI7rHz7a9qaD2GsmxgXf2b4RvQWhLEyAz+TJe9chbGtnQWI=
=XZdI
-----END PGP SIGNATURE-----
payloadX  tree eefc830f3db07009555282530e6891b9c201557b
parent dd9980c35054258743b8258acd8182c0ba3f3710
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1691374964 +0000
committer GitHub <noreply@github.com> 1691374964 +0000

Bump com.google.guava:guava from 31.1-jre to 32.1.2-jre

Bumps [com.google.guava:guava](https://github.com/google/guava) from 31.1-jre to 32.1.2-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>uuj4  ^https://api.github.com/repos/OpenGamma/Strata/commits/c281b3279154231137ecc5fb5233a88e5d8fff5fhtml_urlShttps://github.com/OpenGamma/Strata/commit/c281b3279154231137ecc5fb5233a88e5d8fff5fcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/c281b3279154231137ecc5fb5233a88e5d8fff5f/commentsj4  }(logindependabot[bot]idJZj4  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j4  0https://api.github.com/users/dependabot%5Bbot%5Dj4  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj4  }(j4  web-flowj4  J/j4  MDQ6VXNlcjE5ODY0NDQ3j4  4https://avatars.githubusercontent.com/u/19864447?v=4j4  h3j4  %https://api.github.com/users/web-flowj4  https://github.com/web-flowj4  /https://api.github.com/users/web-flow/followersj4  <https://api.github.com/users/web-flow/following{/other_user}j4  5https://api.github.com/users/web-flow/gists{/gist_id}j4  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j4  3https://api.github.com/users/web-flow/subscriptionsj4  *https://api.github.com/users/web-flow/orgsj4  +https://api.github.com/users/web-flow/reposj4  6https://api.github.com/users/web-flow/events{/privacy}j4  5https://api.github.com/users/web-flow/received_eventsj4  Userj 5  uparents]}(j4  (dd9980c35054258743b8258acd8182c0ba3f3710j4  ^https://api.github.com/repos/OpenGamma/Strata/commits/dd9980c35054258743b8258acd8182c0ba3f3710j4  Shttps://github.com/OpenGamma/Strata/commit/dd9980c35054258743b8258acd8182c0ba3f3710uastats}(totalK	additionsK	deletionsKufiles]}(j4  (bc04e91e995fe23b22d74407a97951b1d4a4ef5ffilenamemodules/pom.xmlstatusmodifiedj5  Kj5  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/c281b3279154231137ecc5fb5233a88e5d8fff5f/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/c281b3279154231137ecc5fb5233a88e5d8fff5f/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=c281b3279154231137ecc5fb5233a88e5d8fff5fpatchXl  @@ -765,7 +765,7 @@
     <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
-    <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
+    <guava.version>32.1.2-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>uau(9fc709f6d103791b000f039859560e13889dc7a6}(sha(9fc709f6d103791b000f039859560e13889dc7a6node_idEC_kwDOAT6l0doAKDlmYzcwOWY2ZDEwMzc5MWIwMDBmMDM5ODU5NTYwZTEzODg5ZGM3YTYcommit}(author}(nameGeorge Vafiadisemailgvafiadis@gmail.comdate2023-04-06T08:34:59Zu	committer}(j75  GitHubj95  noreply@github.comj;5  2023-04-06T08:34:59Zumessage/Merge branch 'main' into bugfix/combine-periodstree}(j/5  (163739e4ad6f857e17d9ecfb5afd864963f40a44url`https://api.github.com/repos/OpenGamma/Strata/git/trees/163739e4ad6f857e17d9ecfb5afd864963f40a44ujG5  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/9fc709f6d103791b000f039859560e13889dc7a6
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkLoQzCRBK7hj4Ov3rIwAA/9sIAHXiLFIPEhj/T7HzaFJr9h7E
+XHYh6yjfv/xbps2Zn+w6Pag1mhOdbgpcuoxvs/EpzwJHCLMi+bbMjc5nJ3kqeWm
hNAb2iZam2AJLzUUg0GMsi4jSrnU7gcdhNhsZm/B8Zyci9oZ6Nuy4wbmbVuwYsCM
yHqmHQe38YMDPb2JLQXglysifgD0PKhm7LPkCJRvWKc5ao0txydO4698YU7qk7t0
yQk0SqKpvt2EwNl3U5cN/kpzBIi78YCrzuDnKeBcvhDIMLEeDE1EDY9MiXpUPSMR
hpWzDxJoH0n0GvT8ne3+s15nzKOQYCChavBhPX9Mw4mUVqs7xoGcK8BHyRdq+vI=
=kSJa
-----END PGP SIGNATURE-----
payloadX3  tree 163739e4ad6f857e17d9ecfb5afd864963f40a44
parent 1457d25c281fe509f0bd1183032a372a1651cb3d
parent dd5a657d8f54879723005264fa7e52cd6a4f67db
author George Vafiadis <gvafiadis@gmail.com> 1680770099 +0300
committer GitHub <noreply@github.com> 1680770099 +0300

Merge branch 'main' into bugfix/combine-periodsuujG5  ^https://api.github.com/repos/OpenGamma/Strata/commits/9fc709f6d103791b000f039859560e13889dc7a6html_urlShttps://github.com/OpenGamma/Strata/commit/9fc709f6d103791b000f039859560e13889dc7a6comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/9fc709f6d103791b000f039859560e13889dc7a6/commentsj55  }(logingvafidJh j15  MDQ6VXNlcjE1NzcwMg==
avatar_url2https://avatars.githubusercontent.com/u/157702?v=4gravatar_idh3jG5  !https://api.github.com/users/gvafjU5  https://github.com/gvaf
followers_url+https://api.github.com/users/gvaf/followers
following_url8https://api.github.com/users/gvaf/following{/other_user}	gists_url1https://api.github.com/users/gvaf/gists{/gist_id}starred_url8https://api.github.com/users/gvaf/starred{/owner}{/repo}subscriptions_url/https://api.github.com/users/gvaf/subscriptionsorganizations_url&https://api.github.com/users/gvaf/orgs	repos_url'https://api.github.com/users/gvaf/repos
events_url2https://api.github.com/users/gvaf/events{/privacy}received_events_url1https://api.github.com/users/gvaf/received_eventstypeUser
site_adminuj=5  }(jZ5  web-flowj\5  J/j15  MDQ6VXNlcjE5ODY0NDQ3j^5  4https://avatars.githubusercontent.com/u/19864447?v=4j`5  h3jG5  %https://api.github.com/users/web-flowjU5  https://github.com/web-flowjc5  /https://api.github.com/users/web-flow/followersje5  <https://api.github.com/users/web-flow/following{/other_user}jg5  5https://api.github.com/users/web-flow/gists{/gist_id}ji5  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jk5  3https://api.github.com/users/web-flow/subscriptionsjm5  *https://api.github.com/users/web-flow/orgsjo5  +https://api.github.com/users/web-flow/reposjq5  6https://api.github.com/users/web-flow/events{/privacy}js5  5https://api.github.com/users/web-flow/received_eventsju5  Userjw5  uparents](}(j/5  (1457d25c281fe509f0bd1183032a372a1651cb3djG5  ^https://api.github.com/repos/OpenGamma/Strata/commits/1457d25c281fe509f0bd1183032a372a1651cb3djU5  Shttps://github.com/OpenGamma/Strata/commit/1457d25c281fe509f0bd1183032a372a1651cb3du}(j/5  (dd5a657d8f54879723005264fa7e52cd6a4f67dbjG5  ^https://api.github.com/repos/OpenGamma/Strata/commits/dd5a657d8f54879723005264fa7e52cd6a4f67dbjU5  Shttps://github.com/OpenGamma/Strata/commit/dd5a657d8f54879723005264fa7e52cd6a4f67dbuestats}(totalK	additionsK~	deletionsKufiles](}(j/5  (7e23a17b3b47f20d6df5c88ef98f2f330587cdc7filenamemodules/pom.xmlstatusmodifiedj5  Kj5  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=9fc709f6d103791b000f039859560e13889dc7a6patchX  @@ -763,7 +763,7 @@
     <root.dir>${project.basedir}/..</root.dir>
     <!-- Versions -->
     <asm.version>9.4</asm.version>
-    <assertj.version>3.23.1</assertj.version>
+    <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
     <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>u}(j/5  (17132cc647223fe2f29f6f18c23ab208666729eaj5  Nmodules/product/src/main/java/com/opengamma/strata/product/common/BuySell.javaj5  modifiedj5  Kj5  K j5  Kj5  https://github.com/OpenGamma/Strata/blob/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javaj5  https://github.com/OpenGamma/Strata/raw/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javaj5  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.java?ref=9fc709f6d103791b000f039859560e13889dc7a6j5  Xj  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -80,6 +82,21 @@ public double normalize(double amount) {
     return isBuy() ? normalized : -normalized;
   }
 
+  /**
+   * Normalizes the specified {@code Decimal} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input amount
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isBuy() ? normalized : normalized.negated();
+  }
+
   /**
    * Normalizes the specified amount using this buy/sell rule.
    * <p>
@@ -95,6 +112,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isBuy() ? amount.positive() : amount.negative();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input notional
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isBuy() ? amount.positive() : amount.negative();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Buy'.u}(j/5  (c77d9d1fab93c2d89463aa1f0e966a4414fa1156j5  Qmodules/product/src/main/java/com/opengamma/strata/product/common/PayReceive.javaj5  modifiedj5  Kj5  K j5  Kj5  https://github.com/OpenGamma/Strata/blob/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaj5  https://github.com/OpenGamma/Strata/raw/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.javaj5  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceive.java?ref=9fc709f6d103791b000f039859560e13889dc7a6j5  X{  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -93,6 +95,21 @@ public double normalize(double amount) {
     return isPay() ? -normalized : normalized;
   }
 
+  /**
+   * Normalizes the specified notional amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    Decimal normalized = amount.abs();
+    return isPay() ? normalized.negated() : normalized;
+  }
+
   /**
    * Normalizes the specified amount using this pay/receive rule.
    * <p>
@@ -108,6 +125,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isPay() ? amount.negative() : amount.positive();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this pay/receive rule.
+   * <p>
+   * This returns a negative signed amount if this is 'Pay', and a positive
+   * signed amount if this is 'Receive'. This effectively normalizes the input
+   * notional to the pay/receive sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isPay() ? amount.negative() : amount.positive();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Pay'.u}(j/5  (31123a560f1cb818b0016849184b9055eb7762f2j5  Rmodules/product/src/test/java/com/opengamma/strata/product/common/BuySellTest.javaj5  modifiedj5  K j5  K j5  K j5  https://github.com/OpenGamma/Strata/blob/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj5  https://github.com/OpenGamma/Strata/raw/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj5  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.java?ref=9fc709f6d103791b000f039859560e13889dc7a6j5  X  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link BuySell}.
@@ -42,13 +44,28 @@ public void test_normalize_sell_double() {
     assertThat(BuySell.SELL.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_sell_decimal() {
+    assertThat(BuySell.SELL.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(BuySell.SELL.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.SELL.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_sell_amount() {
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.SELL.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_sell_money() {
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.SELL.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
+
   @Test
   public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -57,13 +74,28 @@ public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_buy_decimal() {
+    assertThat(BuySell.BUY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.BUY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_buy_amount() {
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_buy_money() {
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isBuy() {
     assertThat(BuySell.BUY.isBuy()).isTrue();u}(j/5  (b507e29413d3aa67b960b66570e948d517e8896fj5  Umodules/product/src/test/java/com/opengamma/strata/product/common/PayReceiveTest.javaj5  modifiedj5  Kj5  K j5  Kj5  https://github.com/OpenGamma/Strata/blob/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaj5  https://github.com/OpenGamma/Strata/raw/9fc709f6d103791b000f039859560e13889dc7a6/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.javaj5  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FPayReceiveTest.java?ref=9fc709f6d103791b000f039859560e13889dc7a6j5  Xj  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link PayReceive}.
@@ -51,13 +53,27 @@ public void test_normalize_pay_double() {
     assertThat(PayReceive.PAY.normalize(-1d)).isCloseTo(-1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_pay_decimal() {
+    assertThat(PayReceive.PAY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(-1d));
+    assertThat(PayReceive.PAY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.PAY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_pay_amount() {
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.PAY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, -1d));
   }
 
+  @Test
+  public void test_normalize_pay_money() {
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, -1d));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.PAY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, -1d));
+  }
   @Test
   public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(1d)).isCloseTo(1d, offset(0d));
@@ -66,13 +82,28 @@ public void test_normalize_receive_double() {
     assertThat(PayReceive.RECEIVE.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_receive_decimal() {
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(PayReceive.RECEIVE.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_receive_amount() {
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(PayReceive.RECEIVE.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_receive_money() {
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.zero(GBP));
+    assertThat(PayReceive.RECEIVE.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isPay() {
     assertThat(PayReceive.PAY.isPay()).isTrue();ueu(9e5dec911fd7b468852693a03108c98a1304cec6}(sha(9e5dec911fd7b468852693a03108c98a1304cec6node_idEC_kwDOAT6l0doAKDllNWRlYzkxMWZkN2I0Njg4NTI2OTNhMDMxMDhjOThhMTMwNGNlYzYcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-03-14T09:50:35Zu	committer}(j5  opengammacibotj5  cibot@opengamma.comj5  2023-03-14T09:50:35Zumessage/[maven-release-plugin] prepare release v2.12.21tree}(j5  (f9f46977f05e6250ad2aba33e1e1be184ad89c5aurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/f9f46977f05e6250ad2aba33e1e1be184ad89c5auj5  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/9e5dec911fd7b468852693a03108c98a1304cec6
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj5  ^https://api.github.com/repos/OpenGamma/Strata/commits/9e5dec911fd7b468852693a03108c98a1304cec6html_urlShttps://github.com/OpenGamma/Strata/commit/9e5dec911fd7b468852693a03108c98a1304cec6comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/9e5dec911fd7b468852693a03108c98a1304cec6/commentsj5  }(loginopengammacibotidJq j5  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j5  +https://api.github.com/users/opengammacibotj5  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj5  }(j5  opengammacibotj5  Jq j5  MDQ6VXNlcjc0NTAyODE=j5  3https://avatars.githubusercontent.com/u/7450281?v=4j5  h3j5  +https://api.github.com/users/opengammacibotj5  !https://github.com/opengammacibotj5  5https://api.github.com/users/opengammacibot/followersj5  Bhttps://api.github.com/users/opengammacibot/following{/other_user}j 6  ;https://api.github.com/users/opengammacibot/gists{/gist_id}j6  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}j6  9https://api.github.com/users/opengammacibot/subscriptionsj6  0https://api.github.com/users/opengammacibot/orgsj6  1https://api.github.com/users/opengammacibot/reposj
6  <https://api.github.com/users/opengammacibot/events{/privacy}j6  ;https://api.github.com/users/opengammacibot/received_eventsj6  Userj6  uparents]}(j5  (ab361377ecdc6022c70163e8cef9728c5fb31890j5  ^https://api.github.com/repos/OpenGamma/Strata/commits/ab361377ecdc6022c70163e8cef9728c5fb31890j5  Shttps://github.com/OpenGamma/Strata/commit/ab361377ecdc6022c70163e8cef9728c5fb31890uastats}(totalK$	additionsK	deletionsKufiles](}(j5  (34bbc1f2be9d69d2349ce3d35dde8bc0c7d3b486filenameexamples/pom.xmlstatusmodifiedj*6  Kj+6  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.21-SNAPSHOT</version>
+  <version>2.12.21</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,4 +272,8 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
+
+  <scm>
+    <tag>v2.12.21</tag>
+  </scm>
 </project>u}(j5  (45225c978d9e84156bc370099cf373f9d6a954a9j06  modules/basics/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  lhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fbasics%2Fpom.xmlj76  khttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fbasics%2Fpom.xmlj96  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j5  (5016b3946c76eb92cd4857b664defbc468094d37j06  modules/calc/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  jhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fcalc%2Fpom.xmlj76  ihttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fcalc%2Fpom.xmlj96  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j5  (9d3ccab612dac77e2700a2d5cfce35499b131d3cj06  modules/collect/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  mhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fcollect%2Fpom.xmlj76  lhttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fcollect%2Fpom.xmlj96  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j5  (4f42eebd92b89bdcda7216dee535d0d1e285efe1j06  modules/data/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  jhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fdata%2Fpom.xmlj76  ihttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fdata%2Fpom.xmlj96  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j5  (3524a98b3f14dfd74294837e68d9e84f9627ca6dj06  modules/loader/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  lhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Floader%2Fpom.xmlj76  khttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Floader%2Fpom.xmlj96  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j5  (20118688886650abfbf4b8c00f98e849e1a3a63ej06  modules/market/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  lhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fmarket%2Fpom.xmlj76  khttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fmarket%2Fpom.xmlj96  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j5  (98c957229307813ab360599104c65b29c61cf7ccj06  modules/math/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  jhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fmath%2Fpom.xmlj76  ihttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fmath%2Fpom.xmlj96  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j5  (861544c45b357ae12985ae9791f583d310cbdc9ej06  modules/measure/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  mhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fmeasure%2Fpom.xmlj76  lhttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fmeasure%2Fpom.xmlj96  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j5  (12b91f30b4d6acb8511a4ea2db5de4029d66df53j06  modules/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  chttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fpom.xmlj76  bhttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fpom.xmlj96  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.21-SNAPSHOT</version>
+  <version>2.12.21</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.21</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j5  (b44d9497a94da576e86fd49abcb101f5b8bc446ej06  modules/pricer/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  lhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fpricer%2Fpom.xmlj76  khttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fpricer%2Fpom.xmlj96  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j5  (819b264c970e2e79b7d0fd0a9ca2a208394c4ecfj06  modules/product/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  mhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fproduct%2Fpom.xmlj76  lhttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Fproduct%2Fpom.xmlj96  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j5  (5ddb2a3dd6a64f0b51888c65f2f329f32d0b8e2dj06  modules/report/pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  lhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Freport%2Fpom.xmlj76  khttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/modules%2Freport%2Fpom.xmlj96  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.21-SNAPSHOT</version>
+    <version>2.12.21</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j5  (e928d7f15f6d674ada88d1c5c72c97eb7411bbf9j06  pom.xmlj26  modifiedj*6  Kj+6  Kj46  Kj56  Yhttps://github.com/OpenGamma/Strata/blob/9e5dec911fd7b468852693a03108c98a1304cec6/pom.xmlj76  Xhttps://github.com/OpenGamma/Strata/raw/9e5dec911fd7b468852693a03108c98a1304cec6/pom.xmlj96  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=9e5dec911fd7b468852693a03108c98a1304cec6j;6  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.21-SNAPSHOT</version>
+  <version>2.12.21</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.21</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(2850298d369800c6995814ad79b5ced3d614eae3}(sha(2850298d369800c6995814ad79b5ced3d614eae3node_idEC_kwDOAT6l0doAKDI4NTAyOThkMzY5ODAwYzY5OTU4MTRhZDc5YjVjZWQzZDYxNGVhZTMcommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-05-23T17:40:53Zu	committer}(j6  Aaronj6  +110403946+aaron-og@users.noreply.github.comj6  2023-05-23T17:40:53Zumessage8Created  overnight variants of index market data classestree}(j6  (645904d49cb8d44e9df3bf621c31cdeac8d54018url`https://api.github.com/repos/OpenGamma/Strata/git/trees/645904d49cb8d44e9df3bf621c31cdeac8d54018uj6  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/2850298d369800c6995814ad79b5ced3d614eae3
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj6  ^https://api.github.com/repos/OpenGamma/Strata/commits/2850298d369800c6995814ad79b5ced3d614eae3html_urlShttps://github.com/OpenGamma/Strata/commit/2850298d369800c6995814ad79b5ced3d614eae3comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/2850298d369800c6995814ad79b5ced3d614eae3/commentsj6  }(loginaaron-ogidJjj6  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3j6  %https://api.github.com/users/aaron-ogj6  https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminuj6  }(j6  aaron-ogj6  Jjj6  U_kgDOBpShagj6  5https://avatars.githubusercontent.com/u/110403946?v=4j6  h3j6  %https://api.github.com/users/aaron-ogj6  https://github.com/aaron-ogj6  /https://api.github.com/users/aaron-og/followersj6  <https://api.github.com/users/aaron-og/following{/other_user}j6  5https://api.github.com/users/aaron-og/gists{/gist_id}j6  <https://api.github.com/users/aaron-og/starred{/owner}{/repo}j6  3https://api.github.com/users/aaron-og/subscriptionsj6  *https://api.github.com/users/aaron-og/orgsj6  +https://api.github.com/users/aaron-og/reposj6  6https://api.github.com/users/aaron-og/events{/privacy}j6  5https://api.github.com/users/aaron-og/received_eventsj6  Userj6  uparents]}(j6  (9ba44aa83e8e93ad0846bad96ec6af69aa7e1197j6  ^https://api.github.com/repos/OpenGamma/Strata/commits/9ba44aa83e8e93ad0846bad96ec6af69aa7e1197j6  Shttps://github.com/OpenGamma/Strata/commit/9ba44aa83e8e93ad0846bad96ec6af69aa7e1197uastats}(totalM	additionsM	deletionsK ufiles](}(j6  (9e9efc8345e80b48f822f911c4183738ac218bedfilenamelmodules/measure/src/main/java/com/opengamma/strata/measure/index/DefaultOvernightFutureOptionMarketData.javastatusaddedj7  Kj7  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketData.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketData.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketData.java?ref=2850298d369800c6995814ad79b5ced3d614eae3patchX  @@ -0,0 +1,171 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.ImmutableConstructor;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+
+/**
+ * The default market data for Overnight future options.
+ * <p>
+ * This uses a {@link OvernightFutureOptionMarketDataLookup} to provide a view on {@link MarketData}.
+ */
+@BeanDefinition(style = "light")
+final class DefaultOvernightFutureOptionMarketData implements OvernightFutureOptionMarketData, ImmutableBean, Serializable {
+
+  /**
+   * The lookup.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final OvernightFutureOptionMarketDataLookup lookup;
+  /**
+   * The market data.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final MarketData marketData;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an instance based on a lookup and market data.
+   * <p>
+   * The lookup knows how to obtain the volatilities from the market data.
+   * This might involve accessing a surface or a cube.
+   *
+   * @param lookup  the lookup
+   * @param marketData  the market data
+   * @return the rates market view
+   */
+  public static DefaultOvernightFutureOptionMarketData of(
+      OvernightFutureOptionMarketDataLookup lookup,
+      MarketData marketData) {
+
+    return new DefaultOvernightFutureOptionMarketData(lookup, marketData);
+  }
+
+  @ImmutableConstructor
+  private DefaultOvernightFutureOptionMarketData(
+      OvernightFutureOptionMarketDataLookup lookup,
+      MarketData marketData) {
+
+    this.lookup = ArgChecker.notNull(lookup, "lookup");
+    this.marketData = ArgChecker.notNull(marketData, "marketData");
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionMarketData withMarketData(MarketData marketData) {
+    return DefaultOvernightFutureOptionMarketData.of(lookup, marketData);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionVolatilities volatilities(OvernightIndex index) {
+    return lookup.volatilities(index, marketData);
+  }
+  
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketData}.
+   */
+  private static final TypedMetaBean<DefaultOvernightFutureOptionMarketData> META_BEAN =
+      LightMetaBean.of(
+          DefaultOvernightFutureOptionMarketData.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "lookup",
+              "marketData"},
+          new Object[0]);
+
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketData}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<DefaultOvernightFutureOptionMarketData> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public TypedMetaBean<DefaultOvernightFutureOptionMarketData> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the lookup.
+   * @return the value of the property, not null
+   */
+  @Override
+  public OvernightFutureOptionMarketDataLookup getLookup() {
+    return lookup;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the market data.
+   * @return the value of the property, not null
+   */
+  @Override
+  public MarketData getMarketData() {
+    return marketData;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      DefaultOvernightFutureOptionMarketData other = (DefaultOvernightFutureOptionMarketData) obj;
+      return JodaBeanUtils.equal(lookup, other.lookup) &&
+          JodaBeanUtils.equal(marketData, other.marketData);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = getClass().hashCode();
+    hash = hash * 31 + JodaBeanUtils.hashCode(lookup);
+    hash = hash * 31 + JodaBeanUtils.hashCode(marketData);
+    return hash;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder buf = new StringBuilder(96);
+    buf.append("DefaultOvernightFutureOptionMarketData{");
+    buf.append("lookup").append('=').append(JodaBeanUtils.toString(lookup)).append(',').append(' ');
+    buf.append("marketData").append('=').append(JodaBeanUtils.toString(marketData));
+    buf.append('}');
+    return buf.toString();
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u      }(j6  (00647bc00f2fe6fc1ec806aab100ff494a7bdcf3j
7  rmodules/measure/src/main/java/com/opengamma/strata/measure/index/DefaultOvernightFutureOptionMarketDataLookup.javaj7  addedj7  Kj7  K j7  Kj7  https://github.com/OpenGamma/Strata/blob/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketDataLookup.javaj7  https://github.com/OpenGamma/Strata/raw/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketDataLookup.javaj7  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketDataLookup.java?ref=2850298d369800c6995814ad79b5ced3d614eae3j7  X  @@ -0,0 +1,203 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.index.Index;
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.calc.CalculationRules;
+import com.opengamma.strata.calc.runner.CalculationParameter;
+import com.opengamma.strata.calc.runner.FunctionRequirements;
+import com.opengamma.strata.collect.Messages;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.MarketDataId;
+import com.opengamma.strata.data.MarketDataNotFoundException;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilitiesId;
+
+/**
+ * The Overnight future option lookup, used to select volatilities for pricing.
+ * <p>
+ * This provides Overnight future option volatilities by index.
+ * <p>
+ * The lookup implements {@link CalculationParameter} and is used by passing it
+ * as an argument to {@link CalculationRules}. It provides the link between the
+ * data that the function needs and the data that is available in {@link ScenarioMarketData}.
+ */
+@BeanDefinition(style = "light")
+final class DefaultOvernightFutureOptionMarketDataLookup
+    implements OvernightFutureOptionMarketDataLookup, ImmutableBean, Serializable {
+
+  /**
+   * The volatility identifiers, keyed by index.
+   */
+  @PropertyDefinition(validate = "notNull")
+  private final ImmutableMap<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an instance based on a single mapping from index to volatility identifier.
+   * <p>
+   * The lookup provides volatilities for the specified index.
+   *
+   * @param index  the Overnight index
+   * @param volatilityId  the volatility identifier
+   * @return the Overnight future option lookup containing the specified mapping
+   */
+  public static DefaultOvernightFutureOptionMarketDataLookup of(OvernightIndex index, OvernightFutureOptionVolatilitiesId volatilityId) {
+    return new DefaultOvernightFutureOptionMarketDataLookup(ImmutableMap.of(index, volatilityId));
+  }
+
+  /**
+   * Obtains an instance based on a map of volatility identifiers.
+   * <p>
+   * The map is used to specify the appropriate volatilities to use for each index.
+   *
+   * @param volatilityIds  the volatility identifiers, keyed by index
+   * @return the Overnight future option lookup containing the specified volatilities
+   */
+  public static DefaultOvernightFutureOptionMarketDataLookup of(Map<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds) {
+    return new DefaultOvernightFutureOptionMarketDataLookup(volatilityIds);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public ImmutableSet<OvernightIndex> getVolatilityIndices() {
+    return volatilityIds.keySet();
+  }
+
+  @Override
+  public ImmutableSet<MarketDataId<?>> getVolatilityIds(OvernightIndex index) {
+    OvernightFutureOptionVolatilitiesId id = volatilityIds.get(index);
+    if (id == null) {
+      throw new IllegalArgumentException(msgIndexNotFound(index));
+    }
+    return ImmutableSet.of(id);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public FunctionRequirements requirements(Set<OvernightIndex> indices) {
+    Set<OvernightFutureOptionVolatilitiesId> volIds = new HashSet<>();
+    for (Index index : indices) {
+      if (!volatilityIds.keySet().contains(index)) {
+        throw new IllegalArgumentException(msgIndexNotFound(index));
+      }
+      volIds.add(volatilityIds.get(index));
+    }
+    return FunctionRequirements.builder().valueRequirements(volIds).build();
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionVolatilities volatilities(OvernightIndex index, MarketData marketData) {
+    OvernightFutureOptionVolatilitiesId volatilityId = volatilityIds.get(index);
+    if (volatilityId == null) {
+      throw new MarketDataNotFoundException(msgIndexNotFound(index));
+    }
+    return marketData.getValue(volatilityId);
+  }
+
+  //-------------------------------------------------------------------------
+  private String msgIndexNotFound(Index index) {
+    return Messages.format("OvernightFutureOption lookup has no volatilities defined for index '{}'", index);
+  }
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketDataLookup}.
+   */
+  private static final TypedMetaBean<DefaultOvernightFutureOptionMarketDataLookup> META_BEAN =
+      LightMetaBean.of(
+          DefaultOvernightFutureOptionMarketDataLookup.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "volatilityIds"},
+          ImmutableMap.of());
+
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketDataLookup}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<DefaultOvernightFutureOptionMarketDataLookup> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  private DefaultOvernightFutureOptionMarketDataLookup(
+      Map<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds) {
+    JodaBeanUtils.notNull(volatilityIds, "volatilityIds");
+    this.volatilityIds = ImmutableMap.copyOf(volatilityIds);
+  }
+
+  @Override
+  public TypedMetaBean<DefaultOvernightFutureOptionMarketDataLookup> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the volatility identifiers, keyed by index.
+   * @return the value of the property, not null
+   */
+  public ImmutableMap<OvernightIndex, OvernightFutureOptionVolatilitiesId> getVolatilityIds() {
+    return volatilityIds;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      DefaultOvernightFutureOptionMarketDataLookup other = (DefaultOvernightFutureOptionMarketDataLookup) obj;
+      return JodaBeanUtils.equal(volatilityIds, other.volatilityIds);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = getClass().hashCode();
+    hash = hash * 31 + JodaBeanUtils.hashCode(volatilityIds);
+    return hash;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder buf = new StringBuilder(64);
+    buf.append("DefaultOvernightFutureOptionMarketDataLookup{");
+    buf.append("volatilityIds").append('=').append(JodaBeanUtils.toString(volatilityIds));
+    buf.append('}');
+    return buf.toString();
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u}(j6  (776207083fad4891e3b16389687ee8c6a7daf13fj
7  tmodules/measure/src/main/java/com/opengamma/strata/measure/index/DefaultOvernightFutureOptionScenarioMarketData.javaj7  addedj7  Kj7  K j7  Kj7  https://github.com/OpenGamma/Strata/blob/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionScenarioMarketData.javaj7  https://github.com/OpenGamma/Strata/raw/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionScenarioMarketData.javaj7  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionScenarioMarketData.java?ref=2850298d369800c6995814ad79b5ced3d614eae3j7  X  @@ -0,0 +1,175 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.ImmutableConstructor;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+
+/**
+ * The default market data for Overnight future options, used for calculation across multiple scenarios.
+ * <p>
+ * This uses a {@link OvernightFutureOptionMarketDataLookup} to provide a view on {@link ScenarioMarketData}.
+ */
+@BeanDefinition(style = "light")
+final class DefaultOvernightFutureOptionScenarioMarketData
+    implements OvernightFutureOptionScenarioMarketData, ImmutableBean, Serializable {
+
+  /**
+   * The lookup.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final OvernightFutureOptionMarketDataLookup lookup;
+  /**
+   * The market data.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final ScenarioMarketData marketData;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an instance based on a lookup and market data.
+   * <p>
+   * The lookup knows how to obtain the volatilities from the market data.
+   * This might involve accessing a surface or a cube.
+   *
+   * @param lookup  the lookup
+   * @param marketData  the market data
+   * @return the rates market view
+   */
+  public static DefaultOvernightFutureOptionScenarioMarketData of(
+      OvernightFutureOptionMarketDataLookup lookup,
+      ScenarioMarketData marketData) {
+
+    return new DefaultOvernightFutureOptionScenarioMarketData(lookup, marketData);
+  }
+
+  @ImmutableConstructor
+  private DefaultOvernightFutureOptionScenarioMarketData(
+      OvernightFutureOptionMarketDataLookup lookup,
+      ScenarioMarketData marketData) {
+
+    this.lookup = ArgChecker.notNull(lookup, "lookup");
+    this.marketData = ArgChecker.notNull(marketData, "marketData");
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionScenarioMarketData withMarketData(ScenarioMarketData marketData) {
+    return DefaultOvernightFutureOptionScenarioMarketData.of(lookup, marketData);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public int getScenarioCount() {
+    return marketData.getScenarioCount();
+  }
+
+  @Override
+  public OvernightFutureOptionMarketData scenario(int scenarioIndex) {
+    return lookup.marketDataView(marketData.scenario(scenarioIndex));
+  }
+
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionScenarioMarketData}.
+   */
+  private static final TypedMetaBean<DefaultOvernightFutureOptionScenarioMarketData> META_BEAN =
+      LightMetaBean.of(
+          DefaultOvernightFutureOptionScenarioMarketData.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "lookup",
+              "marketData"},
+          new Object[0]);
+
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionScenarioMarketData}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<DefaultOvernightFutureOptionScenarioMarketData> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public TypedMetaBean<DefaultOvernightFutureOptionScenarioMarketData> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the lookup.
+   * @return the value of the property, not null
+   */
+  @Override
+  public OvernightFutureOptionMarketDataLookup getLookup() {
+    return lookup;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the market data.
+   * @return the value of the property, not null
+   */
+  @Override
+  public ScenarioMarketData getMarketData() {
+    return marketData;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      DefaultOvernightFutureOptionScenarioMarketData other = (DefaultOvernightFutureOptionScenarioMarketData) obj;
+      return JodaBeanUtils.equal(lookup, other.lookup) &&
+          JodaBeanUtils.equal(marketData, other.marketData);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = getClass().hashCode();
+    hash = hash * 31 + JodaBeanUtils.hashCode(lookup);
+    hash = hash * 31 + JodaBeanUtils.hashCode(marketData);
+    return hash;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder buf = new StringBuilder(96);
+    buf.append("DefaultOvernightFutureOptionScenarioMarketData{");
+    buf.append("lookup").append('=').append(JodaBeanUtils.toString(lookup)).append(',').append(' ');
+    buf.append("marketData").append('=').append(JodaBeanUtils.toString(marketData));
+    buf.append('}');
+    return buf.toString();
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u}(j6  (c7e09a8d56cb80ee4db07a38692191da9746693bj
7  emodules/measure/src/main/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketData.javaj7  addedj7  KDj7  K j7  KDj7  https://github.com/OpenGamma/Strata/blob/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketData.javaj7  https://github.com/OpenGamma/Strata/raw/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketData.javaj7  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketData.java?ref=2850298d369800c6995814ad79b5ced3d614eae3j7  X[  @@ -0,0 +1,68 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.time.LocalDate;
+
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.MarketDataNotFoundException;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+
+/**
+ * Market data for Overnight future options.
+ * <p>
+ * This interface exposes the market data necessary for pricing an Overnight future option.
+ * <p>
+ * Implementations of this interface must be immutable.
+ */
+public interface OvernightFutureOptionMarketData {
+
+  /**
+   * Gets the valuation date.
+   *
+   * @return the valuation date
+   */
+  public default LocalDate getValuationDate() {
+    return getMarketData().getValuationDate();
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the lookup that provides access to Overnight future option volatilities.
+   *
+   * @return the Overnight future option lookup
+   */
+  public abstract OvernightFutureOptionMarketDataLookup getLookup();
+
+  /**
+   * Gets the market data.
+   *
+   * @return the market data
+   */
+  public abstract MarketData getMarketData();
+
+  /**
+   * Returns a copy of this instance with the specified market data.
+   *
+   * @param marketData  the market data to use
+   * @return a market view based on the specified data
+   */
+  public abstract OvernightFutureOptionMarketData withMarketData(MarketData marketData);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the volatilities for the specified Overnight index.
+   * <p>
+   * If the index is not found, an exception is thrown.
+   *
+   * @param index  the Overnight index
+   * @return the volatilities for the index
+   * @throws MarketDataNotFoundException if the index is not found
+   */
+  public abstract OvernightFutureOptionVolatilities volatilities(OvernightIndex index);
+
+}u}(j6  (c8c4a8690ebb63bef3944340854d9550539a1319j
7  kmodules/measure/src/main/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketDataLookup.javaj7  addedj7  Kj7  K j7  Kj7  https://github.com/OpenGamma/Strata/blob/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookup.javaj7  https://github.com/OpenGamma/Strata/raw/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookup.javaj7  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookup.java?ref=2850298d369800c6995814ad79b5ced3d614eae3j7  X   @@ -0,0 +1,166 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.util.Map;
+import java.util.Set;
+
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.calc.CalculationRules;
+import com.opengamma.strata.calc.runner.CalculationParameter;
+import com.opengamma.strata.calc.runner.CalculationParameters;
+import com.opengamma.strata.calc.runner.FunctionRequirements;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.MarketDataId;
+import com.opengamma.strata.data.MarketDataNotFoundException;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilitiesId;
+
+/**
+ * The lookup that provides access to Overnight future option volatilities in market data.
+ * <p>
+ * The Overnight future option market lookup provides access to the volatilities used to price Overnight future options.
+ * <p>
+ * The lookup implements {@link CalculationParameter} and is used by passing it
+ * as an argument to {@link CalculationRules}. It provides the link between the
+ * data that the function needs and the data that is available in {@link ScenarioMarketData}.
+ * <p>
+ * Implementations of this interface must be immutable.
+ */
+public interface OvernightFutureOptionMarketDataLookup extends CalculationParameter {
+
+  /**
+   * Obtains an instance based on a single mapping from index to volatility identifier.
+   * <p>
+   * The lookup provides volatilities for the specified index.
+   *
+   * @param index  the Overnight index
+   * @param volatilityId  the volatility identifier
+   * @return the Overnight future option lookup containing the specified mapping
+   */
+  public static OvernightFutureOptionMarketDataLookup of(OvernightIndex index, OvernightFutureOptionVolatilitiesId volatilityId) {
+    return DefaultOvernightFutureOptionMarketDataLookup.of(ImmutableMap.of(index, volatilityId));
+  }
+
+  /**
+   * Obtains an instance based on a map of volatility identifiers.
+   * <p>
+   * The map is used to specify the appropriate volatilities to use for each index.
+   *
+   * @param volatilityIds  the volatility identifiers, keyed by index
+   * @return the Overnight future option lookup containing the specified volatilities
+   */
+  public static OvernightFutureOptionMarketDataLookup of(Map<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds) {
+    return DefaultOvernightFutureOptionMarketDataLookup.of(volatilityIds);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the type that the lookup will be queried by.
+   * <p>
+   * This returns {@code OvernightFutureOptionMarketLookup.class}.
+   * When querying parameters using {@link CalculationParameters#findParameter(Class)},
+   * {@code OvernightFutureOptionMarketLookup.class} must be passed in to find the instance.
+   *
+   * @return the type of the parameter implementation
+   */
+  @Override
+  public default Class<? extends CalculationParameter> queryType() {
+    return OvernightFutureOptionMarketDataLookup.class;
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the set of indices that volatilities are provided for.
+   *
+   * @return the set of indices
+   */
+  public abstract ImmutableSet<OvernightIndex> getVolatilityIndices();
+
+  /**
+   * Gets the identifiers used to obtain the volatilities for the specified currency.
+   * <p>
+   * The result will typically refer to a surface or cube.
+   * If the index is not found, an exception is thrown.
+   *
+   * @param index  the index for which identifiers are required
+   * @return the set of market data identifiers 
+   * @throws IllegalArgumentException if the index is not found
+   */
+  public abstract ImmutableSet<MarketDataId<?>> getVolatilityIds(OvernightIndex index);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Creates market data requirements for the specified indices.
+   *
+   * @param indices  the indices, for which volatilities are required
+   * @return the requirements
+   */
+  public default FunctionRequirements requirements(OvernightIndex... indices) {
+    return requirements(ImmutableSet.copyOf(indices));
+  }
+
+  /**
+   * Creates market data requirements for the specified indices.
+   *
+   * @param indices  the indices, for which volatilities are required
+   * @return the requirements
+   */
+  public abstract FunctionRequirements requirements(Set<OvernightIndex> indices);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains a filtered view of the complete set of market data.
+   * <p>
+   * This method returns an instance that binds the lookup to the market data.
+   * The input is {@link ScenarioMarketData}, which contains market data for all scenarios.
+   *
+   * @param marketData  the complete set of market data for all scenarios
+   * @return the filtered market data
+   */
+  public default OvernightFutureOptionScenarioMarketData marketDataView(ScenarioMarketData marketData) {
+    return DefaultOvernightFutureOptionScenarioMarketData.of(this, marketData);
+  }
+
+  /**
+   * Obtains a filtered view of the complete set of market data.
+   * <p>
+   * This method returns an instance that binds the lookup to the market data.
+   * The input is {@link MarketData}, which contains market data for one scenario.
+   *
+   * @param marketData  the complete set of market data for one scenario
+   * @return the filtered market data
+   */
+  public default OvernightFutureOptionMarketData marketDataView(MarketData marketData) {
+    return DefaultOvernightFutureOptionMarketData.of(this, marketData);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains Overnight future option volatilities based on the specified market data.
+   * <p>
+   * This provides {@link OvernightFutureOptionVolatilities} suitable for pricing an Overnight future option.
+   * Although this method can be used directly, it is typically invoked indirectly
+   * via {@link OvernightFutureOptionMarketData}:
+   * <pre>
+   *  // bind the baseData to this lookup
+   *  OvernightFutureOptionMarketData view = lookup.marketDataView(baseData);
+   *
+   *  // pass around OvernightFutureOptionMarketData within the function to use in pricing
+   *  OvernightFutureOptionVolatilities vols = view.volatilities(index);
+   * </pre>
+   *
+   * @param index  the Overnight index
+   * @param marketData  the complete set of market data for one scenario
+   * @return the volatilities
+   * @throws MarketDataNotFoundException if the index is not found
+   */
+  public abstract OvernightFutureOptionVolatilities volatilities(OvernightIndex index, MarketData marketData);
+
+}u}(j6  (f0ac64ac046bd56a40972c3c9eaae3c705c696aaj
7  mmodules/measure/src/main/java/com/opengamma/strata/measure/index/OvernightFutureOptionScenarioMarketData.javaj7  addedj7  K<j7  K j7  K<j7  https://github.com/OpenGamma/Strata/blob/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionScenarioMarketData.javaj7  https://github.com/OpenGamma/Strata/raw/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionScenarioMarketData.javaj7  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionScenarioMarketData.java?ref=2850298d369800c6995814ad79b5ced3d614eae3j7  Xj  @@ -0,0 +1,60 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+
+/**
+ * Market data for Overnight future options, used for calculation across multiple scenarios.
+ * <p>
+ * This interface exposes the market data necessary for pricing an Overnight future option.
+ * <p>
+ * Implementations of this interface must be immutable.
+ */
+public interface OvernightFutureOptionScenarioMarketData {
+
+  /**
+   * Gets the lookup that provides access to Overnight future option volatilities.
+   *
+   * @return the Overnight future option lookup
+   */
+  public abstract OvernightFutureOptionMarketDataLookup getLookup();
+
+  /**
+   * Gets the market data.
+   *
+   * @return the market data
+   */
+  public abstract ScenarioMarketData getMarketData();
+
+  /**
+   * Returns a copy of this instance with the specified market data.
+   *
+   * @param marketData  the market data to use
+   * @return a market view based on the specified data
+   */
+  public abstract OvernightFutureOptionScenarioMarketData withMarketData(ScenarioMarketData marketData);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the number of scenarios.
+   *
+   * @return the number of scenarios
+   */
+  public abstract int getScenarioCount();
+
+  /**
+   * Returns market data for a single scenario.
+   * <p>
+   * This returns a view of the market data for the specified scenario.
+   *
+   * @param scenarioIndex  the scenario index
+   * @return the market data for the specified scenario
+   * @throws IndexOutOfBoundsException if the scenario index is invalid
+   */
+  public abstract OvernightFutureOptionMarketData scenario(int scenarioIndex);
+  
+}u}(j6  (8358ee14a52fe74289f6d932f9a57c5c5b68778aj
7  omodules/measure/src/test/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketDataLookupTest.javaj7  addedj7  K|j7  K j7  K|j7  https://github.com/OpenGamma/Strata/blob/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.javaj7  https://github.com/OpenGamma/Strata/raw/2850298d369800c6995814ad79b5ced3d614eae3/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.javaj7  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.java?ref=2850298d369800c6995814ad79b5ced3d614eae3j7  X  @@ -0,0 +1,124 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
+import static com.opengamma.strata.basics.index.OvernightIndices.USD_FED_FUND;
+import static com.opengamma.strata.basics.index.OvernightIndices.USD_SOFR;
+import static com.opengamma.strata.collect.TestHelper.assertSerialization;
+import static com.opengamma.strata.collect.TestHelper.coverBeanEquals;
+import static com.opengamma.strata.collect.TestHelper.coverImmutableBean;
+import static com.opengamma.strata.collect.TestHelper.date;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+import java.time.LocalDate;
+
+import org.joda.beans.ImmutableBean;
+import org.junit.jupiter.api.Test;
+
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.calc.runner.FunctionRequirements;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+import com.opengamma.strata.measure.curve.TestMarketDataMap;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilitiesId;
+
+/**
+ * Test {@link OvernightFutureOptionMarketDataLookup}.
+ */
+public class OvernightFutureOptionMarketDataLookupTest {
+
+  private static final OvernightFutureOptionVolatilitiesId VOL_ID1 = OvernightFutureOptionVolatilitiesId.of("USD1");
+  private static final OvernightFutureOptionVolatilities MOCK_VOLS = mock(OvernightFutureOptionVolatilities.class);
+  private static final MarketData MOCK_MARKET_DATA = mock(MarketData.class);
+  private static final ScenarioMarketData MOCK_CALC_MARKET_DATA = mock(ScenarioMarketData.class);
+
+  static {
+    when(MOCK_MARKET_DATA.getValue(VOL_ID1)).thenReturn(MOCK_VOLS);
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_of_single() {
+    OvernightFutureOptionMarketDataLookup test = OvernightFutureOptionMarketDataLookup.of(USD_SOFR, VOL_ID1);
+    assertThat(test.queryType()).isEqualTo(OvernightFutureOptionMarketDataLookup.class);
+    assertThat(test.getVolatilityIndices()).containsOnly(USD_SOFR);
+    assertThat(test.getVolatilityIds(USD_SOFR)).containsOnly(VOL_ID1);
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.getVolatilityIds(GBP_SONIA));
+
+    assertThat(test.requirements(USD_SOFR)).isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThat(test.requirements(ImmutableSet.of(USD_SOFR)))
+        .isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.requirements(ImmutableSet.of(GBP_SONIA)));
+  }
+
+  @Test
+  public void test_of_map() {
+    ImmutableMap<OvernightIndex, OvernightFutureOptionVolatilitiesId> ids =
+        ImmutableMap.of(USD_SOFR, VOL_ID1, USD_FED_FUND, VOL_ID1);
+    OvernightFutureOptionMarketDataLookup test = OvernightFutureOptionMarketDataLookup.of(ids);
+    assertThat(test.queryType()).isEqualTo(OvernightFutureOptionMarketDataLookup.class);
+    assertThat(test.getVolatilityIndices()).containsOnly(USD_SOFR, USD_FED_FUND);
+    assertThat(test.getVolatilityIds(USD_SOFR)).containsOnly(VOL_ID1);
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.getVolatilityIds(GBP_SONIA));
+
+    assertThat(test.requirements(USD_SOFR)).isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThat(test.requirements(ImmutableSet.of(USD_SOFR)))
+        .isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.requirements(ImmutableSet.of(GBP_SONIA)));
+
+    assertThat(test.volatilities(USD_SOFR, MOCK_MARKET_DATA)).isEqualTo(MOCK_VOLS);
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.volatilities(GBP_SONIA, MOCK_MARKET_DATA));
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_marketDataView() {
+    OvernightFutureOptionMarketDataLookup test = OvernightFutureOptionMarketDataLookup.of(USD_SOFR, VOL_ID1);
+    LocalDate valDate = date(2015, 6, 30);
+    ScenarioMarketData md = new TestMarketDataMap(valDate, ImmutableMap.of(), ImmutableMap.of());
+    OvernightFutureOptionScenarioMarketData multiScenario = test.marketDataView(md);
+    assertThat(multiScenario.getLookup()).isEqualTo(test);
+    assertThat(multiScenario.getMarketData()).isEqualTo(md);
+    assertThat(multiScenario.getScenarioCount()).isEqualTo(1);
+    OvernightFutureOptionMarketData scenario = multiScenario.scenario(0);
+    assertThat(scenario.getLookup()).isEqualTo(test);
+    assertThat(scenario.getMarketData()).isEqualTo(md.scenario(0));
+    assertThat(scenario.getValuationDate()).isEqualTo(valDate);
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void coverage() {
+    DefaultOvernightFutureOptionMarketDataLookup test =
+        DefaultOvernightFutureOptionMarketDataLookup.of(ImmutableMap.of(USD_SOFR, VOL_ID1, USD_FED_FUND, VOL_ID1));
+    coverImmutableBean(test);
+    DefaultOvernightFutureOptionMarketDataLookup test2 = DefaultOvernightFutureOptionMarketDataLookup.of(USD_SOFR, VOL_ID1);
+    coverBeanEquals(test, test2);
+
+    coverImmutableBean((ImmutableBean) test.marketDataView(MOCK_CALC_MARKET_DATA));
+    coverImmutableBean((ImmutableBean) test.marketDataView(MOCK_MARKET_DATA));
+  }
+
+  @Test
+  public void test_serialization() {
+    DefaultOvernightFutureOptionMarketDataLookup test =
+        DefaultOvernightFutureOptionMarketDataLookup.of(ImmutableMap.of(USD_SOFR, VOL_ID1, USD_FED_FUND, VOL_ID1));
+    assertSerialization(test);
+  }
+
+}
\ No newline at end of fileueu(282c47c1f82302562a5e59414178db0aa425a8ff}(sha(282c47c1f82302562a5e59414178db0aa425a8ffnode_idEC_kwDOAT6l0doAKDI4MmM0N2MxZjgyMzAyNTYyYTVlNTk0MTQxNzhkYjBhYTQyNWE4ZmYcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-06-12T02:56:51Zu	committer}(jT7  GitHubjV7  noreply@github.comjX7  2023-06-12T02:56:51ZumessageX  Bump guava from 31.1-jre to 32.0.1-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.1-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(jL7  (ca7aef5d4b375bd22ca3baa607d41715cfaa0394url`https://api.github.com/repos/OpenGamma/Strata/git/trees/ca7aef5d4b375bd22ca3baa607d41715cfaa0394ujd7  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/282c47c1f82302562a5e59414178db0aa425a8ff
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkholzCRBK7hj4Ov3rIwAAP0sIAFqqNyiev/+FEU1E8TAD8f4i
RZGlaoSM7gk0J1+uIsZBpCPxxfblbUnFB1FyqV/2VFuXmqh9POe/aGcoiUPBOquo
aHKhryS2VChNSz5giZRH7QrVRUfE3S8GIr1rVrF3nFrTQHhrUSYRebhAxfFmm9Mc
rqs7zBvGwkmCcFW7kgSbR0wKRN4MiS9Rn4LEsXb6pKlSReMJSPdof1D5uUYzxE7/
qhf7tg8QHjwPRc6SHfOiQHGdTsWthEtX2FyEgBZ2KGiPZS8uS+V19SUOHfRDcKDK
kql1jqkkZIiD1K6ZCmrP1sYoM4V75sLWyinb7CdpRKXnc4CRDNbud2JgJxtIvfE=
=yMws
-----END PGP SIGNATURE-----
payloadXy  tree ca7aef5d4b375bd22ca3baa607d41715cfaa0394
parent 35ee2b76b1d5da41774e5039bd03e51366dc4a47
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1686538611 +0000
committer GitHub <noreply@github.com> 1686538611 +0000

Bump guava from 31.1-jre to 32.0.1-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.1-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>uujd7  ^https://api.github.com/repos/OpenGamma/Strata/commits/282c47c1f82302562a5e59414178db0aa425a8ffhtml_urlShttps://github.com/OpenGamma/Strata/commit/282c47c1f82302562a5e59414178db0aa425a8ffcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/282c47c1f82302562a5e59414178db0aa425a8ff/commentsjR7  }(logindependabot[bot]idJZjN7  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jd7  0https://api.github.com/users/dependabot%5Bbot%5Djr7  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujZ7  }(jw7  web-flowjy7  J/jN7  MDQ6VXNlcjE5ODY0NDQ3j{7  4https://avatars.githubusercontent.com/u/19864447?v=4j}7  h3jd7  %https://api.github.com/users/web-flowjr7  https://github.com/web-flowj7  /https://api.github.com/users/web-flow/followersj7  <https://api.github.com/users/web-flow/following{/other_user}j7  5https://api.github.com/users/web-flow/gists{/gist_id}j7  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j7  3https://api.github.com/users/web-flow/subscriptionsj7  *https://api.github.com/users/web-flow/orgsj7  +https://api.github.com/users/web-flow/reposj7  6https://api.github.com/users/web-flow/events{/privacy}j7  5https://api.github.com/users/web-flow/received_eventsj7  Userj7  uparents]}(jL7  (35ee2b76b1d5da41774e5039bd03e51366dc4a47jd7  ^https://api.github.com/repos/OpenGamma/Strata/commits/35ee2b76b1d5da41774e5039bd03e51366dc4a47jr7  Shttps://github.com/OpenGamma/Strata/commit/35ee2b76b1d5da41774e5039bd03e51366dc4a47uastats}(totalK	additionsK	deletionsKufiles]}(jL7  (338c6dbb7d9cf14f7a3e4136782e837bf475864bfilenamemodules/pom.xmlstatusmodifiedj7  Kj7  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/282c47c1f82302562a5e59414178db0aa425a8ff/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/282c47c1f82302562a5e59414178db0aa425a8ff/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=282c47c1f82302562a5e59414178db0aa425a8ffpatchXl  @@ -765,7 +765,7 @@
     <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
-    <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
+    <guava.version>32.0.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>uau(98c7168705dc8d4967926e9a3133694c72f764bc}(sha(98c7168705dc8d4967926e9a3133694c72f764bcnode_idEC_kwDOAT6l0doAKDk4YzcxNjg3MDVkYzhkNDk2NzkyNmU5YTMxMzM2OTRjNzJmNzY0YmMcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-05-29T02:57:34Zu	committer}(j7  GitHubj7  noreply@github.comj7  2023-05-29T02:57:34ZumessageX  Bump joda-beans from 2.8.3 to 2.9.1

Bumps joda-beans from 2.8.3 to 2.9.1.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j7  (e62a44fa5cdc9ec167c2364a87699352572f4f17url`https://api.github.com/repos/OpenGamma/Strata/git/trees/e62a44fa5cdc9ec167c2364a87699352572f4f17uj7  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/98c7168705dc8d4967926e9a3133694c72f764bc
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkdBSeCRBK7hj4Ov3rIwAAddYIAIN+QjalM6VicH1/KyYUa6hH
Z77dEm+dmTGc57jcAX4qV1w4w7C0E5m33SugltrhsYm6W9stvJh4OxpfX4E+5xRa
gnNg1TQFb0flcDnqhhLpD+lfZ0usBWGeqRQMuRzvz2Q4S57slcemPd+XP0JE7bgH
WmeKe9d6L82WgxaP2FKtCeW1I0q0gHa0rYStZvdEFyNCGGWZWDov/EARsEH3JYkZ
1fVJ2iiFOeM7YNrR2mv/ihSVkUPoWJ5WWMEUrot/0+s2vJR9uB4GvNh5lsaS04Y4
+7NO97cHmEz1nf5ppvmSC2+tq4cf+WwpfkFosXctiC3JhEDpYPyGUo4uLbpyKRc=
=3WvN
-----END PGP SIGNATURE-----
payloadX  tree e62a44fa5cdc9ec167c2364a87699352572f4f17
parent d76f43c8898ae22b93623549d28010f2b237ff37
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1685329054 +0000
committer GitHub <noreply@github.com> 1685329054 +0000

Bump joda-beans from 2.8.3 to 2.9.1

Bumps joda-beans from 2.8.3 to 2.9.1.

---
updated-dependencies:
- dependency-name: org.joda:joda-beans
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uuj7  ^https://api.github.com/repos/OpenGamma/Strata/commits/98c7168705dc8d4967926e9a3133694c72f764bchtml_urlShttps://github.com/OpenGamma/Strata/commit/98c7168705dc8d4967926e9a3133694c72f764bccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/98c7168705dc8d4967926e9a3133694c72f764bc/commentsj7  }(logindependabot[bot]idJZj7  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j7  0https://api.github.com/users/dependabot%5Bbot%5Dj7  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj7  }(j7  web-flowj7  J/j7  MDQ6VXNlcjE5ODY0NDQ3j7  4https://avatars.githubusercontent.com/u/19864447?v=4j7  h3j7  %https://api.github.com/users/web-flowj7  https://github.com/web-flowj7  /https://api.github.com/users/web-flow/followersj7  <https://api.github.com/users/web-flow/following{/other_user}j7  5https://api.github.com/users/web-flow/gists{/gist_id}j7  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j7  3https://api.github.com/users/web-flow/subscriptionsj8  *https://api.github.com/users/web-flow/orgsj8  +https://api.github.com/users/web-flow/reposj8  6https://api.github.com/users/web-flow/events{/privacy}j8  5https://api.github.com/users/web-flow/received_eventsj	8  Userj8  uparents]}(j7  (d76f43c8898ae22b93623549d28010f2b237ff37j7  ^https://api.github.com/repos/OpenGamma/Strata/commits/d76f43c8898ae22b93623549d28010f2b237ff37j7  Shttps://github.com/OpenGamma/Strata/commit/d76f43c8898ae22b93623549d28010f2b237ff37uastats}(totalK	additionsK	deletionsKufiles]}(j7  (d76e3bb789daf21c713d97e9801f9cf1b799b282filenamemodules/pom.xmlstatusmodifiedj%8  Kj&8  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/98c7168705dc8d4967926e9a3133694c72f764bc/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/98c7168705dc8d4967926e9a3133694c72f764bc/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=98c7168705dc8d4967926e9a3133694c72f764bcpatchX  @@ -769,7 +769,7 @@
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>
-    <joda-beans.version>2.8.3</joda-beans.version>
+    <joda-beans.version>2.9.1</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
     <junit5.version>5.9.3</junit5.version>
     <mockito.version>4.9.0</mockito.version>uau(4f1520501f0a4c6b013d376f425c8ec1a72c20b6}(sha(4f1520501f0a4c6b013d376f425c8ec1a72c20b6node_idEC_kwDOAT6l0doAKDRmMTUyMDUwMWYwYTRjNmIwMTNkMzc2ZjQyNWM4ZWMxYTcyYzIwYjYcommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-06-07T08:30:26Zu	committer}(jB8  GitHubjD8  noreply@github.comjF8  2023-06-07T08:30:26ZumessageCreate OvernightFutureOption pricer (#2585)

* created wrapper pricer class for overnight future options. This wraps the equivalent product pricer and is based of the existing ibor equivalent

* checkstyle - new line at end of filetree}(j:8  (a39744ffc6cb2cf3fbc59cfd29d998117605e5d1url`https://api.github.com/repos/OpenGamma/Strata/git/trees/a39744ffc6cb2cf3fbc59cfd29d998117605e5d1ujR8  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/4f1520501f0a4c6b013d376f425c8ec1a72c20b6
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkgEAiCRBK7hj4Ov3rIwAADvUIAAKekjb1wWex0UhkUxt5Oa5l
6JRdwifUS5Mkw752o3CuivqH1HRjbKQk/InK1BXbUPWk4tl2LmpAfCkr9DsjMlm5
Aaq1JpwpLi09R0gz4s4U8ETBvvWHamuKuDzt/3cclszfTnUEiWySsOu+3UgmHCtX
bl2m/ntLCFJz/8P8/BLqI5wsY6agH7Z2vi3o8GD4EIOI9q0KV4K9wzWmjxm+7MPm
Nu6n7JAqK2EXP/agyff6sa56uWXrLiLmlVkLa3FYj+DpFbX6QT0y/7fie0e1LJd/
E+Mh0JliSmVnQQWdGgtn5XBtlIno31bborFKtA3g9iAJo8ubZsAAvb0jN8pRI2k=
=H05Q
-----END PGP SIGNATURE-----
payloadX  tree a39744ffc6cb2cf3fbc59cfd29d998117605e5d1
parent 6653262414e66a1476af69449ec42a76e33f3214
author Aaron <110403946+aaron-og@users.noreply.github.com> 1686126626 +0100
committer GitHub <noreply@github.com> 1686126626 +0100

Create OvernightFutureOption pricer (#2585)

* created wrapper pricer class for overnight future options. This wraps the equivalent product pricer and is based of the existing ibor equivalent

* checkstyle - new line at end of fileuujR8  ^https://api.github.com/repos/OpenGamma/Strata/commits/4f1520501f0a4c6b013d376f425c8ec1a72c20b6html_urlShttps://github.com/OpenGamma/Strata/commit/4f1520501f0a4c6b013d376f425c8ec1a72c20b6comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/4f1520501f0a4c6b013d376f425c8ec1a72c20b6/commentsj@8  }(loginaaron-ogidJjj<8  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3jR8  %https://api.github.com/users/aaron-ogj`8  https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminujH8  }(je8  web-flowjg8  J/j<8  MDQ6VXNlcjE5ODY0NDQ3ji8  4https://avatars.githubusercontent.com/u/19864447?v=4jk8  h3jR8  %https://api.github.com/users/web-flowj`8  https://github.com/web-flowjn8  /https://api.github.com/users/web-flow/followersjp8  <https://api.github.com/users/web-flow/following{/other_user}jr8  5https://api.github.com/users/web-flow/gists{/gist_id}jt8  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jv8  3https://api.github.com/users/web-flow/subscriptionsjx8  *https://api.github.com/users/web-flow/orgsjz8  +https://api.github.com/users/web-flow/reposj|8  6https://api.github.com/users/web-flow/events{/privacy}j~8  5https://api.github.com/users/web-flow/received_eventsj8  Userj8  uparents]}(j:8  (6653262414e66a1476af69449ec42a76e33f3214jR8  ^https://api.github.com/repos/OpenGamma/Strata/commits/6653262414e66a1476af69449ec42a76e33f3214j`8  Shttps://github.com/OpenGamma/Strata/commit/6653262414e66a1476af69449ec42a76e33f3214uastats}(totalM	additionsM	deletionsK ufiles](}(j:8  (e4c3551c18d82d92bd64c751b56ac431309377b3filenamermodules/pricer/src/main/java/com/opengamma/strata/pricer/index/NormalOvernightFutureOptionMarginedTradePricer.javastatusaddedj8  Mj8  K changesMblob_urlhttps://github.com/OpenGamma/Strata/blob/4f1520501f0a4c6b013d376f425c8ec1a72c20b6/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricer.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/4f1520501f0a4c6b013d376f425c8ec1a72c20b6/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricer.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricer.java?ref=4f1520501f0a4c6b013d376f425c8ec1a72c20b6patchX.  @@ -0,0 +1,257 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.pricer.index;
+
+import java.time.LocalDate;
+
+import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.market.sensitivity.PointSensitivities;
+import com.opengamma.strata.pricer.rate.RatesProvider;
+import com.opengamma.strata.product.TradedPrice;
+import com.opengamma.strata.product.index.OvernightFutureOption;
+import com.opengamma.strata.product.index.ResolvedOvernightFuture;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOption;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOptionTrade;
+import com.opengamma.strata.product.option.FutureOptionPremiumStyle;
+
+/**
+ * Pricer implementation for Overnight future option.
+ * <p>
+ * This provides the ability to price an Overnight future option.
+ * The option must be based on {@linkplain FutureOptionPremiumStyle#DAILY_MARGIN daily margin}.
+ *
+ * <h4>Price</h4>
+ * The price of an Overnight future option is based on the price of the underlying future, the volatility
+ * and the time to expiry. The price of the at-the-money option tends to zero as expiry approaches.
+ * <p>
+ * Strata uses <i>decimal prices</i> for Overnight future options in the trade model, pricers and market data.
+ * The decimal price is based on the decimal rate equivalent to the percentage.
+ * For example, an option price of 0.2 is related to a futures price of 99.32 that implies an
+ * interest rate of 0.68%. Strata represents the price of the future as 0.9932 and thus
+ * represents the price of the option as 0.002.
+ */
+public class NormalOvernightFutureOptionMarginedTradePricer {
+
+  /**
+   * Default implementation.
+   */
+  public static final NormalOvernightFutureOptionMarginedTradePricer DEFAULT =
+      new NormalOvernightFutureOptionMarginedTradePricer(NormalOvernightFutureOptionMarginedProductPricer.DEFAULT);
+
+  /**
+   * Underlying option pricer.
+   */
+  private final NormalOvernightFutureOptionMarginedProductPricer futureOptionPricer;
+
+  /**
+   * Creates an instance.
+   *
+   * @param futureOptionPricer  the pricer for {@link OvernightFutureOption}
+   */
+  public NormalOvernightFutureOptionMarginedTradePricer(
+      NormalOvernightFutureOptionMarginedProductPricer futureOptionPricer) {
+    this.futureOptionPricer = ArgChecker.notNull(futureOptionPricer, "futureOptionPricer");
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the price of the Overnight future option trade.
+   * <p>
+   * The price of the trade is the price on the valuation date.
+   * The price is calculated using the volatility model.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @return the price of the product, in decimal form
+   */
+  public double price(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities) {
+
+    return futureOptionPricer.price(trade.getProduct(), ratesProvider, volatilities);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value of the Overnight future option trade from the current option price.
+   * <p>
+   * The present value of the product is the value on the valuation date.
+   * The current price is specified, not calculated.
+   * <p>
+   * This method calculates based on the difference between the specified current price and the
+   * last settlement price, or the trade price if traded on the valuation date.
+   *
+   * @param trade  the trade
+   * @param valuationDate  the valuation date; required to asses if the trade or last closing price should be used
+   * @param currentOptionPrice  the current price for the option, in decimal form
+   * @param lastOptionSettlementPrice  the last settlement price used for margining for the option, in decimal form
+   * @return the present value
+   */
+  public CurrencyAmount presentValue(
+      ResolvedOvernightFutureOptionTrade trade,
+      LocalDate valuationDate,
+      double currentOptionPrice,
+      double lastOptionSettlementPrice) {
+
+    ResolvedOvernightFutureOption option = trade.getProduct();
+    double referencePrice = referencePrice(trade, valuationDate, lastOptionSettlementPrice);
+    double priceIndex = futureOptionPricer.marginIndex(option, currentOptionPrice);
+    double referenceIndex = futureOptionPricer.marginIndex(option, referencePrice);
+    double pv = (priceIndex - referenceIndex) * trade.getQuantity();
+    return CurrencyAmount.of(option.getUnderlyingFuture().getCurrency(), pv);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value of the Overnight future option trade.
+   * <p>
+   * The present value of the product is the value on the valuation date.
+   * The current price is calculated using the volatility model.
+   * <p>
+   * This method calculates based on the difference between the model price and the
+   * last settlement price, or the trade price if traded on the valuation date.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @param lastOptionSettlementPrice  the last settlement price used for margining for the option, in decimal form
+   * @return the present value
+   */
+  public CurrencyAmount presentValue(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities,
+      double lastOptionSettlementPrice) {
+
+    double price = price(trade, ratesProvider, volatilities);
+    return presentValue(trade, ratesProvider.getValuationDate(), price, lastOptionSettlementPrice);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value of the Overnight future option trade from the underlying future price.
+   * <p>
+   * The present value of the product is the value on the valuation date.
+   * The current price is calculated using the volatility model with a known future price.
+   * <p>
+   * This method calculates based on the difference between the model price and the
+   * last settlement price, or the trade price if traded on the valuation date.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @param futurePrice  the price of the underlying future, in decimal form
+   * @param lastOptionSettlementPrice  the last settlement price used for margining for the option, in decimal form
+   * @return the present value
+   */
+  public CurrencyAmount presentValue(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities,
+      double futurePrice,
+      double lastOptionSettlementPrice) {
+
+    double optionPrice = futureOptionPricer.price(trade.getProduct(), volatilities, futurePrice);
+    return presentValue(trade, ratesProvider.getValuationDate(), optionPrice, lastOptionSettlementPrice);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value sensitivity of the Overnight future option trade.
+   * <p>
+   * The present value sensitivity of the trade is the sensitivity of the present value to
+   * the underlying curves.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @return the present value curve sensitivity of the trade
+   */
+  public PointSensitivities presentValueSensitivityRates(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities) {
+
+    ResolvedOvernightFutureOption product = trade.getProduct();
+    PointSensitivities priceSensi =
+        futureOptionPricer.priceSensitivityRatesStickyStrike(product, ratesProvider, volatilities);
+    PointSensitivities marginIndexSensi = futureOptionPricer.marginIndexSensitivity(product, priceSensi);
+    return marginIndexSensi.multipliedBy(trade.getQuantity());
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Computes the present value sensitivity to the normal volatility used in the pricing.
+   * <p>
+   * The result is a single sensitivity to the volatility used.
+   * The volatility is associated with the expiry/delay/strike/future price key combination.
+   * <p>
+   * This calculates the underlying future price using the future pricer.
+   *
+   * @param futureOptionTrade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @return the price sensitivity
+   */
+  public OvernightFutureOptionSensitivity presentValueSensitivityModelParamsVolatility(
+      ResolvedOvernightFutureOptionTrade futureOptionTrade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities) {
+
+    ResolvedOvernightFuture future = futureOptionTrade.getProduct().getUnderlyingFuture();
+    double futurePrice = futureOptionPricer.getFuturePricer().price(future, ratesProvider);
+    return presentValueSensitivityModelParamsVolatility(futureOptionTrade, volatilities, futurePrice);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Computes the present value sensitivity to the normal volatility used in the pricing
+   * based on the price of the underlying future.
+   * <p>
+   * The result is a single sensitivity to the volatility used.
+   * The volatility is associated with the expiry/delay/strike/future price key combination.
+   *
+   * @param futureOptionTrade  the trade
+   * @param volatilities  the volatilities
+   * @param futurePrice  the price of the underlying future, in decimal form
+   * @return the price sensitivity
+   */
+  public OvernightFutureOptionSensitivity presentValueSensitivityModelParamsVolatility(
+      ResolvedOvernightFutureOptionTrade futureOptionTrade,
+      NormalOvernightFutureOptionVolatilities volatilities,
+      double futurePrice) {
+
+    ResolvedOvernightFutureOption product = futureOptionTrade.getProduct();
+    OvernightFutureOptionSensitivity priceSensitivity =
+        futureOptionPricer.priceSensitivityModelParamsVolatility(product, volatilities, futurePrice);
+    double factor = futureOptionPricer.marginIndex(product, 1) * futureOptionTrade.getQuantity();
+    return priceSensitivity.multipliedBy(factor);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the reference price for the trade.
+   * <p>
+   * If the valuation date equals the trade date, then the reference price is the trade price.
+   * Otherwise, the reference price is the last settlement price used for margining.
+   *
+   * @param trade  the trade
+   * @param valuationDate  the date for which the reference price should be calculated
+   * @param lastSettlementPrice  the last settlement price used for margining, in decimal form
+   * @return the reference price, in decimal form
+   */
+  private double referencePrice(ResolvedOvernightFutureOptionTrade trade, LocalDate valuationDate, double lastSettlementPrice) {
+    ArgChecker.notNull(valuationDate, "valuationDate");
+    return trade.getTradedPrice()
+        .filter(tp -> tp.getTradeDate().equals(valuationDate))
+        .map(TradedPrice::getPrice)
+        .orElse(lastSettlementPrice);
+  }
+
+}u}(j:8  (5507595b3f36274fd0428306aec083a41ef48c14j8  vmodules/pricer/src/test/java/com/opengamma/strata/pricer/index/NormalOvernightFutureOptionMarginedTradePricerTest.javaj8  addedj8  Kj8  K j8  Kj8  https://github.com/OpenGamma/Strata/blob/4f1520501f0a4c6b013d376f425c8ec1a72c20b6/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.javaj8  https://github.com/OpenGamma/Strata/raw/4f1520501f0a4c6b013d376f425c8ec1a72c20b6/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.java      j8  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.java?ref=4f1520501f0a4c6b013d376f425c8ec1a72c20b6j8  X3&  @@ -0,0 +1,190 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.pricer.index;
+
+import static com.opengamma.strata.basics.date.DayCounts.ACT_365F;
+import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
+import static com.opengamma.strata.collect.TestHelper.date;
+import static com.opengamma.strata.market.curve.interpolator.CurveInterpolators.LINEAR;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.data.Offset.offset;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+import java.time.LocalDate;
+import java.time.LocalTime;
+import java.time.ZoneId;
+
+import org.junit.jupiter.api.Test;
+
+import com.opengamma.strata.basics.ReferenceData;
+import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.basics.index.OvernightIndexObservation;
+import com.opengamma.strata.collect.array.DoubleArray;
+import com.opengamma.strata.market.model.MoneynessType;
+import com.opengamma.strata.market.sensitivity.PointSensitivities;
+import com.opengamma.strata.market.surface.InterpolatedNodalSurface;
+import com.opengamma.strata.market.surface.Surfaces;
+import com.opengamma.strata.market.surface.interpolator.GridSurfaceInterpolator;
+import com.opengamma.strata.market.surface.interpolator.SurfaceInterpolator;
+import com.opengamma.strata.pricer.rate.OvernightIndexRates;
+import com.opengamma.strata.pricer.rate.OvernightRateSensitivity;
+import com.opengamma.strata.pricer.rate.SimpleRatesProvider;
+import com.opengamma.strata.product.TradedPrice;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOption;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOptionTrade;
+
+/**
+ * Tests {@link NormalOvernightFutureOptionMarginedTradePricer}
+ */
+class NormalOvernightFutureOptionMarginedTradePricerTest {
+
+  private static final ReferenceData REF_DATA = ReferenceData.standard();
+  private static final SurfaceInterpolator INTERPOLATOR_2D = GridSurfaceInterpolator.of(LINEAR, LINEAR);
+  private static final DoubleArray TIMES =
+      DoubleArray.of(0.25, 0.25, 0.25, 0.25, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 1.0, 1.0);
+  private static final DoubleArray MONEYNESS_PRICES =
+      DoubleArray.of(-0.02, -0.01, 0.0, 0.01, -0.02, -0.01, 0.0, 0.01, -0.02, -0.01, 0.0, 0.01);
+  private static final DoubleArray NORMAL_VOL =
+      DoubleArray.of(0.01, 0.011, 0.012, 0.010, 0.011, 0.012, 0.013, 0.012, 0.012, 0.013, 0.014, 0.014);
+  private static final InterpolatedNodalSurface PARAMETERS_PRICE = InterpolatedNodalSurface.of(
+      Surfaces.normalVolatilityByExpirySimpleMoneyness("Test", ACT_365F, MoneynessType.PRICE),
+      TIMES,
+      MONEYNESS_PRICES,
+      NORMAL_VOL,
+      INTERPOLATOR_2D);
+
+  private static final LocalDate VAL_DATE = date(2015, 2, 17);
+  private static final LocalTime VAL_TIME = LocalTime.of(13, 45);
+  private static final ZoneId LONDON_ZONE = ZoneId.of("Europe/London");
+
+  private static final NormalOvernightFutureOptionVolatilities VOL_SIMPLE_MONEY_PRICE =
+      NormalOvernightFutureOptionExpirySimpleMoneynessVolatilities.of(
+          GBP_SONIA, VAL_DATE.atTime(VAL_TIME).atZone(LONDON_ZONE), PARAMETERS_PRICE);
+
+  private static final ResolvedOvernightFutureOption OPTION = OvernightFutureDummyData.OVERNIGHT_FUTURE_OPTION_2.resolve(REF_DATA);
+  private static final LocalDate TRADE_DATE = date(2015, 2, 16);
+  private static final long OPTION_QUANTITY = 12345;
+  private static final double TRADE_PRICE = 0.0100;
+  private static final ResolvedOvernightFutureOptionTrade FUTURE_OPTION_TRADE_TD = ResolvedOvernightFutureOptionTrade.builder()
+      .product(OPTION)
+      .quantity(OPTION_QUANTITY)
+      .tradedPrice(TradedPrice.of(VAL_DATE, TRADE_PRICE))
+      .build();
+  private static final ResolvedOvernightFutureOptionTrade FUTURE_OPTION_TRADE = ResolvedOvernightFutureOptionTrade.builder()
+      .product(OPTION)
+      .quantity(OPTION_QUANTITY)
+      .tradedPrice(TradedPrice.of(TRADE_DATE, TRADE_PRICE))
+      .build();
+
+  private static final double RATE = 0.015;
+
+  private static final DiscountingOvernightFutureProductPricer FUTURE_PRICER = DiscountingOvernightFutureProductPricer.DEFAULT;
+  private static final NormalOvernightFutureOptionMarginedProductPricer OPTION_PRODUCT_PRICER =
+      new NormalOvernightFutureOptionMarginedProductPricer(FUTURE_PRICER);
+  private static final NormalOvernightFutureOptionMarginedTradePricer OPTION_TRADE_PRICER =
+      new NormalOvernightFutureOptionMarginedTradePricer(OPTION_PRODUCT_PRICER);
+
+  private static final double TOLERANCE_PV = 1.0E-2;
+  private static final double TOLERANCE_PV_DELTA = 1.0E-1;
+
+  // ----------     present value     ----------
+
+  @Test
+  public void presentValue_from_option_price_trade_date() {
+    double optionPrice = 0.0125;
+    double lastClosingPrice = 0.0150;
+    CurrencyAmount pvComputed = OPTION_TRADE_PRICER
+        .presentValue(FUTURE_OPTION_TRADE_TD, VAL_DATE, optionPrice, lastClosingPrice);
+    double pvExpected = (OPTION_PRODUCT_PRICER.marginIndex(OPTION, optionPrice) -
+        OPTION_PRODUCT_PRICER.marginIndex(OPTION, TRADE_PRICE)) * OPTION_QUANTITY;
+    assertThat(pvComputed.getAmount()).isCloseTo(pvExpected, offset(TOLERANCE_PV));
+  }
+
+  @Test
+  public void presentValue_from_future_price() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider(VAL_DATE);
+    prov.setOvernightRates(mockOvernight);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+
+    double futurePrice = 0.9875;
+    double lastClosingPrice = 0.0150;
+    CurrencyAmount pvComputed = OPTION_TRADE_PRICER
+        .presentValue(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE, futurePrice, lastClosingPrice);
+    double optionPrice =
+        OPTION_PRODUCT_PRICER.price(OPTION, VOL_SIMPLE_MONEY_PRICE, futurePrice);
+    double pvExpected = (OPTION_PRODUCT_PRICER.marginIndex(OPTION, optionPrice) -
+        OPTION_PRODUCT_PRICER.marginIndex(OPTION, lastClosingPrice)) * OPTION_QUANTITY;
+    assertThat(pvComputed.getAmount()).isCloseTo(pvExpected, offset(TOLERANCE_PV));
+  }
+
+  @Test
+  public void presentValue_from_env() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider(VAL_DATE);
+    prov.setOvernightRates(mockOvernight);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+    when(mockOvernight.getValuationDate()).thenReturn(VAL_DATE);
+
+    double lastClosingPrice = 0.0150;
+    CurrencyAmount pvComputed = OPTION_TRADE_PRICER
+        .presentValue(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE, lastClosingPrice);
+    double optionPrice =
+        OPTION_PRODUCT_PRICER.price(OPTION, prov, VOL_SIMPLE_MONEY_PRICE);
+    double pvExpected = (OPTION_PRODUCT_PRICER.marginIndex(OPTION, optionPrice) -
+        OPTION_PRODUCT_PRICER.marginIndex(OPTION, lastClosingPrice)) * OPTION_QUANTITY;
+    assertThat(pvComputed.getAmount()).isCloseTo(pvExpected, offset(TOLERANCE_PV));
+  }
+
+  // ----------     present value sensitivity     ----------
+
+  @Test
+  public void presentValueSensitivity_from_env() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider();
+    prov.setOvernightRates(mockOvernight);
+    OvernightIndexObservation obs = OvernightIndexObservation.of(
+        GBP_SONIA,
+        LocalDate.of(2015, 6, 17),
+        REF_DATA);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+    when(mockOvernight.getValuationDate()).thenReturn(VAL_DATE);
+    when(mockOvernight.periodRatePointSensitivity(any(), any()))
+        .thenReturn(OvernightRateSensitivity.ofPeriod(obs, LocalDate.of(2015, 9, 16), 1d));
+    //PointSensitivityBuilder Sensitivity = rates.periodRatePointSensitivity(obs, endDate);
+
+    PointSensitivities psProduct =
+        OPTION_PRODUCT_PRICER.priceSensitivityRatesStickyStrike(OPTION, prov, VOL_SIMPLE_MONEY_PRICE);
+    PointSensitivities psExpected = psProduct
+        .multipliedBy(OPTION_PRODUCT_PRICER.marginIndex(OPTION, 1) * OPTION_QUANTITY);
+    PointSensitivities psComputed = OPTION_TRADE_PRICER
+        .presentValueSensitivityRates(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE);
+    assertThat(psComputed.equalWithTolerance(psExpected, TOLERANCE_PV_DELTA)).isTrue();
+  }
+
+  // ----------     present value normal vol sensitivity     ----------
+
+  @Test
+  public void presentvalue_normalVolSensitivity_from_env() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider();
+    prov.setOvernightRates(mockOvernight);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+    when(mockOvernight.getValuationDate()).thenReturn(VAL_DATE);
+
+    OvernightFutureOptionSensitivity psProduct =
+        OPTION_PRODUCT_PRICER.priceSensitivityModelParamsVolatility(OPTION, prov, VOL_SIMPLE_MONEY_PRICE);
+    OvernightFutureOptionSensitivity psExpected = psProduct.withSensitivity(
+        psProduct.getSensitivity() * OPTION_PRODUCT_PRICER.marginIndex(OPTION, 1) * OPTION_QUANTITY);
+    OvernightFutureOptionSensitivity psComputed = OPTION_TRADE_PRICER
+        .presentValueSensitivityModelParamsVolatility(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE);
+    assertThat(psExpected.compareKey(psComputed) == 0).isTrue();
+    assertThat(psComputed.getSensitivity()).isCloseTo(psExpected.getSensitivity(), offset(TOLERANCE_PV_DELTA));
+  }
+
+}ueu(cb4975914b77b1146bd022a0885d9235228a9db5}(sha(cb4975914b77b1146bd022a0885d9235228a9db5node_idEC_kwDOAT6l0doAKGNiNDk3NTkxNGI3N2IxMTQ2YmQwMjJhMDg4NWQ5MjM1MjI4YTlkYjUcommit}(author}(nameAlexis Skitiniemailalexis@opengamma.comdate2023-05-12T11:03:38Zu	committer}(j8  GitHubj8  noreply@github.comj8  2023-05-12T11:03:38ZumessagekAdd Nasdaq commodity exchange id (#2572)

Co-authored-by: Alexis Skitini <skitini@users.noreply.github.com>tree}(j8  (94bc45052525b36c8ff90eb1dcf7d48f73146735url`https://api.github.com/repos/OpenGamma/Strata/git/trees/94bc45052525b36c8ff90eb1dcf7d48f73146735uj8  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/cb4975914b77b1146bd022a0885d9235228a9db5
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkXh0KCRBK7hj4Ov3rIwAAwEcIAH30hr0YVOi0qz1wF+XUlgI3
H2GH7hvYOwJaKbauTW8jwJEGrYsd37euTnmSHRZ0qXI/UOSqClQ0corH3RiaxJPB
xAh5EXpgtMxD6n+3h+jfACe1kRU7lqG9mNRle0Fy2qqPXGV/UxzWRx+S/S7Te0bs
sjIPlzLWUVXQbAVWNyehZojrUYxrOMG8HYt/2JHWT3/OL1arxsflR+HeTUAmVQ4g
PdCV3KZgmTeS9BzW0tQROlMCLPR1buaKgLOU2GEYLk3t+XO/UuYGHC3TNyDDu02S
k6ymh60J4dBpeudtVPqDkbATUoNzUhCgfLunqKiiFJSpOQ+5TxPS+N3PlSA95Jg=
=TTet
-----END PGP SIGNATURE-----
payloadX?  tree 94bc45052525b36c8ff90eb1dcf7d48f73146735
parent 71334f960650c826694b8c193b53eecf9e222551
author Alexis Skitini <alexis@opengamma.com> 1683889418 +0100
committer GitHub <noreply@github.com> 1683889418 +0100

Add Nasdaq commodity exchange id (#2572)

Co-authored-by: Alexis Skitini <skitini@users.noreply.github.com>uuj8  ^https://api.github.com/repos/OpenGamma/Strata/commits/cb4975914b77b1146bd022a0885d9235228a9db5html_urlShttps://github.com/OpenGamma/Strata/commit/cb4975914b77b1146bd022a0885d9235228a9db5comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/cb4975914b77b1146bd022a0885d9235228a9db5/commentsj8  }(loginskitiniidJAj8  MDQ6VXNlcjI1OTkzMjgx
avatar_url4https://avatars.githubusercontent.com/u/25993281?v=4gravatar_idh3j8  $https://api.github.com/users/skitinij8  https://github.com/skitini
followers_url.https://api.github.com/users/skitini/followers
following_url;https://api.github.com/users/skitini/following{/other_user}	gists_url4https://api.github.com/users/skitini/gists{/gist_id}starred_url;https://api.github.com/users/skitini/starred{/owner}{/repo}subscriptions_url2https://api.github.com/users/skitini/subscriptionsorganizations_url)https://api.github.com/users/skitini/orgs	repos_url*https://api.github.com/users/skitini/repos
events_url5https://api.github.com/users/skitini/events{/privacy}received_events_url4https://api.github.com/users/skitini/received_eventstypeUser
site_adminuj8  }(j8  web-flowj8  J/j8  MDQ6VXNlcjE5ODY0NDQ3j8  4https://avatars.githubusercontent.com/u/19864447?v=4j8  h3j8  %https://api.github.com/users/web-flowj8  https://github.com/web-flowj8  /https://api.github.com/users/web-flow/followersj8  <https://api.github.com/users/web-flow/following{/other_user}j8  5https://api.github.com/users/web-flow/gists{/gist_id}j8  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j8  3https://api.github.com/users/web-flow/subscriptionsj8  *https://api.github.com/users/web-flow/orgsj8  +https://api.github.com/users/web-flow/reposj8  6https://api.github.com/users/web-flow/events{/privacy}j8  5https://api.github.com/users/web-flow/received_eventsj8  Userj9  uparents]}(j8  (71334f960650c826694b8c193b53eecf9e222551j8  ^https://api.github.com/repos/OpenGamma/Strata/commits/71334f960650c826694b8c193b53eecf9e222551j8  Shttps://github.com/OpenGamma/Strata/commit/71334f960650c826694b8c193b53eecf9e222551uastats}(totalK	additionsK	deletionsK ufiles]}(j8  (85c56b1df4e2355838b7fd41a1e59622f00e7feafilenameRmodules/product/src/main/java/com/opengamma/strata/product/common/ExchangeIds.javastatusmodifiedj9  Kj9  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/cb4975914b77b1146bd022a0885d9235228a9db5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FExchangeIds.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/cb4975914b77b1146bd022a0885d9235228a9db5/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FExchangeIds.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FExchangeIds.java?ref=cb4975914b77b1146bd022a0885d9235228a9db5patchXy  @@ -147,6 +147,9 @@ public final class ExchangeIds {
   /** Zhengzhou Commodity Exchange. */
   public static final ExchangeId XZCE = ExchangeId.of("XZCE");
 
+  /** Nasdaq Commodity Exchange. */
+  public static final ExchangeId NORX = ExchangeId.of("NORX");
+
   //-------------------------------------------------------------------------
   /**
    * Restricted constructor.uau(2e25f251378263880217d18a39e0fccdd3b672ec}(sha(2e25f251378263880217d18a39e0fccdd3b672ecnode_idEC_kwDOAT6l0doAKDJlMjVmMjUxMzc4MjYzODgwMjE3ZDE4YTM5ZTBmY2NkZDNiNjcyZWMcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-07T17:32:41Zu	committer}(j89  Akshai Shahj:9  #akshaishah@users.noreply.github.comj<9  2023-03-07T17:32:41ZumessageAddressing commentstree}(j09  (ab073bdcbb9b220be64c9f426fd3d773726d9241url`https://api.github.com/repos/OpenGamma/Strata/git/trees/ab073bdcbb9b220be64c9f426fd3d773726d9241ujH9  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/2e25f251378263880217d18a39e0fccdd3b672ec
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujH9  ^https://api.github.com/repos/OpenGamma/Strata/commits/2e25f251378263880217d18a39e0fccdd3b672echtml_urlShttps://github.com/OpenGamma/Strata/commit/2e25f251378263880217d18a39e0fccdd3b672eccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/2e25f251378263880217d18a39e0fccdd3b672ec/commentsj69  }(login
akshaishahidJd
 j29  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3jH9  'https://api.github.com/users/akshaishahjT9  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuj>9  }(jY9  
akshaishahj[9  Jd
 j29  MDQ6VXNlcjE5MDM5NzI=j]9  3https://avatars.githubusercontent.com/u/1903972?v=4j_9  h3jH9  'https://api.github.com/users/akshaishahjT9  https://github.com/akshaishahjb9  1https://api.github.com/users/akshaishah/followersjd9  >https://api.github.com/users/akshaishah/following{/other_user}jf9  7https://api.github.com/users/akshaishah/gists{/gist_id}jh9  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}jj9  5https://api.github.com/users/akshaishah/subscriptionsjl9  ,https://api.github.com/users/akshaishah/orgsjn9  -https://api.github.com/users/akshaishah/reposjp9  8https://api.github.com/users/akshaishah/events{/privacy}jr9  7https://api.github.com/users/akshaishah/received_eventsjt9  Userjv9  uparents]}(j09  (c68fa28799d06eabc2299cf3270bf16ee07eeeaejH9  ^https://api.github.com/repos/OpenGamma/Strata/commits/c68fa28799d06eabc2299cf3270bf16ee07eeeaejT9  Shttps://github.com/OpenGamma/Strata/commit/c68fa28799d06eabc2299cf3270bf16ee07eeeaeuastats}(totalK@	additionsK1	deletionsKufiles](}(j09  (80928cb43bca4a07dc9ce17552f95769dbf4b9a1filename[modules/collect/src/main/java/com/opengamma/strata/collect/result/FailureAttributeKeys.javastatusmodifiedj9  Kj9  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.java?ref=2e25f251378263880217d18a39e0fccdd3b672ecpatchXG  @@ -85,6 +85,11 @@ public final class FailureAttributeKeys {
    */
   public static final String ROOT_CAUSE = "rootCause";
 
+  /**
+   * The attribute for specifying the short message.
+   */
+  public static final String SHORT_MESSAGE = "shortMessage";
+
   // restricted constructor
   private FailureAttributeKeys() {
   }u}(j09  (56e0d36ebc39f8d3d471d6216f96f9dace9ebef8j9  Pmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javaj9  modifiedj9  Kj9  Kj9  Kj9  https://github.com/OpenGamma/Strata/blob/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj9  https://github.com/OpenGamma/Strata/raw/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj9  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=2e25f251378263880217d18a39e0fccdd3b672ecj9  X  @@ -237,14 +237,14 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
       if (day == 0) {
         throw new ParseFailureException(
             FailureReason.FIELD_MISSING,
-            "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option.",
+            "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option",
             EXPIRY_DAY_FIELD,
             SETTLEMENT_TYPE_FIELD);
       }
       if (week != 0) {
         throw new ParseFailureException(
             FailureReason.FIELD_MISSING,
-            "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option.",
+            "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option",
             EXPIRY_WEEK_FIELD,
             SETTLEMENT_TYPE_FIELD);
       }
@@ -254,7 +254,7 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
         if (!optionTypeOpt.isPresent()) {
           throw new ParseFailureException(
               FailureReason.FIELD_MISSING,
-              "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option.",
+              "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option",
               EXERCISE_STYLE_FIELD,
               SETTLEMENT_TYPE_FIELD);
         }
@@ -736,9 +736,4 @@ public static String formattedPercentage(double value) {
   public static String formattedDouble(double value) {
     return Decimal.of(value).toString();
   }
-
-  static ParseFailureException missingFieldException(String field) {
-    return new ParseFailureException(field, FailureReason.FIELD_MISSING, "'{field}' is empty", field);
-  }
-
 }u}(j09  (04dedd825ff45b640e98c15683ddfbcb37177e42j9  Ymodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvInfoResolver.javaj9  modifiedj9  Kj9  Kj9  Kj9  https://github.com/OpenGamma/Strata/blob/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.javaj9  https://github.com/OpenGamma/Strata/raw/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.javaj9  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvInfoResolver.java?ref=2e25f251378263880217d18a39e0fccdd3b672ecj9  X  @@ -21,7 +21,6 @@
 import static com.opengamma.strata.loader.csv.CsvLoaderColumns.UNDERLYING_EXPIRY_FIELD;
 import static com.opengamma.strata.loader.csv.CsvLoaderColumns.VERSION_FIELD;
 import static com.opengamma.strata.loader.csv.CsvLoaderUtils.DEFAULT_OPTION_VERSION_NUMBER;
-import static com.opengamma.strata.loader.csv.CsvLoaderUtils.missingFieldException;
 import static com.opengamma.strata.loader.csv.PositionCsvLoader.DEFAULT_SECURITY_SCHEME;
 
 import java.time.YearMonth;
@@ -31,6 +30,8 @@
 import com.opengamma.strata.basics.currency.Currency;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.collect.io.CsvRow;
+import com.opengamma.strata.collect.result.FailureReason;
+import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.tuple.DoublesPair;
 import com.opengamma.strata.collect.tuple.Pair;
 import com.opengamma.strata.loader.LoaderUtils;
@@ -336,4 +337,8 @@ public default SecurityPosition parseEtdOptionSecurityPosition(CsvRow row, Posit
     return completePosition(row, position);
   }
 
+  static ParseFailureException missingFieldException(String field) {
+    return new ParseFailureException(field, FailureReason.FIELD_MISSING, "'{field}' is empty", field);
+  }
+
 }u}(j09  (9c09dea579b7c54b3a60b745ab78eb0bb50c3e45j9  Smodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvLoader.javaj9  modifiedj9  Kj9  Kj9  K!j9  https://github.com/OpenGamma/Strata/blob/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj9  https://github.com/OpenGamma/Strata/raw/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj9  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.java?ref=2e25f251378263880217d18a39e0fccdd3b672ecj9  X
  @@ -27,6 +27,7 @@
 import com.opengamma.strata.collect.ArgChecker;
 import com.opengamma.strata.collect.Guavate;
 import com.opengamma.strata.collect.MapStream;
+import com.opengamma.strata.collect.Messages;
 import com.opengamma.strata.collect.io.CharSources;
 import com.opengamma.strata.collect.io.CsvIterator;
 import com.opengamma.strata.collect.io.CsvRow;
@@ -380,15 +381,39 @@ private <T extends Position> ValueWithFailures<List<T>> parseFile(CsvIterator cs
               .ifPresent(parsed -> positions.add((T) parsed));
         } else {
           // failed to find the type
-          throw new ParseFailureException(FailureReason.UNSUPPORTED, "Unknown '{}', '{}'", POSITION_TYPE_FIELD, typeRaw);
+          FailureItem failureItem = FailureItem.of(
+              FailureReason.UNSUPPORTED,
+              "CSV position file '{fileName}' contained unknown position type '{type}' at line {lineNumber}",
+              CharSources.extractFileName(charSource),
+              typeRaw,
+              row.lineNumber())
+              .withAttribute(
+                  FailureAttributeKeys.SHORT_MESSAGE,
+                  Messages.format("Unknown '{}', '{}'", POSITION_TYPE_FIELD, typeRaw))
+              .withAttribute(FailureAttributeKeys.TYPE, typeRaw)
+              .withAttribute(FailureAttributeKeys.ROOT_CAUSE, "inputData");
+          failures.add(failureItem);
         }
 
       } catch (ParseFailureException ex) {
+        String shortMessage = ex.getMessage();
+        String fileName = CharSources.extractFileName(charSource);
+        String lineNumber = Integer.toString(row.lineNumber());
         FailureItem failureItem = ex.getFailureItem()
-            .withAttribute(FailureAttributeKeys.LINE_NUMBER, Integer.toString(row.lineNumber()))
-            .withAttribute(FailureAttributeKeys.FILE_NAME, CharSources.extractFileName(charSource))
+            .withAttribute(FailureAttributeKeys.SHORT_MESSAGE, shortMessage)
+            .withAttribute(FailureAttributeKeys.LINE_NUMBER, lineNumber)
+            .withAttribute(FailureAttributeKeys.FILE_NAME, fileName)
+            .withAttribute(FailureAttributeKeys.TYPE, typeRaw)
             .withAttribute(FailureAttributeKeys.ROOT_CAUSE, "inputData");
-        failures.add(failureItem);
+
+        FailureItem updatedFailure = failureItem.mapMessage(ignored -> Messages.format(
+            "CSV position file '{}' type '{}' could not be parsed at line {}: {}",
+            fileName,
+            typeRaw,
+            lineNumber,
+            shortMessage));
+
+        failures.add(updatedFailure);
       } catch (RuntimeException ex) {
         failures.add(FailureItem.of(
             FailureReason.PARSING,u}(j09  (e2548eaed13c78d13ce90c59b57df764d65f84fdj9  Wmodules/loader/src/test/java/com/opengamma/strata/loader/csv/PositionCsvLoaderTest.javaj9  modifiedj9  Kj9  Kj9  Kj9  https://github.com/OpenGamma/Strata/blob/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj9  https://github.com/OpenGamma/Strata/raw/2e25f251378263880217d18a39e0fccdd3b672ec/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj9  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.java?ref=2e25f251378263880217d18a39e0fccdd3b672ecj9  X@  @@ -28,6 +28,7 @@
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.collect.io.ResourceLocator;
 import com.opengamma.strata.collect.io.StringCharSource;
+import com.opengamma.strata.collect.result.FailureAttributeKeys;
 import com.opengamma.strata.collect.result.FailureItem;
 import com.opengamma.strata.collect.result.FailureReason;
 import com.opengamma.strata.collect.result.ValueWithFailures;
@@ -419,7 +420,7 @@ public void test_load_invalidUnknownType() {
     assertThat(trades.getFailures()).hasSize(1);
     FailureItem failure = trades.getFailures().get(0);
     assertThat(failure.getReason()).isEqualTo(FailureReason.UNSUPPORTED);
-    assertThat(failure.getMessage()).isEqualTo("Unknown 'Strata Position Type', 'Foo'");
+    assertThat(failure.getMessage()).isEqualTo("CSV position file 'Unknown.txt' contained unknown position type 'Foo' at line 2");
   }
 
   @Test
@@ -442,7 +443,10 @@ public void test_load_invalidNoQuantity() {
     assertThat(trades.getFailures()).hasSize(1);
     FailureItem failure = trades.getFailures().get(0);
     assertThat(failure.getReason()).isEqualTo(FailureReason.FIELD_MISSING);
-    assertThat(failure.getMessage()).isEqualTo("Security must contain a quantity column, either 'Quantity' or 'Long Quantity' and 'Short Quantity'");
+    assertThat(failure.getMessage()).isEqualTo("CSV position file 'Unknown.txt' type 'FUT' could not be parsed at line 2: " +
+        "Security must contain a quantity column, either 'Quantity' or 'Long Quantity' and 'Short Quantity'");
+    assertThat(failure.getAttributes()).containsKey(FailureAttributeKeys.SHORT_MESSAGE);
+    assertThat((failure.getAttributes().get(FailureAttributeKeys.SHORT_MESSAGE))).isEqualTo("Security must contain a quantity column, either 'Quantity' or 'Long Quantity' and 'Short Quantity'");
   }
 
 }ueu(7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0}(sha(7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0node_idEC_kwDOAT6l0doAKDdlZjY2OTM4ZDViYmRjZDQ1MGFhYThiZWEyMDdiOTdmYTc1Y2Q5YjAcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-29T17:27:26Zu	committer}(j9  yukiiwashitaj9  %yukiiwashita@users.noreply.github.comj9  2023-05-29T17:27:26Zumessage"tests for conventions, field namestree}(j9  (827d78c9fabdaef4a7ec9953fa371623b01b9ef4url`https://api.github.com/repos/OpenGamma/Strata/git/trees/827d78c9fabdaef4a7ec9953fa371623b01b9ef4uj9  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj9  ^https://api.github.com/repos/OpenGamma/Strata/commits/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0html_urlShttps://github.com/OpenGamma/Strata/commit/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0/commentsj9  }(loginyukiiwashitaidJ- j9  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3j9  )https://api.github.com/users/yukiiwashitaj9  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminuj9  }(j9  yukiiwashitaj9  J- j9  MDQ6VXNlcjMwMDY2NTY=j9  3https://avatars.githubusercontent.com/u/3006656?v=4j9  h3j9  )https://api.github.com/users/yukiiwashitaj9  https://github.com/yukiiwashitaj9  3https://api.github.com/users/yukiiwashita/followersj9  @https://api.github.com/users/yukiiwashita/following{/other_user}j9  9https://api.github.com/users/yukiiwashita/gists{/gist_id}j9  @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}j9  7https://api.github.com/users/yukiiwashita/subscriptionsj:  .https://api.github.com/users/yukiiwashita/orgsj:  /https://api.github.com/users/yukiiwashita/reposj:  :https://api.github.com/users/yukiiwashita/events{/privacy}j:  9https://api.github.com/users/yukiiwashita/received_eventsj	:  Userj:  uparents]}(j9  (6120c8d044969247094a4d073decfb024b6cdcc9j9  ^https://api.github.com/repos/OpenGamma/Strata/commits/6120c8d044969247094a4d073decfb024b6cdcc9j9  Shttps://github.com/OpenGamma/Strata/commit/6120c8d044969247094a4d073decfb024b6cdcc9uastats}(totalK	additionsK	deletionsKufiles](}(j9  (d22307395d667c41442dd9c0fcbe4a8bd3cc34a5filenameCmodules/data/src/main/java/com/opengamma/strata/data/FieldName.javastatusmodifiedj%:  K j&:  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.java?ref=7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0patchX  @@ -65,18 +65,6 @@ public final class FieldName
    * The dirty price includes the accrued interest.
    */
   public static final FieldName DIRTY_PRICE = of("DirtyPrice");
-  ///** TODO do we need these?
-  // * The field name for the dirty real price of a capital indexed bond.
-  // * <p>
-  // * The dirty real price includes the accrued interest.
-  // */
-  //public static final FieldName DIRTY_REAL_PRICE = of("DirtyRealPrice");
-  ///**
-  // * The field name for the dirty nominal price of a capital indexed bond.
-  // * <p>
-  // * The dirty nominal price includes the accrued interest.
-  // */
-  //public static final FieldName DIRTY_NOMINAL_PRICE = of("DirtyNominalPrice");
   /**
    * The field name for the volatility of an asset.
    */u}(j9  (f839942970b2076584ea17f777c0c66b973a4228j+:  Gmodules/data/src/test/java/com/opengamma/strata/data/FieldNameTest.javaj-:  modifiedj%:  Kj&:  K j/:  Kj0:  https://github.com/OpenGamma/Strata/blob/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javaj2:  https://github.com/OpenGamma/Strata/raw/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javaj4:  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.java?ref=7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0j6:  X?  @@ -22,6 +22,14 @@ public void test_of() {
     assertThat(yieldToMaturity).isEqualTo(FieldName.YIELD_TO_MATURITY);
     FieldName parYield = FieldName.of("ParYield");
     assertThat(parYield).isEqualTo(FieldName.PAR_YIELD);
+    FieldName cleanRealPrice = FieldName.of("CleanRealPrice");
+    assertThat(cleanRealPrice).isEqualTo(FieldName.CLEAN_REAL_PRICE);
+    FieldName cleanNominalPrice = FieldName.of("CleanNominalPrice");
+    assertThat(cleanNominalPrice).isEqualTo(FieldName.CLEAN_NOMINAL_PRICE);
+    FieldName realYield = FieldName.of("RealYield");
+    assertThat(realYield).isEqualTo(FieldName.REAL_YIELD);
+    FieldName nominalYield = FieldName.of("NominalYield");
+    assertThat(nominalYield).isEqualTo(FieldName.NOMINAL_YIELD);
   }
 
   //-----------------------------------------------------------------------u}(j9  (d28bcd4a47913838ea35c9cd667e475c76656890j+:  jmodules/product/src/test/java/com/opengamma/strata/product/bond/CapitalIndexedBondYieldConventionTest.javaj-:  modifiedj%:  K	j&:  K j/:  K	j0:  https://github.com/OpenGamma/Strata/blob/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConventionTest.javaj2:  https://github.com/OpenGamma/Strata/raw/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConventionTest.javaj4:  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConventionTest.java?ref=7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0j6:  X  @@ -62,6 +62,15 @@ public void test_of_lookupStandard(CapitalIndexedBondYieldConvention convention,
     assertThat(CapitalIndexedBondYieldConvention.of(convention.name())).isEqualTo(convention);
   }
 
+  @Test
+  public void test_isRealYield() {
+    assertThat(CapitalIndexedBondYieldConvention.US_IL_REAL.isRealPrice()).isTrue();
+    assertThat(CapitalIndexedBondYieldConvention.GB_IL_BOND.isRealPrice()).isFalse();
+    assertThat(CapitalIndexedBondYieldConvention.GB_IL_FLOAT.isRealPrice()).isFalse();
+    assertThat(CapitalIndexedBondYieldConvention.JP_IL_COMPOUND.isRealPrice()).isTrue();
+    assertThat(CapitalIndexedBondYieldConvention.JP_IL_SIMPLE.isRealPrice()).isTrue();
+  }
+
   @Test
   public void test_of_lookup_notFound() {
     assertThatIllegalArgumentException()ueu(a4595a408391f4f237d70c07a6da54579beb197b}(sha(a4595a408391f4f237d70c07a6da54579beb197bnode_idEC_kwDOAT6l0doAKGE0NTk1YTQwODM5MWY0ZjIzN2Q3MGMwN2E2ZGE1NDU3OWJlYjE5N2Icommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-05T10:10:32Zu	committer}(jR:  
johannesOGjT:  ,86783068+johannesOG@users.noreply.github.comjV:  2023-07-05T10:10:32ZumessageDeactive Libor curvestree}(jJ:  (08467bdf1ce235506b4a4a42044dfec434659abcurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/08467bdf1ce235506b4a4a42044dfec434659abcujb:  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a4595a408391f4f237d70c07a6da54579beb197b
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujb:  ^https://api.github.com/repos/OpenGamma/Strata/commits/a4595a408391f4f237d70c07a6da54579beb197bhtml_urlShttps://github.com/OpenGamma/Strata/commit/a4595a408391f4f237d70c07a6da54579beb197bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a4595a408391f4f237d70c07a6da54579beb197b/commentsjP:  }(login
johannesOGidJ\4,jL:  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3jb:  'https://api.github.com/users/johannesOGjn:  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminujX:  }(js:  
johannesOGju:  J\4,jL:  MDQ6VXNlcjg2NzgzMDY4jw:  4https://avatars.githubusercontent.com/u/86783068?v=4jy:  h3jb:  'https://api.github.com/users/johannesOGjn:  https://github.com/johannesOGj|:  1https://api.github.com/users/johannesOG/followersj~:  >https://api.github.com/users/johannesOG/following{/other_user}j:  7https://api.github.com/users/johannesOG/gists{/gist_id}j:  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}j:  5https://api.github.com/users/johannesOG/subscriptionsj:  ,https://api.github.com/users/johannesOG/orgsj:  -https://api.github.com/users/johannesOG/reposj:  8https://api.github.com/users/johannesOG/events{/privacy}j:  7https://api.github.com/users/johannesOG/received_eventsj:  Userj:  uparents]}(jJ:  (13d84df601f0eb4ea9d3658ba75b885ce51afcc6jb:  ^https://api.github.com/repos/OpenGamma/Strata/commits/13d84df601f0eb4ea9d3658ba75b885ce51afcc6jn:  Shttps://github.com/OpenGamma/Strata/commit/13d84df601f0eb4ea9d3658ba75b885ce51afcc6uastats}(totalKj	additionsK	deletionsKiufiles]}(jJ:  (d843c49c5ab40e61765bcf79ce332a6e0bab96dafilenameQmodules/basics/src/test/java/com/opengamma/strata/basics/index/IborIndexTest.javastatusmodifiedj:  Kj:  KichangesKjblob_urlhttps://github.com/OpenGamma/Strata/blob/a4595a408391f4f237d70c07a6da54579beb197b/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/a4595a408391f4f237d70c07a6da54579beb197b/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.java?ref=a4595a408391f4f237d70c07a6da54579beb197bpatchX  @@ -84,50 +84,7 @@ public class IborIndexTest {
   private static final ReferenceData REF_DATA = ReferenceData.standard();
   private static final HolidayCalendarId NZBD = HolidayCalendarId.of("NZBD");  // no constant for this
 
-  @Test
-  public void test_gbpLibor3m() {
-    IborIndex test = IborIndex.of("GBP-LIBOR-3M");
-    assertThat(test.getName()).isEqualTo("GBP-LIBOR-3M");
-    assertThat(test.getCurrency()).isEqualTo(GBP);
-    assertThat(test.isActive()).isEqualTo(true);
-    assertThat(test.getTenor()).isEqualTo(TENOR_3M);
-    assertThat(test.getFixingCalendar()).isEqualTo(GBLO);
-    assertThat(test.getFixingDateOffset())
-        .isEqualTo(DaysAdjustment.ofCalendarDays(0, BusinessDayAdjustment.of(PRECEDING, GBLO)));
-    assertThat(test.getEffectiveDateOffset())
-        .isEqualTo(DaysAdjustment.ofCalendarDays(0, BusinessDayAdjustment.of(FOLLOWING, GBLO)));
-    assertThat(test.getMaturityDateOffset())
-        .isEqualTo(TenorAdjustment.ofLastBusinessDay(TENOR_3M, BusinessDayAdjustment.of(MODIFIED_FOLLOWING, GBLO)));
-    assertThat(test.getDayCount()).isEqualTo(ACT_365F);
-    assertThat(test.getDefaultFixedLegDayCount()).isEqualTo(ACT_365F);
-    assertThat(test.getFloatingRateName()).isEqualTo(FloatingRateName.of("GBP-LIBOR"));
-    assertThat(test.toString()).isEqualTo("GBP-LIBOR-3M");
-  }
 
-  @Test
-  public void test_gbpLibor3m_dates() {
-    IborIndex test = IborIndex.of("GBP-LIBOR-3M");
-    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 13), REF_DATA)).isEqualTo(date(2014, 10, 13));
-    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 13), REF_DATA)).isEqualTo(date(2015, 1, 13));
-    assertThat(test.calculateFixingFromEffective(date(2014, 10, 13), REF_DATA)).isEqualTo(date(2014, 10, 13));
-    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 13), REF_DATA)).isEqualTo(date(2015, 1, 13));
-    // weekend
-    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2014, 10, 10));
-    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2015, 1, 12));
-    assertThat(test.calculateFixingFromEffective(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2014, 10, 10));
-    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2015, 1, 12));
-    // input date is Sunday
-    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2014, 10, 13));
-    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2015, 1, 13));
-    assertThat(test.calculateFixingFromEffective(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2014, 10, 13));
-    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2015, 1, 13));
-    // fixing time and zone
-    assertThat(test.calculateFixingDateTime(date(2014, 10, 13)))
-        .isEqualTo(date(2014, 10, 13).atTime(LocalTime.of(11, 55)).atZone(ZoneId.of("Europe/London")));
-    // resolve
-    assertThat(test.resolve(REF_DATA).apply(date(2014, 10, 13)))
-        .isEqualTo(IborIndexObservation.of(test, date(2014, 10, 13), REF_DATA));
-  }
 
   @Test
   public void test_getFloatingRateName() {
@@ -138,54 +95,7 @@ public void test_getFloatingRateName() {
   }
 
   //-------------------------------------------------------------------------
-  @Test
-  public void test_usdLibor3m() {
-    IborIndex test = IborIndex.of("USD-LIBOR-3M");
-    assertThat(test.getCurrency()).isEqualTo(USD);
-    assertThat(test.getName()).isEqualTo("USD-LIBOR-3M");
-    assertThat(test.getTenor()).isEqualTo(TENOR_3M);
-    assertThat(test.getFixingCalendar()).isEqualTo(GBLO);
-    assertThat(test.getFixingDateOffset()).isEqualTo(DaysAdjustment.ofBusinessDays(-2, GBLO));
-    assertThat(test.getEffectiveDateOffset())
-        .isEqualTo(DaysAdjustment.ofBusinessDays(2, GBLO, BusinessDayAdjustment.of(FOLLOWING, GBLO.combinedWith(USNY))));
-    assertThat(test.getMaturityDateOffset())
-        .isEqualTo(TenorAdjustment.ofLastBusinessDay(
-            TENOR_3M, BusinessDayAdjustment.of(MODIFIED_FOLLOWING, GBLO.combinedWith(USNY))));
-    assertThat(test.getDayCount()).isEqualTo(ACT_360);
-    assertThat(test.getDefaultFixedLegDayCount()).isEqualTo(ACT_360);
-    assertThat(test.getFloatingRateName()).isEqualTo(FloatingRateName.of("USD-LIBOR"));
-    assertThat(test.toString()).isEqualTo("USD-LIBOR-3M");
-  }
 
-  @Test
-  public void test_usdLibor3m_dates() {
-    IborIndex test = IborIndex.of("USD-LIBOR-3M");
-    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 27), REF_DATA)).isEqualTo(date(2014, 10, 29));
-    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 27), REF_DATA)).isEqualTo(date(2015, 1, 29));
-    assertThat(test.calculateFixingFromEffective(date(2014, 10, 29), REF_DATA)).isEqualTo(date(2014, 10, 27));
-    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 29), REF_DATA)).isEqualTo(date(2015, 1, 29));
-    // weekend
-    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2014, 10, 14));
-    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 10), REF_DATA)).isEqualTo(date(2015, 1, 14));
-    assertThat(test.calculateFixingFromEffective(date(2014, 10, 14), REF_DATA)).isEqualTo(date(2014, 10, 10));
-    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 14), REF_DATA)).isEqualTo(date(2015, 1, 14));
-    // effective date is US holiday
-    assertThat(test.calculateEffectiveFromFixing(date(2015, 1, 16), REF_DATA)).isEqualTo(date(2015, 1, 20));
-    assertThat(test.calculateMaturityFromFixing(date(2015, 1, 16), REF_DATA)).isEqualTo(date(2015, 4, 20));
-    assertThat(test.calculateFixingFromEffective(date(2015, 1, 20), REF_DATA)).isEqualTo(date(2015, 1, 16));
-    assertThat(test.calculateMaturityFromEffective(date(2015, 1, 20), REF_DATA)).isEqualTo(date(2015, 4, 20));
-    // input date is Sunday, 13th is US holiday, but not UK holiday (can fix, but not be effective)
-    assertThat(test.calculateEffectiveFromFixing(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2014, 10, 15));
-    assertThat(test.calculateMaturityFromFixing(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2015, 1, 15));
-    assertThat(test.calculateFixingFromEffective(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2014, 10, 10));
-    assertThat(test.calculateMaturityFromEffective(date(2014, 10, 12), REF_DATA)).isEqualTo(date(2015, 1, 14));
-    // fixing time and zone
-    assertThat(test.calculateFixingDateTime(date(2014, 10, 13)))
-        .isEqualTo(date(2014, 10, 13).atTime(LocalTime.of(11, 55)).atZone(ZoneId.of("Europe/London")));
-    // resolve
-    assertThat(test.resolve(REF_DATA).apply(date(2014, 10, 27)))
-        .isEqualTo(IborIndexObservation.of(test, date(2014, 10, 27), REF_DATA));
-  }
 
   @Test
   public void test_euribor3m() {
@@ -304,21 +214,7 @@ public void test_tibor_euroyen3m_dates() {
         .isEqualTo(date(2014, 10, 13).atTime(LocalTime.of(13, 0)).atZone(ZoneId.of("Asia/Tokyo")));
   }
 
-  @Test
-  public void test_usdLibor_all() {
-    assertThat(IborIndex.of("USD-LIBOR-1W").getName()).isEqualTo("USD-LIBOR-1W");
-    assertThat(IborIndex.of("USD-LIBOR-1W")).isEqualTo(IborIndices.USD_LIBOR_1W);
-    assertThat(IborIndex.of("USD-LIBOR-1M").getName()).isEqualTo("USD-LIBOR-1M");
-    assertThat(IborIndex.of("USD-LIBOR-1M")).isEqualTo(IborIndices.USD_LIBOR_1M);
-    assertThat(IborIndex.of("USD-LIBOR-2M").getName()).isEqualTo("USD-LIBOR-2M");
-    assertThat(IborIndex.of("USD-LIBOR-2M")).isEqualTo(IborIndices.USD_LIBOR_2M);
-    assertThat(IborIndex.of("USD-LIBOR-3M").getName()).isEqualTo("USD-LIBOR-3M");
-    assertThat(IborIndex.of("USD-LIBOR-3M")).isEqualTo(IborIndices.USD_LIBOR_3M);
-    assertThat(IborIndex.of("USD-LIBOR-6M").getName()).isEqualTo("USD-LIBOR-6M");
-    assertThat(IborIndex.of("USD-LIBOR-6M")).isEqualTo(IborIndices.USD_LIBOR_6M);
-    assertThat(IborIndex.of("USD-LIBOR-12M").getName()).isEqualTo("USD-LIBOR-12M");
-    assertThat(IborIndex.of("USD-LIBOR-12M")).isEqualTo(IborIndices.USD_LIBOR_12M);
-  }
+
 
   @Test
   public void test_usdAmeriborTerm() {uau(94de7422372ea98417b49aac95d3a68e5913e75f}(sha(94de7422372ea98417b49aac95d3a68e5913e75fnode_idEC_kwDOAT6l0doAKDk0ZGU3NDIyMzcyZWE5ODQxN2I0OWFhYzk1ZDNhNjhlNTkxM2U3NWYcommit}(author}(name
Julius Roederemailj.roeder@optimumprime.nldate2023-04-26T14:40:52Zu	committer}(j:  
Julius Roederj:  j.roeder@optimumprime.nlj:  2023-04-26T14:40:52ZumessageFix documentationtree}(j:  (dfad3e97ee8026694c0019708a12fb61a30a5f73url`https://api.github.com/repos/OpenGamma/Strata/git/trees/dfad3e97ee8026694c0019708a12fb61a30a5f73uj:  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/94de7422372ea98417b49aac95d3a68e5913e75f
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj:  ^https://api.github.com/repos/OpenGamma/Strata/commits/94de7422372ea98417b49aac95d3a68e5913e75fhtml_urlShttps://github.com/OpenGamma/Strata/commit/94de7422372ea98417b49aac95d3a68e5913e75fcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/94de7422372ea98417b49aac95d3a68e5913e75f/commentsj:  Nj:  Nparents]}(j:  (cc18f465373bfa5e1dc91634f1a29abc8ecb335fj:  ^https://api.github.com/repos/OpenGamma/Strata/commits/cc18f465373bfa5e1dc91634f1a29abc8ecb335fj:  Shttps://github.com/OpenGamma/Strata/commit/cc18f465373bfa5e1dc91634f1a29abc8ecb335fuastats}(totalK	additionsK	deletionsKufiles]}(j:  (d07e4c8b67de683ac7b8549ab8dac6462f03f54bfilenamehmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingFixedCouponBondTradePricer.javastatusmodifiedj:  Kj:  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/94de7422372ea98417b49aac95d3a68e5913e75f/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingFixedCouponBondTradePricer.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/94de7422372ea98417b49aac95d3a68e5913e75f/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingFixedCouponBondTradePricer.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingFixedCouponBondTradePricer.java?ref=94de7422372ea98417b49aac95d3a68e5913e75fpatchX  @@ -457,9 +457,9 @@ public LocalDate settlementDate(ResolvedFixedCouponBondTrade trade, LocalDate va
 
   //-------------------------------------------------------------------------
   /**
-   * Calculates the future cash flow of the bullet payment trade.
+   * Calculates the future cash flow of the fixed coupon trade.
    * <p>
-   * There is only one cash flow on the payment date for the bullet payment trade.
+   * There are two cash flows on the final date.
    *
    * @param trade  the trade
    * @param discountFactors  the provideruau(dd5a657d8f54879723005264fa7e52cd6a4f67db}(sha(dd5a657d8f54879723005264fa7e52cd6a4f67dbnode_idEC_kwDOAT6l0doAKGRkNWE2NTdkOGY1NDg3OTcyMzAwNTI2NGZhN2U1MmNkNmE0ZjY3ZGIcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-04-05T10:11:09Zu	committer}(j
;  GitHubj;  noreply@github.comj;  2023-04-05T10:11:09ZumessageX  Bump assertj-core from 3.23.1 to 3.24.2 (#2555)

Bumps assertj-core from 3.23.1 to 3.24.2.

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephen Colebourne <stephen@opengamma.com>tree}(j;  (59fabcab8021ffd0124b0da377e7dee3b671eaf9url`https://api.github.com/repos/OpenGamma/Strata/git/trees/59fabcab8021ffd0124b0da377e7dee3b671eaf9uj;  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/dd5a657d8f54879723005264fa7e52cd6a4f67db
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkLUk9CRBK7hj4Ov3rIwAA9zUIAJFYJ1o5Gr/tI9Z4mB7ukgl+
gh/209VmquiayePLD7zrUJKTUgEa6w0Y2aDJzJ9OQCYS/pm/+unBRvkCrLhbs9Mc
iVqE48PFk05RkRaumF7UKNtXHrVjkGEG5enYr4kWysaviMV+H49xQL+KPKmjRyiS
acUF1x1ISzr7GIv3HgLSBBRMUsebNUWuihxXDMkH9R1Od874Qd/CNOt0U5lx182i
oFVAiGjr9CdjPFEj3Pdqu+Pvi0poVeaSRrieIHHFyIQqCVLeOFRiSwH4ngue4TxT
GWbrtJZRmkHMB1g3lPoY9BeZFer5qtVDT/MOyp+iK+xO0nmxPnOX6DYliWF5xm0=
=emxL
-----END PGP SIGNATURE-----
payloadX  tree 59fabcab8021ffd0124b0da377e7dee3b671eaf9
parent 1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1680689469 +0100
committer GitHub <noreply@github.com> 1680689469 +0100

Bump assertj-core from 3.23.1 to 3.24.2 (#2555)

Bumps assertj-core from 3.23.1 to 3.24.2.

---
updated-dependencies:
- dependency-name: org.assertj:assertj-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephen Colebourne <stephen@opengamma.com>uuj;  ^https://api.github.com/repos/OpenGamma/Strata/commits/dd5a657d8f54879723005264fa7e52cd6a4f67dbhtml_urlShttps://github.com/OpenGamma/Strata/commit/dd5a657d8f54879723005264fa7e52cd6a4f67dbcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/dd5a657d8f54879723005264fa7e52cd6a4f67db/commentsj;  }(logindependabot[bot]idJZj;  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j;  0https://api.github.com/users/dependabot%5Bbot%5Dj+;  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj;  }(j0;  web-flowj2;  J/j;  MDQ6VXNlcjE5ODY0NDQ3j4;  4https://avatars.githubusercontent.com/u/19864447?v=4j6;  h3j;  %https://api.github.com/users/web-flowj+;  https://github.com/web-flowj9;  /https://api.github.com/users/web-flow/followersj;;  <https://api.github.com/users/web-flow/following{/other_user}j=;  5https://api.github.com/users/web-flow/gists{/gist_id}j?;  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jA;  3https://api.github.com/users/web-flow/subscriptionsjC;  *https://api.github.com/users/web-flow/orgsjE;  +https://api.github.com/users/web-flow/reposjG;  6https://api.github.com/users/web-flow/events{/privacy}jI;  5https://api.github.com/users/web-flow/received_eventsjK;  UserjM;  uparents]}(j;  (1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04j;  ^https://api.github.com/repos/OpenGamma/Strata/commits/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04j+;  Shttps://github.com/OpenGamma/Strata/commit/1e3911c5ba91bdd03e183a6d0e7f0ed01e6aba04uastats}(totalK	additionsK	deletionsKufiles]}(j;  (7e23a17b3b47f20d6df5c88ef98f2f330587cdc7filenamemodules/pom.xmlstatusmodifiedjg;  Kjh;  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/dd5a657d8f54879723005264fa7e52cd6a4f67db/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/dd5a657d8f54879723005264fa7e52cd6a4f67db/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=dd5a657d8f54879723005264fa7e52cd6a4f67dbpatchX  @@ -763,7 +763,7 @@
     <root.dir>${project.basedir}/..</root.dir>
     <!-- Versions -->
     <asm.version>9.4</asm.version>
-    <assertj.version>3.23.1</assertj.version>
+    <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
     <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>uau(64343031f679ec72040e4f92b126367c92cdfa4a}(sha(64343031f679ec72040e4f92b126367c92cdfa4anode_idEC_kwDOAT6l0doAKDY0MzQzMDMxZjY3OWVjNzIwNDBlNGY5MmIxMjYzNjdjOTJjZGZhNGEcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-07T14:58:46Zu	committer}(j;  Akshai Shahj;  #akshaishah@users.noreply.github.comj;  2023-03-07T14:58:46Zumessage
Add rootCausetree}(j|;  (a11e4391ccf4c8031d620435e35ecd03657732d4url`https://api.github.com/repos/OpenGamma/Strata/git/trees/a11e4391ccf4c8031d620435e35ecd03657732d4uj;  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/64343031f679ec72040e4f92b126367c92cdfa4a
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj;  ^https://api.github.com/repos/OpenGamma/Strata/commits/64343031f679ec72040e4f92b126367c92cdfa4ahtml_urlShttps://github.com/OpenGamma/Strata/commit/64343031f679ec72040e4f92b126367c92cdfa4acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/64343031f679ec72040e4f92b126367c92cdfa4a/commentsj;  }(login
akshaishahidJd
 j~;  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j;  'https://api.github.com/users/akshaishahj;  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuj;  }(j;  
akshaishahj;  Jd
 j~;  MDQ6VXNlcjE5MDM5NzI=j;  3https://avatars.githubusercontent.com/u/1903972?v=4j;  h3j;  'https://api.github.com/users/akshaishahj;  https://github.com/akshaishahj;  1https://api.github.com/users/akshaishah/followersj;  >https://api.github.com/users/akshaishah/following{/other_user}j;  7https://api.github.com/users/akshaishah/gists{/gist_id}j;  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j;  5https://api.github.com/users/akshaishah/subscriptionsj;  ,https://api.github.com/users/akshaishah/orgsj;  -https://api.github.com/users/akshaishah/reposj;  8https://api.github.com/users/akshaishah/events{/privacy}j;  7https://api.github.com/users/akshaishah/received_eventsj;  Userj;  uparents]}(j|;  (56295d7114f56a6a350cbc331999ecfb261c1b11j;  ^https://api.github.com/repos/OpenGamma/Strata/commits/56295d7114f56a6a350cbc331999ecfb261c1b11j;  Shttps://github.com/OpenGamma/Strata/commit/56295d7114f56a6a350cbc331999ecfb261c1b11uastats}(totalK	additionsK	deletionsKufiles](}(j|;  (ba6b2a967e8e3ad148e7046dfb65f7b42bc09046filename[modules/collect/src/main/java/com/opengamma/strata/collect/result/FailureAttributeKeys.javastatusmodifiedj;  Kj;  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/64343031f679ec72040e4f92b126367c92cdfa4a/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/64343031f679ec72040e4f92b126367c92cdfa4a/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureAttributeKeys.java?ref=64343031f679ec72040e4f92b126367c92cdfa4apatchXO  @@ -80,6 +80,11 @@ public final class FailureAttributeKeys {
    */
   public static final String PRODUCT_TYPE = "productType";
 
+  /**
+   * The attribute for specifying the root cause of the error.
+   */
+  public static final String ROOT_CAUSE = "rootCause";
+
   // restricted constructor
   private FailureAttributeKeys() {
   }u}(j|;  (981cab2e3dd614e940d8e9b2867fdb1991560576j;  Smodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvLoader.javaj;  modifiedj;  Kj;  Kj;  Kj;  https://github.com/OpenGamma/Strata/blob/64343031f679ec72040e4f92b126367c92cdfa4a/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj;  https://github.com/OpenGamma/Strata/raw/64343031f679ec72040e4f92b126367c92cdfa4a/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj;  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.java?ref=64343031f679ec72040e4f92b126367c92cdfa4aj;  X  @@ -386,7 +386,8 @@ private <T extends Position> ValueWithFailures<List<T>> parseFile(CsvIterator cs
       } catch (ParseFailureException ex) {
         FailureItem failureItem = ex.getFailureItem()
             .withAttribute(FailureAttributeKeys.LINE_NUMBER, Integer.toString(row.lineNumber()))
-            .withAttribute(FailureAttributeKeys.FILE_NAME, CharSources.extractFileName(charSource));
+            .withAttribute(FailureAttributeKeys.FILE_NAME, CharSources.extractFileName(charSource))
+            .withAttribute(FailureAttributeKeys.ROOT_CAUSE, "inputData");
         failures.add(failureItem);
       } catch (RuntimeException ex) {
         failures.add(FailureItem.of(ueu(c451d4baf30622fdb7549217231dc1f5921e0702}(sha(c451d4baf30622fdb7549217231dc1f5921e0702node_idEC_kwDOAT6l0doAKGM0NTFkNGJhZjMwNjIyZmRiNzU0OTIxNzIzMWRjMWY1OTIxZTA3MDIcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-07-03T02:29:38Zu	committer}(j<  GitHubj<  noreply@github.comj<  2023-07-03T02:29:38ZumessageX  Bump guava from 31.1-jre to 32.1.1-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.1.1-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>      tree}(j;  (e0b3279eddff174b85b239f664e06be3429f06c3url`https://api.github.com/repos/OpenGamma/Strata/git/trees/e0b3279eddff174b85b239f664e06be3429f06c3uj<  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/c451d4baf30622fdb7549217231dc1f5921e0702
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkojKSCRBK7hj4Ov3rIwAAH/UIAAtMx8lBR4aJDfJ4I+UyN0er
VaDnoGp6RwQeo5NN6/t/u1+y5pXvN0kKFHswCAC49cko6GBNnNCIWsey5uE1I2BJ
VVyzgMI+yc2Bbe+ARwMhmNj/2uPGNyHYOOk3aaLaZXpXdYQmuGu9FL7Ja+FbsXXC
89QD6w51ZRmgcKFPS0O4KuXGVkR01oiPp0e1D3pzwZ/GBIFYiHZ+7egVvPKskiJG
BuAABUFw9EwOV5bjTq6n6xfgZ9AoJPAgZbTzSf8PbfsjVFG7ccg7QBH2gXhpPn6e
bnMt08Hqc46vFWp9Rbi3lpBEc9LDHvTrUDZgXXOc5WzoWmws1uRQvoxHEFnPuXM=
=GIkf
-----END PGP SIGNATURE-----
payloadXy  tree e0b3279eddff174b85b239f664e06be3429f06c3
parent 3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5c
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1688351378 +0000
committer GitHub <noreply@github.com> 1688351378 +0000

Bump guava from 31.1-jre to 32.1.1-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.1.1-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>uuj<  ^https://api.github.com/repos/OpenGamma/Strata/commits/c451d4baf30622fdb7549217231dc1f5921e0702html_urlShttps://github.com/OpenGamma/Strata/commit/c451d4baf30622fdb7549217231dc1f5921e0702comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/c451d4baf30622fdb7549217231dc1f5921e0702/commentsj;  }(logindependabot[bot]idJZj;  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j<  0https://api.github.com/users/dependabot%5Bbot%5Dj<  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj<  }(j$<  web-flowj&<  J/j;  MDQ6VXNlcjE5ODY0NDQ3j(<  4https://avatars.githubusercontent.com/u/19864447?v=4j*<  h3j<  %https://api.github.com/users/web-flowj<  https://github.com/web-flowj-<  /https://api.github.com/users/web-flow/followersj/<  <https://api.github.com/users/web-flow/following{/other_user}j1<  5https://api.github.com/users/web-flow/gists{/gist_id}j3<  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j5<  3https://api.github.com/users/web-flow/subscriptionsj7<  *https://api.github.com/users/web-flow/orgsj9<  +https://api.github.com/users/web-flow/reposj;<  6https://api.github.com/users/web-flow/events{/privacy}j=<  5https://api.github.com/users/web-flow/received_eventsj?<  UserjA<  uparents]}(j;  (3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cj<  ^https://api.github.com/repos/OpenGamma/Strata/commits/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cj<  Shttps://github.com/OpenGamma/Strata/commit/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cuastats}(totalK	additionsK	deletionsKufiles]}(j;  (a13d1f85c2f9bbf4c68c037b10a0415565aa9daafilenamemodules/pom.xmlstatusmodifiedj[<  Kj\<  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/c451d4baf30622fdb7549217231dc1f5921e0702/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/c451d4baf30622fdb7549217231dc1f5921e0702/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=c451d4baf30622fdb7549217231dc1f5921e0702patchXl  @@ -765,7 +765,7 @@
     <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
-    <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
+    <guava.version>32.1.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>uau(f7bf41803cc0bb17a509cc04928ed12a92a4bd0c}(sha(f7bf41803cc0bb17a509cc04928ed12a92a4bd0cnode_idEC_kwDOAT6l0doAKGY3YmY0MTgwM2NjMGJiMTdhNTA5Y2MwNDkyOGVkMTJhOTJhNGJkMGMcommit}(author}(nameGeorge Lucaemail BATja20@users.noreply.github.comdate2023-08-02T08:14:57Zu	committer}(jx<  George Lucajz<   BATja20@users.noreply.github.comj|<  2023-08-02T08:14:57ZumessageDPROD-26241: EtdVariant datecode now refers to day of month for DAILYtree}(jp<  (312178d9afa24feb4189df24ef19f73b4053f8d5url`https://api.github.com/repos/OpenGamma/Strata/git/trees/312178d9afa24feb4189df24ef19f73b4053f8d5uj<  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f7bf41803cc0bb17a509cc04928ed12a92a4bd0c
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj<  ^https://api.github.com/repos/OpenGamma/Strata/commits/f7bf41803cc0bb17a509cc04928ed12a92a4bd0chtml_urlShttps://github.com/OpenGamma/Strata/commit/f7bf41803cc0bb17a509cc04928ed12a92a4bd0ccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f7bf41803cc0bb17a509cc04928ed12a92a4bd0c/commentsjv<  }(loginBATja20idJzjr<  MDQ6VXNlcjI1MzkzODUz
avatar_url4https://avatars.githubusercontent.com/u/25393853?v=4gravatar_idh3j<  $https://api.github.com/users/BATja20j<  https://github.com/BATja20
followers_url.https://api.github.com/users/BATja20/followers
following_url;https://api.github.com/users/BATja20/following{/other_user}	gists_url4https://api.github.com/users/BATja20/gists{/gist_id}starred_url;https://api.github.com/users/BATja20/starred{/owner}{/repo}subscriptions_url2https://api.github.com/users/BATja20/subscriptionsorganizations_url)https://api.github.com/users/BATja20/orgs	repos_url*https://api.github.com/users/BATja20/repos
events_url5https://api.github.com/users/BATja20/events{/privacy}received_events_url4https://api.github.com/users/BATja20/received_eventstypeUser
site_adminuj~<  }(j<  BATja20j<  Jzjr<  MDQ6VXNlcjI1MzkzODUzj<  4https://avatars.githubusercontent.com/u/25393853?v=4j<  h3j<  $https://api.github.com/users/BATja20j<  https://github.com/BATja20j<  .https://api.github.com/users/BATja20/followersj<  ;https://api.github.com/users/BATja20/following{/other_user}j<  4https://api.github.com/users/BATja20/gists{/gist_id}j<  ;https://api.github.com/users/BATja20/starred{/owner}{/repo}j<  2https://api.github.com/users/BATja20/subscriptionsj<  )https://api.github.com/users/BATja20/orgsj<  *https://api.github.com/users/BATja20/reposj<  5https://api.github.com/users/BATja20/events{/privacy}j<  4https://api.github.com/users/BATja20/received_eventsj<  Userj<  uparents]}(jp<  (3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cj<  ^https://api.github.com/repos/OpenGamma/Strata/commits/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cj<  Shttps://github.com/OpenGamma/Strata/commit/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cuastats}(totalK	additionsK	deletionsKufiles]}(jp<  (ab08ebafd8383ca2c7b85d2a2281438ae377869cfilenameNmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdVariant.javastatusmodifiedj<  Kj<  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/f7bf41803cc0bb17a509cc04928ed12a92a4bd0c/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/f7bf41803cc0bb17a509cc04928ed12a92a4bd0c/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.java?ref=f7bf41803cc0bb17a509cc04928ed12a92a4bd0cpatchX  @@ -55,7 +55,7 @@ public final class EtdVariant
   /**
    * The optional date code, populated for Weekly and Daily.
    * <p>
-   * This will be the week number for Weekly and the day-of-week for Daily.
+   * This will be the week number for Weekly and the day-of-month for Daily.
    */
   @PropertyDefinition(get = "optional")
   private final Integer dateCode;
@@ -270,7 +270,7 @@ public EtdExpiryType getType() {
   /**
    * Gets the optional date code, populated for Weekly and Daily.
    * <p>
-   * This will be the week number for Weekly and the day-of-week for Daily.
+   * This will be the week number for Weekly and the day-of-month for Daily.
    * @return the optional value of the property, not null
    */
   public OptionalInt getDateCode() {uau(e132a62776be0c6597f54c24e89ba0145eae3aea}(sha(e132a62776be0c6597f54c24e89ba0145eae3aeanode_idEC_kwDOAT6l0doAKGUxMzJhNjI3NzZiZTBjNjU5N2Y1NGMyNGU4OWJhMDE0NWVhZTNhZWEcommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-06-01T17:05:46Zu	committer}(j<  Aaronj<  +110403946+aaron-og@users.noreply.github.comj<  2023-06-01T17:05:46ZumessagerMerge remote-tracking branch 'origin/Create_OvernightFutureOption_pricer' into Create_OvernightFutureOption_pricertree}(j<  (a39744ffc6cb2cf3fbc59cfd29d998117605e5d1url`https://api.github.com/repos/OpenGamma/Strata/git/trees/a39744ffc6cb2cf3fbc59cfd29d998117605e5d1uj<  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/e132a62776be0c6597f54c24e89ba0145eae3aea
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj<  ^https://api.github.com/repos/OpenGamma/Strata/commits/e132a62776be0c6597f54c24e89ba0145eae3aeahtml_urlShttps://github.com/OpenGamma/Strata/commit/e132a62776be0c6597f54c24e89ba0145eae3aeacomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/e132a62776be0c6597f54c24e89ba0145eae3aea/commentsj<  }(loginaaron-ogidJjj<  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3j<  %https://api.github.com/users/aaron-ogj	=  https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminuj<  }(j=  aaron-ogj=  Jjj<  U_kgDOBpShagj=  5https://avatars.githubusercontent.com/u/110403946?v=4j=  h3j<  %https://api.github.com/users/aaron-ogj	=  https://github.com/aaron-ogj=  /https://api.github.com/users/aaron-og/followersj=  <https://api.github.com/users/aaron-og/following{/other_user}j=  5https://api.github.com/users/aaron-og/gists{/gist_id}j=  <https://api.github.com/users/aaron-og/starred{/owner}{/repo}j=  3https://api.github.com/users/aaron-og/subscriptionsj!=  *https://api.github.com/users/aaron-og/orgsj#=  +https://api.github.com/users/aaron-og/reposj%=  6https://api.github.com/users/aaron-og/events{/privacy}j'=  5https://api.github.com/users/aaron-og/received_eventsj)=  Userj+=  uparents](}(j<  (c423e65842463929fd2f7a1041db8e9406b27a2aj<  ^https://api.github.com/repos/OpenGamma/Strata/commits/c423e65842463929fd2f7a1041db8e9406b27a2aj	=  Shttps://github.com/OpenGamma/Strata/commit/c423e65842463929fd2f7a1041db8e9406b27a2au}(j<  (9ad3f3243dae577cb406982e3493c9bab0537163j<  ^https://api.github.com/repos/OpenGamma/Strata/commits/9ad3f3243dae577cb406982e3493c9bab0537163j	=  Shttps://github.com/OpenGamma/Strata/commit/9ad3f3243dae577cb406982e3493c9bab0537163uestats}(totalM	additionsM	deletionsK-ufiles](}(j<  (06f40f910875539d5012a71f3f316ca4548520d7filenameexamples/pom.xmlstatusmodifiedjI=  KjJ=  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeapatchXK  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.25-SNAPSHOT</version>
+  <version>2.12.26-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>u}(j<  (1dcbfe95d8822b948e507ce3f26d53eb9a03f6b0jO=  modules/basics/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  lhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fbasics%2Fpom.xmljV=  khttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fbasics%2Fpom.xmljX=  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j<  (f1d9da097f84c9b71c0b29c9c9163a50d4dc9ffajO=  modules/calc/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  jhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fcalc%2Fpom.xmljV=  ihttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fcalc%2Fpom.xmljX=  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j<  (86210c7f1231e1e0995d83e70a6923b0762d8961jO=  modules/collect/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  mhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fcollect%2Fpom.xmljV=  lhttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fcollect%2Fpom.xmljX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j<  (4c26454a63fc80bdfe80b35f02f14bc1d3387affjO=  modules/data/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  jhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fdata%2Fpom.xmljV=  ihttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fdata%2Fpom.xmljX=  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X   @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j<  (185c12c22b7b6fb8d69fbe476d8d0e2e40d7d257jO=  Cmodules/data/src/main/java/com/opengamma/strata/data/FieldName.javajQ=  modifiedjI=  KjJ=  K jS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X  @@ -47,6 +47,18 @@ public final class FieldName
    * The clean price does not include the accrued interest.
    */
   public static final FieldName CLEAN_PRICE = of("CleanPrice");
+  /**
+   * The field name for the clean real price of a capital indexed bond.
+   * <p>
+   * The clean real price does not include the accrued interest.
+   */
+  public static final FieldName CLEAN_REAL_PRICE = of("CleanRealPrice");
+  /**
+   * The field name for the clean nominal price of a capital indexed bond.
+   * <p>
+   * The clean nominal price does not include the accrued interest.
+   */
+  public static final FieldName CLEAN_NOMINAL_PRICE = of("CleanNominalPrice");
   /**
    * The field name for the dirty price of a coupon bond.
    * <p>
@@ -63,6 +75,18 @@ public final class FieldName
    * This is used to refer to the yield of a coupon bond or bill.
    */
   public static final FieldName YIELD_TO_MATURITY = of("YieldToMaturity");
+  /**
+   * The field name for the real yield.
+   * <p>
+   * This is used to refer to the real yield of a capital indexed bond.
+   */
+  public static final FieldName REAL_YIELD_TO_MATURITY = of("RealYieldToMaturity");
+  /**
+   * The field name for the nominal yield.
+   * <p>
+   * This is used to refer to the yield of a coupon bond or bill.
+   */
+  public static final FieldName NOMINAL_YIELD_TO_MATURITY = of("NominalYieldToMaturity");
   /**
    * The field name for the par yield.
    * <p>u}(j<  (03141b1120ec41ba9c3242553ac0a4aa1ce5e14ajO=  Gmodules/data/src/test/java/com/opengamma/strata/data/FieldNameTest.javajQ=  modifiedjI=  KjJ=  K jS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X  @@ -22,6 +22,14 @@ public void test_of() {
     assertThat(yieldToMaturity).isEqualTo(FieldName.YIELD_TO_MATURITY);
     FieldName parYield = FieldName.of("ParYield");
     assertThat(parYield).isEqualTo(FieldName.PAR_YIELD);
+    FieldName cleanRealPrice = FieldName.of("CleanRealPrice");
+    assertThat(cleanRealPrice).isEqualTo(FieldName.CLEAN_REAL_PRICE);
+    FieldName cleanNominalPrice = FieldName.of("CleanNominalPrice");
+    assertThat(cleanNominalPrice).isEqualTo(FieldName.CLEAN_NOMINAL_PRICE);
+    FieldName realYieldToMaturity = FieldName.of("RealYieldToMaturity");
+    assertThat(realYieldToMaturity).isEqualTo(FieldName.REAL_YIELD_TO_MATURITY);
+    FieldName nominalYieldToMaturity = FieldName.of("NominalYieldToMaturity");
+    assertThat(nominalYieldToMaturity).isEqualTo(FieldName.NOMINAL_YIELD_TO_MATURITY);
   }
 
   //-----------------------------------------------------------------------u}(j<  (34c7b1224a0585c3229fbea4f87e697f17411bb6jO=  modules/loader/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  lhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Floader%2Fpom.xmljV=  khttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Floader%2Fpom.xmljX=  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j<  (f82cfc0be6806d1cd9257bb01d44929045f326dejO=  Pmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javajQ=  modifiedjI=  KjJ=  KjS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X  @@ -39,7 +39,6 @@
 import com.opengamma.strata.collect.ArgChecker;
 import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.io.CsvRow;
-import com.opengamma.strata.collect.result.FailureReason;
 import com.opengamma.strata.collect.result.ParseFailureException;
 import com.opengamma.strata.collect.tuple.DoublesPair;
 import com.opengamma.strata.collect.tuple.Pair;
@@ -292,9 +291,13 @@ public static EtdOptionType parseEtdOptionType(String str) {
       case "EUROPEAN":
       case "E":
         return EtdOptionType.EUROPEAN;
+      case "ASIAN":
+      case "T":
+        return EtdOptionType.ASIAN;
       default:
         throw new ParseFailureException(
-            "Unable to parse ETD option type from '{value}', must be 'American', 'European', 'A' or 'E' (case insensitive)", str);
+            "Unable to parse ETD option type from '{value}', must be 'American', 'European', 'Asian', 'A', 'E' or " +
+                "'T' (case insensitive)", str);
     }
   }
 u}(j<  (c51ac09c53843112253829af7eee42b23a54b6e2jO=  Tmodules/loader/src/test/java/com/opengamma/strata/loader/csv/CsvLoaderUtilsTest.javajQ=  modifiedjI=  KjJ=  K jS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtilsTest.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X  @@ -53,6 +53,9 @@ public void test_parseEtdOptionType() {
     assertThat(CsvLoaderUtils.parseEtdOptionType("E")).isEqualTo(EtdOptionType.EUROPEAN);
     assertThat(CsvLoaderUtils.parseEtdOptionType("EUROPEAN")).isEqualTo(EtdOptionType.EUROPEAN);
     assertThat(CsvLoaderUtils.parseEtdOptionType("e")).isEqualTo(EtdOptionType.EUROPEAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("T")).isEqualTo(EtdOptionType.ASIAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("ASIAN")).isEqualTo(EtdOptionType.ASIAN);
+    assertThat(CsvLoaderUtils.parseEtdOptionType("t")).isEqualTo(EtdOptionType.ASIAN);
     assertThatExceptionOfType(ParseFailureException.class).isThrownBy(() -> CsvLoaderUtils.parseEtdOptionType(""));
   }
 u}(j<  (e2468a854819ee9bce659b9df5c4ce40463e9064jO=  modules/market/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  lhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fmarket%2Fpom.xmljV=  khttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fmarket%2Fpom.xmljX=  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j<  (8f461479b794141a54dd06bf47cc76a378bfd302jO=  modules/math/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  jhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fmath%2Fpom.xmljV=  ihttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fmath%2Fpom.xmljX=  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j<  (4e74f5535f2cb3909edd7242c51241f64aea3eb5jO=  modules/measure/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  mhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fmeasure%2Fpom.xmljV=  lhttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fmeasure%2Fpom.xmljX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X#  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j<  (0b7de398f7d229df351732e0774d2cc8955ee4aejO=  modules/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  chttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fpom.xmljV=  bhttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fpom.xmljX=  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X3  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.25-SNAPSHOT</version>
+  <version>2.12.26-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>u}(j<  (801a7fd71ed4131521cce3c9e00b65acbbbb1dfdjO=  modules/pricer/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  lhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fpricer%2Fpom.xmljV=  khttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fpricer%2Fpom.xmljX=  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j<  (263361245c6c2d232b962a329ff1c0eba02b344ejO=  mmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricer.javajQ=  modifiedjI=  KjJ=  KjS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X:  @@ -16,7 +16,9 @@
 import com.opengamma.strata.basics.currency.Currency;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.basics.currency.MultiCurrencyAmount;
+import com.opengamma.strata.basics.value.ValueDerivatives;
 import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.collect.array.DoubleArray;
 import com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries;
 import com.opengamma.strata.market.sensitivity.PointSensitivityBuilder;
 import com.opengamma.strata.math.impl.rootfinding.BracketRoot;
@@ -702,6 +704,154 @@ public double dirtyPriceFromRealYield(
         "The convention " + bond.getYieldConvention().toString() + " is not supported.");
   }
 
+  /**
+   * Computes the dirty price from the conventional real yield and its derivative wrt the yield.
+   * <p>
+   * The resulting dirty price is real price or nominal price depending on the yield convention.
+   * <p>
+   * The input yield and output are expressed in fraction.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param yield  the yield
+   * @return the dirty price of the product and its derivative
+   */
+  public ValueDerivatives dirtyPriceFromRealYieldAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double yield) {
+
+    ArgChecker.isTrue(settlementDate.isBefore(bond.getUnadjustedEndDate()),
+        "settlement date must be before end date");
+    int periodIndex = bond.findPeriodIndex(settlementDate)
+        .orElseThrow(() -> new IllegalArgumentException("Date outside range of bond"));
+    CapitalIndexedBondPaymentPeriod period = bond.getPeriodicPayments().get(periodIndex);
+    int nbCoupon = bond.getPeriodicPayments().size() - periodIndex;
+    double couponPerYear = bond.getFrequency().eventsPerYear();
+    CapitalIndexedBondYieldConvention yieldConvention = bond.getYieldConvention();
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.US_IL_REAL)) {
+      double pvAtFirstCoupon;
+      double pvAtFirstCouponDeriv;
+      double cpnRate = bond.getPeriodicPayments().get(0).getRealCoupon();
+      if (Math.abs(yield) > 1.0E-8) {
+        double factorOnPeriod = 1d + yield / couponPerYear;
+        double factorOnPeriodDeriv =  1d / couponPerYear;
+        double vn = Math.pow(factorOnPeriod, 1 - nbCoupon);
+        double vnDeriv = (1d - nbCoupon) * Math.pow(factorOnPeriod, -nbCoupon) * factorOnPeriodDeriv;
+        pvAtFirstCoupon = cpnRate * couponPerYear / yield * (factorOnPeriod - vn) + vn;
+        pvAtFirstCouponDeriv = -cpnRate * couponPerYear / yield / yield * (factorOnPeriod - vn) +
+            cpnRate * couponPerYear / yield * (factorOnPeriodDeriv - vnDeriv) + vnDeriv;
+      } else {
+        pvAtFirstCoupon = cpnRate * nbCoupon + 1d;
+        pvAtFirstCouponDeriv = (1d - nbCoupon) / couponPerYear + 0.5 * (1d - nbCoupon) * nbCoupon * cpnRate / couponPerYear;
+      }
+      double den = 1d + factorToNextCoupon(bond, settlementDate) * yield / couponPerYear;
+      double denDeriv = factorToNextCoupon(bond, settlementDate) / couponPerYear;
+      double price =  pvAtFirstCoupon / den;
+      double priceDeriv =  pvAtFirstCouponDeriv / den - pvAtFirstCoupon / den / den * denDeriv;
+      return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+    }
+
+    double realRate = period.getRealCoupon();
+    double firstYearFraction = bond.yearFraction(period.getUnadjustedStartDate(), period.getUnadjustedEndDate());
+    double v = 1d / (1d + yield / couponPerYear);
+    double vDeriv = -v * v / couponPerYear;
+    double rs = ratioPeriodToNextCoupon(period, settlementDate);
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
+      RateComputation obs = period.getRateComputation();
+      LocalDateDoubleTimeSeries ts = ratesProvider.priceIndexValues(bond.getRateCalculation().getIndex()).getFixings();
+      YearMonth lastKnownFixingMonth = YearMonth.from(ts.getLatestDate());
+      double indexRatio = ts.getLatestValue() / bond.getFirstIndexValue();
+      YearMonth endFixingMonth = null;
+      if (obs instanceof InflationEndInterpolatedRateComputation) {
+        endFixingMonth = ((InflationEndInterpolatedRateComputation) obs).getEndSecondObservation().getFixingMonth();
+      } else if (obs instanceof InflationEndMonthRateComputation) {
+        endFixingMonth = ((InflationEndMonthRateComputation) obs).getEndObservation().getFixingMonth();
+      } else {
+        throw new IllegalArgumentException("The rate observation " + obs.toString() + " is not supported.");
+      }
+      double nbMonth = Math.abs(MONTHS.between(endFixingMonth, lastKnownFixingMonth));
+      double u = Math.sqrt(1d / 1.03);
+      double a = indexRatio * Math.pow(u, nbMonth / 6d);
+      if (nbCoupon == 1) {
+        double price = (realRate + 1d) * a / u * Math.pow(u * v, rs);
+        double priceDeriv = (realRate + 1d) * a / u * Math.pow(u * v, rs - 1d) * rs * u * vDeriv;
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      } else {
+        double firstCashFlow = firstYearFraction * realRate * indexRatio * couponPerYear;
+        CapitalIndexedBondPaymentPeriod secondPeriod = bond.getPeriodicPayments().get(periodIndex + 1);
+        double secondYearFraction = bond.yearFraction(secondPeriod.getUnadjustedStartDate(), secondPeriod.getUnadjustedEndDate());
+        double secondCashFlow = secondYearFraction * realRate * indexRatio * couponPerYear;
+        double vn = Math.pow(v, nbCoupon - 1);
+        double vnDeriv = (nbCoupon - 1d) * Math.pow(v, nbCoupon - 2) * vDeriv;
+        double pvAtFirstCoupon =
+            firstCashFlow + secondCashFlow * u * v + a * realRate * v * v * (1d - vn / v) / (1d - v) + a * vn;
+        double pvAtFirstCouponDeriv =
+             secondCashFlow * u * vDeriv + a * vnDeriv +
+                 2d * a * realRate * v * vDeriv * (1d - vn / v) / (1d - v) -
+                 a * realRate * v * vnDeriv / (1d - v) +
+                 a * realRate * vn * vDeriv / (1d - v) +
+                 a * realRate * v * v * (1d - vn / v) / Math.pow(1d - v, 2) * vDeriv;
+        double price = pvAtFirstCoupon * Math.pow(u * v, rs);
+        double priceDeriv = pvAtFirstCouponDeriv * Math.pow(u * v, rs) +
+            rs * u * vDeriv * pvAtFirstCoupon * Math.pow(u * v, rs - 1);
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      }
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.GB_IL_BOND)) {
+      double indexRatio = indexRatio(bond, ratesProvider, settlementDate);
+      double firstCashFlow = realRate * indexRatio * firstYearFraction * couponPerYear;
+      if (nbCoupon == 1) {
+        double price = Math.pow(v, rs) * (firstCashFlow + 1d);
+        double priceDeriv = rs * vDeriv * Math.pow(v, rs - 1d) * (firstCashFlow + 1d);
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      } else {
+        CapitalIndexedBondPaymentPeriod secondPeriod = bond.getPeriodicPayments().get(periodIndex + 1);
+        double secondYearFraction = bond.yearFraction(secondPeriod.getUnadjustedStartDate(), secondPeriod.getUnadjustedEndDate());
+        double secondCashFlow = realRate * indexRatio * secondYearFraction * couponPerYear;
+        double vn = Math.pow(v, nbCoupon - 1);
+        double vnDeriv = (nbCoupon - 1d) * vDeriv * Math.pow(v, nbCoupon - 2);
+        double pvAtFirstCoupon = firstCashFlow + secondCashFlow * v + realRate * v * v * (1d - vn / v) / (1d - v) + vn;
+        double pvAtFirstCouponDeriv = secondCashFlow * vDeriv + vnDeriv +
+            2d * realRate * v * vDeriv * (1d - vn / v) / (1d - v) -
+            realRate * v * vnDeriv / (1d - v) +
+            realRate * vDeriv * vn / (1d - v) +
+            realRate * v * v * vDeriv * (1d - vn / v) / Math.pow(1d - v, 2);
+        double price = pvAtFirstCoupon * Math.pow(v, rs);
+        double priceDeriv = pvAtFirstCouponDeriv * Math.pow(v, rs) + pvAtFirstCoupon * Math.pow(v, rs - 1) * vDeriv * rs;
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      }
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.JP_IL_SIMPLE)) {
+      LocalDate maturityDate = bond.getEndDate();
+      double maturity = bond.yearFraction(settlementDate, maturityDate);
+      double cleanPrice = (1d + realRate * couponPerYear * maturity) / (1d + yield * maturity);
+      double cleanPriceDeriv = -cleanPrice * maturity / (1d + yield * maturity);
+      double price = dirtyRealPriceFromCleanRealPrice(bond, settlementDate, cleanPrice);
+      return ValueDerivatives.of(price, DoubleArray.of(cleanPriceDeriv));
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.JP_IL_COMPOUND)) {
+      double pvAtFirstCoupon = 0d;
+      double pvAtFirstCouponDeriv = 0d;
+      for (int loopcpn = 0; loopcpn < nbCoupon; loopcpn++) {
+        CapitalIndexedBondPaymentPeriod paymentPeriod = bond.getPeriodicPayments().get(loopcpn + periodIndex);
+        pvAtFirstCoupon += paymentPeriod.getRealCoupon() * Math.pow(v, loopcpn);
+        pvAtFirstCouponDeriv += paymentPeriod.getRealCoupon() * loopcpn * Math.pow(v, loopcpn - 1) * vDeriv;
+      }
+      pvAtFirstCoupon += Math.pow(v, nbCoupon - 1);
+      pvAtFirstCouponDeriv += (nbCoupon - 1) * Math.pow(v, nbCoupon - 2) * vDeriv;
+      double factorToNext = factorToNextCoupon(bond, settlementDate);
+      double price = pvAtFirstCoupon * Math.pow(v, factorToNext);
+      double priceDeriv = pvAtFirstCouponDeriv * Math.pow(v, factorToNext) +
+          pvAtFirstCoupon * factorToNext * Math.pow(v, factorToNext - 1d) * vDeriv;
+      return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+    }
+    throw new IllegalArgumentException(
+        "The convention " + bond.getYieldConvention().toString() + " is not supported.");
+  }
+
   /**
    * Computes the clean price from the conventional real yield.
    * <p>
@@ -724,9 +874,6 @@ public double cleanPriceFromRealYield(
       double yield) {
 
     double dirtyPrice = dirtyPriceFromRealYield(bond, ratesProvider, settlementDate, yield);
-    if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-      return cleanNominalPriceFromDirtyNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice);
-    }
     return cleanRealPriceFromDirtyRealPrice(bond, settlementDate, dirtyPrice);
   }
 
@@ -761,6 +908,38 @@ public Double apply(Double y) {
     return yield;
   }
 
+  /**
+   * Computes the conventional real yield from the dirty price and its derivaitve wrt the dirty price.
+   * <p>
+   * The input dirty price should be real price or nominal price depending on the yield convention. This is coherent to
+   * the implementation of {@link #dirtyPriceFromRealYield(ResolvedCapitalIndexedBond, RatesProvider, LocalDate, double)}.
+   * <p>
+   * The input price and output are expressed in fraction.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param dirtyPrice  the bond dirty price
+   * @return the yield of the product and its derivative
+   */
+  public ValueDerivatives realYieldFromDirtyPriceAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double dirtyPrice) {
+
+    final Function<Double, Double> priceResidual = new Function<Double, Double>() {
+      @Override
+      public Double apply(Double y) {
+        return dirtyPriceFromRealYield(bond, ratesProvider, settlementDate, y) - dirtyPrice;
+      }
+    };
+    double[] range = ROOT_BRACKETER.getBracketedPoints(priceResidual, -0.05, 0.10);
+    double yield = ROOT_FINDER.getRoot(priceResidual, range[0], range[1]);
+    ValueDerivatives priceDYield = dirtyPriceFromRealYieldAd(bond, ratesProvider, settlementDate, yield);
+    return ValueDerivatives.of(yield, DoubleArray.of(1.0 / priceDYield.getDerivative(0)));
+  }
+
   /**
    * Computes the conventional real yield from the curves.
    * <p>
@@ -780,15 +959,10 @@ public double realYieldFromCurves(
 
     validate(ratesProvider, discountingProvider);
     LocalDate settlementDate = bond.calculateSettlementDateFromValuation(ratesProvider.getValuationDate(), refData);
-    double dirtyPrice;
-    if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-      dirtyPrice = dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
-    } else {
-      double dirtyNominalPrice =
-          dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
-      dirtyPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyNominalPrice);
-    }
-    return realYieldFromDirtyPrice(bond, ratesProvider, settlementDate, dirtyPrice);
+    double dirtyNominalPrice =
+        dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
+    double dirtyRealPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyNominalPrice);
+    return realYieldFromDirtyPrice(bond, ratesProvider, settlementDate, dirtyRealPrice);
   }
 
   /**
@@ -1068,6 +1242,28 @@ public double realPriceFromNominalPrice(
     return nominalPrice / indexRatio;
   }
 
+  /**
+   * Calculates the real price of the bond from its settlement date and nominal price
+   * and its derivative wrt the nominal price.
+   * <p>
+   * The input and output prices are both clean or dirty.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param nominalPrice  the nominal price
+   * @return the price of the bond product and its derivative
+   */
+  public ValueDerivatives realPriceFromNominalPriceAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double nominalPrice) {
+
+    double indexRatio = indexRatio(bond, ratesProvider, settlementDate);
+    return ValueDerivatives.of(nominalPrice / indexRatio, DoubleArray.of(1d / indexRatio));
+  }
+
   /**
    * Calculates the nominal price of the bond from its settlement date and real price.
    * <p>
@@ -1130,9 +1326,6 @@ public Double apply(Double z) {
             z,
             compoundedRateType,
             periodsPerYear);
-        if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-          return cleanNominalPriceFromDirtyNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice) - cleanPrice;
-        }
         double dirtyRealPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice);
         return cleanRealPriceFromDirtyRealPrice(bond, settlementDate, dirtyRealPrice) - cleanPrice;
       }u}(j<  (4fcb60cb35f8ff510962c1b96974b9cfc7160fefjO=  qmodules/pricer/src/test/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricerTest.javajQ=  modifiedjI=  KjJ=  KjS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X%N  @@ -45,6 +45,7 @@
 import com.opengamma.strata.basics.schedule.RollConventions;
 import com.opengamma.strata.basics.schedule.Schedule;
 import com.opengamma.strata.basics.schedule.StubConvention;
+import com.opengamma.strata.basics.value.ValueDerivatives;
 import com.opengamma.strata.basics.value.ValueSchedule;
 import com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
@@ -556,6 +557,13 @@ public void test_realPrice_nominalPrice_settleBefore() {
     double expected = realPrice * (refRate + 1d);
     assertThat(nominalPrice).isCloseTo(expected, offset(TOL));
     assertThat(PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice)).isCloseTo(realPrice, offset(TOL));
+
+    ValueDerivatives realPriceAd = PRICER.realPriceFromNominalPriceAd(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice);
+    assertThat(realPrice).isCloseTo(realPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice + eps);
+    double dirtyPriceDw = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice - eps);
+    assertThat(realPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
   }
 
   @Test
@@ -568,6 +576,13 @@ public void test_realPrice_nominalPrice_settleAfter() {
     double expected = realPrice * (refRate + 1d);
     assertThat(nominalPrice).isCloseTo(expected, offset(TOL));
     assertThat(PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice)).isCloseTo(realPrice, offset(TOL));
+
+    ValueDerivatives realPriceAd = PRICER.realPriceFromNominalPriceAd(PRODUCT, RATES_PROVIDER, refDate, nominalPrice);
+    assertThat(realPrice).isCloseTo(realPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice + eps);
+    double dirtyPriceDw = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice - eps);
+    assertThat(realPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
   }
 
   @Test
@@ -633,6 +648,36 @@ public void test_priceFromRealYield_us() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_US, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_us_zeroYield() {
+    double yield = 0d;
+    LocalDate standardSettle = PRODUCT_US.getSettlementDateOffset().adjust(VAL_DATE, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(yield, offset(TOL));
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_US, RATES_PROVS_US, standardSettle, yield);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -706,6 +751,13 @@ public void test_accruedInterest_us() {
   private static final DaysAdjustment SETTLE_OFFSET_GB = DaysAdjustment.ofBusinessDays(1, GBLO);
   private static final PeriodicSchedule SCHEDULE_GOV =
       PeriodicSchedule.of(START_GOV, END_GOV, FREQUENCY, BUSINESS_ADJUST_GOV, StubConvention.NONE, RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_GOV_ONE_PERIOD = PeriodicSchedule.of(
+      LocalDate.of(2016, 3, 1),
+      LocalDate.of(2016, 9, 1),
+      FREQUENCY,
+      BUSINESS_ADJUST_GOV,
+      StubConvention.NONE,
+      RollConventions.NONE);
   private static final BusinessDayAdjustment EX_COUPON_ADJ_GOV =
       BusinessDayAdjustment.of(BusinessDayConventions.PRECEDING, GBLO);
   private static final DaysAdjustment EX_COUPON_GOV = DaysAdjustment.ofCalendarDays(-8, EX_COUPON_ADJ_GOV);
@@ -722,6 +774,19 @@ public void test_accruedInterest_us() {
       .exCouponPeriod(EX_COUPON_GOV)
       .build()
       .resolve(REF_DATA);
+  private static final ResolvedCapitalIndexedBond PRODUCT_GOV_ONE_PERIOD = CapitalIndexedBond.builder()
+      .securityId(SECURITY_ID)
+      .notional(NTNL)
+      .currency(GBP)
+      .dayCount(ACT_ACT_ICMA)
+      .rateCalculation(RATE_CALC_GOV)
+      .legalEntityId(LEGAL_ENTITY)
+      .yieldConvention(GB_IL_FLOAT)
+      .settlementDateOffset(SETTLE_OFFSET_GB)
+      .accrualSchedule(SCHEDULE_GOV_ONE_PERIOD)
+      .exCouponPeriod(EX_COUPON_GOV)
+      .build()
+      .resolve(REF_DATA);
   private static final double YIELD_GOV = -0.01532;
 
   private static final double START_INDEX_GOV_OP = 81.623;
@@ -748,16 +813,45 @@ public void test_accruedInterest_us() {
   public void test_priceFromRealYield_ukGov() {
     LocalDate standardSettle = PRODUCT_GOV.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
     double computed = PRICER.cleanPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
-    assertThat(computed).isCloseTo(3.60, offset(1.e-2));
+    assertThat(computed).isCloseTo(3.60, offset(1.e-1));
     double computedOnePeriod = PRICER.cleanPriceFromRealYield(PRODUCT_GOV_OP, RATES_PROVS_GB, PRODUCT_GOV_OP
         .getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA), YIELD_GOV_OP);
     assertThat(computedOnePeriod).isCloseTo(3.21, offset(4.e-2));
     double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
-    double cleanPrice = PRICER.cleanNominalPriceFromDirtyNominalPrice(
-        PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double cleanPrice = PRICER.cleanRealPriceFromDirtyRealPrice(PRODUCT_GOV, standardSettle, dirtyPrice);
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_GOV, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_ukGov_onePeriod() {
+    LocalDate standardSettle = PRODUCT_GOV_ONE_PERIOD.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(YIELD_GOV, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -781,7 +875,8 @@ public void test_realYieldFromCurves_ukGov() {
     double computed = PRICER.realYieldFromCurves(PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA);
     double dirtyNominalPrice = PRICER.dirtyNominalPriceFromCurves(
         PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA);
-    double expected = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double dirtyRealPrice = PRICER.realPriceFromNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double expected = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyRealPrice);
     assertThat(computed).isCloseTo(expected, offset(TOL));
   }
 
@@ -792,8 +887,10 @@ public void zSpreadFromCurvesAndCleanPrice_ukGov() {
         PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, Z_SPREAD, PERIODIC, PERIOD_PER_YEAR);
     double cleanNominalPrice =
         PRICER.cleanNominalPriceFromDirtyNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double cleanRealPrice =
+        PRICER.realPriceFromNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, cleanNominalPrice);
     double computed = PRICER.zSpreadFromCurvesAndCleanPrice(
-        PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, cleanNominalPrice, PERIODIC, PERIOD_PER_YEAR);
+        PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, cleanRealPrice, PERIODIC, PERIOD_PER_YEAR);
     assertThat(computed).isCloseTo(Z_SPREAD, offset(TOL));
   }
 
@@ -822,9 +919,20 @@ public void test_accruedInterest_ukGov() {
   private static final LocalDate END_CORP = LocalDate.of(2040, 3, 22);
   private static final BusinessDayAdjustment BUSINESS_ADJUST_CORP =
       BusinessDayAdjustment.of(BusinessDayConventions.FOLLOWING, GBLO);
-  private static final PeriodicSchedule SCHEDULE_CORP =
-      PeriodicSchedule.of(START_CORP, END_CORP, FREQUENCY, BUSINESS_ADJUST_CORP, StubConvention.NONE,
-          RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_CORP = PeriodicSchedule.of(
+      START_CORP,
+      END_CORP,
+      FREQUENCY,
+      BUSINESS_ADJUST_CORP,
+      StubConvention.NONE,
+      RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_CORP_ONE_PERIOD = PeriodicSchedule.of(
+      LocalDate.of(2016, 2, 15),
+      LocalDate.of(2016, 8, 15),
+      FREQUENCY,
+      BUSINESS_ADJUST_CORP,
+      StubConvention.NONE,
+      RollConventions.NONE);
   private static final BusinessDayAdjustment EX_COUPON_ADJ_CORP =
       BusinessDayAdjustment.of(BusinessDayConventions.PRECEDING, GBLO);
   private static final DaysAdjustment EX_COUPON_CORP = DaysAdjustment.ofCalendarDays(-8, EX_COUPON_ADJ_CORP);
@@ -841,6 +949,19 @@ public void test_accruedInterest_ukGov() {
       .exCouponPeriod(EX_COUPON_CORP)
       .build()
       .resolve(REF_DATA);
+  private static final ResolvedCapitalIndexedBond PRODUCT_CORP_ONE_PERIOD = CapitalIndexedBond.builder()
+      .securityId(SECURITY_ID)
+      .notional(NTNL)
+      .currency(GBP)
+      .dayCount(ACT_ACT_ICMA)
+      .rateCalculation(RATE_CALC_CORP)
+      .legalEntityId(LEGAL_ENTITY)
+      .yieldConvention(GB_IL_BOND)
+      .settlementDateOffset(SETTLE_OFFSET_GB)
+      .accrualSchedule(SCHEDULE_CORP_ONE_PERIOD)
+      .exCouponPeriod(EX_COUPON_CORP)
+      .build()
+      .resolve(REF_DATA);
   private static final double YIELD_CORP = -0.00842;
 
   @Test
@@ -856,6 +977,36 @@ public void test_priceFromRealYield_ukCorp() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_CORP, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_ukCorp_onePeriod() {
+    LocalDate standardSettle = PRODUCT_CORP_ONE_PERIOD.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(YIELD_CORP, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -955,6 +1106,17 @@ public void test_priceFromRealYield_jpi() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_JPI, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -1050,6 +1212,17 @@ public void test_priceFromRealYield_jpw() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_JPW, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Testu      }(j<  (be38b91efbc1c73385647a849df5699ed205d6f6jO=  modules/product/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  mhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fpom.xmljV=  lhttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fpom.xmljX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j<  (fceac6a0af68134022e4213740d8ca9313b4c49ajO=  fmodules/product/src/main/java/com/opengamma/strata/product/bond/CapitalIndexedBondYieldConvention.javajQ=  modifiedjI=  KjJ=  KjS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X  @@ -40,12 +40,12 @@ public enum CapitalIndexedBondYieldConvention implements NamedEnum {
   GB_IL_BOND("GB-I/L-Bond"),
 
   /**
-   * The Japan simple yield convention for inflation index bond.
+   * The Japan simple real yield convention for inflation index bond.
    */
   JP_IL_SIMPLE("JP-I/L-Simple"),
 
   /**
-   * The Japan compound yield convention for inflation index bond.
+   * The Japan compound real yield convention for inflation index bond.
    */
   JP_IL_COMPOUND("JP-I/L-Compound");
 u}(j<  (e3060ef2f298efd97227d49d4ddd9a75d59f8303jO=  Qmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdOptionType.javajQ=  modifiedjI=  K
jJ=  KjS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionType.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X  @@ -12,7 +12,7 @@
 import com.opengamma.strata.collect.named.NamedEnum;
 
 /**
- * The option expiry type, 'American' or 'European'.
+ * The option expiry type, 'American', 'European' or 'Asian'.
  */
 public enum EtdOptionType implements NamedEnum {
 
@@ -25,7 +25,13 @@ public enum EtdOptionType implements NamedEnum {
    * European option.
    * Can be exercised only on a single date.
    */
-  EUROPEAN("E");
+  EUROPEAN("E"),
+  /**
+   * Asian option.
+   * Payoff depends on the average price over a certain period of time.
+   * Sometimes referred as a Traded Average Price Option (TAPO).
+   */
+  ASIAN("T");
 
   // helper for name conversions
   private static final EnumNames<EtdOptionType> NAMES = EnumNames.of(EtdOptionType.class);
@@ -68,6 +74,8 @@ static EtdOptionType parseCode(String code) {
         return AMERICAN;
       case "E":
         return EUROPEAN;
+      case "T":
+        return ASIAN;
       default:
         throw new IllegalArgumentException("Unknown EtdOptionType code: " + code);
     }u}(j<  (7e566545804d331eac1d2815a1fb4bca716ca053jO=  Nmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdVariant.javajQ=  modifiedjI=  KjJ=  KjS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdVariant.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  Xx  @@ -65,7 +65,7 @@ public final class EtdVariant
   @PropertyDefinition(get = "optional")
   private final EtdSettlementType settlementType;
   /**
-   * The optional option type, 'American' or 'European', populated for Flex Options.
+   * The optional option type, such as 'American' or 'European', populated for Flex Options.
    */
   @PropertyDefinition(get = "optional")
   private final EtdOptionType optionType;
@@ -288,7 +288,7 @@ public Optional<EtdSettlementType> getSettlementType() {
 
   //-----------------------------------------------------------------------
   /**
-   * Gets the optional option type, 'American' or 'European', populated for Flex Options.
+   * Gets the optional option type, such as 'American' or 'European', populated for Flex Options.
    * @return the optional value of the property, not null
    */
   public Optional<EtdOptionType> getOptionType() {u}(j<  (fd4ab3f8cc367cab15ab061ba654362a04e0f3a5jO=  Umodules/product/src/test/java/com/opengamma/strata/product/etd/EtdOptionTypeTest.javajQ=  modifiedjI=  KjJ=  K jS=  KjT=  https://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.javajV=  https://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.javajX=  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdOptionTypeTest.java?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  @@ -25,6 +25,7 @@ public static Object[][] data_name() {
     return new Object[][] {
         {EtdOptionType.AMERICAN, "American", "A"},
         {EtdOptionType.EUROPEAN, "European", "E"},
+        {EtdOptionType.ASIAN, "Asian", "T"},
     };
   }
 u}(j<  (f53fcfed47616976453da385d742dda708095a95jO=  modules/report/pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  lhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Freport%2Fpom.xmljV=  khttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/modules%2Freport%2Fpom.xmljX=  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.26-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j<  (a92bc410bb2df6867f43acc3ab26a6aeb105866bjO=  pom.xmljQ=  modifiedjI=  KjJ=  KjS=  KjT=  Yhttps://github.com/OpenGamma/Strata/blob/e132a62776be0c6597f54c24e89ba0145eae3aea/pom.xmljV=  Xhttps://github.com/OpenGamma/Strata/raw/e132a62776be0c6597f54c24e89ba0145eae3aea/pom.xmljX=  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=e132a62776be0c6597f54c24e89ba0145eae3aeajZ=  X/  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.25-SNAPSHOT</version>
+  <version>2.12.26-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>ueu(1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc}(sha(1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcnode_idEC_kwDOAT6l0doAKDFhMmMwYWY0OWFjMGJlYWUzMmNjN2VhMzdlZDVkYThmMTZmNWZlYmMcommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-05-31T14:58:42Zu	committer}(j>  opengammacibotj >  cibot@opengamma.comj">  2023-05-31T14:58:42Zumessage/[maven-release-plugin] prepare release v2.12.25tree}(j>  (0fdf38a659a72e6bf451dea053fbdd17acc5d0a0url`https://api.github.com/repos/OpenGamma/Strata/git/trees/0fdf38a659a72e6bf451dea053fbdd17acc5d0a0uj.>  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj.>  ^https://api.github.com/repos/OpenGamma/Strata/commits/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febchtml_urlShttps://github.com/OpenGamma/Strata/commit/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/commentsj>  }(loginopengammacibotidJq j>  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3j.>  +https://api.github.com/users/opengammacibotj:>  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminuj$>  }(j?>  opengammacibotjA>  Jq j>  MDQ6VXNlcjc0NTAyODE=jC>  3https://avatars.githubusercontent.com/u/7450281?v=4jE>  h3j.>  +https://api.github.com/users/opengammacibotj:>  !https://github.com/opengammacibotjH>  5https://api.github.com/users/opengammacibot/followersjJ>  Bhttps://api.github.com/users/opengammacibot/following{/other_user}jL>  ;https://api.github.com/users/opengammacibot/gists{/gist_id}jN>  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}jP>  9https://api.github.com/users/opengammacibot/subscriptionsjR>  0https://api.github.com/users/opengammacibot/orgsjT>  1https://api.github.com/users/opengammacibot/reposjV>  <https://api.github.com/users/opengammacibot/events{/privacy}jX>  ;https://api.github.com/users/opengammacibot/received_eventsjZ>  Userj\>  uparents]}(j>  (f0943827da276669121fa1d1ac77a62260ce8fb5j.>  ^https://api.github.com/repos/OpenGamma/Strata/commits/f0943827da276669121fa1d1ac77a62260ce8fb5j:>  Shttps://github.com/OpenGamma/Strata/commit/f0943827da276669121fa1d1ac77a62260ce8fb5uastats}(totalK$	additionsK	deletionsKufiles](}(j>  (0679fef4a73c368efb7a42cbeb1477e78dfb72bafilenameexamples/pom.xmlstatusmodifiedjv>  Kjw>  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcpatchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.25-SNAPSHOT</version>
+  <version>2.12.25</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,4 +272,8 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
+
+  <scm>
+    <tag>v2.12.25</tag>
+  </scm>
 </project>u}(j>  (7d9f2fac567580bc72d1055000d6120a5a5ab9dcj|>  modules/basics/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  lhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fbasics%2Fpom.xmlj>  khttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fbasics%2Fpom.xmlj>  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j>  (d3bb23132276586fa4337f68300f2bf2173226e3j|>  modules/calc/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  jhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fcalc%2Fpom.xmlj>  ihttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fcalc%2Fpom.xmlj>  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j>  (4232de451325f349bed8568c52c4c0660508a2efj|>  modules/collect/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  mhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fcollect%2Fpom.xmlj>  lhttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fcollect%2Fpom.xmlj>  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j>  (f0df8797c220f1cb4f44447bc862cd95810128e4j|>  modules/data/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  jhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fdata%2Fpom.xmlj>  ihttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fdata%2Fpom.xmlj>  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j>  (befc44638b11effd89aedf53d3c4659fc5775bedj|>  modules/loader/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  lhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Floader%2Fpom.xmlj>  khttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Floader%2Fpom.xmlj>  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j>  (2f718a289ec8938b0488ba2d786609e6f8f73cc6j|>  modules/market/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  lhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fmarket%2Fpom.xmlj>  khttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fmarket%2Fpom.xmlj>  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j>  (206e49cfa8dd35a7de93741fbb94a3bb9b1d90d3j|>  modules/math/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  jhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fmath%2Fpom.xmlj>  ihttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fmath%2Fpom.xmlj>  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j>  (405cdf76aa726212fa499a60e0f20cf6d5945ed3j|>  modules/measure/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  mhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fmeasure%2Fpom.xmlj>  lhttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fmeasure%2Fpom.xmlj>  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j>  (bbb4997226bb74efd3b350b13d820a99e049f7e3j|>  modules/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  chttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fpom.xmlj>  bhttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fpom.xmlj>  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.25-SNAPSHOT</version>
+  <version>2.12.25</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.25</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j>  (821c1a8d8b5f0e9f4f165a6955dbf00373b6566cj|>  modules/pricer/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  lhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fpricer%2Fpom.xmlj>  khttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fpricer%2Fpom.xmlj>  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j>  (8c5ff4303116be6e58d70d5f5d7997cd132e8b89j|>  modules/product/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  mhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fproduct%2Fpom.xmlj>  lhttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Fproduct%2Fpom.xmlj>  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j>  (3921d9266004c7e272d49ab50e1dae1f313eb609j|>  modules/report/pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  lhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Freport%2Fpom.xmlj>  khttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/modules%2Freport%2Fpom.xmlj>  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.25-SNAPSHOT</version>
+    <version>2.12.25</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j>  (8027a110dc6c22e310d3a5fba8864258b38c46fdj|>  pom.xmlj~>  modifiedjv>  Kjw>  Kj>  Kj>  Yhttps://github.com/OpenGamma/Strata/blob/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/pom.xmlj>  Xhttps://github.com/OpenGamma/Strata/raw/1a2c0af49ac0beae32cc7ea37ed5da8f16f5febc/pom.xmlj>  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=1a2c0af49ac0beae32cc7ea37ed5da8f16f5febcj>  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.25-SNAPSHOT</version>
+  <version>2.12.25</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>HEAD</tag>
+    <tag>v2.12.25</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(f5667c05a399ef3c81e5a8c628f645434fdc406f}(sha(f5667c05a399ef3c81e5a8c628f645434fdc406fnode_idEC_kwDOAT6l0doAKGY1NjY3YzA1YTM5OWVmM2M4MWU1YThjNjI4ZjY0NTQzNGZkYzQwNmYcommit}(author}(nameStephen Colebourneemailscolebourne@joda.orgdate2023-05-18T08:31:59Zu	committer}(j>  Stephen Colebournej>  scolebourne@joda.orgj>  2023-05-18T08:35:44Zumessage_Propagate cause of more exceptions

Unwrap cause for CompletionException and ExecutionExceptiontree}(j>  (23893dd410addb97c1f051f148888da0df45ced2url`https://api.github.com/repos/OpenGamma/Strata/git/trees/23893dd410addb97c1f051f148888da0df45ced2uj?  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f5667c05a399ef3c81e5a8c628f645434fdc406f
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj?  ^https://api.github.com/repos/OpenGamma/Strata/commits/f5667c05a399ef3c81e5a8c628f645434fdc406fhtml_urlShttps://github.com/OpenGamma/Strata/commit/f5667c05a399ef3c81e5a8c628f645434fdc406fcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f5667c05a399ef3c81e5a8c628f645434fdc406f/commentsj>  }(loginjodastephenidJ@ j>  MDQ6VXNlcjIxMzIxMg==
avatar_url2https://avatars.githubusercontent.com/u/213212?v=4gravatar_idh3j?  (https://api.github.com/users/jodastephenj?  https://github.com/jodastephen
followers_url2https://api.github.com/users/jodastephen/followers
following_url?https://api.github.com/users/jodastephen/following{/other_user}	gists_url8https://api.github.com/users/jodastephen/gists{/gist_id}starred_url?https://api.github.com/users/jodastephen/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/jodastephen/subscriptionsorganizations_url-https://api.github.com/users/jodastephen/orgs	repos_url.https://api.github.com/users/jodastephen/repos
events_url9https://api.github.com/users/jodastephen/events{/privacy}received_events_url8https://api.github.com/users/jodastephen/received_eventstypeUser
site_adminuj?  }(j?  jodastephenj?  J@ j>  MDQ6VXNlcjIxMzIxMg==j ?  2https://avatars.githubusercontent.com/u/213212?v=4j"?  h3j?  (https://api.github.com/users/jodastephenj?  https://github.com/jodastephenj%?  2https://api.github.com/users/jodastephen/followersj'?  ?https://api.github.com/users/jodastephen/following{/other_user}j)?  8https://api.github.com/users/jodastephen/gists{/gist_id}j+?  ?https://api.github.com/users/jodastephen/starred{/owner}{/repo}j-?  6https://api.github.com/users/jodastephen/subscriptionsj/?  -https://api.github.com/users/jodastephen/orgsj1?  .https://api.github.com/users/jodastephen/reposj3?  9https://api.github.com/users/jodastephen/events{/privacy}j5?  8https://api.github.com/users/jodastephen/received_eventsj7?  Userj9?  uparents]}(j>  (8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j?  ^https://api.github.com/repos/OpenGamma/Strata/commits/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j?  Shttps://github.com/OpenGamma/Strata/commit/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8uastats}(totalK	additionsK	deletionsKufiles](}(j>  (4075f2669a150b92629db8d85c0c23746d23d0bbfilenameImodules/collect/src/main/java/com/opengamma/strata/collect/Unchecked.javastatusmodifiedjS?  K	jT?  KchangesK
blob_urlhttps://github.com/OpenGamma/Strata/blob/f5667c05a399ef3c81e5a8c628f645434fdc406f/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/f5667c05a399ef3c81e5a8c628f645434fdc406f/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.java?ref=f5667c05a399ef3c81e5a8c628f645434fdc406fpatchX  @@ -9,6 +9,8 @@
 import java.io.IOException;
 import java.io.UncheckedIOException;
 import java.lang.reflect.InvocationTargetException;
+import java.util.concurrent.CompletionException;
+import java.util.concurrent.ExecutionException;
 import java.util.function.BiConsumer;
 import java.util.function.BiFunction;
 import java.util.function.BiPredicate;
@@ -334,6 +336,8 @@ public static <R> Supplier<R> supplier(CheckedSupplier<R> supplier) {
    * Propagates {@code throwable} as-is if possible, or by wrapping in a {@code RuntimeException} if not.
    * <ul>
    *   <li>If {@code throwable} is an {@code InvocationTargetException} the cause is extracted and processed recursively.</li>
+   *   <li>If {@code throwable} is an {@code CompletionException} the cause is extracted and processed recursively.</li>
+   *   <li>If {@code throwable} is an {@code ExecutionException} the cause is extracted and processed recursively.</li>
    *   <li>If {@code throwable} is an {@code Error} or {@code RuntimeException} it is propagated as-is.</li>
    *   <li>If {@code throwable} is an {@code IOException} it is wrapped in {@code UncheckedIOException} and thrown.</li>
    *   <li>If {@code throwable} is an {@code ReflectiveOperationException} it is wrapped in
@@ -353,11 +357,15 @@ public static <R> Supplier<R> supplier(CheckedSupplier<R> supplier) {
    * </pre>
    *
    * @param throwable the {@code Throwable} to propagate
-   * @return nothing; this method always throws an exception
+   * @return never returns as an exception is always thrown
    */
   public static RuntimeException propagate(Throwable throwable) {
     if (throwable instanceof InvocationTargetException) {
       throw propagate(((InvocationTargetException) throwable).getCause());
+    } else if (throwable instanceof CompletionException) {
+      throw propagate(((CompletionException) throwable).getCause());
+    } else if (throwable instanceof ExecutionException) {
+      throw propagate(((ExecutionException) throwable).getCause());
     } else if (throwable instanceof IOException) {
       throw new UncheckedIOException((IOException) throwable);
     } else if (throwable instanceof ReflectiveOperationException) {u}(j>  (3e5a77b8c714974f4f028474f0a3938110a0a12cjY?  Mmodules/collect/src/test/java/com/opengamma/strata/collect/UncheckedTest.javaj[?  modifiedjS?  KjT?  K j]?  Kj^?  https://github.com/OpenGamma/Strata/blob/f5667c05a399ef3c81e5a8c628f645434fdc406f/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.javaj`?  https://github.com/OpenGamma/Strata/raw/f5667c05a399ef3c81e5a8c628f645434fdc406f/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.javajb?  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.java?ref=f5667c05a399ef3c81e5a8c628f645434fdc406fjd?  Xa  @@ -14,6 +14,8 @@
 import java.io.UncheckedIOException;
 import java.lang.reflect.InvocationTargetException;
 import java.net.URISyntaxException;
+import java.util.concurrent.CompletionException;
+import java.util.concurrent.ExecutionException;
 import java.util.function.BiConsumer;
 import java.util.function.BiFunction;
 import java.util.function.BiPredicate;
@@ -379,6 +381,20 @@ public void test_propagate() {
       assertThat(ex.getClass()).isEqualTo(RuntimeException.class);
       assertThat(ex.getCause()).isSameAs(namingEx);
     }
+    try {
+      Unchecked.propagate(new CompletionException(ioEx));
+      fail("Expected UncheckedIOException");
+    } catch (UncheckedIOException ex) {
+      assertThat(ex.getClass()).isEqualTo(UncheckedIOException.class);
+      assertThat(ex.getCause()).isSameAs(ioEx);
+    }
+    try {
+      Unchecked.propagate(new ExecutionException(ioEx));
+      fail("Expected UncheckedIOException");
+    } catch (UncheckedIOException ex) {
+      assertThat(ex.getClass()).isEqualTo(UncheckedIOException.class);
+      assertThat(ex.getCause()).isSameAs(ioEx);
+    }
   }
 
 }ueu(52d62b1402e1c12feb73bbc0b0cacda5f956f5dd}(sha(52d62b1402e1c12feb73bbc0b0cacda5f956f5ddnode_idEC_kwDOAT6l0doAKDUyZDYyYjE0MDJlMWMxMmZlYjczYmJjMGIwY2FjZGE1Zjk1NmY1ZGQcommit}(author}(nameStephen Colebourneemailstephen@opengamma.comdate2023-05-09T12:57:07Zu	committer}(jx?  GitHubjz?  noreply@github.comj|?  2023-05-09T12:57:07Zumessage=Add CharMatchers (#2569)

Provide standard character matcherstree}(jp?  (94200a047435891c936fbc6d7a78d5ee24149ebfurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/94200a047435891c936fbc6d7a78d5ee24149ebfuj?  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/52d62b1402e1c12feb73bbc0b0cacda5f956f5dd
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkWkMjCRBK7hj4Ov3rIwAADLsIAIlVuhqiLK7mkLPBTDA4m51o
tMY9oP6S0fj4QS3i8rRkSojXvktKsxHB6Nib+9F+FqiV/1kTFwTvw4CSGNAFpUtX
vyB6sfTtKCCNXkpzAXW1IwQcOS+HUkeYjMooTx4MHtqpRFrF7hdHqj+yeYFyNaR0
yRdrk2rvzGHaBPzIgLLoT0were+KnbGspCCls3l/4O7Crqn84+iT4O/px3bgshxY
JvlMjOnmZwYl51Z8UG8rLRE9aNPcMn3g5ay0aqcVO00SDYDYdzeT0h9kdsKShVJ0
GQweidEb9KZCGf4uy6vdashNTLzTnrda8tQHaVjyWjGQad8mugpGJXJmA26T6OE=
=uKHO
-----END PGP SIGNATURE-----
payloadX  tree 94200a047435891c936fbc6d7a78d5ee24149ebf
parent f44d43be5226d9f415cd9cc082b9178e16b5d022
author Stephen Colebourne <stephen@opengamma.com> 1683637027 +0100
committer GitHub <noreply@github.com> 1683637027 +0100

Add CharMatchers (#2569)

Provide standard character matchersuuj?  ^https://api.github.com/repos/OpenGamma/Strata/commits/52d62b1402e1c12feb73bbc0b0cacda5f956f5ddhtml_urlShttps://github.com/OpenGamma/Strata/commit/52d62b1402e1c12feb73bbc0b0cacda5f956f5ddcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/52d62b1402e1c12feb73bbc0b0cacda5f956f5dd/commentsjv?  }(loginjodastephenidJ@ jr?  MDQ6VXNlcjIxMzIxMg==
avatar_url2https://avatars.githubusercontent.com/u/213212?v=4gravatar_idh3j?  (https://api.github.com/users/jodastephenj?  https://github.com/jodastephen
followers_url2https://api.github.com/users/jodastephen/followers
following_url?https://api.github.com/users/jodastephen/following{/other_user}	gists_url8https://api.github.com/users/jodastephen/gists{/gist_id}starred_url?https://api.github.com/users/jodastephen/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/jodastephen/subscriptionsorganizations_url-https://api.github.com/users/jodastephen/orgs	repos_url.https://api.github.com/users/jodastephen/repos
events_url9https://api.github.com/users/jodastephen/events{/privacy}received_events_url8https://api.github.com/users/jodastephen/received_eventstypeUser
site_adminuj~?  }(j?  web-flowj?  J/jr?  MDQ6VXNlcjE5ODY0NDQ3j?  4https://avatars.githubusercontent.com/u/19864447?v=4j?  h3j?  %https://api.github.com/users/web-flowj?  https://github.com/web-flowj?  /https://api.github.com/users/web-flow/followersj?  <https://api.github.com/users/web-flow/following{/other_user}j?  5https://api.github.com/users/web-flow/gists{/gist_id}j?  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j?  3https://api.github.com/users/web-flow/subscriptionsj?  *https://api.github.com/users/web-flow/orgsj?  +https://api.github.com/users/web-flow/reposj?  6https://api.github.com/users/web-flow/events{/privacy}j?  5https://api.github.com/users/web-flow/received_eventsj?  Userj?  uparents]}(jp?  (f44d43be5226d9f415cd9cc082b9178e16b5d022j?  ^https://api.github.com/repos/OpenGamma/Strata/commits/f44d43be5226d9f415cd9cc082b9178e16b5d022j?  Shttps://github.com/OpenGamma/Strata/commit/f44d43be5226d9f415cd9cc082b9178e16b5d022uastats}(totalK	additionsK	deletionsK ufiles](}(jp?  (ae81f3b9126599b795df0024ec164084a67313fffilenameLmodules/collect/src/main/java/com/opengamma/strata/collect/CharMatchers.javastatusaddedj?  Kgj?  K changesKgblob_urlhttps://github.com/OpenGamma/Strata/blob/52d62b1402e1c12feb73bbc0b0cacda5f956f5dd/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchers.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/52d62b1402e1c12feb73bbc0b0cacda5f956f5dd/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchers.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchers.java?ref=52d62b1402e1c12feb73bbc0b0cacda5f956f5ddpatchX
  @@ -0,0 +1,103 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.collect;
+
+import com.google.common.base.CharMatcher;
+
+/**
+ * Useful Guava character matchers.
+ */
+public final class CharMatchers {
+
+  private static final CharMatcher UPPER_LETTERS = CharMatcher.inRange('A', 'Z');
+  private static final CharMatcher LOWER_LETTERS = CharMatcher.inRange('a', 'z');
+  private static final CharMatcher LETTERS = UPPER_LETTERS.or(LOWER_LETTERS);
+  private static final CharMatcher DIGITS = CharMatcher.inRange('0', '9');
+  private static final CharMatcher LETTERS_DIGITS = LETTERS.or(DIGITS);
+  private static final CharMatcher UPPER_HEX = DIGITS.or(CharMatcher.inRange('A', 'F'));
+  private static final CharMatcher LOWER_HEX = DIGITS.or(CharMatcher.inRange('a', 'f'));
+  private static final CharMatcher HEX = UPPER_HEX.or(LOWER_HEX);
+
+  /**
+   * Restricted constructor.
+   */
+  private CharMatchers() {
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Returns the matcher for ASCII upper case letters.
+   *
+   * @return the matcher for ASCII upper case letters
+   */
+  public static CharMatcher upperLetters() {
+    return UPPER_LETTERS;
+  }
+
+  /**
+   * Returns the matcher for ASCII upper case letters.
+   *
+   * @return the matcher for ASCII upper case letters
+   */
+  public static CharMatcher lowerLetters() {
+    return LOWER_LETTERS;
+  }
+
+  /**
+   * Returns the matcher for ASCII letters.
+   *
+   * @return the matcher for ASCII letters
+   */
+  public static CharMatcher letters() {
+    return LETTERS;
+  }
+
+  /**
+   * Returns the matcher for ASCII digits.
+   *
+   * @return the matcher for ASCII digits
+   */
+  public static CharMatcher digits() {
+    return DIGITS;
+  }
+
+  /**
+   * Returns the matcher for ASCII letters and digits.
+   *
+   * @return the matcher for ASCII letters and digits
+   */
+  public static CharMatcher lettersAndDigits() {
+    return LETTERS_DIGITS;
+  }
+
+  /**
+   * Returns the matcher for ASCII upper case hex characters.
+   *
+   * @return the matcher for ASCII upper case hex characters
+   */
+  public static CharMatcher upperHex() {
+    return UPPER_HEX;
+  }
+
+  /**
+   * Returns the matcher for ASCII upper case hex characters.
+   *
+   * @return the matcher for ASCII upper case hex characters
+   */
+  public static CharMatcher lowerHex() {
+    return LOWER_HEX;
+  }
+
+  /**
+   * Returns the matcher for ASCII hex characters.
+   *
+   * @return the matcher for ASCII hex characters
+   */
+  public static CharMatcher hex() {
+    return HEX;
+  }
+
+}u}(jp?  (182e919327d7b57b9ff177d8f3e4d914143ace5dj?  Pmodules/collect/src/test/java/com/opengamma/strata/collect/CharMatchersTest.javaj?  addedj?  KMj?  K j?  KMj?  https://github.com/OpenGamma/Strata/blob/52d62b1402e1c12feb73bbc0b0cacda5f956f5dd/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchersTest.javaj?  https://github.com/OpenGamma/Strata/raw/52d62b1402e1c12feb73bbc0b0cacda5f956f5dd/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchersTest.javaj?  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FCharMatchersTest.java?ref=52d62b1402e1c12feb73bbc0b0cacda5f956f5ddj?  XH  @@ -0,0 +1,77 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.collect;
+
+import static org.assertj.core.api.Assertions.assertThat;
+
+import org.junit.jupiter.api.Test;
+
+/**
+ * Test CharMatchers.
+ */
+public class CharMatchersTest {
+
+  @Test
+  public void test_upperLetters() {
+    assertThat(CharMatchers.upperLetters().matchesAllOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.upperLetters().matchesNoneOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.upperLetters().matchesNoneOf("0123456789"));
+    assertThat(CharMatchers.upperLetters().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_lowerLetters() {
+    assertThat(CharMatchers.lowerLetters().matchesNoneOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.lowerLetters().matchesAllOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.lowerLetters().matchesNoneOf("0123456789"));
+    assertThat(CharMatchers.lowerLetters().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_letters() {
+    assertThat(CharMatchers.letters().matchesAllOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.letters().matchesAllOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.letters().matchesNoneOf("0123456789"));
+    assertThat(CharMatchers.letters().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_digits() {
+    assertThat(CharMatchers.digits().matchesNoneOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.digits().matchesNoneOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.digits().matchesAllOf("0123456789"));
+    assertThat(CharMatchers.digits().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_lettersAndDigits() {
+    assertThat(CharMatchers.lettersAndDigits().matchesAllOf("ABCDEFGHIJKLMNOPQRSTUVWXYZ"));
+    assertThat(CharMatchers.lettersAndDigits().matchesAllOf("abcdefghijklmnopqrstuvwxyz"));
+    assertThat(CharMatchers.lettersAndDigits().matchesAllOf("0123456789"));
+    assertThat(CharMatchers.lettersAndDigits().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_upperHex() {
+    assertThat(CharMatchers.upperHex().matchesAllOf("0123456789ABCDEF"));
+    assertThat(CharMatchers.upperHex().matchesNoneOf("abcdef"));
+    assertThat(CharMatchers.upperHex().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_lowerHex() {
+    assertThat(CharMatchers.lowerHex().matchesAllOf("0123456789abcdef"));
+    assertThat(CharMatchers.lowerHex().matchesNoneOf("ABCDEF"));
+    assertThat(CharMatchers.lowerHex().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+  @Test
+  public void test_hex() {
+    assertThat(CharMatchers.hex().matchesAllOf("0123456789abcdefABCDEF"));
+    assertThat(CharMatchers.hex().matchesNoneOf(" -_!\"£$%^&*()\\|,<.>/?;:'@#~[{]}=+"));
+  }
+
+}ueu(5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7}(sha(5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7node_idEC_kwDOAT6l0doAKDVkNWVjNGMzYTcxZTc1MjdlYzU0NGMzZDVjN2ExYmZjOTc1NzliZTccommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-09T11:10:55Zu	committer}(j?  Akshai Shahj?  #akshaishah@users.noreply.github.comj?  2023-03-09T11:10:55ZumessagePR Commentstree}(j?  (16710aa062a91f950c3afa205ab3684dbb66f710url`https://api.github.com/repos/OpenGamma/Strata/git/trees/16710aa062a91f950c3afa205ab3684dbb66f710uj@  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj@  ^https://api.github.com/repos/OpenGamma/Strata/commits/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7html_urlShttps://github.com/OpenGamma/Strata/commit/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/commentsj?  }(login
akshaishahidJd
 j?  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j@  'https://api.github.com/users/akshaishahj@  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminuj?  }(j@  
akshaishahj@  Jd
 j?  MDQ6VXNlcjE5MDM5NzI=j@  3https://avatars.githubusercontent.com/u/1903972?v=4j@  h3j@  'https://api.github.com/users/akshaishahj@  https://github.com/akshaishahj!@  1https://api.github.com/users/akshaishah/followersj#@  >https://api.github.com/users/akshaishah/following{/other_user}j%@  7https://api.github.com/users/akshaishah/gists{/gist_id}j'@  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j)@  5https://api.github.com/users/akshaishah/subscriptionsj+@  ,https://api.github.com/users/akshaishah/orgsj-@  -https://api.github.com/users/akshaishah/reposj/@  8https://api.github.com/users/akshaishah/events{/privacy}j1@  7https://api.github.com/users/akshaishah/received_eventsj3@  Userj5@  uparents]}(j?  (b49aed33e4b87e3cd0b2a9fce87dfdd5748db351j@  ^https://api.github.com/repos/OpenGamma/Strata/commits/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351j@  Shttps://github.com/OpenGamma/Strata/commit/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351uastats}(totalK:	additionsK	deletionsK2ufiles](}(j?  (aadcef8f72163fffe401f598ed7be7585c260534filenameImodules/collect/src/main/java/com/opengamma/strata/collect/io/CsvRow.javastatusmodifiedjO@  KjP@  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.java?ref=5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7patchX  @@ -14,6 +14,7 @@
 
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
+import com.opengamma.strata.collect.result.ParseFailureException;
 
 /**
  * A row in a CSV file.
@@ -155,7 +156,7 @@ public String field(int index) {
   public String getField(String header) {
     Integer index = findIndex(header);
     if (index == null) {
-      throw new IllegalArgumentException("Header not found: '" + header + "'");
+      throw new ParseFailureException("Header not found: '{header}'", header);
     }
     return field(index);
   }
@@ -270,7 +271,7 @@ public Optional<String> findField(Pattern headerPattern) {
   public String getValue(String header) {
     String value = getField(header);
     if (value.isEmpty()) {
-      throw new IllegalArgumentException("No value was found for field: '" + header + "'");
+      throw new ParseFailureException("No value was found for '{header}'", header);
     }
     return value;
   }u}(j?  (6341829ef23d56a2fb8c0294c4ac563481f7414ejU@  \modules/collect/src/main/java/com/opengamma/strata/collect/result/ParseFailureException.javajW@  modifiedjO@  K jP@  K&jY@  K&jZ@  https://github.com/OpenGamma/Strata/blob/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FParseFailureException.javaj\@  https://github.com/OpenGamma/Strata/raw/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FParseFailureException.javaj^@  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FParseFailureException.java?ref=5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7j`@  X  @@ -67,44 +67,6 @@ public ParseFailureException(Throwable cause, String messageTemplate, Object...
     initCause(cause);
   }
 
-  /**
-   * Returns an exception from a cause, reason and message.
-   * <p>
-   * The message is produced using a template that contains zero to many "{argName}" placeholders.
-   * Each placeholder is replaced by the next available argument.
-   * If there are too few arguments, then the message will be left with placeholders.
-   * If there are too many arguments, then the excess arguments are appended to the
-   * end of the message. No attempt is made to format the arguments.
-   * See {@link Messages#formatWithAttributes(String, Object...)} for more details.
-   *
-   * @param cause  the cause
-   * @param reason the reason for the failure
-   * @param messageTemplate  a message explaining the failure, not empty, uses "{argName}" for inserting {@code messageArgs}
-   * @param messageArgs  the arguments for the message
-   */
-  public ParseFailureException(Throwable cause, FailureReason reason, String messageTemplate, Object... messageArgs) {
-    this(FailureItem.of(reason, cause, messageTemplate, messageArgs));
-    initCause(cause);
-  }
-
-  /**
-   * Returns an exception from a reason and message.
-   * <p>
-   * The message is produced using a template that contains zero to many "{argName}" placeholders.
-   * Each placeholder is replaced by the next available argument.
-   * If there are too few arguments, then the message will be left with placeholders.
-   * If there are too many arguments, then the excess arguments are appended to the
-   * end of the message. No attempt is made to format the arguments.
-   * See {@link Messages#formatWithAttributes(String, Object...)} for more details.
-   *
-   * @param reason the reason for the failure
-   * @param messageTemplate  a message explaining the failure, not empty, uses "{argName}" for inserting {@code messageArgs}
-   * @param messageArgs  the arguments for the message
-   */
-  public ParseFailureException(FailureReason reason, String messageTemplate, Object... messageArgs) {
-    this(FailureItem.of(reason, messageTemplate, messageArgs));
-  }
-
   /**
    * Gets the failure item.
    *u}(j?  (54c44dc204f6427d7136c8d174e78030c4b95826jU@  Pmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javajW@  modifiedjO@  KjP@  KjY@  KjZ@  https://github.com/OpenGamma/Strata/blob/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj\@  https://github.com/OpenGamma/Strata/raw/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj^@  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7j`@  X  @@ -229,22 +229,19 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
         if (week == 0) {
           return Pair.of(yearMonth, EtdVariant.ofDaily(day));
         } else {
-          throw new ParseFailureException(FailureReason.INVALID,
-              "Unable to parse ETD variant, date columns conflict, must not set both expiry day and expiry week");
+          throw new ParseFailureException("Unable to parse ETD variant, date columns conflict, must not set both expiry day and expiry week");
         }
       }
     } else {
       if (day == 0) {
         throw new ParseFailureException(
-            FailureReason.PARSING,
             "'{field}' is empty, must be set when '{}' is provided as this denotes a Flex Option",
             EXPIRY_DAY_FIELD,
             SETTLEMENT_TYPE_FIELD);
       }
       if (week != 0) {
         throw new ParseFailureException(
-            FailureReason.PARSING,
-            "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option",
+            "'{field}' is empty, must be set when '{}' is provided as this denotes a Flex Option",
             EXPIRY_WEEK_FIELD,
             SETTLEMENT_TYPE_FIELD);
       }
@@ -253,8 +250,7 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
       } else {
         if (!optionTypeOpt.isPresent()) {
           throw new ParseFailureException(
-              FailureReason.PARSING,
-              "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option",
+              "'{field}' is empty, must be set when '{}' is provided as this denotes a Flex Option",
               EXERCISE_STYLE_FIELD,
               SETTLEMENT_TYPE_FIELD);
         }
@@ -319,7 +315,6 @@ public static DoublesPair parseQuantity(CsvRow row) {
     Optional<Double> shortQuantityOpt = row.findValue(SHORT_QUANTITY_FIELD, LoaderUtils::parseDouble);
     if (!longQuantityOpt.isPresent() && !shortQuantityOpt.isPresent()) {
       throw new ParseFailureException(
-          FailureReason.PARSING,
           "Security must contain a quantity column, either '{}' or '{}' and '{}'",
           QUANTITY_FIELD, LONG_QUANTITY_FIELD, SHORT_QUANTITY_FIELD);
     }u}(j?  (437422504d6bd28283c3add7aa2d8315a816a2b1jU@  Smodules/loader/src/main/java/com/opengamma/strata/loader/csv/PositionCsvLoader.javajW@  modifiedjO@  KjP@  KjY@  KjZ@  https://github.com/OpenGamma/Strata/blob/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj\@  https://github.com/OpenGamma/Strata/raw/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.javaj^@  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoader.java?ref=5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7j`@  X  @@ -382,7 +382,7 @@ private <T extends Position> ValueWithFailures<List<T>> parseFile(CsvIterator cs
         } else {
           // failed to find the type
           FailureItem failureItem = FailureItem.of(
-              FailureReason.UNSUPPORTED,
+              FailureReason.PARSING,
               "CSV position file '{fileName}' contained unknown position type '{type}' at line {lineNumber}",
               CharSources.extractFileName(charSource),
               typeRaw,u}(j?  (00180323fd1555d6415881fcde81889c5e6f0abdjU@  Wmodules/loader/src/test/java/com/opengamma/strata/loader/csv/PositionCsvLoaderTest.javajW@  modifiedjO@  KjP@  KjY@  KjZ@  https://github.com/OpenGamma/Strata/blob/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj\@  https://github.com/OpenGamma/Strata/raw/5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj^@  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.java?ref=5d5ec4c3a71e7527ec544c3d5c7a1bfc97579be7j`@  X  @@ -419,7 +419,7 @@ public void test_load_invalidUnknownType() {
 
     assertThat(trades.getFailures()).hasSize(1);
     FailureItem failure = trades.getFailures().get(0);
-    assertThat(failure.getReason()).isEqualTo(FailureReason.UNSUPPORTED);
+    assertThat(failure.getReason()).isEqualTo(FailureReason.PARSING);
     assertThat(failure.getMessage()).isEqualTo("CSV position file 'Unknown.txt' contained unknown position type 'Foo' at line 2");
   }
 ueu(e3b0567931392f7055e41f3043afe9fcf4a24f0b}(sha(e3b0567931392f7055e41f3043afe9fcf4a24f0bnode_idEC_kwDOAT6l0doAKGUzYjA1Njc5MzEzOTJmNzA1NWU0MWYzMDQzYWZlOWZjZjRhMjRmMGIcommit}(author}(nameJordan Morrisonemail333151302+jordanmorrison476@users.noreply.github.comdate2023-06-07T08:59:20Zu	committer}(j@  GitHubj@  noreply@github.comj@  2023-06-07T08:59:20Zumessage@Merge branch 'main' into updating-thailand-bank-holiday-calendartree}(j@  (6ebe21d66ce0fcbe187a2269b2c056b1795e16efurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/6ebe21d66ce0fcbe187a2269b2c056b1795e16efuj@  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/e3b0567931392f7055e41f3043afe9fcf4a24f0b
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkgEboCRBK7hj4Ov3rIwAA39wIAKtwJCXBCRWt1IcJSvdPXneI
5ugziikuZJBFZdARzVcJPs5fq2vB+8qz+Jhez2BQTzJexwLTusg+vgmpjzUOOuw9
6YYkMA/K/29Ko9YG26iPsXq3//DuDtphntmNZ7Y+N61oUbuq8NuqYDtV86DMYCPz
uTx0SAzB5oWRTS2ZRzpSfWuRAK4onW+J4VpXcGcgrVtOBxM4IkuO4MWba7AhfD5x
w/aL6xvIp4r8ySGnAov+TFM2qGsvY4ztDkVPQMCZOKuw5lQ/jl+zIdoCws6ZmChv
c/EqaoXFa6FKtz+7fzy4PXPFm6r/2EL7cVBxH+sRykaKsJKp963PCJgR3osdvyU=
=Mdv0
-----END PGP SIGNATURE-----
payloadXd  tree 6ebe21d66ce0fcbe187a2269b2c056b1795e16ef
parent 2f6880e6cdb34663e85d6e1e712b6339fc2cac5a
parent 211806b242b7e224323f74883fcc9ae2b17dd9c9
author Jordan Morrison <33151302+jordanmorrison476@users.noreply.github.com> 1686128360 +0100
committer GitHub <noreply@github.com> 1686128360 +0100

Merge branch 'main' into updating-thailand-bank-holiday-calendaruuj@  ^https://api.github.com/repos/OpenGamma/Strata/commits/e3b0567931392f7055e41f3043afe9fcf4a24f0bhtml_urlShttps://github.com/OpenGamma/Strata/commit/e3b0567931392f7055e41f3043afe9fcf4a24f0bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/e3b0567931392f7055e41f3043afe9fcf4a24f0b/commentsj@  }(loginjordanmorrison476idJFj@  MDQ6VXNlcjMzMTUxMzAy
avatar_url4https://avatars.githubusercontent.com/u/33151302?v=4gravatar_idh3j@  .https://api.github.com/users/jordanmorrison476j@  $https://github.com/jordanmorrison476
followers_url8https://api.github.com/users/jordanmorrison476/followers
following_urlEhttps://api.github.com/users/jordanmorrison476/following{/other_user}	gists_url>https://api.github.com/users/jordanmorrison476/gists{/gist_id}starred_urlEhttps://api.github.com/users/jordanmorrison476/starred{/owner}{/repo}subscriptions_url<https://api.github.com/users/jordanmorrison476/subscriptionsorganizations_url3https://api.github.com/users/jordanmorrison476/orgs	repos_url4https://api.github.com/users/jordanmorrison476/repos
events_url?https://api.github.com/users/jordanmorrison476/events{/privacy}received_events_url>https://api.github.com/users/jordanmorrison476/received_eventstypeUser
site_adminuj@  }(j@  web-flowj@  J/j@  MDQ6VXNlcjE5ODY0NDQ3j@  4https://avatars.githubusercontent.com/u/19864447?v=4j@  h3j@  %https://api.github.com/users/web-flowj@  https://github.com/web-flowj@  /https://api.github.com/users/web-flow/followersj@  <https://api.github.com/users/web-flow/following{/other_user}j@  5https://api.github.com/users/web-flow/gists{/gist_id}j@  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j@  3https://api.github.com/users/web-flow/subscriptionsj@  *https://api.github.com/users/web-flow/orgsj@  +https://api.github.com/users/web-flow/reposj@  6https://api.github.com/users/web-flow/events{/privacy}j@  5https://api.github.com/users/web-flow/received_eventsj@  Userj@  uparents](}(j@  (2f6880e6cdb34663e85d6e1e712b6339fc2cac5aj@  ^https://api.github.com/repos/OpenGamma/Strata/commits/2f6880e6cdb34663e85d6e1e712b6339fc2cac5aj@  Shttps://github.com/OpenGamma/Strata/commit/2f6880e6cdb34663e85d6e1e712b6339fc2cac5au}(j@  (211806b242b7e224323f74883fcc9ae2b17dd9c9j@  ^https://api.github.com/repos/OpenGamma/Strata/commits/211806b242b7e224323f74883fcc9ae2b17dd9c9j@  Shttps://github.com/OpenGamma/Strata/commit/211806b242b7e224323f74883fcc9ae2b17dd9c9uestats}(totalM	additionsM	deletionsKufiles](}(j@  (5de5589b1354237250c11afe94ffa550bb9509bafilenameexamples/pom.xmlstatusmodifiedj@  Kj@  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bpatchXK  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.26-SNAPSHOT</version>
+  <version>2.12.27-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>u}(j@  (e634f6c6582b17a9b0e46cf3d385610ea12b5ba2j@  modules/basics/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  lhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fbasics%2Fpom.xmlj@  khttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fbasics%2Fpom.xmlj@  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j@  (40223458521424e7f3863bfe1993fe331c299eaaj@  modules/calc/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  jhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fcalc%2Fpom.xmlj@  ihttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fcalc%2Fpom.xmlj@  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j@  (2413f82c65adb3c59381bdcbf0e25025065632d9j@  modules/collect/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  mhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fcollect%2Fpom.xmlj@  lhttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fcollect%2Fpom.xmlj@  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j@  (a656877f03b7e1b40ef59e0ac4ae7d30da77e8a9j@  modules/data/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  jhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fdata%2Fpom.xmlj@  ihttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fdata%2Fpom.xmlj@  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X   @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j@  (62cd5061b82378f89de37b50e46271993e20db02j@  modules/loader/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  lhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Floader%2Fpom.xmlj@  khttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Floader%2Fpom.xmlj@  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j@  (5d274028fe092c400786f360f41ff55c87331db5j@  modules/market/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  lhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fmarket%2Fpom.xmlj@  khttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fmarket%2Fpom.xml      j@  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j@  (02b37716b18ab10892e363fc3f8c5c9bc5bf5b6aj@  modules/math/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  jhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fmath%2Fpom.xmlj@  ihttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fmath%2Fpom.xmlj@  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j@  (128813259a632a9d06744036a7a2106159076436j@  modules/measure/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  mhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fmeasure%2Fpom.xmlj@  lhttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fmeasure%2Fpom.xmlj@  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X#  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j@  (d888cf7b57f1483d2262a6bc6d4a940d564fbffaj@  modules/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  chttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fpom.xmlj@  bhttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fpom.xmlj@  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X3  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.26-SNAPSHOT</version>
+  <version>2.12.27-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>u}(j@  (7d584aba1172839ceff1ef3234718065cd9d7278j@  modules/pricer/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  lhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fpricer%2Fpom.xmlj@  khttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fpricer%2Fpom.xmlj@  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j@  (e4c3551c18d82d92bd64c751b56ac431309377b3j@  rmodules/pricer/src/main/java/com/opengamma/strata/pricer/index/NormalOvernightFutureOptionMarginedTradePricer.javaj@  addedj@  Mj@  K j@  Mj@  https://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricer.javaj@  https://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricer.javaj@  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricer.java?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X.  @@ -0,0 +1,257 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.pricer.index;
+
+import java.time.LocalDate;
+
+import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.market.sensitivity.PointSensitivities;
+import com.opengamma.strata.pricer.rate.RatesProvider;
+import com.opengamma.strata.product.TradedPrice;
+import com.opengamma.strata.product.index.OvernightFutureOption;
+import com.opengamma.strata.product.index.ResolvedOvernightFuture;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOption;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOptionTrade;
+import com.opengamma.strata.product.option.FutureOptionPremiumStyle;
+
+/**
+ * Pricer implementation for Overnight future option.
+ * <p>
+ * This provides the ability to price an Overnight future option.
+ * The option must be based on {@linkplain FutureOptionPremiumStyle#DAILY_MARGIN daily margin}.
+ *
+ * <h4>Price</h4>
+ * The price of an Overnight future option is based on the price of the underlying future, the volatility
+ * and the time to expiry. The price of the at-the-money option tends to zero as expiry approaches.
+ * <p>
+ * Strata uses <i>decimal prices</i> for Overnight future options in the trade model, pricers and market data.
+ * The decimal price is based on the decimal rate equivalent to the percentage.
+ * For example, an option price of 0.2 is related to a futures price of 99.32 that implies an
+ * interest rate of 0.68%. Strata represents the price of the future as 0.9932 and thus
+ * represents the price of the option as 0.002.
+ */
+public class NormalOvernightFutureOptionMarginedTradePricer {
+
+  /**
+   * Default implementation.
+   */
+  public static final NormalOvernightFutureOptionMarginedTradePricer DEFAULT =
+      new NormalOvernightFutureOptionMarginedTradePricer(NormalOvernightFutureOptionMarginedProductPricer.DEFAULT);
+
+  /**
+   * Underlying option pricer.
+   */
+  private final NormalOvernightFutureOptionMarginedProductPricer futureOptionPricer;
+
+  /**
+   * Creates an instance.
+   *
+   * @param futureOptionPricer  the pricer for {@link OvernightFutureOption}
+   */
+  public NormalOvernightFutureOptionMarginedTradePricer(
+      NormalOvernightFutureOptionMarginedProductPricer futureOptionPricer) {
+    this.futureOptionPricer = ArgChecker.notNull(futureOptionPricer, "futureOptionPricer");
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the price of the Overnight future option trade.
+   * <p>
+   * The price of the trade is the price on the valuation date.
+   * The price is calculated using the volatility model.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @return the price of the product, in decimal form
+   */
+  public double price(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities) {
+
+    return futureOptionPricer.price(trade.getProduct(), ratesProvider, volatilities);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value of the Overnight future option trade from the current option price.
+   * <p>
+   * The present value of the product is the value on the valuation date.
+   * The current price is specified, not calculated.
+   * <p>
+   * This method calculates based on the difference between the specified current price and the
+   * last settlement price, or the trade price if traded on the valuation date.
+   *
+   * @param trade  the trade
+   * @param valuationDate  the valuation date; required to asses if the trade or last closing price should be used
+   * @param currentOptionPrice  the current price for the option, in decimal form
+   * @param lastOptionSettlementPrice  the last settlement price used for margining for the option, in decimal form
+   * @return the present value
+   */
+  public CurrencyAmount presentValue(
+      ResolvedOvernightFutureOptionTrade trade,
+      LocalDate valuationDate,
+      double currentOptionPrice,
+      double lastOptionSettlementPrice) {
+
+    ResolvedOvernightFutureOption option = trade.getProduct();
+    double referencePrice = referencePrice(trade, valuationDate, lastOptionSettlementPrice);
+    double priceIndex = futureOptionPricer.marginIndex(option, currentOptionPrice);
+    double referenceIndex = futureOptionPricer.marginIndex(option, referencePrice);
+    double pv = (priceIndex - referenceIndex) * trade.getQuantity();
+    return CurrencyAmount.of(option.getUnderlyingFuture().getCurrency(), pv);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value of the Overnight future option trade.
+   * <p>
+   * The present value of the product is the value on the valuation date.
+   * The current price is calculated using the volatility model.
+   * <p>
+   * This method calculates based on the difference between the model price and the
+   * last settlement price, or the trade price if traded on the valuation date.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @param lastOptionSettlementPrice  the last settlement price used for margining for the option, in decimal form
+   * @return the present value
+   */
+  public CurrencyAmount presentValue(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities,
+      double lastOptionSettlementPrice) {
+
+    double price = price(trade, ratesProvider, volatilities);
+    return presentValue(trade, ratesProvider.getValuationDate(), price, lastOptionSettlementPrice);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value of the Overnight future option trade from the underlying future price.
+   * <p>
+   * The present value of the product is the value on the valuation date.
+   * The current price is calculated using the volatility model with a known future price.
+   * <p>
+   * This method calculates based on the difference between the model price and the
+   * last settlement price, or the trade price if traded on the valuation date.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @param futurePrice  the price of the underlying future, in decimal form
+   * @param lastOptionSettlementPrice  the last settlement price used for margining for the option, in decimal form
+   * @return the present value
+   */
+  public CurrencyAmount presentValue(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities,
+      double futurePrice,
+      double lastOptionSettlementPrice) {
+
+    double optionPrice = futureOptionPricer.price(trade.getProduct(), volatilities, futurePrice);
+    return presentValue(trade, ratesProvider.getValuationDate(), optionPrice, lastOptionSettlementPrice);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value sensitivity of the Overnight future option trade.
+   * <p>
+   * The present value sensitivity of the trade is the sensitivity of the present value to
+   * the underlying curves.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @return the present value curve sensitivity of the trade
+   */
+  public PointSensitivities presentValueSensitivityRates(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities) {
+
+    ResolvedOvernightFutureOption product = trade.getProduct();
+    PointSensitivities priceSensi =
+        futureOptionPricer.priceSensitivityRatesStickyStrike(product, ratesProvider, volatilities);
+    PointSensitivities marginIndexSensi = futureOptionPricer.marginIndexSensitivity(product, priceSensi);
+    return marginIndexSensi.multipliedBy(trade.getQuantity());
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Computes the present value sensitivity to the normal volatility used in the pricing.
+   * <p>
+   * The result is a single sensitivity to the volatility used.
+   * The volatility is associated with the expiry/delay/strike/future price key combination.
+   * <p>
+   * This calculates the underlying future price using the future pricer.
+   *
+   * @param futureOptionTrade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @return the price sensitivity
+   */
+  public OvernightFutureOptionSensitivity presentValueSensitivityModelParamsVolatility(
+      ResolvedOvernightFutureOptionTrade futureOptionTrade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities) {
+
+    ResolvedOvernightFuture future = futureOptionTrade.getProduct().getUnderlyingFuture();
+    double futurePrice = futureOptionPricer.getFuturePricer().price(future, ratesProvider);
+    return presentValueSensitivityModelParamsVolatility(futureOptionTrade, volatilities, futurePrice);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Computes the present value sensitivity to the normal volatility used in the pricing
+   * based on the price of the underlying future.
+   * <p>
+   * The result is a single sensitivity to the volatility used.
+   * The volatility is associated with the expiry/delay/strike/future price key combination.
+   *
+   * @param futureOptionTrade  the trade
+   * @param volatilities  the volatilities
+   * @param futurePrice  the price of the underlying future, in decimal form
+   * @return the price sensitivity
+   */
+  public OvernightFutureOptionSensitivity presentValueSensitivityModelParamsVolatility(
+      ResolvedOvernightFutureOptionTrade futureOptionTrade,
+      NormalOvernightFutureOptionVolatilities volatilities,
+      double futurePrice) {
+
+    ResolvedOvernightFutureOption product = futureOptionTrade.getProduct();
+    OvernightFutureOptionSensitivity priceSensitivity =
+        futureOptionPricer.priceSensitivityModelParamsVolatility(product, volatilities, futurePrice);
+    double factor = futureOptionPricer.marginIndex(product, 1) * futureOptionTrade.getQuantity();
+    return priceSensitivity.multipliedBy(factor);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the reference price for the trade.
+   * <p>
+   * If the valuation date equals the trade date, then the reference price is the trade price.
+   * Otherwise, the reference price is the last settlement price used for margining.
+   *
+   * @param trade  the trade
+   * @param valuationDate  the date for which the reference price should be calculated
+   * @param lastSettlementPrice  the last settlement price used for margining, in decimal form
+   * @return the reference price, in decimal form
+   */
+  private double referencePrice(ResolvedOvernightFutureOptionTrade trade, LocalDate valuationDate, double lastSettlementPrice) {
+    ArgChecker.notNull(valuationDate, "valuationDate");
+    return trade.getTradedPrice()
+        .filter(tp -> tp.getTradeDate().equals(valuationDate))
+        .map(TradedPrice::getPrice)
+        .orElse(lastSettlementPrice);
+  }
+
+}u}(j@  (5507595b3f36274fd0428306aec083a41ef48c14j@  vmodules/pricer/src/test/java/com/opengamma/strata/pricer/index/NormalOvernightFutureOptionMarginedTradePricerTest.javaj@  addedj@  Kj@  K j@  Kj@  https://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.javaj@  https://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.javaj@  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.java?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X3&  @@ -0,0 +1,190 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.pricer.index;
+
+import static com.opengamma.strata.basics.date.DayCounts.ACT_365F;
+import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
+import static com.opengamma.strata.collect.TestHelper.date;
+import static com.opengamma.strata.market.curve.interpolator.CurveInterpolators.LINEAR;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.data.Offset.offset;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+import java.time.LocalDate;
+import java.time.LocalTime;
+import java.time.ZoneId;
+
+import org.junit.jupiter.api.Test;
+
+import com.opengamma.strata.basics.ReferenceData;
+import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.basics.index.OvernightIndexObservation;
+import com.opengamma.strata.collect.array.DoubleArray;
+import com.opengamma.strata.market.model.MoneynessType;
+import com.opengamma.strata.market.sensitivity.PointSensitivities;
+import com.opengamma.strata.market.surface.InterpolatedNodalSurface;
+import com.opengamma.strata.market.surface.Surfaces;
+import com.opengamma.strata.market.surface.interpolator.GridSurfaceInterpolator;
+import com.opengamma.strata.market.surface.interpolator.SurfaceInterpolator;
+import com.opengamma.strata.pricer.rate.OvernightIndexRates;
+import com.opengamma.strata.pricer.rate.OvernightRateSensitivity;
+import com.opengamma.strata.pricer.rate.SimpleRatesProvider;
+import com.opengamma.strata.product.TradedPrice;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOption;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOptionTrade;
+
+/**
+ * Tests {@link NormalOvernightFutureOptionMarginedTradePricer}
+ */
+class NormalOvernightFutureOptionMarginedTradePricerTest {
+
+  private static final ReferenceData REF_DATA = ReferenceData.standard();
+  private static final SurfaceInterpolator INTERPOLATOR_2D = GridSurfaceInterpolator.of(LINEAR, LINEAR);
+  private static final DoubleArray TIMES =
+      DoubleArray.of(0.25, 0.25, 0.25, 0.25, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 1.0, 1.0);
+  private static final DoubleArray MONEYNESS_PRICES =
+      DoubleArray.of(-0.02, -0.01, 0.0, 0.01, -0.02, -0.01, 0.0, 0.01, -0.02, -0.01, 0.0, 0.01);
+  private static final DoubleArray NORMAL_VOL =
+      DoubleArray.of(0.01, 0.011, 0.012, 0.010, 0.011, 0.012, 0.013, 0.012, 0.012, 0.013, 0.014, 0.014);
+  private static final InterpolatedNodalSurface PARAMETERS_PRICE = InterpolatedNodalSurface.of(
+      Surfaces.normalVolatilityByExpirySimpleMoneyness("Test", ACT_365F, MoneynessType.PRICE),
+      TIMES,
+      MONEYNESS_PRICES,
+      NORMAL_VOL,
+      INTERPOLATOR_2D);
+
+  private static final LocalDate VAL_DATE = date(2015, 2, 17);
+  private static final LocalTime VAL_TIME = LocalTime.of(13, 45);
+  private static final ZoneId LONDON_ZONE = ZoneId.of("Europe/London");
+
+  private static final NormalOvernightFutureOptionVolatilities VOL_SIMPLE_MONEY_PRICE =
+      NormalOvernightFutureOptionExpirySimpleMoneynessVolatilities.of(
+          GBP_SONIA, VAL_DATE.atTime(VAL_TIME).atZone(LONDON_ZONE), PARAMETERS_PRICE);
+
+  private static final ResolvedOvernightFutureOption OPTION = OvernightFutureDummyData.OVERNIGHT_FUTURE_OPTION_2.resolve(REF_DATA);
+  private static final LocalDate TRADE_DATE = date(2015, 2, 16);
+  private static final long OPTION_QUANTITY = 12345;
+  private static final double TRADE_PRICE = 0.0100;
+  private static final ResolvedOvernightFutureOptionTrade FUTURE_OPTION_TRADE_TD = ResolvedOvernightFutureOptionTrade.builder()
+      .product(OPTION)
+      .quantity(OPTION_QUANTITY)
+      .tradedPrice(TradedPrice.of(VAL_DATE, TRADE_PRICE))
+      .build();
+  private static final ResolvedOvernightFutureOptionTrade FUTURE_OPTION_TRADE = ResolvedOvernightFutureOptionTrade.builder()
+      .product(OPTION)
+      .quantity(OPTION_QUANTITY)
+      .tradedPrice(TradedPrice.of(TRADE_DATE, TRADE_PRICE))
+      .build();
+
+  private static final double RATE = 0.015;
+
+  private static final DiscountingOvernightFutureProductPricer FUTURE_PRICER = DiscountingOvernightFutureProductPricer.DEFAULT;
+  private static final NormalOvernightFutureOptionMarginedProductPricer OPTION_PRODUCT_PRICER =
+      new NormalOvernightFutureOptionMarginedProductPricer(FUTURE_PRICER);
+  private static final NormalOvernightFutureOptionMarginedTradePricer OPTION_TRADE_PRICER =
+      new NormalOvernightFutureOptionMarginedTradePricer(OPTION_PRODUCT_PRICER);
+
+  private static final double TOLERANCE_PV = 1.0E-2;
+  private static final double TOLERANCE_PV_DELTA = 1.0E-1;
+
+  // ----------     present value     ----------
+
+  @Test
+  public void presentValue_from_option_price_trade_date() {
+    double optionPrice = 0.0125;
+    double lastClosingPrice = 0.0150;
+    CurrencyAmount pvComputed = OPTION_TRADE_PRICER
+        .presentValue(FUTURE_OPTION_TRADE_TD, VAL_DATE, optionPrice, lastClosingPrice);
+    double pvExpected = (OPTION_PRODUCT_PRICER.marginIndex(OPTION, optionPrice) -
+        OPTION_PRODUCT_PRICER.marginIndex(OPTION, TRADE_PRICE)) * OPTION_QUANTITY;
+    assertThat(pvComputed.getAmount()).isCloseTo(pvExpected, offset(TOLERANCE_PV));
+  }
+
+  @Test
+  public void presentValue_from_future_price() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider(VAL_DATE);
+    prov.setOvernightRates(mockOvernight);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+
+    double futurePrice = 0.9875;
+    double lastClosingPrice = 0.0150;
+    CurrencyAmount pvComputed = OPTION_TRADE_PRICER
+        .presentValue(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE, futurePrice, lastClosingPrice);
+    double optionPrice =
+        OPTION_PRODUCT_PRICER.price(OPTION, VOL_SIMPLE_MONEY_PRICE, futurePrice);
+    double pvExpected = (OPTION_PRODUCT_PRICER.marginIndex(OPTION, optionPrice) -
+        OPTION_PRODUCT_PRICER.marginIndex(OPTION, lastClosingPrice)) * OPTION_QUANTITY;
+    assertThat(pvComputed.getAmount()).isCloseTo(pvExpected, offset(TOLERANCE_PV));
+  }
+
+  @Test
+  public void presentValue_from_env() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider(VAL_DATE);
+    prov.setOvernightRates(mockOvernight);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+    when(mockOvernight.getValuationDate()).thenReturn(VAL_DATE);
+
+    double lastClosingPrice = 0.0150;
+    CurrencyAmount pvComputed = OPTION_TRADE_PRICER
+        .presentValue(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE, lastClosingPrice);
+    double optionPrice =
+        OPTION_PRODUCT_PRICER.price(OPTION, prov, VOL_SIMPLE_MONEY_PRICE);
+    double pvExpected = (OPTION_PRODUCT_PRICER.marginIndex(OPTION, optionPrice) -
+        OPTION_PRODUCT_PRICER.marginIndex(OPTION, lastClosingPrice)) * OPTION_QUANTITY;
+    assertThat(pvComputed.getAmount()).isCloseTo(pvExpected, offset(TOLERANCE_PV));
+  }
+
+  // ----------     present value sensitivity     ----------
+
+  @Test
+  public void presentValueSensitivity_from_env() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider();
+    prov.setOvernightRates(mockOvernight);
+    OvernightIndexObservation obs = OvernightIndexObservation.of(
+        GBP_SONIA,
+        LocalDate.of(2015, 6, 17),
+        REF_DATA);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+    when(mockOvernight.getValuationDate()).thenReturn(VAL_DATE);
+    when(mockOvernight.periodRatePointSensitivity(any(), any()))
+        .thenReturn(OvernightRateSensitivity.ofPeriod(obs, LocalDate.of(2015, 9, 16), 1d));
+    //PointSensitivityBuilder Sensitivity = rates.periodRatePointSensitivity(obs, endDate);
+
+    PointSensitivities psProduct =
+        OPTION_PRODUCT_PRICER.priceSensitivityRatesStickyStrike(OPTION, prov, VOL_SIMPLE_MONEY_PRICE);
+    PointSensitivities psExpected = psProduct
+        .multipliedBy(OPTION_PRODUCT_PRICER.marginIndex(OPTION, 1) * OPTION_QUANTITY);
+    PointSensitivities psComputed = OPTION_TRADE_PRICER
+        .presentValueSensitivityRates(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE);
+    assertThat(psComputed.equalWithTolerance(psExpected, TOLERANCE_PV_DELTA)).isTrue();
+  }
+
+  // ----------     present value normal vol sensitivity     ----------
+
+  @Test
+  public void presentvalue_normalVolSensitivity_from_env() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider();
+    prov.setOvernightRates(mockOvernight);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+    when(mockOvernight.getValuationDate()).thenReturn(VAL_DATE);
+
+    OvernightFutureOptionSensitivity psProduct =
+        OPTION_PRODUCT_PRICER.priceSensitivityModelParamsVolatility(OPTION, prov, VOL_SIMPLE_MONEY_PRICE);
+    OvernightFutureOptionSensitivity psExpected = psProduct.withSensitivity(
+        psProduct.getSensitivity() * OPTION_PRODUCT_PRICER.marginIndex(OPTION, 1) * OPTION_QUANTITY);
+    OvernightFutureOptionSensitivity psComputed = OPTION_TRADE_PRICER
+        .presentValueSensitivityModelParamsVolatility(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE);
+    assertThat(psExpected.compareKey(psComputed) == 0).isTrue();
+    assertThat(psComputed.getSensitivity()).isCloseTo(psExpected.getSensitivity(), offset(TOLERANCE_PV_DELTA));
+  }
+
+}u}(j@  (a48df5f307d8c9184ed0bd31e3845990f19bb3e2j@  modules/product/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  mhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fproduct%2Fpom.xmlj@  lhttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Fproduct%2Fpom.xmlj@  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j@  (58b16221f910d547629c35488e5bfce7d56fe502j@  modules/report/pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  lhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Freport%2Fpom.xmlj@  khttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/modules%2Freport%2Fpom.xmlj@  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.26-SNAPSHOT</version>
+    <version>2.12.27-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j@  (8036c3aa4ec2b7c922303355cd75f633abb4b3c0j@  pom.xmlj@  modifiedj@  Kj@  Kj@  Kj@  Yhttps://github.com/OpenGamma/Strata/blob/e3b0567931392f7055e41f3043afe9fcf4a24f0b/pom.xmlj@  Xhttps://github.com/OpenGamma/Strata/raw/e3b0567931392f7055e41f3043afe9fcf4a24f0b/pom.xmlj@  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=e3b0567931392f7055e41f3043afe9fcf4a24f0bj@  X/  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.26-SNAPSHOT</version>
+  <version>2.12.27-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>ueu(641124639985747b181c3605d1641290952077f6}(sha(641124639985747b181c3605d1641290952077f6node_idEC_kwDOAT6l0doAKDY0MTEyNDYzOTk4NTc0N2IxODFjMzYwNWQxNjQxMjkwOTUyMDc3ZjYcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-05-31T14:59:25Zu	committer}(jA  GitHubjA  noreply@github.comjA  2023-05-31T14:59:25ZumessageX  Bump guava from 31.1-jre to 32.0.0-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(jwA  (bf4dc28cbd5fd78f4548ccd52f90b4ef3bd07917url`https://api.github.com/repos/OpenGamma/Strata/git/trees/bf4dc28cbd5fd78f4548ccd52f90b4ef3bd07917ujA  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/641124639985747b181c3605d1641290952077f6
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkd2DNCRBK7hj4Ov3rIwAALrQIAI0hBl3b8EKa8DCrlJXLqEOG
criz9D1C3se/p4nn0RvN4ZTHjbxUdjHX6FQgiiJa9wisodHXgMgwA71UsX14tnUk
iggOvaZc3eHlRiofm3TPa2ioC8IBoUn8v9j9jRJIVDx8jdRBoL1D/uo2GFEw7xij
7Ka4Fdc4mqEyfTl4zBjao8ZuxpUSXSsiVrnvLaIEmwVITY/bKH/CsMpqmMuqydkM
yEnqA35t79RJvl+ddg0kW6z3CLp2Fsj5vuyu6X/8o5mGtmdLvsNjUQ8oIzpxk52V
xLhAwskkGHR9/fjNEkL40akFFdr5xSQBmT1dRnOlUUmAQHwbpTk9fICN9wE6NVE=
=cWkD
-----END PGP SIGNATURE-----
payloadXy  tree bf4dc28cbd5fd78f4548ccd52f90b4ef3bd07917
parent 6653262414e66a1476af69449ec42a76e33f3214
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1685545165 +0000
committer GitHub <noreply@github.com> 1685545165 +0000

Bump guava from 31.1-jre to 32.0.0-jre

Bumps [guava](https://github.com/google/guava) from 31.1-jre to 32.0.0-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>uujA  ^https://api.github.com/repos/OpenGamma/Strata/commits/641124639985747b181c3605d1641290952077f6html_urlShttps://github.com/OpenGamma/Strata/commit/641124639985747b181c3605d1641290952077f6comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/641124639985747b181c3605d1641290952077f6/commentsj}A  }(logindependabot[bot]idJZjyA  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jA  0https://api.github.com/users/dependabot%5Bbot%5DjA  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujA  }(jA  web-flowjA  J/jyA  MDQ6VXNlcjE5ODY0NDQ3jA  4https://avatars.githubusercontent.com/u/19864447?v=4jA  h3jA  %https://api.github.com/users/web-flowjA  https://github.com/web-flowjA  /https://api.github.com/users/web-flow/followersjA  <https://api.github.com/users/web-flow/following{/other_user}jA  5https://api.github.com/users/web-flow/gists{/gist_id}jA  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jA  3https://api.github.com/users/web-flow/subscriptionsjA  *https://api.github.com/users/web-flow/orgsjA  +https://api.github.com/users/web-flow/reposjA  6https://api.github.com/users/web-flow/events{/privacy}jA  5https://api.github.com/users/web-flow/received_eventsjA  UserjA  uparents]}(jwA  (6653262414e66a1476af69449ec42a76e33f3214jA  ^https://api.github.com/repos/OpenGamma/Strata/commits/6653262414e66a1476af69449ec42a76e33f3214jA  Shttps://github.com/OpenGamma/Strata/commit/6653262414e66a1476af69449ec42a76e33f3214uastats}(totalK	additionsK	deletionsKufiles]}(jwA  (a56cb016d277b81ab82d4ff76640763f547d156bfilenamemodules/pom.xmlstatusmodifiedjA  KjA  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/641124639985747b181c3605d1641290952077f6/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/641124639985747b181c3605d1641290952077f6/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=641124639985747b181c3605d1641290952077f6patchXl  @@ -765,7 +765,7 @@
     <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
-    <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
+    <guava.version>32.0.0-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>uau(ccada5ee85d215fbaab3c35eef06a2291007023d}(sha(ccada5ee85d215fbaab3c35eef06a2291007023dnode_idEC_kwDOAT6l0doAKGNjYWRhNWVlODVkMjE1ZmJhYWIzYzM1ZWVmMDZhMjI5MTAwNzAyM2Qcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-05-02T10:38:43Zu	committer}(jA  GitHubjA  noreply@github.comjA  2023-05-02T10:38:43ZumessageX.  Bump junit-bom from 5.9.2 to 5.9.3 (#2566)

Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.9.2 to 5.9.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.2...r5.9.3)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>tree}(jA  (979c6bb7780e4811cf85a2c8f15aca1f1031c5a4url`https://api.github.com/repos/OpenGamma/Strata/git/trees/979c6bb7780e4811cf85a2c8f15aca1f1031c5a4ujB  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/ccada5ee85d215fbaab3c35eef06a2291007023d
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkUOgzCRBK7hj4Ov3rIwAA4tQIAJP5cOUynuZJPqVNJP5cgRnL
7RmUadI8jkxYcO0/5qZeGzqBJ3RaFIhPb6clagHWJ/E2J4SDJRrpJWZVM9+qN8op
+7wKKXhwCjisZ1WFNuVV46OLjHdIl38QbdKpvXIgEC9rmtNvVWDdUNwi7YqLFEdf
UjKJU5iibyHWPhz7FVtAej2u2WEGPGxuGQImn2KCWO/xGmVfcXfheBL1OuwJuUbV
vuIhwwLOQsNiEbcVO6RPOX4qVwlF5IbcN0Zy6yQ3Qk8BhF6zRiYzmwRUi0F+xH3P
g5osoAOpVxM4jNVgosIlWlF6bD2aYh97BDVXFlZznLeQXm6AuUN48Dqyxd42SCI=
=+IFu
-----END PGP SIGNATURE-----
payloadX   tree 979c6bb7780e4811cf85a2c8f15aca1f1031c5a4
parent ac1892d865a4d4e0ab193cbeda462b22aad7b687
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1683023923 +0100
committer GitHub <noreply@github.com> 1683023923 +0100

Bump junit-bom from 5.9.2 to 5.9.3 (#2566)

Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.9.2 to 5.9.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.2...r5.9.3)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>uujB  ^https://api.github.com/repos/OpenGamma/Strata/commits/ccada5ee85d215fbaab3c35eef06a2291007023dhtml_urlShttps://github.com/OpenGamma/Strata/commit/ccada5ee85d215fbaab3c35eef06a2291007023dcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/ccada5ee85d215fbaab3c35eef06a2291007023d/commentsjA  }(logindependabot[bot]idJZjA  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jB  0https://api.github.com/users/dependabot%5Bbot%5DjB  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujA  }(jB  web-flowjB  J/jA  MDQ6VXNlcjE5ODY0NDQ3jB  4https://avatars.githubusercontent.com/u/19864447?v=4jB  h3jB  %https://api.github.com/users/web-flowjB  https://github.com/web-flowj"B  /https://api.github.com/users/web-flow/followersj$B  <https://api.github.com/users/web-flow/following{/other_user}j&B  5https://api.github.com/users/web-flow/gists{/gist_id}j(B  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j*B  3https://api.github.com/users/web-flow/subscriptionsj,B  *https://api.github.com/users/web-flow/orgsj.B  +https://api.github.com/users/web-flow/reposj0B  6https://api.github.com/users/web-flow/events{/privacy}j2B  5https://api.github.com/users/web-flow/received_eventsj4B  Userj6B  uparents]}(jA  (ac1892d865a4d4e0ab193cbeda462b22aad7b687jB  ^https://api.github.com/repos/OpenGamma/Strata/commits/ac1892d865a4d4e0ab193cbeda462b22aad7b687jB  Shttps://github.com/OpenGamma/Strata/commit/ac1892d865a4d4e0ab193cbeda462b22aad7b687uastats}(totalK	additionsK	deletionsKufiles]}(jA  (9b05e8cc72e3e3eaa2523adf47c83768a23a0ca3filenamemodules/pom.xmlstatusmodifiedjPB  KjQB  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/ccada5ee85d215fbaab3c35eef06a2291007023d/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/ccada5ee85d215fbaab3c35eef06a2291007023d/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=ccada5ee85d215fbaab3c35eef06a2291007023dpatchX  @@ -771,7 +771,7 @@
     <joda-convert.version>2.2.3</joda-convert.version>
     <joda-beans.version>2.8.3</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
-    <junit5.version>5.9.2</junit5.version>
+    <junit5.version>5.9.3</junit5.version>
     <mockito.version>4.9.0</mockito.version>
     <slf4j.version>1.7.36</slf4j.version>
     <!-- Versions after M3 cause RequireFilesExist to reject relative paths -->uau(6a191c19b755d8cb2a1778d0f002d54091416d31}(sha(6a191c19b755d8cb2a1778d0f002d54091416d31node_idEC_kwDOAT6l0doAKDZhMTkxYzE5Yjc1NWQ4Y2IyYTE3NzhkMGYwMDJkNTQwOTE0MTZkMzEcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-05T10:51:03Zu	committer}(jmB  
johannesOGjoB  ,86783068+johannesOG@users.noreply.github.comjqB  2023-07-05T10:51:03ZumessageDeactive Libor curvestree}(jeB  (2d306b5b98c6936022a8368e3cba57fdb9ea960eurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/2d306b5b98c6936022a8368e3cba57fdb9ea960euj}B  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/6a191c19b755d8cb2a1778d0f002d54091416d31
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj}B  ^https://api.github.com/repos/OpenGamma/Strata/commits/6a191c19b755d8cb2a1778d0f002d54091416d31html_urlShttps://github.com/OpenGamma/Strata/commit/6a191c19b755d8cb2a1778d0f002d54091416d31comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/6a191c19b755d8cb2a1778d0f002d54091416d31/commentsjkB  }(login
johannesOGidJ\4,jgB  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3j}B  'https://api.github.com/users/johannesOGjB  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminujsB  }(jB  
johannesOGjB  J\4,jgB  MDQ6VXNlcjg2NzgzMDY4jB  4https://avatars.githubusercontent.com/u/86783068?v=4jB  h3j}B  'https://api.github.com/users/johannesOGjB  https://github.com/johannesOGjB  1https://api.github.com/users/johannesOG/followersjB  >https://api.github.com/users/johannesOG/following{/other_user}jB  7https://api.github.com/users/johannesOG/gists{/gist_id}jB  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}jB  5https://api.github.com/users/johannesOG/subscriptionsjB  ,https://api.github.com/users/johannesOG/orgsjB  -https://api.github.com/users/johannesOG/reposjB  8https://api.github.com/users/johannesOG/events{/privacy}jB  7https://api.github.com/users/johannesOG/received_eventsjB  UserjB  uparents]}(jeB  (eb5a568e535dc5f507443ce76f45430adb2b4b9bj}B  ^https://api.github.com/repos/OpenGamma/Strata/commits/eb5a568e535dc5f507443ce76f45430adb2b4b9bjB  Shttps://github.com/OpenGamma/Strata/commit/eb5a568e535dc5f507443ce76f45430adb2b4b9buastats}(totalK	additionsK 	deletionsKufiles]}(jeB  (f61526ba817760dcd55a7fe152e387815eb69035filenameQmodules/basics/src/test/java/com/opengamma/strata/basics/index/IborIndexTest.javastatusmodifiedjB  K jB  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/6a191c19b755d8cb2a1778d0f002d54091416d31/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/6a191c19b755d8cb2a1778d0f002d54091416d31/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FIborIndexTest.java?ref=6a191c19b755d8cb2a1778d0f002d54091416d31patchX  @@ -85,7 +85,6 @@ public class IborIndexTest {
   private static final HolidayCalendarId NZBD = HolidayCalendarId.of("NZBD");  // no constant for this
 
 
-
   @Test
   public void test_getFloatingRateName() {
     for (IborIndex index : IborIndex.extendedEnum().lookupAll().values()) {
@@ -96,7 +95,6 @@ public void test_getFloatingRateName() {
 
   //-------------------------------------------------------------------------
 
-
   @Test
   public void test_euribor3m() {
     IborIndex test = IborIndex.of("EUR-EURIBOR-3M");
@@ -215,7 +213,6 @@ public void test_tibor_euroyen3m_dates() {
   }
 
 
-
   @Test
   public void test_usdAmeriborTerm() {
     assertThat(IborIndex.of("USD-AMERIBORTERM-1M").getName()).isEqualTo("USD-AMERIBORTERM-1M");uau(bccafc20d7287abd19261dd8b42bae3173360d1b}(sha(bccafc20d7287abd19261dd8b42bae3173360d1bnode_idEC_kwDOAT6l0doAKGJjY2FmYzIwZDcyODdhYmQxOTI2MWRkOGI0MmJhZTMxNzMzNjBkMWIcommit}(author}(namemergify[bot]email.37929162+mergify[bot]@users.noreply.github.comdate2023-05-24T10:25:45Zu	committer}(jB  GitHubjB  noreply@github.comjB  2023-05-24T10:25:45Zumessage^Merge branch 'main' into QUANT-854_Create_OvernightFutureOptionMarketData_and_Lookup_in_Stratatree}(jB  (0a54480ff62adc67cb18cde990789d968da5a120url`https://api.github.com/repos/OpenGamma/Strata/git/trees/0a54480ff62adc67cb18cde990789d968da5a120ujB  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/bccafc20d7287abd19261dd8b42bae3173360d1b
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkbeYpCRBK7hj4Ov3rIwAAIzQIAARSxdYSXnekIXQDeNVz3RB8
QlY0Nt0J8uVM7EWcGpWAYCwup7toapVJITTFzrxOlvz+GzNXaO6pTotccTK5PYXy
WSvXiArjdw2mC/jxO7Nulu7fX13bjZ3OC8+slRZ28vrBwfxSZ6k6yOlU1EZaqy0U
xC1/lImqI7LdRa6yh+qAfmaZ4LhGQxsetJBfxHJT7tpk6tJWA9k4aoOCFqsP8MwO
T8uXnZiJ8YkP2Hq08NbgWaWW2VQDRW5mzkAA6sdyOaBeSwuJriWURcKoi9JXxsJL
nK+IPwwUHrrbk2JHlw81yxBe6tPx0P9fMOYzK8zEvCg7bQB1JFbodoSHwBtPXts=
=MxLe
-----END PGP SIGNATURE-----
payloadXz  tree 0a54480ff62adc67cb18cde990789d968da5a120
parent b7d96223bd9cc9266e2da32b99b57951ae6aa5fe
parent a10729e484e1c12701d688a94ce7cc866f1b359c
author mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> 1684923945 +0000
committer GitHub <noreply@github.com> 1684923945 +0000

Merge branch 'main' into QUANT-854_Create_OvernightFutureOptionMarketData_and_Lookup_in_StratauujB  ^https://api.github.com/repos/OpenGamma/Strata/commits/bccafc20d7287abd19261dd8b42bae3173360d1bhtml_urlShttps://github.com/OpenGamma/Strata/commit/bccafc20d7287abd19261dd8b42bae3173360d1bcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/bccafc20d7287abd19261dd8b42bae3173360d1b/commentsjB  }(loginmergify[bot]idJBjB  MDM6Qm90Mzc5MjkxNjI=
avatar_url2https://avatars.githubusercontent.com/in/10562?v=4gravatar_idh3jB  -https://api.github.com/users/mergify%5Bbot%5Dj C  https://github.com/apps/mergify
followers_url7https://api.github.com/users/mergify%5Bbot%5D/followers
following_urlDhttps://api.github.com/users/mergify%5Bbot%5D/following{/other_user}	gists_url=https://api.github.com/users/mergify%5Bbot%5D/gists{/gist_id}starred_urlDhttps://api.github.com/users/mergify%5Bbot%5D/starred{/owner}{/repo}subscriptions_url;https://api.github.com/users/mergify%5Bbot%5D/subscriptionsorganizations_url2https://api.github.com/users/mergify%5Bbot%5D/orgs	repos_url3https://api.github.com/users/mergify%5Bbot%5D/repos
events_url>https://api.github.com/users/mergify%5Bbot%5D/events{/privacy}received_events_url=https://api.github.com/users/mergify%5Bbot%5D/received_eventstypeBot
site_adminujB  }(jC  web-flowjC  J/jB  MDQ6VXNlcjE5ODY0NDQ3j	C  4https://avatars.githubusercontent.com/u/19864447?v=4jC  h3jB  %https://api.github.com/users/web-flowj C  https://github.com/web-flowjC  /https://api.github.com/users/web-flow/followersjC  <https://api.github.com/users/web-flow/following{/other_user}jC  5https://api.github.com/users/web-flow/gists{/gist_id}jC  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jC  3https://api.github.com/users/web-flow/subscriptionsjC  *https://api.github.com/users/web-flow/orgsjC  +https://api.github.com/users/web-flow/reposjC  6https://api.github.com/users/web-flow/events{/privacy}jC  5https://api.github.com/users/web-flow/received_eventsj C  Userj"C  uparents](}(jB  (b7d96223bd9cc9266e2da32b99b57951ae6aa5fejB  ^https://api.github.com/repos/OpenGamma/Strata/commits/b7d96223bd9cc9266e2da32b99b57951ae6aa5fej C  Shttps://github.com/OpenGamma/Strata/commit/b7d96223bd9cc9266e2da32b99b57951ae6aa5feu}(jB  (a10729e484e1c12701d688a94ce7cc866f1b359cjB  ^https://api.github.com/repos/OpenGamma/Strata/commits/a10729e484e1c12701d688a94ce7cc866f1b359cj C  Shttps://github.com/OpenGamma/Strata/commit/a10729e484e1c12701d688a94ce7cc866f1b359cuestats}(totalK 	additionsK 	deletionsK ufiles]u(7d8a535c9c276b3449e0d4db43e9301eca4b7f09}(sha(7d8a535c9c276b3449e0d4db43e9301eca4b7f09node_idEC_kwDOAT6l0doAKDdkOGE1MzVjOWMyNzZiMzQ0OWUwZDRkYjQzZTkzMDFlY2E0YjdmMDkcommit}(author}(nameMarc Henrardemail%marc-henrard@users.noreply.github.comdate2022-08-30T09:29:43Zu	committer}(jNC  Marc HenrardjPC  %marc-henrard@users.noreply.github.comjRC  2023-03-15T10:14:29Zumessage+Cash flow equivalent for fixed coupon bondstree}(jFC  (7500f9959316e2c85b478633a4f0f83e40d76375url`https://api.github.com/repos/OpenGamma/Strata/git/trees/7500f9959316e2c85b478633a4f0f83e40d76375uj^C  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/7d8a535c9c276b3449e0d4db43e9301eca4b7f09
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj^C  ^https://api.github.com/repos/OpenGamma/Strata/commits/7d8a535c9c276b3449e0d4db43e9301eca4b7f09html_urlShttps://github.com/OpenGamma/Strata/commit/7d8a535c9c276b3449e0d4db43e9301eca4b7f09comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/7d8a535c9c276b3449e0d4db43e9301eca4b7f09/commentsjLC  }(loginmarc-henrardidJKX jHC  MDQ6VXNlcjk5MTg1Mzk=
avatar_url3https://avatars.githubusercontent.com/u/9918539?v=4gravatar_idh3j^C  )https://api.github.com/users/marc-henrardjjC  https://github.com/marc-henrard
followers_url3https://api.github.com/users/marc-henrard/followers
following_url@https://api.github.com/users/marc-henrard/following{/other_user}	gists_url9https://api.github.com/users/marc-henrard/gists{/gist_id}starred_url@https://api.github.com/users/marc-henrard/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/marc-henrard/subscriptionsorganizations_url.https://api.github.com/users/marc-henrard/orgs	repos_url/https://api.github.com/users/marc-henrard/repos
events_url:https://api.github.com/users/marc-henrard/events{/privacy}received_events_url9https://api.github.com/users/marc-henrard/received_eventstypeUser
site_adminujTC  }(joC  marc-henrardjqC  JKX jHC  MDQ6VXNlcjk5MTg1Mzk=jsC  3https://avatars.githubusercontent.com/u/9918539?v=4juC  h3j^C  )https://api.github.com/users/marc-henrardjjC  https://github.com/marc-henrardjxC  3https://api.github.com/users/marc-henrard/followersjzC  @https://api.github.com/users/marc-henrard/following{/other_user}j|C  9https://api.github.com/users/marc-henrard/gists{/gist_id}j~C  @https://api.github.com/users/marc-henrard/starred{/owner}{/repo}jC  7https://api.github.com/users/marc-henrard/subscriptionsjC  .https://api.github.com/users/marc-henrard/orgsjC  /https://api.github.com/users/marc-henrard/reposjC  :https://api.github.com/users/marc-henrard/events{/privacy}jC  9https://api.github.com/users/marc-henrard/received_eventsjC  UserjC  uparents]}(jFC  (3e52a50bb942fd782c4429d6d9acf6c794dac7eaj^C  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eajjC  Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK	additionsK	deletionsK ufiles](}(jFC  (ceab0db740f3a569c90de23290dc15497058b9edfilenameimodules/pricer/src/main/java/com/opengamma/strata/pricer/impl/rate/swap/CashFlowEquivalentCalculator.javastatusmodifiedjC  KjC  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/7d8a535c9c276b3449e0d4db43e9301eca4b7f09/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/7d8a535c9c276b3449e0d4db43e9301eca4b7f09/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.java?ref=7d8a535c9c276b3449e0d4db43e9301eca4b7f09patchXl  @@ -24,6 +24,8 @@
 import com.opengamma.strata.pricer.DiscountFactors;
 import com.opengamma.strata.pricer.ZeroRateSensitivity;
 import com.opengamma.strata.pricer.rate.RatesProvider;
+import com.opengamma.strata.product.bond.FixedCouponBondPaymentPeriod;
+import com.opengamma.strata.product.bond.ResolvedFixedCouponBond;
 import com.opengamma.strata.product.common.PayReceive;
 import com.opengamma.strata.product.rate.FixedRateComputation;
 import com.opengamma.strata.product.rate.IborRateComputation;
@@ -41,10 +43,39 @@
 /**
  * Computes cash flow equivalent of products.
  * <p>
+ * Useful to price optional products in term structure models.
+ * <p>
  * Reference: Henrard, M. The Irony in the derivatives discounting Part II: the crisis. Wilmott Journal, 2010, 2, 301-316.
  */
 public final class CashFlowEquivalentCalculator {
 
+  /**
+   * Computes the cash flow equivalent of a fixed coupon bond.
+   * 
+   * @param bond  the fixed coupon bond
+   * @param settlementDate  the settlement date; only the coupons strictly after that date are generated
+   * @return the cash flow equivalent
+   */
+  public static ResolvedSwapLeg cashFlowEquivalent(ResolvedFixedCouponBond bond, LocalDate settlementDate) {
+    List<NotionalExchange> paymentEvents = new ArrayList<NotionalExchange>();
+    for (FixedCouponBondPaymentPeriod payment : bond.getPeriodicPayments()) {
+      LocalDate paymentDate = payment.getPaymentDate();
+      if (paymentDate.isAfter(settlementDate)) {
+        double amount = payment.getYearFraction() * payment.getFixedRate() * payment.getNotional();
+        NotionalExchange pay = NotionalExchange.of(CurrencyAmount.of(payment.getCurrency(), amount), paymentDate);
+        paymentEvents.add(pay);
+      }
+    }
+    paymentEvents.add(NotionalExchange
+        .of(CurrencyAmount.of(bond.getCurrency(), bond.getNotional()), bond.getEndDate()));
+    ResolvedSwapLeg leg = ResolvedSwapLeg.builder()
+        .paymentEvents(paymentEvents)
+        .payReceive(PayReceive.RECEIVE)
+        .type(SwapLegType.OTHER)
+        .build();
+    return leg;
+  }
+
   /**
    * Computes cash flow equivalent of swap.
    * <p>u}(jFC  (a6cef7e2d796a3b5be43bec5f6baf7cd3a5b9da1jC  mmodules/pricer/src/test/java/com/opengamma/strata/pricer/impl/rate/swap/CashFlowEquivalentCalculatorTest.javajC  modifiedjC  KajC  K jC  KajC  https://github.com/OpenGamma/Strata/blob/7d8a535c9c276b3449e0d4db43e9301eca4b7f09/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.javajC  https://github.com/OpenGamma/Strata/raw/7d8a535c9c276b3449e0d4db43e9301eca4b7f09/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.javajC  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.java?ref=7d8a535c9c276b3449e0d4db43e9301eca4b7f09jC  XM  @@ -5,7 +5,9 @@
  */
 package com.opengamma.strata.pricer.impl.rate.swap;
 
+import static com.opengamma.strata.basics.currency.Currency.EUR;
 import static com.opengamma.strata.basics.currency.Currency.GBP;
+import static com.opengamma.strata.basics.date.BusinessDayConventions.FOLLOWING;
 import static com.opengamma.strata.basics.date.DayCounts.ACT_365F;
 import static com.opengamma.strata.basics.index.IborIndices.GBP_LIBOR_3M;
 import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
@@ -27,15 +29,26 @@
 import java.util.Map;
 import java.util.Map.Entry;
 
+import org.assertj.core.data.Offset;
 import org.junit.jupiter.api.Test;
 
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 import com.google.common.math.DoubleMath;
 import com.opengamma.strata.basics.ReferenceData;
+import com.opengamma.strata.basics.StandardId;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.basics.currency.MultiCurrencyAmount;
 import com.opengamma.strata.basics.currency.Payment;
+import com.opengamma.strata.basics.date.BusinessDayAdjustment;
+import com.opengamma.strata.basics.date.DayCount;
+import com.opengamma.strata.basics.date.DayCounts;
+import com.opengamma.strata.basics.date.DaysAdjustment;
+import com.opengamma.strata.basics.date.HolidayCalendarId;
+import com.opengamma.strata.basics.date.HolidayCalendarIds;
+import com.opengamma.strata.basics.schedule.Frequency;
+import com.opengamma.strata.basics.schedule.PeriodicSchedule;
+import com.opengamma.strata.basics.schedule.StubConvention;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
 import com.opengamma.strata.market.sensitivity.MutablePointSensitivities;
 import com.opengamma.strata.market.sensitivity.PointSensitivity;
@@ -46,6 +59,12 @@
 import com.opengamma.strata.pricer.sensitivity.RatesFiniteDifferenceSensitivityCalculator;
 import com.opengamma.strata.pricer.swap.DiscountingSwapLegPricer;
 import com.opengamma.strata.pricer.swap.DiscountingSwapProductPricer;
+import com.opengamma.strata.product.LegalEntityId;
+import com.opengamma.strata.product.SecurityId;
+import com.opengamma.strata.product.bond.FixedCouponBond;
+import com.opengamma.strata.product.bond.FixedCouponBondPaymentPeriod;
+import com.opengamma.strata.product.bond.FixedCouponBondYieldConvention;
+import com.opengamma.strata.product.bond.ResolvedFixedCouponBond;
 import com.opengamma.strata.product.rate.FixedRateComputation;
 import com.opengamma.strata.product.rate.IborRateComputation;
 import com.opengamma.strata.product.rate.OvernightRateComputation;
@@ -537,5 +556,83 @@ public void test_cashFlowEquivalentAndSensitivity_wrongSwap() {
     assertThatIllegalArgumentException()
         .isThrownBy(() -> CashFlowEquivalentCalculator.cashFlowEquivalentAndSensitivitySwap(swap3, PROVIDER));
   }
+  
+  /* Check cash flow equivalent for a set of bonds corresponding to bond futures underlyings. */
+
+  private static final LegalEntityId ISSUER_ID_DE = LegalEntityId.of("OG-Ticker", "GOVT-DE");
+  private static final FixedCouponBondYieldConvention YIELD_CONVENTION_DE = FixedCouponBondYieldConvention.DE_BONDS;
+  private static final double NOTIONAL_EUR = 100000d;
+  private static final HolidayCalendarId CALENDAR_EUR = HolidayCalendarIds.EUTA;
+  private static final DaysAdjustment SETTLEMENT_DAYS_EUR = DaysAdjustment.ofBusinessDays(3, CALENDAR_EUR);
+  private static final DayCount DAY_COUNT_EUR = DayCounts.ACT_ACT_ICMA;
+  private static final BusinessDayAdjustment BUSINESS_ADJUST_EUR =
+      BusinessDayAdjustment.of(FOLLOWING, CALENDAR_EUR);
+  private static final DaysAdjustment EX_COUPON_DE = DaysAdjustment.NONE;
+  private static final int NB_BOND_EUR = 4;
+  // Underlying bonds description from www.deutsche-finanzagentur.de
+  private static final double[] COUPON_DE = new double[] {0.00, 0.0170, 0.00, 0.0050};
+  private static final LocalDate[] START_DATE_DE = new LocalDate[] {
+      LocalDate.of(2021, 8, 15), LocalDate.of(2022, 8, 15), LocalDate.of(2022, 2, 15), LocalDate.of(2018, 2, 15)};
+  private static final LocalDate[] END_DATE_DE = new LocalDate[] {
+      LocalDate.of(2031, 8, 15), LocalDate.of(2032, 8, 15), LocalDate.of(2032, 2, 15), LocalDate.of(2028, 2, 15)};
+  private static final StandardId[] BOND_SECURITY_ID_EUR = new StandardId[] {
+      StandardId.of("ISIN", "DE0001102564"),
+      StandardId.of("ISIN", "DE0001102606"),
+      StandardId.of("ISIN", "DE0001102580"),
+      StandardId.of("ISIN", "DE0001102440")};
+  public static final ResolvedFixedCouponBond[] BOND_DE = new ResolvedFixedCouponBond[NB_BOND_EUR];
+  static {
+    for (int i = 0; i < NB_BOND_EUR; ++i) {
+      PeriodicSchedule periodSchedule = PeriodicSchedule.of(
+          START_DATE_DE[i], END_DATE_DE[i], Frequency.P12M, BUSINESS_ADJUST_EUR, StubConvention.LONG_INITIAL, false);
+      FixedCouponBond product = FixedCouponBond.builder()
+          .securityId(SecurityId.of(BOND_SECURITY_ID_EUR[i]))
+          .dayCount(DAY_COUNT_EUR)
+          .fixedRate(COUPON_DE[i])
+          .legalEntityId(ISSUER_ID_DE)
+          .currency(EUR)
+          .notional(NOTIONAL_EUR)
+          .accrualSchedule(periodSchedule)
+          .settlementDateOffset(SETTLEMENT_DAYS_EUR)
+          .yieldConvention(YIELD_CONVENTION_DE)
+          .exCouponPeriod(EX_COUPON_DE)
+          .build();
+      BOND_DE[i] = product.resolve(REF_DATA);
+    }
+  }
+  private static final LocalDate[] SETTLE_DATE = new LocalDate[] {
+      LocalDate.of(2022, 9, 12), LocalDate.of(2022, 9, 12), LocalDate.of(2023, 3, 10), LocalDate.of(2023, 9, 12)};
+  private static final Offset<Double> TOLERANCE_AMOUNT = offset(1.0E-10);
+
+  @Test
+  public void cfe_bond() {
+    int[] nbCf = {10, 11, 10, 6}; // Hard-coded values
+    for (int i = 0; i < NB_BOND_EUR; ++i) {
+      ResolvedSwapLeg cfe = CashFlowEquivalentCalculator.cashFlowEquivalent(BOND_DE[i], SETTLE_DATE[i]);
+      assertThat(cfe.getPaymentEvents().size()).isEqualTo(nbCf[i]);
+      int loopcfe = 0;
+      for (int loopcpn = 0; loopcpn < BOND_DE[i].getPeriodicPayments().size(); loopcpn++) {
+        FixedCouponBondPaymentPeriod payment = BOND_DE[i].getPeriodicPayments().get(loopcpn);
+        LocalDate paymentDate = payment.getPaymentDate();
+        if (paymentDate.isAfter(SETTLE_DATE[i])) {
+          double amount = payment.getYearFraction() * payment.getFixedRate() * payment.getNotional();
+          NotionalExchange pay = NotionalExchange.of(CurrencyAmount.of(payment.getCurrency(), amount), paymentDate);
+          SwapPaymentEvent p = cfe.getPaymentEvents().get(loopcfe);
+          assertThat(p instanceof NotionalExchange).isTrue();
+          assertThat(pay.getPaymentDate()).isEqualTo(p.getPaymentDate());
+          assertThat(pay.getPaymentAmount().getCurrency()).isEqualTo(p.getCurrency());
+          assertThat(pay.getPaymentAmount().getAmount())
+              .isEqualTo(((NotionalExchange) p).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
+          loopcfe++;
+        }
+      }
+      SwapPaymentEvent pN = cfe.getPaymentEvents().get(loopcfe);
+      assertThat(pN instanceof NotionalExchange).isTrue();
+      assertThat(BOND_DE[i].getEndDate()).isEqualTo(pN.getPaymentDate());
+      assertThat(BOND_DE[i].getCurrency()).isEqualTo(pN.getCurrency());
+      assertThat(BOND_DE[i].getNotional())
+          .isEqualTo(((NotionalExchange) pN).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
+    }
+  }
 
 }ueu(b0f20545f4d3e805c5814f679246668323799cbc}(sha(b0f20545f4d3e805c5814f679246668323799cbcnode_idEC_kwDOAT6l0doAKGIwZjIwNTQ1ZjRkM2U4MDVjNTgxNGY2NzkyNDY2NjgzMjM3OTljYmMcommit}(author}(nameAkshai Shahemailakshai@opengamma.comdate2023-03-08T18:27:25Zu	committer}(jC  GitHubjC  noreply@github.comjC  2023-03-08T18:27:25ZumessageUpdate modules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.java

Co-authored-by: Stephen Colebourne <stephen@opengamma.com>tree}(jC  (0407c7de79921e934ffc75a9cadd4af095cb3f12      url`https://api.github.com/repos/OpenGamma/Strata/git/trees/0407c7de79921e934ffc75a9cadd4af095cb3f12ujC  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/b0f20545f4d3e805c5814f679246668323799cbc
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkCNONCRBK7hj4Ov3rIwAAQQIIAIrkurSM1BGNmIDzbJ7Z/Ymh
Sm96tbbuXGc8ILUJh0znIWQZTLsvSpw7IT2xNUyDrkEGQrPAMUlROpFaN7vr+6Hj
OwDTyZCcsJwH0Y07Xb2ymmg5KNrZKZlQgH9tfYOSnh8/FrNStuFhOxJo8TfL1BL8
JNQdBG85ckrbRThM0PtFzAzcmguWCNCADrQ7djj7Sy7tudJM25Ylrl52WTKMV8wG
IpyQIsb+8Ro8wkIK8cjv5YP28sRw6jH2+yXqzTlw4qoOzzLblwiakHd2HbDq03mR
XRlx4ex/dBlQ0KXZyjad+UPrfX+pe5+RAQ+V4fk9DZgpSFd1EmjScx/VQfSC3DQ=
=p4aF
-----END PGP SIGNATURE-----
payloadXd  tree 0407c7de79921e934ffc75a9cadd4af095cb3f12
parent 4266b4db3d0b9a4e6107834ee89a2d95693b1288
author Akshai Shah <akshai@opengamma.com> 1678300045 +0000
committer GitHub <noreply@github.com> 1678300045 +0000

Update modules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.java

Co-authored-by: Stephen Colebourne <stephen@opengamma.com>uujC  ^https://api.github.com/repos/OpenGamma/Strata/commits/b0f20545f4d3e805c5814f679246668323799cbchtml_urlShttps://github.com/OpenGamma/Strata/commit/b0f20545f4d3e805c5814f679246668323799cbccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/b0f20545f4d3e805c5814f679246668323799cbc/commentsjC  }(login
akshaishahidJd
 jC  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3jC  'https://api.github.com/users/akshaishahjC  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminujC  }(jC  web-flowjC  J/jC  MDQ6VXNlcjE5ODY0NDQ3jC  4https://avatars.githubusercontent.com/u/19864447?v=4jC  h3jC  %https://api.github.com/users/web-flowjC  https://github.com/web-flowjC  /https://api.github.com/users/web-flow/followersjC  <https://api.github.com/users/web-flow/following{/other_user}jC  5https://api.github.com/users/web-flow/gists{/gist_id}jC  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jC  3https://api.github.com/users/web-flow/subscriptionsjD  *https://api.github.com/users/web-flow/orgsjD  +https://api.github.com/users/web-flow/reposjD  6https://api.github.com/users/web-flow/events{/privacy}jD  5https://api.github.com/users/web-flow/received_eventsj	D  UserjD  uparents]}(jC  (4266b4db3d0b9a4e6107834ee89a2d95693b1288jC  ^https://api.github.com/repos/OpenGamma/Strata/commits/4266b4db3d0b9a4e6107834ee89a2d95693b1288jC  Shttps://github.com/OpenGamma/Strata/commit/4266b4db3d0b9a4e6107834ee89a2d95693b1288uastats}(totalK	additionsK	deletionsKufiles]}(jC  (506f9a16d5bf77f5b5099fe6829f35b842e3b569filenamePmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javastatusmodifiedj%D  Kj&D  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/b0f20545f4d3e805c5814f679246668323799cbc/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/b0f20545f4d3e805c5814f679246668323799cbc/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=b0f20545f4d3e805c5814f679246668323799cbcpatchX  @@ -237,7 +237,7 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
       if (day == 0) {
         throw new ParseFailureException(
             FailureReason.FIELD_MISSING,
-            "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option",
+            "'{field}' is empty, must be set when '{}' is provided as this denotes a Flex Option",
             EXPIRY_DAY_FIELD,
             SETTLEMENT_TYPE_FIELD);
       }uau(14950c2a44e4f4a209625da77368a7b67cf7411d}(sha(14950c2a44e4f4a209625da77368a7b67cf7411dnode_idEC_kwDOAT6l0doAKDE0OTUwYzJhNDRlNGY0YTIwOTYyNWRhNzczNjhhN2I2N2NmNzQxMWQcommit}(author}(namejordanmorrison476email*jordanmorrison476@users.noreply.github.comdate2023-06-06T16:22:43Zu	committer}(jBD  jordanmorrison476jDD  *jordanmorrison476@users.noreply.github.comjFD  2023-06-06T16:22:43Zumessage#COPS-149300: Reverting testing codetree}(j:D  (9c18a3d55c31cae129a25ed57797f8167a0a79e1url`https://api.github.com/repos/OpenGamma/Strata/git/trees/9c18a3d55c31cae129a25ed57797f8167a0a79e1ujRD  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/14950c2a44e4f4a209625da77368a7b67cf7411d
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujRD  ^https://api.github.com/repos/OpenGamma/Strata/commits/14950c2a44e4f4a209625da77368a7b67cf7411dhtml_urlShttps://github.com/OpenGamma/Strata/commit/14950c2a44e4f4a209625da77368a7b67cf7411dcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/14950c2a44e4f4a209625da77368a7b67cf7411d/commentsj@D  }(loginjordanmorrison476idJFj<D  MDQ6VXNlcjMzMTUxMzAy
avatar_url4https://avatars.githubusercontent.com/u/33151302?v=4gravatar_idh3jRD  .https://api.github.com/users/jordanmorrison476j^D  $https://github.com/jordanmorrison476
followers_url8https://api.github.com/users/jordanmorrison476/followers
following_urlEhttps://api.github.com/users/jordanmorrison476/following{/other_user}	gists_url>https://api.github.com/users/jordanmorrison476/gists{/gist_id}starred_urlEhttps://api.github.com/users/jordanmorrison476/starred{/owner}{/repo}subscriptions_url<https://api.github.com/users/jordanmorrison476/subscriptionsorganizations_url3https://api.github.com/users/jordanmorrison476/orgs	repos_url4https://api.github.com/users/jordanmorrison476/repos
events_url?https://api.github.com/users/jordanmorrison476/events{/privacy}received_events_url>https://api.github.com/users/jordanmorrison476/received_eventstypeUser
site_adminujHD  }(jcD  jordanmorrison476jeD  JFj<D  MDQ6VXNlcjMzMTUxMzAyjgD  4https://avatars.githubusercontent.com/u/33151302?v=4jiD  h3jRD  .https://api.github.com/users/jordanmorrison476j^D  $https://github.com/jordanmorrison476jlD  8https://api.github.com/users/jordanmorrison476/followersjnD  Ehttps://api.github.com/users/jordanmorrison476/following{/other_user}jpD  >https://api.github.com/users/jordanmorrison476/gists{/gist_id}jrD  Ehttps://api.github.com/users/jordanmorrison476/starred{/owner}{/repo}jtD  <https://api.github.com/users/jordanmorrison476/subscriptionsjvD  3https://api.github.com/users/jordanmorrison476/orgsjxD  4https://api.github.com/users/jordanmorrison476/reposjzD  ?https://api.github.com/users/jordanmorrison476/events{/privacy}j|D  >https://api.github.com/users/jordanmorrison476/received_eventsj~D  UserjD  uparents]}(j:D  (aad3fd39d8f952e9740b63d570eae3449bae4d41jRD  ^https://api.github.com/repos/OpenGamma/Strata/commits/aad3fd39d8f952e9740b63d570eae3449bae4d41j^D  Shttps://github.com/OpenGamma/Strata/commit/aad3fd39d8f952e9740b63d570eae3449bae4d41uastats}(totalK	additionsK 	deletionsKufiles]}(j:D  (91d7a470767e93ca62028569e5ec47769d5ae9defilename[modules/basics/src/main/java/com/opengamma/strata/basics/date/HolidayCalendarIniLookup.javastatusmodifiedjD  K jD  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/14950c2a44e4f4a209625da77368a7b67cf7411d/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fdate%2FHolidayCalendarIniLookup.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/14950c2a44e4f4a209625da77368a7b67cf7411d/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fdate%2FHolidayCalendarIniLookup.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Fdate%2FHolidayCalendarIniLookup.java?ref=14950c2a44e4f4a209625da77368a7b67cf7411dpatchX  @@ -218,11 +218,4 @@ static ImmutableMap<Currency, HolidayCalendarId> loadDefaultsFromIni(String file
     }
     return ImmutableMap.copyOf(map);
   }
-
-  public static void main(String[] args) {
-    ReferenceData standard = ReferenceData.standard();
-    boolean dateIsHoliday = standard.getValue(HolidayCalendarId.of("THBA")).isHoliday(LocalDate.of(2023, 5, 5));
-    System.out.println("dfgs");
-  }
-
 }uau(1477f77ca5ea034772e7f01af18ea4eb062d6cf2}(sha(1477f77ca5ea034772e7f01af18ea4eb062d6cf2node_idEC_kwDOAT6l0doAKDE0NzdmNzdjYTVlYTAzNDc3MmU3ZjAxYWYxOGVhNGViMDYyZDZjZjIcommit}(author}(namealexandruamarandeistanescuemailnoreplydate2023-05-09T18:05:06Zu	committer}(jD  alexandruamarandeistanescujD  noreplyjD  2023-05-09T18:05:06ZumessageSmall updatetree}(jD  (050c217f9cc34c24b1cb0684bf314fa62181e129url`https://api.github.com/repos/OpenGamma/Strata/git/trees/050c217f9cc34c24b1cb0684bf314fa62181e129ujD  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/1477f77ca5ea034772e7f01af18ea4eb062d6cf2
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujD  ^https://api.github.com/repos/OpenGamma/Strata/commits/1477f77ca5ea034772e7f01af18ea4eb062d6cf2html_urlShttps://github.com/OpenGamma/Strata/commit/1477f77ca5ea034772e7f01af18ea4eb062d6cf2comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/1477f77ca5ea034772e7f01af18ea4eb062d6cf2/commentsjD  NjD  Nparents]}(jD  (3c75ef91bb53ae569660c3745078162bc9740c8djD  ^https://api.github.com/repos/OpenGamma/Strata/commits/3c75ef91bb53ae569660c3745078162bc9740c8djD  Shttps://github.com/OpenGamma/Strata/commit/3c75ef91bb53ae569660c3745078162bc9740c8duastats}(totalK	additionsK	deletionsKufiles]}(jD  (4e59d6e7a990d8706df1d1a9ef00f5becb69cb8afilenameRmodules/product/src/test/java/com/opengamma/strata/product/etd/EtdIdUtilsTest.javastatusmodifiedjD  KjD  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/1477f77ca5ea034772e7f01af18ea4eb062d6cf2/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/1477f77ca5ea034772e7f01af18ea4eb062d6cf2/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.java?ref=1477f77ca5ea034772e7f01af18ea4eb062d6cf2patchX  @@ -58,7 +58,7 @@ public void test_contractSpecId_option() {
   }
 
   @Test
-  public void test_contractSpecId_future_from_security_id() {
+  public void test_contractSpecId_future_from_securityId() {
     EtdContractSpecId test = EtdIdUtils.contractSpecId(SecurityId.of(OG_ETD_SCHEME, "F-ECAG-FGBS-202305"));
     assertThat(test.getStandardId()).isEqualTo(StandardId.of(OG_ETD_SCHEME, "F-ECAG-FGBS"));
     assertThat(EtdIdUtils.splitId(test))
@@ -71,7 +71,7 @@ public void test_contractSpecId_future_from_security_id() {
   }
 
   @Test
-  public void test_contractSpecId_option_from_security_id() {
+  public void test_contractSpecId_option_from_securitId() {
     EtdContractSpecId test = EtdIdUtils.contractSpecId(SecurityId.of(OG_ETD_SCHEME, "O-ECAG-OGBS-202305-P1"));
     assertThat(test.getStandardId()).isEqualTo(StandardId.of(OG_ETD_SCHEME, "O-ECAG-OGBS"));
     assertThat(EtdIdUtils.splitId(test))uau(6919d1220aa416d383022663fda2567d8084ea30}(sha(6919d1220aa416d383022663fda2567d8084ea30node_idEC_kwDOAT6l0doAKDY5MTlkMTIyMGFhNDE2ZDM4MzAyMjY2M2ZkYTI1NjdkODA4NGVhMzAcommit}(author}(nameAlexandru Amarandei Stanescuemail-97905177+AlexandruOG@users.noreply.github.comdate2023-05-10T10:47:55Zu	committer}(jD  GitHubjD  noreply@github.comjE  2023-05-10T10:47:55ZumessageX  Extend EtdIdUtils to create ContractSpecId directly from SecurityId (#2570)

* Extend EtdIdUtils to create ContractSpecId directly from SecurityId

* Added test and removed auto format

* Small update

* Typo

---------

Co-authored-by: alexandruamarandeistanescu <noreply>tree}(jD  (0825a817928781813ab467ebcdf2627392f1cea6url`https://api.github.com/repos/OpenGamma/Strata/git/trees/0825a817928781813ab467ebcdf2627392f1cea6uj
E  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/6919d1220aa416d383022663fda2567d8084ea30
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkW3ZbCRBK7hj4Ov3rIwAAvVEIACA3fyJ8iF4nHxM673LLp4Ac
rDUwkgMw1jyBPMvhlcPEZR0b+pHZy0V3kYgpR+HUAfZ/PWdssKCDPh+jBh2lhqTp
lJgO1/KRkN89uYLSctKaWlNEMpPTB/XwFlGfMEucnrmtxBubCKrepqQApF/pRX8s
bA2Y1iS5KLjnWkgyImhXwmPtr8HDo2oxqEetA45h1n6Yj2AweYPjrokLm0aEgYR9
wZjfaX4aOM+X5UXo3B754HtUFA6mnZ8YQl+iMCYLiMguTnwCmg9YWJVCMd/sbUik
z+Zb3EhiawI4S1wb1gOuNwxnlrHM021R1P6bcowNcV/NDjVnlezvHPYx75Z55ec=
=yWf1
-----END PGP SIGNATURE-----
payloadX  tree 0825a817928781813ab467ebcdf2627392f1cea6
parent 52d62b1402e1c12feb73bbc0b0cacda5f956f5dd
author Alexandru Amarandei Stanescu <97905177+AlexandruOG@users.noreply.github.com> 1683715675 +0100
committer GitHub <noreply@github.com> 1683715675 +0000

Extend EtdIdUtils to create ContractSpecId directly from SecurityId (#2570)

* Extend EtdIdUtils to create ContractSpecId directly from SecurityId

* Added test and removed auto format

* Small update

* Typo

---------

Co-authored-by: alexandruamarandeistanescu <noreply>uuj
E  ^https://api.github.com/repos/OpenGamma/Strata/commits/6919d1220aa416d383022663fda2567d8084ea30html_urlShttps://github.com/OpenGamma/Strata/commit/6919d1220aa416d383022663fda2567d8084ea30comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/6919d1220aa416d383022663fda2567d8084ea30/commentsjD  }(loginAlexandruOGidJjD  U_kgDOBdXqGQ
avatar_url4https://avatars.githubusercontent.com/u/97905177?v=4gravatar_idh3j
E  (https://api.github.com/users/AlexandruOGjE  https://github.com/AlexandruOG
followers_url2https://api.github.com/users/AlexandruOG/followers
following_url?https://api.github.com/users/AlexandruOG/following{/other_user}	gists_url8https://api.github.com/users/AlexandruOG/gists{/gist_id}starred_url?https://api.github.com/users/AlexandruOG/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/AlexandruOG/subscriptionsorganizations_url-https://api.github.com/users/AlexandruOG/orgs	repos_url.https://api.github.com/users/AlexandruOG/repos
events_url9https://api.github.com/users/AlexandruOG/events{/privacy}received_events_url8https://api.github.com/users/AlexandruOG/received_eventstypeUser
site_adminujE  }(j E  web-flowj"E  J/jD  MDQ6VXNlcjE5ODY0NDQ3j$E  4https://avatars.githubusercontent.com/u/19864447?v=4j&E  h3j
E  %https://api.github.com/users/web-flowjE  https://github.com/web-flowj)E  /https://api.github.com/users/web-flow/followersj+E  <https://api.github.com/users/web-flow/following{/other_user}j-E  5https://api.github.com/users/web-flow/gists{/gist_id}j/E  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j1E  3https://api.github.com/users/web-flow/subscriptionsj3E  *https://api.github.com/users/web-flow/orgsj5E  +https://api.github.com/users/web-flow/reposj7E  6https://api.github.com/users/web-flow/events{/privacy}j9E  5https://api.github.com/users/web-flow/received_eventsj;E  Userj=E  uparents]}(jD  (52d62b1402e1c12feb73bbc0b0cacda5f956f5ddj
E  ^https://api.github.com/repos/OpenGamma/Strata/commits/52d62b1402e1c12feb73bbc0b0cacda5f956f5ddjE  Shttps://github.com/OpenGamma/Strata/commit/52d62b1402e1c12feb73bbc0b0cacda5f956f5dduastats}(totalK(	additionsK(	deletionsK ufiles](}(jD  (5345f8ac78e4d82d479f1547cc7df6695abd422afilenameNmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdIdUtils.javastatusmodifiedjWE  KjXE  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/6919d1220aa416d383022663fda2567d8084ea30/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/6919d1220aa416d383022663fda2567d8084ea30/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.java?ref=6919d1220aa416d383022663fda2567d8084ea30patchX  @@ -82,6 +82,20 @@ public static EtdContractSpecId contractSpecId(EtdType type, ExchangeId exchange
     }
   }
 
+  /**
+   * Creates an identifier for a contract specification.
+   * <p>
+   * This will have the format:
+   * {@code 'OG-ETD~F-ECAG-FGBS'} or {@code 'OG-ETD~O-ECAG-OGBS'}.
+   *
+   * @param securityId  the security id
+   * @return the identifier
+   */
+  public static EtdContractSpecId contractSpecId(SecurityId securityId) {
+    SplitEtdId splitEtdId = splitId(securityId);
+    return contractSpecId(splitEtdId.getType(), splitEtdId.getExchangeId(), splitEtdId.getContractCode());
+  }
+
   /**
    * Creates an identifier for an ETD future instrument.
    * <p>u}(jD  (dabe2612ca3776575114daeb8190bf4519f782b4j]E  Rmodules/product/src/test/java/com/opengamma/strata/product/etd/EtdIdUtilsTest.javaj_E  modifiedjWE  KjXE  K jaE  KjbE  https://github.com/OpenGamma/Strata/blob/6919d1220aa416d383022663fda2567d8084ea30/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javajdE  https://github.com/OpenGamma/Strata/raw/6919d1220aa416d383022663fda2567d8084ea30/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javajfE  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.java?ref=6919d1220aa416d383022663fda2567d8084ea30jhE  X  @@ -57,6 +57,32 @@ public void test_contractSpecId_option() {
             .build());
   }
 
+  @Test
+  public void test_contractSpecId_future_from_securityId() {
+    EtdContractSpecId test = EtdIdUtils.contractSpecId(SecurityId.of(OG_ETD_SCHEME, "F-ECAG-FGBS-202305"));
+    assertThat(test.getStandardId()).isEqualTo(StandardId.of(OG_ETD_SCHEME, "F-ECAG-FGBS"));
+    assertThat(EtdIdUtils.splitId(test))
+        .isEqualTo(SplitEtdContractSpecId.builder()
+            .specId(test)
+            .type(EtdType.FUTURE)
+            .exchangeId(ExchangeIds.ECAG)
+            .contractCode(FGBS)
+            .build());
+  }
+
+  @Test
+  public void test_contractSpecId_option_from_securityId() {
+    EtdContractSpecId test = EtdIdUtils.contractSpecId(SecurityId.of(OG_ETD_SCHEME, "O-ECAG-OGBS-202305-P1"));
+    assertThat(test.getStandardId()).isEqualTo(StandardId.of(OG_ETD_SCHEME, "O-ECAG-OGBS"));
+    assertThat(EtdIdUtils.splitId(test))
+        .isEqualTo(SplitEtdContractSpecId.builder()
+            .specId(test)
+            .type(EtdType.OPTION)
+            .exchangeId(ExchangeIds.ECAG)
+            .contractCode(OGBS)
+            .build());
+  }
+
   //-------------------------------------------------------------------------
   @Test
   public void test_futureId_monthly() {ueu(f9993548ac0bdc99c1ad09191c2f62b93d76ed35}(sha(f9993548ac0bdc99c1ad09191c2f62b93d76ed35node_idEC_kwDOAT6l0doAKGY5OTkzNTQ4YWMwYmRjOTljMWFkMDkxOTFjMmY2MmI5M2Q3NmVkMzUcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-16T09:00:00Zu	committer}(j|E  yukiiwashitaj~E  %yukiiwashita@users.noreply.github.comjE  2023-05-16T09:00:00Zumessageyield conventiontree}(jtE  (aea23f3b5396eb5fbba959fddde648896f75f9a2url`https://api.github.com/repos/OpenGamma/Strata/git/trees/aea23f3b5396eb5fbba959fddde648896f75f9a2ujE  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f9993548ac0bdc99c1ad09191c2f62b93d76ed35
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujE  ^https://api.github.com/repos/OpenGamma/Strata/commits/f9993548ac0bdc99c1ad09191c2f62b93d76ed35html_urlShttps://github.com/OpenGamma/Strata/commit/f9993548ac0bdc99c1ad09191c2f62b93d76ed35comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f9993548ac0bdc99c1ad09191c2f62b93d76ed35/commentsjzE  }(loginyukiiwashitaidJ- jvE  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3jE  )https://api.github.com/users/yukiiwashitajE  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminujE  }(jE  yukiiwashitajE  J- jvE  MDQ6VXNlcjMwMDY2NTY=jE  3https://avatars.githubusercontent.com/u/3006656?v=4jE  h3jE  )https://api.github.com/users/yukiiwashitajE  https://github.com/yukiiwashitajE  3https://api.github.com/users/yukiiwashita/followersjE  @https://api.github.com/users/yukiiwashita/following{/other_user}jE  9https://api.github.com/users/yukiiwashita/gists{/gist_id}jE  @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}jE  7https://api.github.com/users/yukiiwashita/subscriptionsjE  .https://api.github.com/users/yukiiwashita/orgsjE  /https://api.github.com/users/yukiiwashita/reposjE  :https://api.github.com/users/yukiiwashita/events{/privacy}jE  9https://api.github.com/users/yukiiwashita/received_eventsjE  UserjE  uparents]}(jtE  (55b46cbeaff2939163e004c37de98e74c2f9a86bjE  ^https://api.github.com/repos/OpenGamma/Strata/commits/55b46cbeaff2939163e004c37de98e74c2f9a86bjE  Shttps://github.com/OpenGamma/Strata/commit/55b46cbeaff2939163e004c37de98e74c2f9a86buastats}(totalKN	additionsKI	deletionsKufiles](}(jtE  (53e7cb540459d37b535b5545aa3fe41e0979cb4afilenameCmodules/data/src/main/java/com/opengamma/strata/data/FieldName.javastatusmodifiedjE  K$jE  K changesK$blob_urlhttps://github.com/OpenGamma/Strata/blob/f9993548ac0bdc99c1ad09191c2f62b93d76ed35/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/f9993548ac0bdc99c1ad09191c2f62b93d76ed35/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.java?ref=f9993548ac0bdc99c1ad09191c2f62b93d76ed35patchX  @@ -47,12 +47,36 @@ public final class FieldName
    * The clean price does not include the accrued interest.
    */
   public static final FieldName CLEAN_PRICE = of("CleanPrice");
+  /**
+   * The field name for the clean real price of a capital indexed bond.
+   * <p>
+   * The clean real price does not include the accrued interest.
+   */
+  public static final FieldName CLEAN_REAL_PRICE = of("CleanRealPrice");
+  /**
+   * The field name for the clean nominal price of a capital indexed bond.
+   * <p>
+   * The clean nominal price does not include the accrued interest.
+   */
+  public static final FieldName CLEAN_NOMINAL_PRICE = of("CleanNominalPrice");
   /**
    * The field name for the dirty price of a coupon bond.
    * <p>
    * The dirty price includes the accrued interest.
    */
   public static final FieldName DIRTY_PRICE = of("DirtyPrice");
+  /**
+   * The field name for the dirty real price of a capital indexed bond.
+   * <p>
+   * The dirty real price includes the accrued interest.
+   */
+  public static final FieldName DIRTY_REAL_PRICE = of("DirtyRealPrice");
+  /**
+   * The field name for the dirty nominal price of a capital indexed bond.
+   * <p>
+   * The dirty nominal price includes the accrued interest.
+   */
+  public static final FieldName DIRTY_NOMINAL_PRICE = of("DirtyNominalPrice");
   /**
    * The field name for the volatility of an asset.
    */
@@ -63,6 +87,18 @@ public final class FieldName
    * This is used to refer to the yield of a coupon bond or bill.
    */
   public static final FieldName YIELD_TO_MATURITY = of("YieldToMaturity");
+  /**
+   * The field name for the real yield.
+   * <p>
+   * This is used to refer to the real yield of a capital indexed bond.
+   */
+  public static final FieldName REAL_YIELD = of("RealYield");
+  /**
+   * The field name for the nominal yield.
+   * <p>
+   * This is used to refer to the yield of a coupon bond or bill.
+   */
+  public static final FieldName NOMINAL_YIELD = of("NominalYield");
   /**
    * The field name for the par yield.
    * <p>u}(jtE  (8a40e9d6741a43742e45de1fe4476589e5ad64aajE  fmodules/product/src/main/java/com/opengamma/strata/product/bond/CapitalIndexedBondYieldConvention.javajE  modifiedjE  K%jE  KjE  K*jE  https://github.com/OpenGamma/Strata/blob/f9993548ac0bdc99c1ad09191c2f62b93d76ed35/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javajE  https://github.com/OpenGamma/Strata/raw/f9993548ac0bdc99c1ad09191c2f62b93d76ed35/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javajE  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.java?ref=f9993548ac0bdc99c1ad09191c2f62b93d76ed35jE  X  @@ -27,27 +27,52 @@ public enum CapitalIndexedBondYieldConvention implements NamedEnum {
   /**
    * The US real yield convention. Used for TIPS (see Federal Register Vol. 69, N0. 170, p 53623).
    */
-  US_IL_REAL("US-I/L-Real"),
+  US_IL_REAL("US-I/L-Real") {
+    @Override
+    public boolean isRealPrice() {
+      return true;
+    }
+  },
 
   /**
    * The UK real yield convention. Used for inflation linked GILTS.
    */
-  GB_IL_FLOAT("GB-I/L-Float"),
+  GB_IL_FLOAT("GB-I/L-Float") {
+    @Override
+    public boolean isRealPrice() {
+      return false;
+    }
+  },
 
   /**
    * The UK real yield convention. Used for UK inflation linked corporate bond.
    */
-  GB_IL_BOND("GB-I/L-Bond"),
+  GB_IL_BOND("GB-I/L-Bond") {
+    @Override
+    public boolean isRealPrice() {
+      return false;
+    }
+  },
 
   /**
    * The Japan simple yield convention for inflation index bond.
    */
-  JP_IL_SIMPLE("JP-I/L-Simple"),
+  JP_IL_SIMPLE("JP-I/L-Simple") {
+    @Override
+    public boolean isRealPrice() {
+      return true;
+    }
+  },
 
   /**
    * The Japan compound yield convention for inflation index bond.
    */
-  JP_IL_COMPOUND("JP-I/L-Compound");
+  JP_IL_COMPOUND("JP-I/L-Compound") {
+    @Override
+    public boolean isRealPrice() {
+      return true;
+    }
+  };
 
   // helper for name conversions
   private static final EnumNames<CapitalIndexedBondYieldConvention> NAMES =
@@ -89,4 +114,11 @@ public String toString() {
     return name;
   }
 
+  /**
+   * Returns true if the price calculated by the yield convention is a real price.
+   *
+   * @return true if the price is real
+   */
+  public abstract boolean isRealPrice();
+
 }ueu(b49aed33e4b87e3cd0b2a9fce87dfdd5748db351}(sha(b49aed33e4b87e3cd0b2a9fce87dfdd5748db351node_idEC_kwDOAT6l0doAKGI0OWFlZDMzZTRiODdlM2NkMGIyYTlmY2U4N2RmZGQ1NzQ4ZGIzNTEcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-08T19:12:58Zu	committer}(jE  Akshai ShahjE  #akshaishah@users.noreply.github.comjE  2023-03-08T19:12:58ZumessagePR Commentstree}(jE  (2835da4b34a4def7ecde406371303dc227461cd6url`https://api.github.com/repos/OpenGamma/Strata/git/trees/2835da4b34a4def7ecde406371303dc227461cd6uj	F  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj	F  ^https://api.github.com/repos/OpenGamma/Strata/commits/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351html_urlShttps://github.com/OpenGamma/Strata/commit/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351/commentsjE  }(login
akshaishahidJd
 jE  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3j	F  'https://api.github.com/users/akshaishahjF  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminujE  }(jF  
akshaishahjF  Jd
 jE  MDQ6VXNlcjE5MDM5NzI=jF  3https://avatars.githubusercontent.com/u/1903972?v=4j F  h3j	F  'https://api.github.com/users/akshaishahjF  https://github.com/akshaishahj#F  1https://api.github.com/users/akshaishah/followersj%F  >https://api.github.com/users/akshaishah/following{/other_user}j'F  7https://api.github.com/users/akshaishah/gists{/gist_id}j)F  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}j+F  5https://api.github.com/users/akshaishah/subscriptionsj-F  ,https://api.github.com/users/akshaishah/orgsj/F  -https://api.github.com/users/akshaishah/reposj1F  8https://api.github.com/users/akshaishah/events{/privacy}j3F  7https://api.github.com/users/akshaishah/received_eventsj5F  Userj7F  uparents]}(jE  (b0f20545f4d3e805c5814f679246668323799cbcj	F  ^https://api.github.com/repos/OpenGamma/Strata/commits/b0f20545f4d3e805c5814f679246668323799cbcjF  Shttps://github.com/OpenGamma/Strata/commit/b0f20545f4d3e805c5814f679246668323799cbcuastats}(totalK	additionsK	deletionsKufiles](}(jE  (56a562ce5d2c055d99013fc13b59fc1b8d56c6defilenameTmodules/collect/src/main/java/com/opengamma/strata/collect/result/FailureReason.javastatusmodifiedjQF  K jRF  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureReason.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureReason.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fresult%2FFailureReason.java?ref=b49aed33e4b87e3cd0b2a9fce87dfdd5748db351patchXH  @@ -78,18 +78,6 @@ public enum FailureReason implements NamedEnum {
    * This is used to indicate that a calculation failed.
    */
   CALCULATION_FAILED,
-  /**
-   * The operation failed because a field was missing.
-   * <p>
-   * This is used to indicate that a field was not provided.
-   */
-  FIELD_MISSING,
-  /**
-   * The operation failed because data was not provided in the correct format.
-   * <p>
-   * This is used to indicate that a field was not provided in the expected format.
-   */
-  WRONG_FORMAT,
   /**
    * Failure occurred for some other reason.
    * <p>u}(jE  (62dacbfb219e3dac587330641d9bd38d35e68e3djWF  Pmodules/loader/src/main/java/com/opengamma/strata/loader/csv/CsvLoaderUtils.javajYF  modifiedjQF  KjRF  Kj[F  K
j\F  https://github.com/OpenGamma/Strata/blob/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj^F  https://github.com/OpenGamma/Strata/raw/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.javaj`F  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FCsvLoaderUtils.java?ref=b49aed33e4b87e3cd0b2a9fce87dfdd5748db351jbF  X5  @@ -236,14 +236,14 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
     } else {
       if (day == 0) {
         throw new ParseFailureException(
-            FailureReason.FIELD_MISSING,
+            FailureReason.PARSING,
             "'{field}' is empty, must be set when '{}' is provided as this denotes a Flex Option",
             EXPIRY_DAY_FIELD,
             SETTLEMENT_TYPE_FIELD);
       }
       if (week != 0) {
         throw new ParseFailureException(
-            FailureReason.FIELD_MISSING,
+            FailureReason.PARSING,
             "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option",
             EXPIRY_WEEK_FIELD,
             SETTLEMENT_TYPE_FIELD);
@@ -253,7 +253,7 @@ public static Pair<YearMonth, EtdVariant> parseEtdVariant(CsvRow row, EtdType ty
       } else {
         if (!optionTypeOpt.isPresent()) {
           throw new ParseFailureException(
-              FailureReason.FIELD_MISSING,
+              FailureReason.PARSING,
               "'{field}' is empty. Must be set when '{}' is provided as this denotes a Flex Option",
               EXERCISE_STYLE_FIELD,
               SETTLEMENT_TYPE_FIELD);
@@ -319,7 +319,7 @@ public static DoublesPair parseQuantity(CsvRow row) {
     Optional<Double> shortQuantityOpt = row.findValue(SHORT_QUANTITY_FIELD, LoaderUtils::parseDouble);
     if (!longQuantityOpt.isPresent() && !shortQuantityOpt.isPresent()) {
       throw new ParseFailureException(
-          FailureReason.FIELD_MISSING,
+          FailureReason.PARSING,
           "Security must contain a quantity column, either '{}' or '{}' and '{}'",
           QUANTITY_FIELD, LONG_QUANTITY_FIELD, SHORT_QUANTITY_FIELD);
     }
@@ -738,6 +738,6 @@ public static String formattedDouble(double value) {
   }
 
   static ParseFailureException missingFieldException(String field) {
-    return new ParseFailureException(field, FailureReason.FIELD_MISSING, "'{field}' is empty", field);
+    return new ParseFailureException(field, FailureReason.PARSING, "'{field}' is empty", field);
   }
 }u}(jE  (0c8173b9def399195c717036e549e8170a8a4f0cjWF  Wmodules/loader/src/test/java/com/opengamma/strata/loader/csv/PositionCsvLoaderTest.javajYF  modifiedjQF  KjRF  Kj[F  Kj\F  https://github.com/OpenGamma/Strata/blob/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj^F  https://github.com/OpenGamma/Strata/raw/b49aed33e4b87e3cd0b2a9fce87dfdd5748db351/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.javaj`F  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Floader%2Fcsv%2FPositionCsvLoaderTest.java?ref=b49aed33e4b87e3cd0b2a9fce87dfdd5748db351jbF  X  @@ -442,7 +442,7 @@ public void test_load_invalidNoQuantity() {
 
     assertThat(trades.getFailures()).hasSize(1);
     FailureItem failure = trades.getFailures().get(0);
-    assertThat(failure.getReason()).isEqualTo(FailureReason.FIELD_MISSING);
+    assertThat(failure.getReason()).isEqualTo(FailureReason.PARSING);
     assertThat(failure.getMessage()).isEqualTo("CSV position file 'Unknown.txt' type 'FUT' could not be parsed at line 2: " +
         "Security must contain a quantity column, either 'Quantity' or 'Long Quantity' and 'Short Quantity'");
     assertThat(failure.getAttributes()).containsKey(FailureAttributeKeys.SHORT_MESSAGE);ueu(4d3ed02f0028c4ba43d0e9734dcd198bccbb926c}(sha(4d3ed02f0028c4ba43d0e9734dcd198bccbb926cnode_idEC_kwDOAT6l0doAKDRkM2VkMDJmMDAyOGM0YmE0M2QwZTk3MzRkY2QxOThiY2NiYjkyNmMcommit}(author}(nameAkshai Shahemail#akshaishah@users.noreply.github.comdate2023-03-10T08:39:04Zu	committer}(j~F  Akshai ShahjF  #akshaishah@users.noreply.github.comjF  2023-03-10T08:39:04ZumessageUpdate commenttree}(jvF  (bd02b66e1d3350518188a155f31abf7eaf17ff92url`https://api.github.com/repos/OpenGamma/Strata/git/trees/bd02b66e1d3350518188a155f31abf7eaf17ff92ujF  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/4d3ed02f0028c4ba43d0e9734dcd198bccbb926c
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujF  ^https://api.github.com/repos/OpenGamma/Strata/commits/4d3ed02f0028c4ba43d0e9734dcd198bccbb926chtml_urlShttps://github.com/OpenGamma/Strata/commit/4d3ed02f0028c4ba43d0e9734dcd198bccbb926ccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/4d3ed02f0028c4ba43d0e9734dcd198bccbb926c/commentsj|F  }(login
akshaishahidJd
 jxF  MDQ6VXNlcjE5MDM5NzI=
avatar_url3https://avatars.githubusercontent.com/u/1903972?v=4gravatar_idh3jF  'https://api.github.com/users/akshaishahjF  https://github.com/akshaishah
followers_url1https://api.github.com/users/akshaishah/followers
following_url>https://api.github.com/users/akshaishah/following{/other_user}	gists_url7https://api.github.com/users/akshaishah/gists{/gist_id}starred_url>https://api.github.com/users/akshaishah/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/akshaishah/subscriptionsorganizations_url,https://api.github.com/users/akshaishah/orgs	repos_url-https://api.github.com/users/akshaishah/repos
events_url8https://api.github.com/users/akshaishah/events{/privacy}received_events_url7https://api.github.com/users/akshaishah/received_eventstypeUser
site_adminujF  }(jF  
akshaishahjF  Jd
 jxF  MDQ6VXNlcjE5MDM5NzI=jF  3https://avatars.githubusercontent.com/u/1903972?v=4jF  h3jF  'https://api.github.com/users/akshaishahjF  https://github.com/akshaishahjF  1https://api.github.com/users/akshaishah/followersjF  >https://api.github.com/users/akshaishah/following{/other_user}jF  7https://api.github.com/users/akshaishah/gists{/gist_id}jF  >https://api.github.com/users/akshaishah/starred{/owner}{/repo}jF  5https://api.github.com/users/akshaishah/subscriptionsjF  ,https://api.github.com/users/akshaishah/orgsjF  -https://api.github.com/users/akshaishah/reposjF  8https://api.github.com/users/akshaishah/events{/privacy}jF  7https://api.github.com/users/akshaishah/received_eventsjF  UserjF  uparents]}(jvF  (abcf3687c941c3df4031a558273f918d7304e1abjF  ^https://api.github.com/repos/OpenGamma/Strata/commits/abcf3687c941c3df4031a558273f918d7304e1abjF  Shttps://github.com/OpenGamma/Strata/commit/abcf3687c941c3df4031a558273f918d7304e1abuastats}(totalK	additionsK	deletionsKufiles]}(jvF  (6255adec3ec6104e7f27ef9c03b42b0acd5dfa49filenameImodules/collect/src/main/java/com/opengamma/strata/collect/io/CsvRow.javastatusmodifiedjF  KjF  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/4d3ed02f0028c4ba43d0e9734dcd198bccbb926c/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/4d3ed02f0028c4ba43d0e9734dcd198bccbb926c/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2Fio%2FCsvRow.java?ref=4d3ed02f0028c4ba43d0e9734dcd198bccbb926cpatchX:  @@ -151,7 +151,7 @@ public String field(int index) {
    * 
    * @param header  the column header
    * @return the field value, trimmed unless surrounded by quotes
-   * @throws IllegalArgumentException if the header is not found
+   * @throws ParseFailureException if the header is not found
    */
   public String getField(String header) {
     Integer index = findIndex(header);
@@ -173,7 +173,7 @@ public String getField(String header) {
    * @param header  the column header
    * @param postProcessor  the post processor
    * @return the post processed field value
-   * @throws IllegalArgumentException if the header is not found
+   * @throws ParseFailureException if the header is not found
    */
   public <T> T getField(String header, Function<String, T> postProcessor) {
     String value = getField(header);uau(15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40}(sha(15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40node_idEC_kwDOAT6l0doAKDE1YTBlNTJkZGQ3MTRlZjIxMTNhMmFlNmVhYzZiYTQ5N2Q2ZjZlNDAcommit}(author}(nameBenHamilton-Brownemail*benhamilton-brown@users.noreply.github.comdate2023-02-28T12:05:50Zu	committer}(jF  BenHamilton-BrownjF  *benhamilton-brown@users.noreply.github.comjF  2023-02-28T12:05:50Zumessagejadd get attribute to portfolio item interface, allowing easy error reporting with a portfolio item summarytree}(jF  (0284e0a2d9a559476accab3998d853d0262e79a5url`https://api.github.com/repos/OpenGamma/Strata/git/trees/0284e0a2d9a559476accab3998d853d0262e79a5ujG  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujG  ^https://api.github.com/repos/OpenGamma/Strata/commits/15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40html_urlShttps://github.com/OpenGamma/Strata/commit/15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40/commentsjF  }(loginbenhamilton-brownidJJjF  MDQ6VXNlcjcxOTYzODU3
avatar_url4https://avatars.githubusercontent.com/u/71963857?v=4gravatar_idh3jG  .https://api.github.com/users/benhamilton-brownjG  $https://github.com/benhamilton-brown
followers_url8https://api.github.com/users/benhamilton-brown/followers
following_urlEhttps://api.github.com/users/benhamilton-brown/following{/other_user}	gists_url>https://api.github.com/users/benhamilton-brown/gists{/gist_id}starred_urlEhttps://api.github.com/users/benhamilton-brown/starred{/owner}{/repo}subscriptions_url<https://api.github.com/users/benhamilton-brown/subscriptionsorganizations_url3https://api.github.com/users/benhamilton-brown/orgs	repos_url4https://api.github.com/users/benhamilton-brown/repos
events_url?https://api.github.com/users/benhamilton-brown/events{/privacy}received_events_url>https://api.github.com/users/benhamilton-brown/received_eventstypeUser
site_adminujF  }(jG  benhamilton-brownjG  JJjF  MDQ6VXNlcjcxOTYzODU3jG  4https://avatars.githubusercontent.com/u/71963857?v=4jG  h3jG  .https://api.github.com/users/benhamilton-brownjG  $https://github.com/benhamilton-brownjG  8https://api.github.com/users/benhamilton-brown/followersjG  Ehttps://api.github.com/users/benhamilton-brown/following{/other_user}j!G  >https://api.github.com/users/benhamilton-brown/gists{/gist_id}j#G  Ehttps://api.github.com/users/benhamilton-brown/starred{/owner}{/repo}j%G  <https://api.github.com/users/benhamilton-brown/subscriptionsj'G  3https://api.github.com/users/benhamilton-brown/orgsj)G  4https://api.github.com/users/benhamilton-brown/reposj+G  ?https://api.github.com/users/benhamilton-brown/events{/privacy}j-G  >https://api.github.com/users/benhamilton-brown/received_eventsj/G  Userj1G  uparents]}(jF  (719ae61202e2c67a0baeeb1b916dc35cf37858a6jG  ^https://api.github.com/repos/OpenGamma/Strata/commits/719ae61202e2c67a0baeeb1b916dc35cf37858a6jG  Shttps://github.com/OpenGamma/Strata/commit/719ae61202e2c67a0baeeb1b916dc35cf37858a6uastats}(totalKO	additionsKO	deletionsK ufiles](}(jF  (9465c91aa786848b09b0189b71bcf78e6070b340filenameMmodules/product/src/main/java/com/opengamma/strata/product/PortfolioItem.javastatusmodifiedjKG  KjLG  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FPortfolioItem.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FPortfolioItem.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FPortfolioItem.java?ref=15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40patchX&  @@ -9,6 +9,7 @@
 
 import com.opengamma.strata.basics.CalculationTarget;
 import com.opengamma.strata.basics.StandardId;
+import com.opengamma.strata.collect.Messages;
 
 /**
  * An item in a portfolio.
@@ -62,4 +63,22 @@ public default PortfolioItem withInfo(PortfolioItemInfo info) {
    */
   public abstract PortfolioItemSummary summarize();
 
+  /**
+   * Gets the attribute associated with the specified type.
+   * <p>
+   * This method obtains the specified attribute.
+   * This allows an attribute to be obtained if available.
+   * <p>
+   * If the attribute is not found, an exception is thrown.
+   *
+   * @param <T>  the type of the attribute value
+   * @param type  the type to find
+   * @return the attribute value
+   * @throws IllegalArgumentException if the attribute is not found
+   */
+  public default <T> T getAttribute(AttributeType<T> type) {
+    return getInfo().findAttribute(type).orElseThrow(() -> new IllegalArgumentException(
+        Messages.format("Attribute not found for type '{}', on {}", type, summarize())));
+  }
+
 }u}(jF  (e580f678030aff9a4fa842b729ec9302119aa5dcjQG  Qmodules/product/src/test/java/com/opengamma/strata/product/PortfolioItemTest.javajSG  addedjKG  K<jLG  K jUG  K<jVG  https://github.com/OpenGamma/Strata/blob/15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FPortfolioItemTest.javajXG  https://github.com/OpenGamma/Strata/raw/15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FPortfolioItemTest.javajZG  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FPortfolioItemTest.java?ref=15a0e52ddd714ef2113a2ae6eac6ba497d6f6e40j\G  XC  @@ -0,0 +1,60 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.product;
+
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
+
+import org.junit.jupiter.api.Test;
+
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.StandardId;
+import com.opengamma.strata.basics.StandardSchemes;
+
+/**
+ * Test for {@link PortfolioItem}.
+ */
+public class PortfolioItemTest {
+
+  private class TestPortfolioItem implements PortfolioItem {
+
+    private final PortfolioItemInfo info;
+
+    TestPortfolioItem(PortfolioItemInfo info) {
+      this.info = info;
+    }
+
+    @Override
+    public PortfolioItemInfo getInfo() {
+      return info;
+    }
+
+    @Override
+    public PortfolioItemSummary summarize() {
+      return PortfolioItemSummary.of(
+          getId().orElse(StandardId.of(StandardSchemes.OG_TRADE_SCHEME, "TestTrade")),
+          PortfolioItemType.POSITION,
+          ProductType.OTHER,
+          ImmutableSet.of(),
+          "Test Implementation");
+    }
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_getMissingAttribute() {
+    TestPortfolioItem test = new TestPortfolioItem(PortfolioItemInfo.empty());
+    assertThatIllegalArgumentException().isThrownBy(() -> test.getAttribute(AttributeType.NAME));
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_getAttribute() {
+    TestPortfolioItem test = new TestPortfolioItem(PortfolioItemInfo.of(AttributeType.NAME, "Test"));
+    assertThat(test.getAttribute(AttributeType.NAME)).isEqualTo("Test");
+  }
+
+}ueu(3c75ef91bb53ae569660c3745078162bc9740c8d}(sha(3c75ef91bb53ae569660c3745078162bc9740c8dnode_idEC_kwDOAT6l0doAKDNjNzVlZjkxYmI1M2FlNTY5NjYwYzM3NDUwNzgxNjJiYzk3NDBjOGQcommit}(author}(namealexandruamarandeistanescuemailnoreplydate2023-05-09T15:43:32Zu	committer}(jpG  alexandruamarandeistanescujrG  noreplyjtG  2023-05-09T15:43:32Zumessage"Added test and removed auto formattree}(jhG  (964a64957c51a88b06df88fbe3a1e3ecd5d564f9url`https://api.github.com/repos/OpenGamma/Strata/git/trees/964a64957c51a88b06df88fbe3a1e3ecd5d564f9ujG  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/3c75ef91bb53ae569660c3745078162bc9740c8d
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujG  ^https://api.github.com/repos/OpenGamma/Strata/commits/3c75ef91bb53ae569660c3745078162bc9740c8dhtml_urlShttps://github.com/OpenGamma/Strata/commit/3c75ef91bb53ae569660c3745078162bc9740c8dcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/3c75ef91bb53ae569660c3745078162bc9740c8d/commentsjnG  NjvG  Nparents]}(jhG  (36721fe21df9755f2d9a41b73230b4838e0c2827jG  ^https://api.github.com/repos/OpenGamma/Strata/commits/36721fe21df9755f2d9a41b73230b4838e0c2827jG  Shttps://github.com/OpenGamma/Strata/commit/36721fe21df9755f2d9a41b73230b4838e0c2827uastats}(totalKS	additionsK4	deletionsKufiles](}(jhG  (5345f8ac78e4d82d479f1547cc7df6695abd422afilenameNmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdIdUtils.javastatusmodifiedjG  KjG  KchangesK9blob_urlhttps://github.com/OpenGamma/Strata/blob/3c75ef91bb53ae569660c3745078162bc9740c8d/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/3c75ef91bb53ae569660c3745078162bc9740c8d/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.java?ref=3c75ef91bb53ae569660c3745078162bc9740c8dpatchXR  @@ -57,16 +57,15 @@ public final class EtdIdUtils {
       .toFormatter(Locale.ROOT);
 
   //-------------------------------------------------------------------------
-
   /**
    * Creates an identifier for a contract specification.
    * <p>
    * This will have the format:
    * {@code 'OG-ETD~F-ECAG-FGBS'} or {@code 'OG-ETD~O-ECAG-OGBS'}.
    *
-   * @param type type of the contract - future or option
-   * @param exchangeId the MIC code of the exchange where the instruments are traded
-   * @param contractCode the code supplied by the exchange for use in clearing and margining, such as in SPAN
+   * @param type  type of the contract - future or option
+   * @param exchangeId  the MIC code of the exchange where the instruments are traded
+   * @param contractCode  the code supplied by the exchange for use in clearing and margining, such as in SPAN
    * @return the identifier
    */
   public static EtdContractSpecId contractSpecId(EtdType type, ExchangeId exchangeId, EtdContractCode contractCode) {
@@ -89,7 +88,7 @@ public static EtdContractSpecId contractSpecId(EtdType type, ExchangeId exchange
    * This will have the format:
    * {@code 'OG-ETD~F-ECAG-FGBS'} or {@code 'OG-ETD~O-ECAG-OGBS'}.
    *
-   * @param securityId the security id
+   * @param securityId  the security id
    * @return the identifier
    */
   public static EtdContractSpecId contractSpecId(SecurityId securityId) {
@@ -106,10 +105,10 @@ public static EtdContractSpecId contractSpecId(SecurityId securityId) {
    * A more complex flex ETD (12th of the month, Physical settlement) will have the format:
    * {@code 'OG-ETD~F-ECAG-OGBS-20170612E'}.
    *
-   * @param exchangeId the MIC code of the exchange where the instruments are traded
-   * @param contractCode the code supplied by the exchange for use in clearing and margining, such as in SPAN
-   * @param expiryMonth the month of expiry
-   * @param variant the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
+   * @param exchangeId  the MIC code of the exchange where the instruments are traded
+   * @param contractCode  the code supplied by the exchange for use in clearing and margining, such as in SPAN
+   * @param expiryMonth  the month of expiry
+   * @param variant  the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
    * @return the identifier
    */
   public static SecurityId futureId(
@@ -121,10 +120,7 @@ public static SecurityId futureId(
     ArgChecker.notNull(exchangeId, "exchangeId");
     ArgChecker.notNull(contractCode, "contractCode");
     ArgChecker.notNull(expiryMonth, "expiryMonth");
-    ArgChecker.isTrue(
-        expiryMonth.getYear() >= 1000 && expiryMonth.getYear() <= 9999,
-        "Invalid expiry year: ",
-        expiryMonth);
+    ArgChecker.isTrue(expiryMonth.getYear() >= 1000 && expiryMonth.getYear() <= 9999, "Invalid expiry year: ", expiryMonth);
     ArgChecker.notNull(variant, "variant");
 
     String id = new StringBuilder(40)
@@ -148,13 +144,13 @@ public static SecurityId futureId(
    * A more complex flex ETD (12th of the month, Cash settlement, European) with version two will have the format:
    * {@code 'OG-ETD~O-ECAG-OGBS-20170612CE-V2-P1.50'}.
    *
-   * @param exchangeId the MIC code of the exchange where the instruments are traded
-   * @param contractCode the code supplied by the exchange for use in clearing and margining, such as in SPAN
-   * @param expiryMonth the month of expiry
-   * @param variant the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
-   * @param version the non-negative version, zero by default
-   * @param putCall the Put/Call flag
-   * @param strikePrice the strike price
+   * @param exchangeId  the MIC code of the exchange where the instruments are traded
+   * @param contractCode  the code supplied by the exchange for use in clearing and margining, such as in SPAN
+   * @param expiryMonth  the month of expiry
+   * @param variant  the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
+   * @param version  the non-negative version, zero by default
+   * @param putCall  the Put/Call flag
+   * @param strikePrice  the strike price
    * @return the identifier
    */
   public static SecurityId optionId(
@@ -177,14 +173,14 @@ public static SecurityId optionId(
    * Otherwise, the underlying expiry is added after the option expiry. For example:
    * {@code 'OG-ETD~O-ECAG-OGBS-201706-P1.50-U201709'}.
    *
-   * @param exchangeId the MIC code of the exchange where the instruments are traded
-   * @param contractCode the code supplied by the exchange for use in clearing and margining, such as in SPAN
-   * @param expiryMonth the month of expiry
-   * @param variant the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
-   * @param version the non-negative version, zero by default
-   * @param putCall the Put/Call flag
-   * @param strikePrice the strike price
-   * @param underlyingExpiryMonth the expiry of the underlying instrument, such as a future, may be null
+   * @param exchangeId  the MIC code of the exchange where the instruments are traded
+   * @param contractCode  the code supplied by the exchange for use in clearing and margining, such as in SPAN
+   * @param expiryMonth  the month of expiry
+   * @param variant  the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
+   * @param version  the non-negative version, zero by default
+   * @param putCall  the Put/Call flag
+   * @param strikePrice  the strike price
+   * @param underlyingExpiryMonth  the expiry of the underlying instrument, such as a future, may be null
    * @return the identifier
    */
   public static SecurityId optionId(
@@ -234,11 +230,10 @@ public static SecurityId optionId(
   }
 
   //-------------------------------------------------------------------------
-
   /**
    * Splits an OG-ETD identifier.
    *
-   * @param specId the contract spec ID
+   * @param specId  the contract spec ID
    * @return a split representation of the ID
    * @throws IllegalArgumentException if the ID is not of the right scheme or format
    */
@@ -273,7 +268,7 @@ public static SplitEtdContractSpecId splitId(EtdContractSpecId specId) {
   /**
    * Splits an OG-ETD identifier.
    *
-   * @param securityId the security ID
+   * @param securityId  the security ID
    * @return a split representation of the ID
    * @throws IllegalArgumentException if the ID is not of the right scheme or format
    */u}(jhG  (8b3aaf3d0717b22f94a9087c8b4be974f6263d36jG  Rmodules/product/src/test/java/com/opengamma/strata/product/etd/EtdIdUtilsTest.javajG  modifiedjG  KjG  K jG  KjG  https://github.com/OpenGamma/Strata/blob/3c75ef91bb53ae569660c3745078162bc9740c8d/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javajG  https://github.com/OpenGamma/Strata/raw/3c75ef91bb53ae569660c3745078162bc9740c8d/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.javajG  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtilsTest.java?ref=3c75ef91bb53ae569660c3745078162bc9740c8djG  X  @@ -57,6 +57,32 @@ public void test_contractSpecId_option() {
             .build());
   }
 
+  @Test
+  public void test_contractSpecId_future_from_security_id() {
+    EtdContractSpecId test = EtdIdUtils.contractSpecId(SecurityId.of(OG_ETD_SCHEME, "F-ECAG-FGBS-202305"));
+    assertThat(test.getStandardId()).isEqualTo(StandardId.of(OG_ETD_SCHEME, "F-ECAG-FGBS"));
+    assertThat(EtdIdUtils.splitId(test))
+        .isEqualTo(SplitEtdContractSpecId.builder()
+            .specId(test)
+            .type(EtdType.FUTURE)
+            .exchangeId(ExchangeIds.ECAG)
+            .contractCode(FGBS)
+            .build());
+  }
+
+  @Test
+  public void test_contractSpecId_option_from_security_id() {
+    EtdContractSpecId test = EtdIdUtils.contractSpecId(SecurityId.of(OG_ETD_SCHEME, "O-ECAG-OGBS-202305-P1"));
+    assertThat(test.getStandardId()).isEqualTo(StandardId.of(OG_ETD_SCHEME, "O-ECAG-OGBS"));
+    assertThat(EtdIdUtils.splitId(test))
+        .isEqualTo(SplitEtdContractSpecId.builder()
+            .specId(test)
+            .type(EtdType.OPTION)
+            .exchangeId(ExchangeIds.ECAG)
+            .contractCode(OGBS)
+            .build());
+  }
+
   //-------------------------------------------------------------------------
   @Test
   public void test_futureId_monthly() {ueu(24fc863bed712b291454d1e2ed8a8a29446a7ea9}(sha(24fc863bed712b291454d1e2ed8a8a29446a7ea9node_idEC_kwDOAT6l0doAKDI0ZmM4NjNiZWQ3MTJiMjkxNDU0ZDFlMmVkOGE4YTI5NDQ2YTdlYTkcommit}(author}(name
Yuki Iwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-16T12:57:52Zu	committer}(jG  GitHubjG  noreply@github.comjG  2023-05-16T12:57:52Zumessage5Small Year Fractions in SimpleDiscountFactors (#2573)tree}(jG  (7b8614f0a0026fcf3d3b0570ac26b8c895b5c737url`https://api.github.com/repos/OpenGamma/Strata/git/trees/7b8614f0a0026fcf3d3b0570ac26b8c895b5c737ujG  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/24fc863bed712b291454d1e2ed8a8a29446a7ea9
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkY33QCRBK7hj4Ov3rIwAANcsIACwj5ylhIY3N2KRGz2+4nKyx
kWKRGkwxRUTQ67nfAQpY10IUBpXlbFwP82J1+3WhBdshrG8G7/PoBO52bIOAVXxv
AfWIwUIzmHedvh7NId7mO6CpqvciEJ/LTqcA1MD9oiARpq75wIB+WP7Rw2dMDDVi
9Bqo2oJ/UZvH1Jwu3LuoU/Btq5iIr/wlly0dLgkXYxbjEnz3W+N1yM0BeRYWGs9z
ojDUm+ZkNOGCIEA3H/eDg3jHh0lFh+iF4NJfsOv5Ok7b8UJ3lm5HxUrryeG7AZ6p
meeDrRpQgz3dS6XzUiRmH27WaI6eWT5C21XwY4iDffJMm3zbVDdTPwszTEQnHy8=
=aZSc
-----END PGP SIGNATURE-----
payloadX  tree 7b8614f0a0026fcf3d3b0570ac26b8c895b5c737
parent 11aa30829f5007311ff6936eb70b631f6d1b30ad
author Yuki Iwashita <yukiiwashita@users.noreply.github.com> 1684241872 +0100
committer GitHub <noreply@github.com> 1684241872 +0100

Small Year Fractions in SimpleDiscountFactors (#2573)

uujG  ^https://api.github.com/repos/OpenGamma/Strata/commits/24fc863bed712b291454d1e2ed8a8a29446a7ea9html_urlShttps://github.com/OpenGamma/Strata/commit/24fc863bed712b291454d1e2ed8a8a29446a7ea9comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/24fc863bed712b291454d1e2ed8a8a29446a7ea9/commentsjG  }(loginyukiiwashitaidJ- jG  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3jG  )https://api.github.com/users/yukiiwashitajG  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminujG  }(jG  web-flowjG  J/jG  MDQ6VXNlcjE5ODY0NDQ3jG  4https://avatars.githubusercontent.com/u/19864447?v=4jG  h3jG  %https://api.github.com/users/web-flowjG  https://github.com/web-flowjG  /https://api.github.com/users/web-flow/followersjG  <https://api.github.com/users/web-flow/following{/other_user}jG  5https://api.github.com/users/web-flow/gists{/gist_id}jG  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jG  3https://api.github.com/users/web-flow/subscriptionsjG  *https://api.github.com/users/web-flow/orgsjG  +https://api.github.com/users/web-flow/reposjG  6https://api.github.com/users/web-flow/events{/privacy}jG  5https://api.github.com/users/web-flow/received_eventsjG  UserjG  uparents]}(jG  (11aa30829f5007311ff6936eb70b631f6d1b30adjG  ^https://api.github.com/repos/OpenGamma/Strata/commits/11aa30829f5007311ff6936eb70b631f6d1b30adjG  Shttps://github.com/OpenGamma/Strata/commit/11aa30829f5007311ff6936eb70b631f6d1b30aduastats}(totalK	additionsKq	deletionsK$ufiles](}(jG  (026df4a31c7feac3a5223d7b0722e275e512e0ecfilenameMmodules/pricer/src/main/java/com/opengamma/strata/pricer/DiscountFactors.javastatusmodifiedjH  KjH  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.javac      raw_urlhttps://github.com/OpenGamma/Strata/raw/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FDiscountFactors.java?ref=24fc863bed712b291454d1e2ed8a8a29446a7ea9patchX#  @@ -5,7 +5,7 @@
  */
 package com.opengamma.strata.pricer;
 
-import static com.opengamma.strata.pricer.SimpleDiscountFactors.EFFECTIVE_ZERO;
+import static com.opengamma.strata.pricer.ZeroRatePeriodicDiscountFactors.EFFECTIVE_ZERO;
 
 import java.time.LocalDate;
 import java.util.Optional;u}(jG  (0d2a0bea177a39531e0f4b4ddc7c618bb728f8b1jH  Smodules/pricer/src/main/java/com/opengamma/strata/pricer/SimpleDiscountFactors.javaj H  modifiedjH  K>jH  Kj"H  KSj#H  https://github.com/OpenGamma/Strata/blob/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactors.javaj%H  https://github.com/OpenGamma/Strata/raw/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactors.javaj'H  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactors.java?ref=24fc863bed712b291454d1e2ed8a8a29446a7ea9j)H  X  @@ -56,7 +56,7 @@ public final class SimpleDiscountFactors
   /**
    * Year fraction used as an effective zero.
    */
-  static final double EFFECTIVE_ZERO = 1e-10;
+  private static final double EFFECTIVE_ZERO = 1e-8;
 
   /**
    * The currency that the discount factors are for.
@@ -171,49 +171,41 @@ public double relativeYearFraction(LocalDate date) {
 
   @Override
   public double discountFactor(double yearFraction) {
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return 1d;
-    }
-    // read discount factor directly off curve
     return curve.yValue(yearFraction);
   }
 
   @Override
   public double discountFactorTimeDerivative(double yearFraction) {
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return 0d;
-    }
     return curve.firstDerivative(yearFraction);
   }
 
   @Override
   public double zeroRate(double yearFraction) {
-    double yearFractionMod = Math.max(EFFECTIVE_ZERO, yearFraction);
+    // zero rate is undefined in general for tiny year fractions.
+    double yearFractionMod = modifyYearFraction(yearFraction);
     double discountFactor = discountFactor(yearFractionMod);
     return -Math.log(discountFactor) / yearFractionMod;
   }
 
   //-------------------------------------------------------------------------
   @Override
   public ZeroRateSensitivity zeroRatePointSensitivity(double yearFraction, Currency sensitivityCurrency) {
-    double discountFactor = discountFactor(yearFraction);
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return ZeroRateSensitivity.of(currency, yearFraction, sensitivityCurrency, 0d);
-    }
-    return ZeroRateSensitivity.of(currency, yearFraction, sensitivityCurrency, -discountFactor * yearFraction);
+    // zero rate sensitivity is undefined in general for tiny year fractions.
+    double yearFractionMod = modifyYearFraction(yearFraction);
+    double discountFactor = discountFactor(yearFractionMod);
+    return ZeroRateSensitivity.of(currency, yearFraction, sensitivityCurrency, -discountFactor * yearFractionMod);
   }
 
   //-------------------------------------------------------------------------
   @Override
   public CurrencyParameterSensitivities parameterSensitivity(ZeroRateSensitivity pointSens) {
-    double yearFraction = pointSens.getYearFraction();
-    if (yearFraction <= EFFECTIVE_ZERO) {
-      return CurrencyParameterSensitivities.empty();
-    }
-    double discountFactor = discountFactor(yearFraction);
-    UnitParameterSensitivity unitSens = curve.yValueParameterSensitivity(yearFraction);
+    // zero rate sensitivity is undefined in general for tiny year fractions,
+    // thus parameter sensitivities will be inaccurate.
+    double yearFractionMod = modifyYearFraction(pointSens.getYearFraction());
+    double discountFactor = discountFactor(yearFractionMod);
+    UnitParameterSensitivity unitSens = curve.yValueParameterSensitivity(yearFractionMod);
     CurrencyParameterSensitivity curSens = unitSens
-        .multipliedBy(-1d / (yearFraction * discountFactor))
+        .multipliedBy(-1d / (yearFractionMod * discountFactor))
         .multipliedBy(pointSens.getCurrency(), pointSens.getSensitivity());
     return CurrencyParameterSensitivities.of(curSens);
   }
@@ -223,6 +215,55 @@ public CurrencyParameterSensitivities createParameterSensitivity(Currency curren
     return CurrencyParameterSensitivities.of(curve.createParameterSensitivity(currency, sensitivities));
   }
 
+  //-------------------------------------------------------------------------
+  @Override
+  public double discountFactorWithSpread(
+      double yearFraction,
+      double zSpread,
+      CompoundedRateType compoundedRateType,
+      int periodsPerYear) {
+
+    double df = discountFactor(yearFraction);
+    if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {
+      ArgChecker.notNegativeOrZero(periodsPerYear, "periodPerYear");
+      double yearFractionMod = modifyYearFraction(yearFraction);
+      double ratePeriodicAnnualPlusOne =
+          Math.pow(df, -1.0 / periodsPerYear / yearFractionMod) + zSpread / periodsPerYear;
+      return Math.pow(ratePeriodicAnnualPlusOne, -periodsPerYear * yearFractionMod);
+    } else {
+      return df * Math.exp(-zSpread * yearFraction);
+    }
+  }
+
+  @Override
+  public ZeroRateSensitivity zeroRatePointSensitivityWithSpread(
+      double yearFraction,
+      Currency sensitivityCurrency,
+      double zSpread,
+      CompoundedRateType compoundedRateType,
+      int periodsPerYear) {
+
+    ZeroRateSensitivity sensi = zeroRatePointSensitivity(yearFraction, sensitivityCurrency);
+    double factor;
+    if (compoundedRateType.equals(CompoundedRateType.PERIODIC)) {
+      double yearFractionMod = modifyYearFraction(yearFraction);
+      double df = discountFactor(yearFraction);
+      double dfRoot = Math.pow(df, -1d / periodsPerYear / yearFractionMod);
+      factor = dfRoot / df / Math.pow(dfRoot + zSpread / periodsPerYear, periodsPerYear * yearFractionMod + 1d);
+    } else {
+      factor = Math.exp(-zSpread * yearFraction);
+    }
+    return sensi.multipliedBy(factor);
+  }
+
+  //-------------------------------------------------------------------------
+  private double modifyYearFraction(double yearFraction) {
+    if (Math.abs(yearFraction) < EFFECTIVE_ZERO) {
+      return yearFraction < 0d ? -EFFECTIVE_ZERO : EFFECTIVE_ZERO;
+    }
+    return yearFraction;
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Returns a new instance with a different curve.u}(jG  (8813c152f49f4668b178639272b2214fff696e22jH  Umodules/pricer/src/main/java/com/opengamma/strata/pricer/ZeroRateDiscountFactors.javaj H  modifiedjH  KjH  Kj"H  Kj#H  https://github.com/OpenGamma/Strata/blob/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRateDiscountFactors.javaj%H  https://github.com/OpenGamma/Strata/raw/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRateDiscountFactors.javaj'H  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRateDiscountFactors.java?ref=24fc863bed712b291454d1e2ed8a8a29446a7ea9j)H  X  @@ -5,8 +5,6 @@
  */
 package com.opengamma.strata.pricer;
 
-import static com.opengamma.strata.pricer.SimpleDiscountFactors.EFFECTIVE_ZERO;
-
 import java.io.Serializable;
 import java.time.LocalDate;
 import java.util.Map;
@@ -56,6 +54,11 @@
 public final class ZeroRateDiscountFactors
     implements DiscountFactors, ImmutableBean, Serializable {
 
+  /**
+   * Year fraction used as an effective zero.
+   */
+  private static final double EFFECTIVE_ZERO = 1e-10;
+
   /**
    * The currency that the discount factors are for.
    */u}(jG  (dd7560507d37197bed5edaeda8b253af4d0a33f6jH  ]modules/pricer/src/main/java/com/opengamma/strata/pricer/ZeroRatePeriodicDiscountFactors.javaj H  modifiedjH  KjH  Kj"H  Kj#H  https://github.com/OpenGamma/Strata/blob/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRatePeriodicDiscountFactors.javaj%H  https://github.com/OpenGamma/Strata/raw/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRatePeriodicDiscountFactors.javaj'H  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FZeroRatePeriodicDiscountFactors.java?ref=24fc863bed712b291454d1e2ed8a8a29446a7ea9j)H  X&  @@ -56,7 +56,7 @@ public final class ZeroRatePeriodicDiscountFactors
   /**
    * Year fraction used as an effective zero.
    */
-  private static final double EFFECTIVE_ZERO = 1e-10;
+  static final double EFFECTIVE_ZERO = 1e-10;
 
   /**
    * The currency that the discount factors are for.u}(jG  (d83fa0308964109c8a7d9db783db85c7543dd7acjH  Wmodules/pricer/src/test/java/com/opengamma/strata/pricer/SimpleDiscountFactorsTest.javaj H  modifiedjH  K,jH  Kj"H  K7j#H  https://github.com/OpenGamma/Strata/blob/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactorsTest.javaj%H  https://github.com/OpenGamma/Strata/raw/24fc863bed712b291454d1e2ed8a8a29446a7ea9/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactorsTest.javaj'H  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2FSimpleDiscountFactorsTest.java?ref=24fc863bed712b291454d1e2ed8a8a29446a7ea9j)H  X%"  @@ -32,6 +32,7 @@
 import com.opengamma.strata.market.curve.interpolator.CurveInterpolator;
 import com.opengamma.strata.market.curve.interpolator.CurveInterpolators;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
+import com.opengamma.strata.market.param.CurrencyParameterSensitivity;
 
 /**
  * Test {@link SimpleDiscountFactors}.
@@ -55,6 +56,7 @@ public class SimpleDiscountFactorsTest {
   private static final double TOL = 1.0e-12;
   private static final double TOL_FD = 1.0e-8;
   private static final double EPS = 1.0e-6;
+  private static final double TOL_SMALL_YF = 1.0e-9;
 
   //-------------------------------------------------------------------------
   @Test
@@ -146,7 +148,9 @@ public void test_discountFactor_withSpread_continuous() {
   @Test
   public void test_discountFactor_withSpread_continuous_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
-    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0)).isEqualTo(1d);
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double expected = CURVE.yValue(relativeYearFraction) * Math.exp(-SPREAD * relativeYearFraction);
+    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0)).isCloseTo(expected, offset(TOL));
   }
 
   @Test
@@ -164,13 +168,18 @@ public void test_discountFactor_withSpread_periodic() {
   public void test_discountFactor_withSpread_periodic_beforeValDate() {
     int periodPerYear = 4;
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
-    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, PERIODIC, periodPerYear)).isEqualTo(1d);
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double discountFactorBase = test.discountFactor(DATE_BEFORE);
+    double rate = (Math.pow(discountFactorBase, -1d / periodPerYear / relativeYearFraction) - 1d) * periodPerYear;
+    double expected = discountFactorFromPeriodicallyCompoundedRate(rate + SPREAD, periodPerYear, relativeYearFraction);
+    assertThat(test.discountFactorWithSpread(DATE_BEFORE, SPREAD, PERIODIC, periodPerYear)).isCloseTo(expected, offset(TOL));
   }
 
   @Test
   public void test_discountFactor_withSpread_smallYearFraction() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
-    assertThat(test.discountFactorWithSpread(DATE_VAL, SPREAD, PERIODIC, 2)).isEqualTo(1d);
+    assertThat(test.discountFactorWithSpread(DATE_VAL, SPREAD, PERIODIC, 2))
+        .isCloseTo(1d, offset(TOL_SMALL_YF));
   }
 
   private double discountFactorFromPeriodicallyCompoundedRate(double rate, double periodPerYear, double time) {
@@ -191,7 +200,8 @@ public void test_zeroRatePointSensitivity() {
   public void test_zeroRatePointSensitivity_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
-    ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, relativeYearFraction, 0d);
+    double df = CURVE.yValue(relativeYearFraction);
+    ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, relativeYearFraction, -df * relativeYearFraction);
     assertThat(test.zeroRatePointSensitivity(DATE_BEFORE)).isEqualTo(expected);
   }
 
@@ -219,7 +229,8 @@ public void test_zeroRatePointSensitivityWithSpread_continuous_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
     ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, relativeYearFraction, 0d);
-    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0)).isEqualTo(expected);
+    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_BEFORE, SPREAD, CONTINUOUS, 0).build()
+        .equalWithTolerance(expected.build(), TOL_SMALL_YF));
   }
 
   @Test
@@ -257,9 +268,17 @@ public void test_zeroRatePointSensitivityWithSpread_periodic_beforeValDate() {
     int periodPerYear = 4;
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double df = CURVE.yValue(relativeYearFraction);
+    double discountFactorUp = df * Math.exp(-EPS * relativeYearFraction);
+    double discountFactorDw = df * Math.exp(EPS * relativeYearFraction);
+    double rateUp = (Math.pow(discountFactorUp, -1d / periodPerYear / relativeYearFraction) - 1d) * periodPerYear;
+    double rateDw = (Math.pow(discountFactorDw, -1d / periodPerYear / relativeYearFraction) - 1d) * periodPerYear;
+    double expectedValue = 0.5 / EPS * (
+        discountFactorFromPeriodicallyCompoundedRate(rateUp + SPREAD, periodPerYear, relativeYearFraction) -
+            discountFactorFromPeriodicallyCompoundedRate(rateDw + SPREAD, periodPerYear, relativeYearFraction));
     ZeroRateSensitivity computed = test.zeroRatePointSensitivityWithSpread(
         DATE_BEFORE, SPREAD, PERIODIC, periodPerYear);
-    assertThat(computed.getSensitivity()).isCloseTo(0d, offset(EPS));
+    assertThat(computed.getSensitivity()).isCloseTo(expectedValue, offset(EPS));
     assertThat(computed.getCurrency()).isEqualTo(GBP);
     assertThat(computed.getCurveCurrency()).isEqualTo(GBP);
     assertThat(computed.getYearFraction()).isEqualTo(relativeYearFraction);
@@ -290,14 +309,16 @@ public void test_zeroRatePointSensitivityWithSpread_sensitivityCurrency_periodic
   public void test_zeroRatePointSensitivityWithSpread_smallYearFraction() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, 0d, 0d);
-    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, SPREAD, CONTINUOUS, 0)).isEqualTo(expected);
+    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, SPREAD, CONTINUOUS, 0).build()
+        .equalWithTolerance(expected.build(), TOL_SMALL_YF));
   }
 
   @Test
   public void test_zeroRatePointSensitivityWithSpread_sensitivityCurrency_smallYearFraction() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity expected = ZeroRateSensitivity.of(GBP, 0d, USD, 0d);
-    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, USD, SPREAD, PERIODIC, 2)).isEqualTo(expected);
+    assertThat(test.zeroRatePointSensitivityWithSpread(DATE_VAL, USD, SPREAD, PERIODIC, 2).build()
+        .equalWithTolerance(expected.build(), TOL_SMALL_YF));
   }
 
   //-------------------------------------------------------------------------
@@ -319,16 +340,28 @@ public void test_currencyParameterSensitivity() {
   public void test_currencyParameterSensitivity_beforeValDate() {
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity sens = test.zeroRatePointSensitivity(DATE_BEFORE);
-    assertThat(test.parameterSensitivity(sens)).isEqualTo(CurrencyParameterSensitivities.empty());
+
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_BEFORE);
+    double discountFactor = CURVE.yValue(relativeYearFraction);
+    CurrencyParameterSensitivities expected = CurrencyParameterSensitivities.of(
+        CURVE.yValueParameterSensitivity(relativeYearFraction)
+            .multipliedBy(-1d / discountFactor / relativeYearFraction)
+            .multipliedBy(sens.getCurrency(), sens.getSensitivity()));
+    assertThat(test.parameterSensitivity(sens)).isEqualTo(expected);
   }
 
   //-------------------------------------------------------------------------
   @Test
   public void test_currencyParameterSensitivity_val_date() {
-    // Discount factor at valuation date is always 0, no sensitivity.
     SimpleDiscountFactors test = SimpleDiscountFactors.of(GBP, DATE_VAL, CURVE);
     ZeroRateSensitivity sens = test.zeroRatePointSensitivity(DATE_VAL);
-    assertThat(test.parameterSensitivity(sens)).isEqualTo(CurrencyParameterSensitivities.empty());
+
+    double relativeYearFraction = ACT_365F.relativeYearFraction(DATE_VAL, DATE_VAL);
+    double discountFactor = CURVE.yValue(relativeYearFraction);
+    CurrencyParameterSensitivities expected = CurrencyParameterSensitivities.of(
+        CurrencyParameterSensitivity.of(NAME, GBP, DoubleArray.of(1d, 0d)));
+    CurrencyParameterSensitivities tested = test.parameterSensitivity(sens);
+    assertThat(test.parameterSensitivity(sens).equalWithTolerance(expected, TOL));
   }
 
   //-------------------------------------------------------------------------ueu(daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2}(sha(daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2node_idEC_kwDOAT6l0doAKGRhZjJjMGQ0ODhlZGEwZmRjODU2NGU2YTllYzBiZDY1YWY3MWRjZDIcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-29T17:31:57Zu	committer}(jUH  yukiiwashitajWH  %yukiiwashita@users.noreply.github.comjYH  2023-05-29T17:31:57Zumessage9Merge branch 'main' into topic/bond-conversion-derivativetree}(jMH  (6ba91856e62ed5c1f054f797d7672d0acf57f06durl`https://api.github.com/repos/OpenGamma/Strata/git/trees/6ba91856e62ed5c1f054f797d7672d0acf57f06dujeH  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujeH  ^https://api.github.com/repos/OpenGamma/Strata/commits/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2html_urlShttps://github.com/OpenGamma/Strata/commit/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/commentsjSH  }(loginyukiiwashitaidJ- jOH  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3jeH  )https://api.github.com/users/yukiiwashitajqH  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminuj[H  }(jvH  yukiiwashitajxH  J- jOH  MDQ6VXNlcjMwMDY2NTY=jzH  3https://avatars.githubusercontent.com/u/3006656?v=4j|H  h3jeH  )https://api.github.com/users/yukiiwashitajqH  https://github.com/yukiiwashitajH  3https://api.github.com/users/yukiiwashita/followersjH  @https://api.github.com/users/yukiiwashita/following{/other_user}jH  9https://api.github.com/users/yukiiwashita/gists{/gist_id}jH  @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}jH  7https://api.github.com/users/yukiiwashita/subscriptionsjH  .https://api.github.com/users/yukiiwashita/orgsjH  /https://api.github.com/users/yukiiwashita/reposjH  :https://api.github.com/users/yukiiwashita/events{/privacy}jH  9https://api.github.com/users/yukiiwashita/received_eventsjH  UserjH  uparents](}(jMH  (7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0jeH  ^https://api.github.com/repos/OpenGamma/Strata/commits/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0jqH  Shttps://github.com/OpenGamma/Strata/commit/7ef66938d5bbdcd450aaa8bea207b97fa75cd9b0u}(jMH  (d76f43c8898ae22b93623549d28010f2b237ff37jeH  ^https://api.github.com/repos/OpenGamma/Strata/commits/d76f43c8898ae22b93623549d28010f2b237ff37jqH  Shttps://github.com/OpenGamma/Strata/commit/d76f43c8898ae22b93623549d28010f2b237ff37uestats}(totalM|	additionsMn	deletionsKufiles](}(jMH  (38c1ce3bcae73b2762a55ddccf7d49a2f9e5b32efilenameexamples/pom.xmlstatusmodifiedjH  KjH  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2patchXK  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.24-SNAPSHOT</version>
+  <version>2.12.25-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>u}(jMH  (f7adc344ce0105a4e8599d22bc23226a62fed128jH  modules/basics/pom.xmljH  modifiedjH  KjH  KjH  KjH  lhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fbasics%2Fpom.xmljH  khttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fbasics%2Fpom.xmljH  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(jMH  (b54b0706950542675eb234c944c3a1d5cc8c44e9jH  modules/calc/pom.xmljH  modifiedjH  KjH  KjH  KjH  jhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fcalc%2Fpom.xmljH  ihttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fcalc%2Fpom.xmljH  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(jMH  (53ab896238c20bbe6b17c69e0df97260d3e82596jH  modules/collect/pom.xmljH  modifiedjH  KjH  KjH  KjH  mhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fcollect%2Fpom.xmljH  lhttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fcollect%2Fpom.xmljH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(jMH  (81588b437b40d1207bc1afa365dd8dc5d1799722jH  modules/data/pom.xmljH  modifiedjH  KjH  KjH  KjH  jhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fdata%2Fpom.xmljH  ihttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fdata%2Fpom.xmljH  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X   @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(jMH  (d18ebb5afb9bb28d3741ba14b81fef427679d20ajH  modules/loader/pom.xmljH  modifiedjH  KjH  KjH  KjH  lhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Floader%2Fpom.xmljH  khttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Floader%2Fpom.xmljH  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(jMH  (bcffa93dbba1575a0208db799ffe5a30639dfbb1jH  modules/market/pom.xmljH  modifiedjH  KjH  KjH  KjH  lhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmarket%2Fpom.xmljH  khttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmarket%2Fpom.xmljH  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(jMH  (7e293da8cec6513913eabfbde89c60def6f56cfejH  modules/math/pom.xmljH  modifiedjH  KjH  KjH  KjH  jhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmath%2Fpom.xmljH  ihttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmath%2Fpom.xmljH  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X"  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(jMH  (d88fb550b50233e1d9f8612b4ca6f4f4bce08a87jH  modules/measure/pom.xmljH  modifiedjH  KjH  KjH  KjH  mhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fpom.xmljH  lhttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fpom.xmljH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X#  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(jMH  (9e9efc8345e80b48f822f911c4183738ac218bedjH  lmodules/measure/src/main/java/com/opengamma/strata/measure/index/DefaultOvernightFutureOptionMarketData.javajH  addedjH  KjH  K jH  KjH  https://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketData.javajH  https://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketData.javajH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketData.java?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X  @@ -0,0 +1,171 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.ImmutableConstructor;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+
+/**
+ * The default market data for Overnight future options.
+ * <p>
+ * This uses a {@link OvernightFutureOptionMarketDataLookup} to provide a view on {@link MarketData}.
+ */
+@BeanDefinition(style = "light")
+final class DefaultOvernightFutureOptionMarketData implements OvernightFutureOptionMarketData, ImmutableBean, Serializable {
+
+  /**
+   * The lookup.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final OvernightFutureOptionMarketDataLookup lookup;
+  /**
+   * The market data.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final MarketData marketData;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an instance based on a lookup and market data.
+   * <p>
+   * The lookup knows how to obtain the volatilities from the market data.
+   * This might involve accessing a surface or a cube.
+   *
+   * @param lookup  the lookup
+   * @param marketData  the market data
+   * @return the rates market view
+   */
+  public static DefaultOvernightFutureOptionMarketData of(
+      OvernightFutureOptionMarketDataLookup lookup,
+      MarketData marketData) {
+
+    return new DefaultOvernightFutureOptionMarketData(lookup, marketData);
+  }
+
+  @ImmutableConstructor
+  private DefaultOvernightFutureOptionMarketData(
+      OvernightFutureOptionMarketDataLookup lookup,
+      MarketData marketData) {
+
+    this.lookup = ArgChecker.notNull(lookup, "lookup");
+    this.marketData = ArgChecker.notNull(marketData, "marketData");
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionMarketData withMarketData(MarketData marketData) {
+    return DefaultOvernightFutureOptionMarketData.of(lookup, marketData);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionVolatilities volatilities(OvernightIndex index) {
+    return lookup.volatilities(index, marketData);
+  }
+  
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketData}.
+   */
+  private static final TypedMetaBean<DefaultOvernightFutureOptionMarketData> META_BEAN =
+      LightMetaBean.of(
+          DefaultOvernightFutureOptionMarketData.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "lookup",
+              "marketData"},
+          new Object[0]);
+
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketData}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<DefaultOvernightFutureOptionMarketData> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public TypedMetaBean<DefaultOvernightFutureOptionMarketData> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the lookup.
+   * @return the value of the property, not null
+   */
+  @Override
+  public OvernightFutureOptionMarketDataLookup getLookup() {
+    return lookup;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the market data.
+   * @return the value of the property, not null
+   */
+  @Override
+  public MarketData getMarketData() {
+    return marketData;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      DefaultOvernightFutureOptionMarketData other = (DefaultOvernightFutureOptionMarketData) obj;
+      return JodaBeanUtils.equal(lookup, other.lookup) &&
+          JodaBeanUtils.equal(marketData, other.marketData);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = getClass().hashCode();
+    hash = hash * 31 + JodaBeanUtils.hashCode(lookup);
+    hash = hash * 31 + JodaBeanUtils.hashCode(marketData);
+    return hash;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder buf = new StringBuilder(96);
+    buf.append("DefaultOvernightFutureOptionMarketData{");
+    buf.append("lookup").append('=').append(JodaBeanUtils.toString(lookup)).append(',').append(' ');
+    buf.append("marketData").append('=').append(JodaBeanUtils.toString(marketData));
+    buf.append('}');
+    return buf.toString();
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u}(jMH  (00647bc00f2fe6fc1ec806aab100ff494a7bdcf3jH  rmodules/measure/src/main/java/com/opengamma/strata/measure/index/DefaultOvernightFutureOptionMarketDataLookup.javajH  addedjH  KjH  K jH  KjH  https://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketDataLookup.javajH  https://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketDataLookup.javajH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionMarketDataLookup.java?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X  @@ -0,0 +1,203 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.index.Index;
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.calc.CalculationRules;
+import com.opengamma.strata.calc.runner.CalculationParameter;
+import com.opengamma.strata.calc.runner.FunctionRequirements;
+import com.opengamma.strata.collect.Messages;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.MarketDataId;
+import com.opengamma.strata.data.MarketDataNotFoundException;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilitiesId;
+
+/**
+ * The Overnight future option lookup, used to select volatilities for pricing.
+ * <p>
+ * This provides Overnight future option volatilities by index.
+ * <p>
+ * The lookup implements {@link CalculationParameter} and is used by passing it
+ * as an argument to {@link CalculationRules}. It provides the link between the
+ * data that the function needs and the data that is available in {@link ScenarioMarketData}.
+ */
+@BeanDefinition(style = "light")
+final class DefaultOvernightFutureOptionMarketDataLookup
+    implements OvernightFutureOptionMarketDataLookup, ImmutableBean, Serializable {
+
+  /**
+   * The volatility identifiers, keyed by index.
+   */
+  @PropertyDefinition(validate = "notNull")
+  private final ImmutableMap<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an instance based on a single mapping from index to volatility identifier.
+   * <p>
+   * The lookup provides volatilities for the specified index.
+   *
+   * @param index  the Overnight index
+   * @param volatilityId  the volatility identifier
+   * @return the Overnight future option lookup containing the specified mapping
+   */
+  public static DefaultOvernightFutureOptionMarketDataLookup of(OvernightIndex index, OvernightFutureOptionVolatilitiesId volatilityId) {
+    return new DefaultOvernightFutureOptionMarketDataLookup(ImmutableMap.of(index, volatilityId));
+  }
+
+  /**
+   * Obtains an instance based on a map of volatility identifiers.
+   * <p>
+   * The map is used to specify the appropriate volatilities to use for each index.
+   *
+   * @param volatilityIds  the volatility identifiers, keyed by index
+   * @return the Overnight future option lookup containing the specified volatilities
+   */
+  public static DefaultOvernightFutureOptionMarketDataLookup of(Map<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds) {
+    return new DefaultOvernightFutureOptionMarketDataLookup(volatilityIds);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public ImmutableSet<OvernightIndex> getVolatilityIndices() {
+    return volatilityIds.keySet();
+  }
+
+  @Override
+  public ImmutableSet<MarketDataId<?>> getVolatilityIds(OvernightIndex index) {
+    OvernightFutureOptionVolatilitiesId id = volatilityIds.get(index);
+    if (id == null) {
+      throw new IllegalArgumentException(msgIndexNotFound(index));
+    }
+    return ImmutableSet.of(id);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public FunctionRequirements requirements(Set<OvernightIndex> indices) {
+    Set<OvernightFutureOptionVolatilitiesId> volIds = new HashSet<>();
+    for (Index index : indices) {
+      if (!volatilityIds.keySet().contains(index)) {
+        throw new IllegalArgumentException(msgIndexNotFound(index));
+      }
+      volIds.add(volatilityIds.get(index));
+    }
+    return FunctionRequirements.builder().valueRequirements(volIds).build();
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionVolatilities volatilities(OvernightIndex index, MarketData marketData) {
+    OvernightFutureOptionVolatilitiesId volatilityId = volatilityIds.get(index);
+    if (volatilityId == null) {
+      throw new MarketDataNotFoundException(msgIndexNotFound(index));
+    }
+    return marketData.getValue(volatilityId);
+  }
+
+  //-------------------------------------------------------------------------
+  private String msgIndexNotFound(Index index) {
+    return Messages.format("OvernightFutureOption lookup has no volatilities defined for index '{}'", index);
+  }
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketDataLookup}.
+   */
+  private static final TypedMetaBean<DefaultOvernightFutureOptionMarketDataLookup> META_BEAN =
+      LightMetaBean.of(
+          DefaultOvernightFutureOptionMarketDataLookup.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "volatilityIds"},
+          ImmutableMap.of());
+
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionMarketDataLookup}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<DefaultOvernightFutureOptionMarketDataLookup> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  private DefaultOvernightFutureOptionMarketDataLookup(
+      Map<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds) {
+    JodaBeanUtils.notNull(volatilityIds, "volatilityIds");
+    this.volatilityIds = ImmutableMap.copyOf(volatilityIds);
+  }
+
+  @Override
+  public TypedMetaBean<DefaultOvernightFutureOptionMarketDataLookup> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the volatility identifiers, keyed by index.
+   * @return the value of the property, not null
+   */
+  public ImmutableMap<OvernightIndex, OvernightFutureOptionVolatilitiesId> getVolatilityIds() {
+    return volatilityIds;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      DefaultOvernightFutureOptionMarketDataLookup other = (DefaultOvernightFutureOptionMarketDataLookup) obj;
+      return JodaBeanUtils.equal(volatilityIds, other.volatilityIds);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = getClass().hashCode();
+    hash = hash * 31 + JodaBeanUtils.hashCode(volatilityIds);
+    return hash;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder buf = new StringBuilder(64);
+    buf.append("DefaultOvernightFutureOptionMarketDataLookup{");
+    buf.append("volatilityIds").append('=').append(JodaBeanUtils.toString(volatilityIds));
+    buf.append('}');
+    return buf.toString();
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u}(jMH  (776207083fad4891e3b16389687ee8c6a7daf13fjH  tmodules/measure/src/main/java/com/opengamma/strata/measure/index/DefaultOvernightFutureOptionScenarioMarketData.javajH  addedjH  KjH  K jH  KjH  https://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionScenarioMarketData.javajH  https://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionScenarioMarketData.javajH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FDefaultOvernightFutureOptionScenarioMarketData.java?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X  @@ -0,0 +1,175 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.ImmutableConstructor;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+
+/**
+ * The default market data for Overnight future options, used for calculation across multiple scenarios.
+ * <p>
+ * This uses a {@link OvernightFutureOptionMarketDataLookup} to provide a view on {@link ScenarioMarketData}.
+ */
+@BeanDefinition(style = "light")
+final class DefaultOvernightFutureOptionScenarioMarketData
+    implements OvernightFutureOptionScenarioMarketData, ImmutableBean, Serializable {
+
+  /**
+   * The lookup.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final OvernightFutureOptionMarketDataLookup lookup;
+  /**
+   * The market data.
+   */
+  @PropertyDefinition(validate = "notNull", overrideGet = true)
+  private final ScenarioMarketData marketData;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an instance based on a lookup and market data.
+   * <p>
+   * The lookup knows how to obtain the volatilities from the market data.
+   * This might involve accessing a surface or a cube.
+   *
+   * @param lookup  the lookup
+   * @param marketData  the market data
+   * @return the rates market view
+   */
+  public static DefaultOvernightFutureOptionScenarioMarketData of(
+      OvernightFutureOptionMarketDataLookup lookup,
+      ScenarioMarketData marketData) {
+
+    return new DefaultOvernightFutureOptionScenarioMarketData(lookup, marketData);
+  }
+
+  @ImmutableConstructor
+  private DefaultOvernightFutureOptionScenarioMarketData(
+      OvernightFutureOptionMarketDataLookup lookup,
+      ScenarioMarketData marketData) {
+
+    this.lookup = ArgChecker.notNull(lookup, "lookup");
+    this.marketData = ArgChecker.notNull(marketData, "marketData");
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public OvernightFutureOptionScenarioMarketData withMarketData(ScenarioMarketData marketData) {
+    return DefaultOvernightFutureOptionScenarioMarketData.of(lookup, marketData);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public int getScenarioCount() {
+    return marketData.getScenarioCount();
+  }
+
+  @Override
+  public OvernightFutureOptionMarketData scenario(int scenarioIndex) {
+    return lookup.marketDataView(marketData.scenario(scenarioIndex));
+  }
+
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionScenarioMarketData}.
+   */
+  private static final TypedMetaBean<DefaultOvernightFutureOptionScenarioMarketData> META_BEAN =
+      LightMetaBean.of(
+          DefaultOvernightFutureOptionScenarioMarketData.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "lookup",
+              "marketData"},
+          new Object[0]);
+
+  /**
+   * The meta-bean for {@code DefaultOvernightFutureOptionScenarioMarketData}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<DefaultOvernightFutureOptionScenarioMarketData> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  @Override
+  public TypedMetaBean<DefaultOvernightFutureOptionScenarioMarketData> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the lookup.
+   * @return the value of the property, not null
+   */
+  @Override
+  public OvernightFutureOptionMarketDataLookup getLookup() {
+    return lookup;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the market data.
+   * @return the value of the property, not null
+   */
+  @Override
+  public ScenarioMarketData getMarketData() {
+    return marketData;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      DefaultOvernightFutureOptionScenarioMarketData other = (DefaultOvernightFutureOptionScenarioMarketData) obj;
+      return JodaBeanUtils.equal(lookup, other.lookup) &&
+          JodaBeanUtils.equal(marketData, other.marketData);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = getClass().hashCode();
+    hash = hash * 31 + JodaBeanUtils.hashCode(lookup);
+    hash = hash * 31 + JodaBeanUtils.hashCode(marketData);
+    return hash;
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder buf = new StringBuilder(96);
+    buf.append("DefaultOvernightFutureOptionScenarioMarketData{");
+    buf.append("lookup").append('=').append(JodaBeanUtils.toString(lookup)).append(',').append(' ');
+    buf.append("marketData").append('=').append(JodaBeanUtils.toString(marketData));
+    buf.append('}');
+    return buf.toString();
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u}(jMH  (c7e09a8d56cb80ee4db07a38692191da9746693bjH  emodules/measure/src/main/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketData.javajH  addedjH  KDjH  K jH  KDjH  https://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketData.javajH  https://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketData.javajH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketData.java?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X[  @@ -0,0 +1,68 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.time.LocalDate;
+
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.MarketDataNotFoundException;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+
+/**
+ * Market data for Overnight future options.
+ * <p>
+ * This interface exposes the market data necessary for pricing an Overnight future option.
+ * <p>
+ * Implementations of this interface must be immutable.
+ */
+public interface OvernightFutureOptionMarketData {
+
+  /**
+   * Gets the valuation date.
+   *
+   * @return the valuation date
+   */
+  public default LocalDate getValuationDate() {
+    return getMarketData().getValuationDate();
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the lookup that provides access to Overnight future option volatilities.
+   *
+   * @return the Overnight future option lookup
+   */
+  public abstract OvernightFutureOptionMarketDataLookup getLookup();
+
+  /**
+   * Gets the market data.
+   *
+   * @return the market data
+   */
+  public abstract MarketData getMarketData();
+
+  /**
+   * Returns a copy of this instance with the specified market data.
+   *
+   * @param marketData  the market data to use
+   * @return a market view based on the specified data
+   */
+  public abstract OvernightFutureOptionMarketData withMarketData(MarketData marketData);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the volatilities for the specified Overnight index.
+   * <p>
+   * If the index is not found, an exception is thrown.
+   *
+   * @param index  the Overnight index
+   * @return the volatilities for the index
+   * @throws MarketDataNotFoundException if the index is not found
+   */
+  public abstract OvernightFutureOptionVolatilities volatilities(OvernightIndex index);
+
+}u}(jMH  (c8c4a8690ebb63bef3944340854d9550539a1319jH  kmodules/measure/src/main/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketDataLookup.javajH  addedjH  KjH  K jH  KjH  https://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookup.javajH  https://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookup.javajH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookup.java?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X   @@ -0,0 +1,166 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import java.util.Map;
+import java.util.Set;
+
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.calc.CalculationRules;
+import com.opengamma.strata.calc.runner.CalculationParameter;
+import com.opengamma.strata.calc.runner.CalculationParameters;
+import com.opengamma.strata.calc.runner.FunctionRequirements;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.MarketDataId;
+import com.opengamma.strata.data.MarketDataNotFoundException;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilitiesId;
+
+/**
+ * The lookup that provides access to Overnight future option volatilities in market data.
+ * <p>
+ * The Overnight future option market lookup provides access to the volatilities used to price Overnight future options.
+ * <p>
+ * The lookup implements {@link CalculationParameter} and is used by passing it
+ * as an argument to {@link CalculationRules}. It provides the link between the
+ * data that the function needs and the data that is available in {@link ScenarioMarketData}.
+ * <p>
+ * Implementations of this interface must be immutable.
+ */
+public interface OvernightFutureOptionMarketDataLookup extends CalculationParameter {
+
+  /**
+   * Obtains an instance based on a single mapping from index to volatility identifier.
+   * <p>
+   * The lookup provides volatilities for the specified index.
+   *
+   * @param index  the Overnight index
+   * @param volatilityId  the volatility identifier
+   * @return the Overnight future option lookup containing the specified mapping
+   */
+  public static OvernightFutureOptionMarketDataLookup of(OvernightIndex index, OvernightFutureOptionVolatilitiesId volatilityId) {
+    return DefaultOvernightFutureOptionMarketDataLookup.of(ImmutableMap.of(index, volatilityId));
+  }
+
+  /**
+   * Obtains an instance based on a map of volatility identifiers.
+   * <p>
+   * The map is used to specify the appropriate volatilities to use for each index.
+   *
+   * @param volatilityIds  the volatility identifiers, keyed by index
+   * @return the Overnight future option lookup containing the specified volatilities
+   */
+  public static OvernightFutureOptionMarketDataLookup of(Map<OvernightIndex, OvernightFutureOptionVolatilitiesId> volatilityIds) {
+    return DefaultOvernightFutureOptionMarketDataLookup.of(volatilityIds);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the type that the lookup will be queried by.
+   * <p>
+   * This returns {@code OvernightFutureOptionMarketLookup.class}.
+   * When querying parameters using {@link CalculationParameters#findParameter(Class)},
+   * {@code OvernightFutureOptionMarketLookup.class} must be passed in to find the instance.
+   *
+   * @return the type of the parameter implementation
+   */
+  @Override
+  public default Class<? extends CalculationParameter> queryType() {
+    return OvernightFutureOptionMarketDataLookup.class;
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the set of indices that volatilities are provided for.
+   *
+   * @return the set of indices
+   */
+  public abstract ImmutableSet<OvernightIndex> getVolatilityIndices();
+
+  /**
+   * Gets the identifiers used to obtain the volatilities for the specified currency.
+   * <p>
+   * The result will typically refer to a surface or cube.
+   * If the index is not found, an exception is thrown.
+   *
+   * @param index  the index for which identifiers are required
+   * @return the set of market data identifiers 
+   * @throws IllegalArgumentException if the index is not found
+   */
+  public abstract ImmutableSet<MarketDataId<?>> getVolatilityIds(OvernightIndex index);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Creates market data requirements for the specified indices.
+   *
+   * @param indices  the indices, for which volatilities are required
+   * @return the requirements
+   */
+  public default FunctionRequirements requirements(OvernightIndex... indices) {
+    return requirements(ImmutableSet.copyOf(indices));
+  }
+
+  /**
+   * Creates market data requirements for the specified indices.
+   *
+   * @param indices  the indices, for which volatilities are required
+   * @return the requirements
+   */
+  public abstract FunctionRequirements requirements(Set<OvernightIndex> indices);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains a filtered view of the complete set of market data.
+   * <p>
+   * This method returns an instance that binds the lookup to the market data.
+   * The input is {@link ScenarioMarketData}, which contains market data for all scenarios.
+   *
+   * @param marketData  the complete set of market data for all scenarios
+   * @return the filtered market data
+   */
+  public default OvernightFutureOptionScenarioMarketData marketDataView(ScenarioMarketData marketData) {
+    return DefaultOvernightFutureOptionScenarioMarketData.of(this, marketData);
+  }
+
+  /**
+   * Obtains a filtered view of the complete set of market data.
+   * <p>
+   * This method returns an instance that binds the lookup to the market data.
+   * The input is {@link MarketData}, which contains market data for one scenario.
+   *
+   * @param marketData  the complete set of market data for one scenario
+   * @return the filtered market data
+   */
+  public default OvernightFutureOptionMarketData marketDataView(MarketData marketData) {
+    return DefaultOvernightFutureOptionMarketData.of(this, marketData);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains Overnight future option volatilities based on the specified market data.
+   * <p>
+   * This provides {@link OvernightFutureOptionVolatilities} suitable for pricing an Overnight future option.
+   * Although this method can be used directly, it is typically invoked indirectly
+   * via {@link OvernightFutureOptionMarketData}:
+   * <pre>
+   *  // bind the baseData to this lookup
+   *  OvernightFutureOptionMarketData view = lookup.marketDataView(baseData);
+   *
+   *  // pass around OvernightFutureOptionMarketData within the function to use in pricing
+   *  OvernightFutureOptionVolatilities vols = view.volatilities(index);
+   * </pre>
+   *
+   * @param index  the Overnight index
+   * @param marketData  the complete set of market data for one scenario
+   * @return the volatilities
+   * @throws MarketDataNotFoundException if the index is not found
+   */
+  public abstract OvernightFutureOptionVolatilities volatilities(OvernightIndex index, MarketData marketData);
+
+}u}(jMH  (f0ac64ac046bd56a40972c3c9eaae3c705c696aajH  mmodules/measure/src/main/java/com/opengamma/strata/measure/index/OvernightFutureOptionScenarioMarketData.javajH  addedjH  K<jH  K jH  K<jH  https://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionScenarioMarketData.javajH  https://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionScenarioMarketData.javajH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionScenarioMarketData.java?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  Xj  @@ -0,0 +1,60 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+
+/**
+ * Market data for Overnight future options, used for calculation across multiple scenarios.
+ * <p>
+ * This interface exposes the market data necessary for pricing an Overnight future option.
+ * <p>
+ * Implementations of this interface must be immutable.
+ */
+public interface OvernightFutureOptionScenarioMarketData {
+
+  /**
+   * Gets the lookup that provides access to Overnight future option volatilities.
+   *
+   * @return the Overnight future option lookup
+   */
+  public abstract OvernightFutureOptionMarketDataLookup getLookup();
+
+  /**
+   * Gets the market data.
+   *
+   * @return the market data
+   */
+  public abstract ScenarioMarketData getMarketData();
+
+  /**
+   * Returns a copy of this instance with the specified market data.
+   *
+   * @param marketData  the market data to use
+   * @return a market view based on the specified data
+   */
+  public abstract OvernightFutureOptionScenarioMarketData withMarketData(ScenarioMarketData marketData);
+
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the number of scenarios.
+   *
+   * @return the number of scenarios
+   */
+  public abstract int getScenarioCount();
+
+  /**
+   * Returns market data for a single scenario.
+   * <p>
+   * This returns a view of the market data for the specified scenario.
+   *
+   * @param scenarioIndex  the scenario index
+   * @return the market data for the specified scenario
+   * @throws IndexOutOfBoundsException if the scenario index is invalid
+   */
+  public abstract OvernightFutureOptionMarketData scenario(int scenarioIndex);
+  
+}u}(jMH  (a05ea888488d48fc6a8b4268c865458c5dfe80b1jH  omodules/measure/src/test/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketDataLookupTest.java     jH  addedjH  K|jH  K jH  K|jH  https://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.javajH  https://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.javajH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.java?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X  @@ -0,0 +1,124 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.measure.index;
+
+import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
+import static com.opengamma.strata.basics.index.OvernightIndices.USD_FED_FUND;
+import static com.opengamma.strata.basics.index.OvernightIndices.USD_SOFR;
+import static com.opengamma.strata.collect.TestHelper.assertSerialization;
+import static com.opengamma.strata.collect.TestHelper.coverBeanEquals;
+import static com.opengamma.strata.collect.TestHelper.coverImmutableBean;
+import static com.opengamma.strata.collect.TestHelper.date;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+import java.time.LocalDate;
+
+import org.joda.beans.ImmutableBean;
+import org.junit.jupiter.api.Test;
+
+import com.google.common.collect.ImmutableMap;
+import com.google.common.collect.ImmutableSet;
+import com.opengamma.strata.basics.index.OvernightIndex;
+import com.opengamma.strata.calc.runner.FunctionRequirements;
+import com.opengamma.strata.data.MarketData;
+import com.opengamma.strata.data.scenario.ScenarioMarketData;
+import com.opengamma.strata.measure.curve.TestMarketDataMap;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilities;
+import com.opengamma.strata.pricer.index.OvernightFutureOptionVolatilitiesId;
+
+/**
+ * Test {@link OvernightFutureOptionMarketDataLookup}.
+ */
+public class OvernightFutureOptionMarketDataLookupTest {
+
+  private static final OvernightFutureOptionVolatilitiesId VOL_ID1 = OvernightFutureOptionVolatilitiesId.of("USD1");
+  private static final OvernightFutureOptionVolatilities MOCK_VOLS = mock(OvernightFutureOptionVolatilities.class);
+  private static final MarketData MOCK_MARKET_DATA = mock(MarketData.class);
+  private static final ScenarioMarketData MOCK_CALC_MARKET_DATA = mock(ScenarioMarketData.class);
+
+  static {
+    when(MOCK_MARKET_DATA.getValue(VOL_ID1)).thenReturn(MOCK_VOLS);
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_of_single() {
+    OvernightFutureOptionMarketDataLookup test = OvernightFutureOptionMarketDataLookup.of(USD_SOFR, VOL_ID1);
+    assertThat(test.queryType()).isEqualTo(OvernightFutureOptionMarketDataLookup.class);
+    assertThat(test.getVolatilityIndices()).containsOnly(USD_SOFR);
+    assertThat(test.getVolatilityIds(USD_SOFR)).containsOnly(VOL_ID1);
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.getVolatilityIds(GBP_SONIA));
+
+    assertThat(test.requirements(USD_SOFR)).isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThat(test.requirements(ImmutableSet.of(USD_SOFR)))
+        .isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.requirements(ImmutableSet.of(GBP_SONIA)));
+  }
+
+  @Test
+  public void test_of_map() {
+    ImmutableMap<OvernightIndex, OvernightFutureOptionVolatilitiesId> ids =
+        ImmutableMap.of(USD_SOFR, VOL_ID1, USD_FED_FUND, VOL_ID1);
+    OvernightFutureOptionMarketDataLookup test = OvernightFutureOptionMarketDataLookup.of(ids);
+    assertThat(test.queryType()).isEqualTo(OvernightFutureOptionMarketDataLookup.class);
+    assertThat(test.getVolatilityIndices()).containsOnly(USD_SOFR, USD_FED_FUND);
+    assertThat(test.getVolatilityIds(USD_SOFR)).containsOnly(VOL_ID1);
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.getVolatilityIds(GBP_SONIA));
+
+    assertThat(test.requirements(USD_SOFR)).isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThat(test.requirements(ImmutableSet.of(USD_SOFR)))
+        .isEqualTo(FunctionRequirements.builder().valueRequirements(VOL_ID1).build());
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.requirements(ImmutableSet.of(GBP_SONIA)));
+
+    assertThat(test.volatilities(USD_SOFR, MOCK_MARKET_DATA)).isEqualTo(MOCK_VOLS);
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> test.volatilities(GBP_SONIA, MOCK_MARKET_DATA));
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_marketDataView() {
+    OvernightFutureOptionMarketDataLookup test = OvernightFutureOptionMarketDataLookup.of(USD_SOFR, VOL_ID1);
+    LocalDate valDate = date(2015, 6, 30);
+    ScenarioMarketData md = new TestMarketDataMap(valDate, ImmutableMap.of(), ImmutableMap.of());
+    OvernightFutureOptionScenarioMarketData multiScenario = test.marketDataView(md);
+    assertThat(multiScenario.getLookup()).isEqualTo(test);
+    assertThat(multiScenario.getMarketData()).isEqualTo(md);
+    assertThat(multiScenario.getScenarioCount()).isEqualTo(1);
+    OvernightFutureOptionMarketData scenario = multiScenario.scenario(0);
+    assertThat(scenario.getLookup()).isEqualTo(test);
+    assertThat(scenario.getMarketData()).isEqualTo(md.scenario(0));
+    assertThat(scenario.getValuationDate()).isEqualTo(valDate);
+  }
+
+  //-------------------------------------------------------------------------
+  @Test
+  public void coverage() {
+    DefaultOvernightFutureOptionMarketDataLookup test =
+        DefaultOvernightFutureOptionMarketDataLookup.of(ImmutableMap.of(USD_SOFR, VOL_ID1, USD_FED_FUND, VOL_ID1));
+    coverImmutableBean(test);
+    DefaultOvernightFutureOptionMarketDataLookup test2 = DefaultOvernightFutureOptionMarketDataLookup.of(USD_SOFR, VOL_ID1);
+    coverBeanEquals(test, test2);
+
+    coverImmutableBean((ImmutableBean) test.marketDataView(MOCK_CALC_MARKET_DATA));
+    coverImmutableBean((ImmutableBean) test.marketDataView(MOCK_MARKET_DATA));
+  }
+
+  @Test
+  public void test_serialization() {
+    DefaultOvernightFutureOptionMarketDataLookup test =
+        DefaultOvernightFutureOptionMarketDataLookup.of(ImmutableMap.of(USD_SOFR, VOL_ID1, USD_FED_FUND, VOL_ID1));
+    assertSerialization(test);
+  }
+
+}u}(jMH  (f6b29ff67fec27b391d04e5dab794443e6c010a1jH  modules/pom.xmljH  modifiedjH  KjH  KjH  KjH  chttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fpom.xmljH  bhttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fpom.xmljH  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X3  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.24-SNAPSHOT</version>
+  <version>2.12.25-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>u}(jMH  (589d72f3a203a02dba735cf56b0315cbe9276d1ajH  modules/pricer/pom.xmljH  modifiedjH  KjH  KjH  KjH  lhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fpricer%2Fpom.xmljH  khttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fpricer%2Fpom.xmljH  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(jMH  (10067ccaae89bfbb7b2a83597b08517b2a8a357djH  gmodules/pricer/src/main/java/com/opengamma/strata/pricer/index/OvernightFutureOptionVolatilitiesId.javajH  addedjH  KjH  K jH  KjH  https://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FOvernightFutureOptionVolatilitiesId.javajH  https://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FOvernightFutureOptionVolatilitiesId.javajH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FOvernightFutureOptionVolatilitiesId.java?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  Xw  @@ -0,0 +1,153 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.pricer.index;
+
+import java.io.Serializable;
+import java.lang.invoke.MethodHandles;
+
+import org.joda.beans.ImmutableBean;
+import org.joda.beans.JodaBeanUtils;
+import org.joda.beans.MetaBean;
+import org.joda.beans.TypedMetaBean;
+import org.joda.beans.gen.BeanDefinition;
+import org.joda.beans.gen.PropertyDefinition;
+import org.joda.beans.impl.light.LightMetaBean;
+
+import com.opengamma.strata.data.MarketDataName;
+import com.opengamma.strata.data.NamedMarketDataId;
+
+/**
+ * An identifier used to access Overnight future option volatilities by name.
+ * <p>
+ * This is used when there is a need to obtain an instance of {@link OvernightFutureOptionVolatilities}.
+ */
+@BeanDefinition(style = "light", cacheHashCode = true)
+public final class OvernightFutureOptionVolatilitiesId
+    implements NamedMarketDataId<OvernightFutureOptionVolatilities>, ImmutableBean, Serializable {
+
+  /**
+   * The name of the volatilities.
+   */
+  @PropertyDefinition(validate = "notNull")
+  private final OvernightFutureOptionVolatilitiesName name;
+
+  //-------------------------------------------------------------------------
+  /**
+   * Obtains an identifier used to find Overnight future option volatilities.
+   *
+   * @param name  the name
+   * @return an identifier for the volatilities
+   */
+  public static OvernightFutureOptionVolatilitiesId of(String name) {
+    return new OvernightFutureOptionVolatilitiesId(OvernightFutureOptionVolatilitiesName.of(name));
+  }
+
+  /**
+   * Obtains an identifier used to find Overnight future option volatilities.
+   *
+   * @param name  the name
+   * @return an identifier for the volatilities
+   */
+  public static OvernightFutureOptionVolatilitiesId of(OvernightFutureOptionVolatilitiesName name) {
+    return new OvernightFutureOptionVolatilitiesId(name);
+  }
+
+  //-------------------------------------------------------------------------
+  @Override
+  public Class<OvernightFutureOptionVolatilities> getMarketDataType() {
+    return OvernightFutureOptionVolatilities.class;
+  }
+
+  @Override
+  public MarketDataName<OvernightFutureOptionVolatilities> getMarketDataName() {
+    return name;
+  }
+
+  @Override
+  public String toString() {
+    return "OvernightFutureOptionVolatilitiesId:" + name;
+  }
+
+  //------------------------- AUTOGENERATED START -------------------------
+  /**
+   * The meta-bean for {@code OvernightFutureOptionVolatilitiesId}.
+   */
+  private static final TypedMetaBean<OvernightFutureOptionVolatilitiesId> META_BEAN =
+      LightMetaBean.of(
+          OvernightFutureOptionVolatilitiesId.class,
+          MethodHandles.lookup(),
+          new String[] {
+              "name"},
+          new Object[0]);
+
+  /**
+   * The meta-bean for {@code OvernightFutureOptionVolatilitiesId}.
+   * @return the meta-bean, not null
+   */
+  public static TypedMetaBean<OvernightFutureOptionVolatilitiesId> meta() {
+    return META_BEAN;
+  }
+
+  static {
+    MetaBean.register(META_BEAN);
+  }
+
+  /**
+   * The serialization version id.
+   */
+  private static final long serialVersionUID = 1L;
+
+  /**
+   * The cached hash code, using the racy single-check idiom.
+   */
+  private transient int cacheHashCode;
+
+  private OvernightFutureOptionVolatilitiesId(
+      OvernightFutureOptionVolatilitiesName name) {
+    JodaBeanUtils.notNull(name, "name");
+    this.name = name;
+  }
+
+  @Override
+  public TypedMetaBean<OvernightFutureOptionVolatilitiesId> metaBean() {
+    return META_BEAN;
+  }
+
+  //-----------------------------------------------------------------------
+  /**
+   * Gets the name of the volatilities.
+   * @return the value of the property, not null
+   */
+  public OvernightFutureOptionVolatilitiesName getName() {
+    return name;
+  }
+
+  //-----------------------------------------------------------------------
+  @Override
+  public boolean equals(Object obj) {
+    if (obj == this) {
+      return true;
+    }
+    if (obj != null && obj.getClass() == this.getClass()) {
+      OvernightFutureOptionVolatilitiesId other = (OvernightFutureOptionVolatilitiesId) obj;
+      return JodaBeanUtils.equal(name, other.name);
+    }
+    return false;
+  }
+
+  @Override
+  public int hashCode() {
+    int hash = cacheHashCode;
+    if (hash == 0) {
+      hash = getClass().hashCode();
+      hash = hash * 31 + JodaBeanUtils.hashCode(name);
+      cacheHashCode = hash;
+    }
+    return hash;
+  }
+
+  //-------------------------- AUTOGENERATED END --------------------------
+}u}(jMH  (3c749c8044c96e054059a7b36f5da04715e14ecfjH  modules/product/pom.xmljH  modifiedjH  KjH  KjH  KjH  mhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fproduct%2Fpom.xmljH  lhttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Fproduct%2Fpom.xmljH  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X%  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(jMH  (9c8db0792466a2d68f8063c2f19ad17e7243f3afjH  modules/report/pom.xmljH  modifiedjH  KjH  KjH  KjH  lhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Freport%2Fpom.xmljH  khttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/modules%2Freport%2Fpom.xmljH  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X$  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24-SNAPSHOT</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(jMH  (08905acb39955f4201aac176cbd3288045e2f274jH  pom.xmljH  modifiedjH  KjH  KjH  KjH  Yhttps://github.com/OpenGamma/Strata/blob/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/pom.xmljH  Xhttps://github.com/OpenGamma/Strata/raw/daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2/pom.xmljH  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=daf2c0d488eda0fdc8564e6a9ec0bd65af71dcd2jH  X/  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.24-SNAPSHOT</version>
+  <version>2.12.25-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>ueu(2c87361d7a97dc2448ef38b1be0174c3dac332c8}(sha(2c87361d7a97dc2448ef38b1be0174c3dac332c8node_idEC_kwDOAT6l0doAKDJjODczNjFkN2E5N2RjMjQ0OGVmMzhiMWJlMDE3NGMzZGFjMzMyYzgcommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-06-01T15:19:33Zu	committer}(jvI  AaronjxI  +110403946+aaron-og@users.noreply.github.comjzI  2023-06-01T15:19:33Zumessagecreated wrapper pricer class for overnight future options. This wraps the equivalent product pricer and is based of the existing ibor equivalenttree}(jnI  (4e62d1a1a65f1d9566b0906ebac535a485170eeburl`https://api.github.com/repos/OpenGamma/Strata/git/trees/4e62d1a1a65f1d9566b0906ebac535a485170eebujI  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/2c87361d7a97dc2448ef38b1be0174c3dac332c8
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujI  ^https://api.github.com/repos/OpenGamma/Strata/commits/2c87361d7a97dc2448ef38b1be0174c3dac332c8html_urlShttps://github.com/OpenGamma/Strata/commit/2c87361d7a97dc2448ef38b1be0174c3dac332c8comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/2c87361d7a97dc2448ef38b1be0174c3dac332c8/commentsjtI  }(loginaaron-ogidJjjpI  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3jI  %https://api.github.com/users/aaron-ogjI  https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminuj|I  }(jI  aaron-ogjI  JjjpI  U_kgDOBpShagjI  5https://avatars.githubusercontent.com/u/110403946?v=4jI  h3jI  %https://api.github.com/users/aaron-ogjI  https://github.com/aaron-ogjI  /https://api.github.com/users/aaron-og/followersjI  <https://api.github.com/users/aaron-og/following{/other_user}jI  5https://api.github.com/users/aaron-og/gists{/gist_id}jI  <https://api.github.com/users/aaron-og/starred{/owner}{/repo}jI  3https://api.github.com/users/aaron-og/subscriptionsjI  *https://api.github.com/users/aaron-og/orgsjI  +https://api.github.com/users/aaron-og/reposjI  6https://api.github.com/users/aaron-og/events{/privacy}jI  5https://api.github.com/users/aaron-og/received_eventsjI  UserjI  uparents]}(jnI  (d76f43c8898ae22b93623549d28010f2b237ff37jI  ^https://api.github.com/repos/OpenGamma/Strata/commits/d76f43c8898ae22b93623549d28010f2b237ff37jI  Shttps://github.com/OpenGamma/Strata/commit/d76f43c8898ae22b93623549d28010f2b237ff37uastats}(totalM	additionsM	deletionsK ufiles](}(jnI  (e4c3551c18d82d92bd64c751b56ac431309377b3filenamermodules/pricer/src/main/java/com/opengamma/strata/pricer/index/NormalOvernightFutureOptionMarginedTradePricer.javastatusaddedjI  MjI  K changesMblob_urlhttps://github.com/OpenGamma/Strata/blob/2c87361d7a97dc2448ef38b1be0174c3dac332c8/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricer.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/2c87361d7a97dc2448ef38b1be0174c3dac332c8/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricer.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricer.java?ref=2c87361d7a97dc2448ef38b1be0174c3dac332c8patchX.  @@ -0,0 +1,257 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.pricer.index;
+
+import java.time.LocalDate;
+
+import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.market.sensitivity.PointSensitivities;
+import com.opengamma.strata.pricer.rate.RatesProvider;
+import com.opengamma.strata.product.TradedPrice;
+import com.opengamma.strata.product.index.OvernightFutureOption;
+import com.opengamma.strata.product.index.ResolvedOvernightFuture;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOption;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOptionTrade;
+import com.opengamma.strata.product.option.FutureOptionPremiumStyle;
+
+/**
+ * Pricer implementation for Overnight future option.
+ * <p>
+ * This provides the ability to price an Overnight future option.
+ * The option must be based on {@linkplain FutureOptionPremiumStyle#DAILY_MARGIN daily margin}.
+ *
+ * <h4>Price</h4>
+ * The price of an Overnight future option is based on the price of the underlying future, the volatility
+ * and the time to expiry. The price of the at-the-money option tends to zero as expiry approaches.
+ * <p>
+ * Strata uses <i>decimal prices</i> for Overnight future options in the trade model, pricers and market data.
+ * The decimal price is based on the decimal rate equivalent to the percentage.
+ * For example, an option price of 0.2 is related to a futures price of 99.32 that implies an
+ * interest rate of 0.68%. Strata represents the price of the future as 0.9932 and thus
+ * represents the price of the option as 0.002.
+ */
+public class NormalOvernightFutureOptionMarginedTradePricer {
+
+  /**
+   * Default implementation.
+   */
+  public static final NormalOvernightFutureOptionMarginedTradePricer DEFAULT =
+      new NormalOvernightFutureOptionMarginedTradePricer(NormalOvernightFutureOptionMarginedProductPricer.DEFAULT);
+
+  /**
+   * Underlying option pricer.
+   */
+  private final NormalOvernightFutureOptionMarginedProductPricer futureOptionPricer;
+
+  /**
+   * Creates an instance.
+   *
+   * @param futureOptionPricer  the pricer for {@link OvernightFutureOption}
+   */
+  public NormalOvernightFutureOptionMarginedTradePricer(
+      NormalOvernightFutureOptionMarginedProductPricer futureOptionPricer) {
+    this.futureOptionPricer = ArgChecker.notNull(futureOptionPricer, "futureOptionPricer");
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the price of the Overnight future option trade.
+   * <p>
+   * The price of the trade is the price on the valuation date.
+   * The price is calculated using the volatility model.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @return the price of the product, in decimal form
+   */
+  public double price(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities) {
+
+    return futureOptionPricer.price(trade.getProduct(), ratesProvider, volatilities);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value of the Overnight future option trade from the current option price.
+   * <p>
+   * The present value of the product is the value on the valuation date.
+   * The current price is specified, not calculated.
+   * <p>
+   * This method calculates based on the difference between the specified current price and the
+   * last settlement price, or the trade price if traded on the valuation date.
+   *
+   * @param trade  the trade
+   * @param valuationDate  the valuation date; required to asses if the trade or last closing price should be used
+   * @param currentOptionPrice  the current price for the option, in decimal form
+   * @param lastOptionSettlementPrice  the last settlement price used for margining for the option, in decimal form
+   * @return the present value
+   */
+  public CurrencyAmount presentValue(
+      ResolvedOvernightFutureOptionTrade trade,
+      LocalDate valuationDate,
+      double currentOptionPrice,
+      double lastOptionSettlementPrice) {
+
+    ResolvedOvernightFutureOption option = trade.getProduct();
+    double referencePrice = referencePrice(trade, valuationDate, lastOptionSettlementPrice);
+    double priceIndex = futureOptionPricer.marginIndex(option, currentOptionPrice);
+    double referenceIndex = futureOptionPricer.marginIndex(option, referencePrice);
+    double pv = (priceIndex - referenceIndex) * trade.getQuantity();
+    return CurrencyAmount.of(option.getUnderlyingFuture().getCurrency(), pv);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value of the Overnight future option trade.
+   * <p>
+   * The present value of the product is the value on the valuation date.
+   * The current price is calculated using the volatility model.
+   * <p>
+   * This method calculates based on the difference between the model price and the
+   * last settlement price, or the trade price if traded on the valuation date.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @param lastOptionSettlementPrice  the last settlement price used for margining for the option, in decimal form
+   * @return the present value
+   */
+  public CurrencyAmount presentValue(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities,
+      double lastOptionSettlementPrice) {
+
+    double price = price(trade, ratesProvider, volatilities);
+    return presentValue(trade, ratesProvider.getValuationDate(), price, lastOptionSettlementPrice);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value of the Overnight future option trade from the underlying future price.
+   * <p>
+   * The present value of the product is the value on the valuation date.
+   * The current price is calculated using the volatility model with a known future price.
+   * <p>
+   * This method calculates based on the difference between the model price and the
+   * last settlement price, or the trade price if traded on the valuation date.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @param futurePrice  the price of the underlying future, in decimal form
+   * @param lastOptionSettlementPrice  the last settlement price used for margining for the option, in decimal form
+   * @return the present value
+   */
+  public CurrencyAmount presentValue(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities,
+      double futurePrice,
+      double lastOptionSettlementPrice) {
+
+    double optionPrice = futureOptionPricer.price(trade.getProduct(), volatilities, futurePrice);
+    return presentValue(trade, ratesProvider.getValuationDate(), optionPrice, lastOptionSettlementPrice);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the present value sensitivity of the Overnight future option trade.
+   * <p>
+   * The present value sensitivity of the trade is the sensitivity of the present value to
+   * the underlying curves.
+   *
+   * @param trade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @return the present value curve sensitivity of the trade
+   */
+  public PointSensitivities presentValueSensitivityRates(
+      ResolvedOvernightFutureOptionTrade trade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities) {
+
+    ResolvedOvernightFutureOption product = trade.getProduct();
+    PointSensitivities priceSensi =
+        futureOptionPricer.priceSensitivityRatesStickyStrike(product, ratesProvider, volatilities);
+    PointSensitivities marginIndexSensi = futureOptionPricer.marginIndexSensitivity(product, priceSensi);
+    return marginIndexSensi.multipliedBy(trade.getQuantity());
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Computes the present value sensitivity to the normal volatility used in the pricing.
+   * <p>
+   * The result is a single sensitivity to the volatility used.
+   * The volatility is associated with the expiry/delay/strike/future price key combination.
+   * <p>
+   * This calculates the underlying future price using the future pricer.
+   *
+   * @param futureOptionTrade  the trade
+   * @param ratesProvider  the rates provider
+   * @param volatilities  the volatilities
+   * @return the price sensitivity
+   */
+  public OvernightFutureOptionSensitivity presentValueSensitivityModelParamsVolatility(
+      ResolvedOvernightFutureOptionTrade futureOptionTrade,
+      RatesProvider ratesProvider,
+      NormalOvernightFutureOptionVolatilities volatilities) {
+
+    ResolvedOvernightFuture future = futureOptionTrade.getProduct().getUnderlyingFuture();
+    double futurePrice = futureOptionPricer.getFuturePricer().price(future, ratesProvider);
+    return presentValueSensitivityModelParamsVolatility(futureOptionTrade, volatilities, futurePrice);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Computes the present value sensitivity to the normal volatility used in the pricing
+   * based on the price of the underlying future.
+   * <p>
+   * The result is a single sensitivity to the volatility used.
+   * The volatility is associated with the expiry/delay/strike/future price key combination.
+   *
+   * @param futureOptionTrade  the trade
+   * @param volatilities  the volatilities
+   * @param futurePrice  the price of the underlying future, in decimal form
+   * @return the price sensitivity
+   */
+  public OvernightFutureOptionSensitivity presentValueSensitivityModelParamsVolatility(
+      ResolvedOvernightFutureOptionTrade futureOptionTrade,
+      NormalOvernightFutureOptionVolatilities volatilities,
+      double futurePrice) {
+
+    ResolvedOvernightFutureOption product = futureOptionTrade.getProduct();
+    OvernightFutureOptionSensitivity priceSensitivity =
+        futureOptionPricer.priceSensitivityModelParamsVolatility(product, volatilities, futurePrice);
+    double factor = futureOptionPricer.marginIndex(product, 1) * futureOptionTrade.getQuantity();
+    return priceSensitivity.multipliedBy(factor);
+  }
+
+  //-------------------------------------------------------------------------
+  /**
+   * Calculates the reference price for the trade.
+   * <p>
+   * If the valuation date equals the trade date, then the reference price is the trade price.
+   * Otherwise, the reference price is the last settlement price used for margining.
+   *
+   * @param trade  the trade
+   * @param valuationDate  the date for which the reference price should be calculated
+   * @param lastSettlementPrice  the last settlement price used for margining, in decimal form
+   * @return the reference price, in decimal form
+   */
+  private double referencePrice(ResolvedOvernightFutureOptionTrade trade, LocalDate valuationDate, double lastSettlementPrice) {
+    ArgChecker.notNull(valuationDate, "valuationDate");
+    return trade.getTradedPrice()
+        .filter(tp -> tp.getTradeDate().equals(valuationDate))
+        .map(TradedPrice::getPrice)
+        .orElse(lastSettlementPrice);
+  }
+
+}u}(jnI  (cfc92f121e0efa5ead8eb1ba7052588395dddc70jI  vmodules/pricer/src/test/java/com/opengamma/strata/pricer/index/NormalOvernightFutureOptionMarginedTradePricerTest.javajI  addedjI  KjI  K jI  KjI  https://github.com/OpenGamma/Strata/blob/2c87361d7a97dc2448ef38b1be0174c3dac332c8/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.javajI  https://github.com/OpenGamma/Strata/raw/2c87361d7a97dc2448ef38b1be0174c3dac332c8/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.javajI  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Findex%2FNormalOvernightFutureOptionMarginedTradePricerTest.java?ref=2c87361d7a97dc2448ef38b1be0174c3dac332c8jI  XO&  @@ -0,0 +1,190 @@
+/*
+ * Copyright (C) 2023 - present by OpenGamma Inc. and the OpenGamma group of companies
+ *
+ * Please see distribution for license.
+ */
+package com.opengamma.strata.pricer.index;
+
+import static com.opengamma.strata.basics.date.DayCounts.ACT_365F;
+import static com.opengamma.strata.basics.index.OvernightIndices.GBP_SONIA;
+import static com.opengamma.strata.collect.TestHelper.date;
+import static com.opengamma.strata.market.curve.interpolator.CurveInterpolators.LINEAR;
+import static org.assertj.core.api.Assertions.assertThat;
+import static org.assertj.core.data.Offset.offset;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.when;
+
+import java.time.LocalDate;
+import java.time.LocalTime;
+import java.time.ZoneId;
+
+import org.junit.jupiter.api.Test;
+
+import com.opengamma.strata.basics.ReferenceData;
+import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.basics.index.OvernightIndexObservation;
+import com.opengamma.strata.collect.array.DoubleArray;
+import com.opengamma.strata.market.model.MoneynessType;
+import com.opengamma.strata.market.sensitivity.PointSensitivities;
+import com.opengamma.strata.market.surface.InterpolatedNodalSurface;
+import com.opengamma.strata.market.surface.Surfaces;
+import com.opengamma.strata.market.surface.interpolator.GridSurfaceInterpolator;
+import com.opengamma.strata.market.surface.interpolator.SurfaceInterpolator;
+import com.opengamma.strata.pricer.rate.OvernightIndexRates;
+import com.opengamma.strata.pricer.rate.OvernightRateSensitivity;
+import com.opengamma.strata.pricer.rate.SimpleRatesProvider;
+import com.opengamma.strata.product.TradedPrice;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOption;
+import com.opengamma.strata.product.index.ResolvedOvernightFutureOptionTrade;
+
+/**
+ * Tests {@link NormalOvernightFutureOptionMarginedTradePricer}
+ */
+class NormalOvernightFutureOptionMarginedTradePricerTest {
+
+  private static final ReferenceData REF_DATA = ReferenceData.standard();
+  private static final SurfaceInterpolator INTERPOLATOR_2D = GridSurfaceInterpolator.of(LINEAR, LINEAR);
+  private static final DoubleArray TIMES =
+      DoubleArray.of(0.25, 0.25, 0.25, 0.25, 0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 1.0, 1.0);
+  private static final DoubleArray MONEYNESS_PRICES =
+      DoubleArray.of(-0.02, -0.01, 0.0, 0.01, -0.02, -0.01, 0.0, 0.01, -0.02, -0.01, 0.0, 0.01);
+  private static final DoubleArray NORMAL_VOL =
+      DoubleArray.of(0.01, 0.011, 0.012, 0.010, 0.011, 0.012, 0.013, 0.012, 0.012, 0.013, 0.014, 0.014);
+  private static final InterpolatedNodalSurface PARAMETERS_PRICE = InterpolatedNodalSurface.of(
+      Surfaces.normalVolatilityByExpirySimpleMoneyness("Test", ACT_365F, MoneynessType.PRICE),
+      TIMES,
+      MONEYNESS_PRICES,
+      NORMAL_VOL,
+      INTERPOLATOR_2D);
+
+  private static final LocalDate VAL_DATE = date(2015, 2, 17);
+  private static final LocalTime VAL_TIME = LocalTime.of(13, 45);
+  private static final ZoneId LONDON_ZONE = ZoneId.of("Europe/London");
+
+  private static final NormalOvernightFutureOptionVolatilities VOL_SIMPLE_MONEY_PRICE =
+      NormalOvernightFutureOptionExpirySimpleMoneynessVolatilities.of(
+          GBP_SONIA, VAL_DATE.atTime(VAL_TIME).atZone(LONDON_ZONE), PARAMETERS_PRICE);
+
+  private static final ResolvedOvernightFutureOption OPTION = OvernightFutureDummyData.OVERNIGHT_FUTURE_OPTION_2.resolve(REF_DATA);
+  private static final LocalDate TRADE_DATE = date(2015, 2, 16);
+  private static final long OPTION_QUANTITY = 12345;
+  private static final double TRADE_PRICE = 0.0100;
+  private static final ResolvedOvernightFutureOptionTrade FUTURE_OPTION_TRADE_TD = ResolvedOvernightFutureOptionTrade.builder()
+      .product(OPTION)
+      .quantity(OPTION_QUANTITY)
+      .tradedPrice(TradedPrice.of(VAL_DATE, TRADE_PRICE))
+      .build();
+  private static final ResolvedOvernightFutureOptionTrade FUTURE_OPTION_TRADE = ResolvedOvernightFutureOptionTrade.builder()
+      .product(OPTION)
+      .quantity(OPTION_QUANTITY)
+      .tradedPrice(TradedPrice.of(TRADE_DATE, TRADE_PRICE))
+      .build();
+
+  private static final double RATE = 0.015;
+
+  private static final DiscountingOvernightFutureProductPricer FUTURE_PRICER = DiscountingOvernightFutureProductPricer.DEFAULT;
+  private static final NormalOvernightFutureOptionMarginedProductPricer OPTION_PRODUCT_PRICER =
+      new NormalOvernightFutureOptionMarginedProductPricer(FUTURE_PRICER);
+  private static final NormalOvernightFutureOptionMarginedTradePricer OPTION_TRADE_PRICER =
+      new NormalOvernightFutureOptionMarginedTradePricer(OPTION_PRODUCT_PRICER);
+
+  private static final double TOLERANCE_PV = 1.0E-2;
+  private static final double TOLERANCE_PV_DELTA = 1.0E-1;
+
+  // ----------     present value     ----------
+
+  @Test
+  public void presentValue_from_option_price_trade_date() {
+    double optionPrice = 0.0125;
+    double lastClosingPrice = 0.0150;
+    CurrencyAmount pvComputed = OPTION_TRADE_PRICER
+        .presentValue(FUTURE_OPTION_TRADE_TD, VAL_DATE, optionPrice, lastClosingPrice);
+    double pvExpected = (OPTION_PRODUCT_PRICER.marginIndex(OPTION, optionPrice) -
+        OPTION_PRODUCT_PRICER.marginIndex(OPTION, TRADE_PRICE)) * OPTION_QUANTITY;
+    assertThat(pvComputed.getAmount()).isCloseTo(pvExpected, offset(TOLERANCE_PV));
+  }
+
+  @Test
+  public void presentValue_from_future_price() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider(VAL_DATE);
+    prov.setOvernightRates(mockOvernight);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+
+    double futurePrice = 0.9875;
+    double lastClosingPrice = 0.0150;
+    CurrencyAmount pvComputed = OPTION_TRADE_PRICER
+        .presentValue(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE, futurePrice, lastClosingPrice);
+    double optionPrice =
+        OPTION_PRODUCT_PRICER.price(OPTION, VOL_SIMPLE_MONEY_PRICE, futurePrice);
+    double pvExpected = (OPTION_PRODUCT_PRICER.marginIndex(OPTION, optionPrice) -
+        OPTION_PRODUCT_PRICER.marginIndex(OPTION, lastClosingPrice)) * OPTION_QUANTITY;
+    assertThat(pvComputed.getAmount()).isCloseTo(pvExpected, offset(TOLERANCE_PV));
+  }
+
+  @Test
+  public void presentValue_from_env() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider(VAL_DATE);
+    prov.setOvernightRates(mockOvernight);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+    when(mockOvernight.getValuationDate()).thenReturn(VAL_DATE);
+
+    double lastClosingPrice = 0.0150;
+    CurrencyAmount pvComputed = OPTION_TRADE_PRICER
+        .presentValue(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE, lastClosingPrice);
+    double optionPrice =
+        OPTION_PRODUCT_PRICER.price(OPTION, prov, VOL_SIMPLE_MONEY_PRICE);
+    double pvExpected = (OPTION_PRODUCT_PRICER.marginIndex(OPTION, optionPrice) -
+        OPTION_PRODUCT_PRICER.marginIndex(OPTION, lastClosingPrice)) * OPTION_QUANTITY;
+    assertThat(pvComputed.getAmount()).isCloseTo(pvExpected, offset(TOLERANCE_PV));
+  }
+
+  // ----------     present value sensitivity     ----------
+
+  @Test
+  public void presentValueSensitivity_from_env() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider();
+    prov.setOvernightRates(mockOvernight);
+    OvernightIndexObservation obs = OvernightIndexObservation.of(
+        GBP_SONIA,
+        LocalDate.of(2015, 6, 17),
+        REF_DATA);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+    when(mockOvernight.getValuationDate()).thenReturn(VAL_DATE);
+    when(mockOvernight.periodRatePointSensitivity(any(), any()))
+        .thenReturn(OvernightRateSensitivity.ofPeriod(obs, LocalDate.of(2015, 9, 16), 1d));
+    //PointSensitivityBuilder Sensitivity = rates.periodRatePointSensitivity(obs, endDate);
+
+    PointSensitivities psProduct =
+        OPTION_PRODUCT_PRICER.priceSensitivityRatesStickyStrike(OPTION, prov, VOL_SIMPLE_MONEY_PRICE);
+    PointSensitivities psExpected = psProduct
+        .multipliedBy(OPTION_PRODUCT_PRICER.marginIndex(OPTION, 1) * OPTION_QUANTITY);
+    PointSensitivities psComputed = OPTION_TRADE_PRICER
+        .presentValueSensitivityRates(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE);
+    assertThat(psComputed.equalWithTolerance(psExpected, TOLERANCE_PV_DELTA)).isTrue();
+  }
+
+  // ----------     present value normal vol sensitivity     ----------
+
+  @Test
+  public void presentvalue_normalVolSensitivity_from_env() {
+    OvernightIndexRates mockOvernight = mock(OvernightIndexRates.class);
+    SimpleRatesProvider prov = new SimpleRatesProvider();
+    prov.setOvernightRates(mockOvernight);
+    when(mockOvernight.rate(any())).thenReturn(RATE);
+    when(mockOvernight.getValuationDate()).thenReturn(VAL_DATE);
+
+    OvernightFutureOptionSensitivity psProduct =
+        OPTION_PRODUCT_PRICER.priceSensitivityModelParamsVolatility(OPTION, prov, VOL_SIMPLE_MONEY_PRICE);
+    OvernightFutureOptionSensitivity psExpected = psProduct.withSensitivity(
+        psProduct.getSensitivity() * OPTION_PRODUCT_PRICER.marginIndex(OPTION, 1) * OPTION_QUANTITY);
+    OvernightFutureOptionSensitivity psComputed = OPTION_TRADE_PRICER
+        .presentValueSensitivityModelParamsVolatility(FUTURE_OPTION_TRADE, prov, VOL_SIMPLE_MONEY_PRICE);
+    assertThat(psExpected.compareKey(psComputed) == 0).isTrue();
+    assertThat(psComputed.getSensitivity()).isCloseTo(psExpected.getSensitivity(), offset(TOLERANCE_PV_DELTA));
+  }
+
+}
\ No newline at end of fileueu(36721fe21df9755f2d9a41b73230b4838e0c2827}(sha(36721fe21df9755f2d9a41b73230b4838e0c2827node_idEC_kwDOAT6l0doAKDM2NzIxZmUyMWRmOTc1NWYyZDlhNDFiNzMyMzBiNDgzOGUwYzI4Mjccommit}(author}(namealexandruamarandeistanescuemailnoreplydate2023-05-09T14:38:16Zu	committer}(jI  alexandruamarandeistanescujI  noreplyjI  2023-05-09T14:38:16ZumessageCExtend EtdIdUtils to create ContractSpecId directly from SecurityIdtree}(jI  (9f47560f11955cb7d177a41dfac15945eb72b58eurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/9f47560f11955cb7d177a41dfac15945eb72b58eujJ  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/36721fe21df9755f2d9a41b73230b4838e0c2827
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujJ  ^https://api.github.com/repos/OpenGamma/Strata/commits/36721fe21df9755f2d9a41b73230b4838e0c2827html_urlShttps://github.com/OpenGamma/Strata/commit/36721fe21df9755f2d9a41b73230b4838e0c2827comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/36721fe21df9755f2d9a41b73230b4838e0c2827/commentsjI  NjI  Nparents]}(jI  (52d62b1402e1c12feb73bbc0b0cacda5f956f5ddjJ  ^https://api.github.com/repos/OpenGamma/Strata/commits/52d62b1402e1c12feb73bbc0b0cacda5f956f5ddjJ  Shttps://github.com/OpenGamma/Strata/commit/52d62b1402e1c12feb73bbc0b0cacda5f956f5dduastats}(totalKE	additionsK,	deletionsKufiles]}(jI  (df4883da13ad4b7751f02303d2bbd624e784f37afilenameNmodules/product/src/main/java/com/opengamma/strata/product/etd/EtdIdUtils.javastatusmodifiedjJ  K,jJ  KchangesKEblob_urlhttps://github.com/OpenGamma/Strata/blob/36721fe21df9755f2d9a41b73230b4838e0c2827/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/36721fe21df9755f2d9a41b73230b4838e0c2827/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fetd%2FEtdIdUtils.java?ref=36721fe21df9755f2d9a41b73230b4838e0c2827patchX{  @@ -57,15 +57,16 @@ public final class EtdIdUtils {
       .toFormatter(Locale.ROOT);
 
   //-------------------------------------------------------------------------
+
   /**
    * Creates an identifier for a contract specification.
    * <p>
    * This will have the format:
    * {@code 'OG-ETD~F-ECAG-FGBS'} or {@code 'OG-ETD~O-ECAG-OGBS'}.
    *
-   * @param type  type of the contract - future or option
-   * @param exchangeId  the MIC code of the exchange where the instruments are traded
-   * @param contractCode  the code supplied by the exchange for use in clearing and margining, such as in SPAN
+   * @param type type of the contract - future or option
+   * @param exchangeId the MIC code of the exchange where the instruments are traded
+   * @param contractCode the code supplied by the exchange for use in clearing and margining, such as in SPAN
    * @return the identifier
    */
   public static EtdContractSpecId contractSpecId(EtdType type, ExchangeId exchangeId, EtdContractCode contractCode) {
@@ -82,6 +83,20 @@ public static EtdContractSpecId contractSpecId(EtdType type, ExchangeId exchange
     }
   }
 
+  /**
+   * Creates an identifier for a contract specification.
+   * <p>
+   * This will have the format:
+   * {@code 'OG-ETD~F-ECAG-FGBS'} or {@code 'OG-ETD~O-ECAG-OGBS'}.
+   *
+   * @param securityId the security id
+   * @return the identifier
+   */
+  public static EtdContractSpecId contractSpecId(SecurityId securityId) {
+    SplitEtdId splitEtdId = splitId(securityId);
+    return contractSpecId(splitEtdId.getType(), splitEtdId.getExchangeId(), splitEtdId.getContractCode());
+  }
+
   /**
    * Creates an identifier for an ETD future instrument.
    * <p>
@@ -91,10 +106,10 @@ public static EtdContractSpecId contractSpecId(EtdType type, ExchangeId exchange
    * A more complex flex ETD (12th of the month, Physical settlement) will have the format:
    * {@code 'OG-ETD~F-ECAG-OGBS-20170612E'}.
    *
-   * @param exchangeId  the MIC code of the exchange where the instruments are traded
-   * @param contractCode  the code supplied by the exchange for use in clearing and margining, such as in SPAN
-   * @param expiryMonth  the month of expiry
-   * @param variant  the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
+   * @param exchangeId the MIC code of the exchange where the instruments are traded
+   * @param contractCode the code supplied by the exchange for use in clearing and margining, such as in SPAN
+   * @param expiryMonth the month of expiry
+   * @param variant the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
    * @return the identifier
    */
   public static SecurityId futureId(
@@ -106,7 +121,10 @@ public static SecurityId futureId(
     ArgChecker.notNull(exchangeId, "exchangeId");
     ArgChecker.notNull(contractCode, "contractCode");
     ArgChecker.notNull(expiryMonth, "expiryMonth");
-    ArgChecker.isTrue(expiryMonth.getYear() >= 1000 && expiryMonth.getYear() <= 9999, "Invalid expiry year: ", expiryMonth);
+    ArgChecker.isTrue(
+        expiryMonth.getYear() >= 1000 && expiryMonth.getYear() <= 9999,
+        "Invalid expiry year: ",
+        expiryMonth);
     ArgChecker.notNull(variant, "variant");
 
     String id = new StringBuilder(40)
@@ -130,13 +148,13 @@ public static SecurityId futureId(
    * A more complex flex ETD (12th of the month, Cash settlement, European) with version two will have the format:
    * {@code 'OG-ETD~O-ECAG-OGBS-20170612CE-V2-P1.50'}.
    *
-   * @param exchangeId  the MIC code of the exchange where the instruments are traded
-   * @param contractCode  the code supplied by the exchange for use in clearing and margining, such as in SPAN
-   * @param expiryMonth  the month of expiry
-   * @param variant  the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
-   * @param version  the non-negative version, zero by default
-   * @param putCall  the Put/Call flag
-   * @param strikePrice  the strike price
+   * @param exchangeId the MIC code of the exchange where the instruments are traded
+   * @param contractCode the code supplied by the exchange for use in clearing and margining, such as in SPAN
+   * @param expiryMonth the month of expiry
+   * @param variant the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
+   * @param version the non-negative version, zero by default
+   * @param putCall the Put/Call flag
+   * @param strikePrice the strike price
    * @return the identifier
    */
   public static SecurityId optionId(
@@ -159,14 +177,14 @@ public static SecurityId optionId(
    * Otherwise, the underlying expiry is added after the option expiry. For example:
    * {@code 'OG-ETD~O-ECAG-OGBS-201706-P1.50-U201709'}.
    *
-   * @param exchangeId  the MIC code of the exchange where the instruments are traded
-   * @param contractCode  the code supplied by the exchange for use in clearing and margining, such as in SPAN
-   * @param expiryMonth  the month of expiry
-   * @param variant  the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
-   * @param version  the non-negative version, zero by default
-   * @param putCall  the Put/Call flag
-   * @param strikePrice  the strike price
-   * @param underlyingExpiryMonth  the expiry of the underlying instrument, such as a future, may be null
+   * @param exchangeId the MIC code of the exchange where the instruments are traded
+   * @param contractCode the code supplied by the exchange for use in clearing and margining, such as in SPAN
+   * @param expiryMonth the month of expiry
+   * @param variant the variant of the ETD, such as 'Monthly', 'Weekly, 'Daily' or 'Flex'
+   * @param version the non-negative version, zero by default
+   * @param putCall the Put/Call flag
+   * @param strikePrice the strike price
+   * @param underlyingExpiryMonth the expiry of the underlying instrument, such as a future, may be null
    * @return the identifier
    */
   public static SecurityId optionId(
@@ -216,10 +234,11 @@ public static SecurityId optionId(
   }
 
   //-------------------------------------------------------------------------
+
   /**
    * Splits an OG-ETD identifier.
    *
-   * @param specId  the contract spec ID
+   * @param specId the contract spec ID
    * @return a split representation of the ID
    * @throws IllegalArgumentException if the ID is not of the right scheme or format
    */
@@ -254,7 +273,7 @@ public static SplitEtdContractSpecId splitId(EtdContractSpecId specId) {
   /**
    * Splits an OG-ETD identifier.
    *
-   * @param securityId  the security ID
+   * @param securityId the security ID
    * @return a split representation of the ID
    * @throws IllegalArgumentException if the ID is not of the right scheme or format
    */uau(d53489595be3b8ae55300f148c924ca43b9c2ac7}(sha(d53489595be3b8ae55300f148c924ca43b9c2ac7node_idEC_kwDOAT6l0doAKGQ1MzQ4OTU5NWJlM2I4YWU1NTMwMGYxNDhjOTI0Y2E0M2I5YzJhYzccommit}(author}(nameStephen Colebourneemailstephen@opengamma.comdate2023-05-18T12:41:42Zu	committer}(j9J  GitHubj;J  noreply@github.comj=J  2023-05-18T12:41:42ZumessagegPropagate cause of more exceptions (#2575)

Unwrap cause for CompletionException and ExecutionExceptiontree}(j1J  (22161437026f4e88ca0fd37171883fc6a9dfdbeeurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/22161437026f4e88ca0fd37171883fc6a9dfdbeeujIJ  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/d53489595be3b8ae55300f148c924ca43b9c2ac7
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkZh0GCRBK7hj4Ov3rIwAAxXoIAKjMQrmYkzz8bcowdE6X8dmD
B9iHUMEn59TyqMEM5O7LQ98zxnW95OPQzlx54IwUxZfoLgvDu1mG9UvGloeCl7gR
Q28T8BIEypiINaAeTd9XCbdZEuTinD3vPkdOXTF2lIX0rTMkEMAvUfs7sMvntkRB
OuckCrgIcuu8h5hkYXC/qBO9IUnnKuNEE5XWjNnJtzVoNQMP8hSGaKO73yEvi+cD
6fVawqx25vT/wScD31fvykw+pJDLGt5DL7HRbNTf1qbWf3A3YDnxRGmm8GYL9oBA
UPlwWSboMSuQi9DMaoFHBPoeIznwobPJp83CjPW2BtinI9j4de/ZBQ9/Mdgkmng=
=cF/q
-----END PGP SIGNATURE-----
payloadX@  tree 22161437026f4e88ca0fd37171883fc6a9dfdbee
parent 5a7f15db8b4c4f13ebe0a7346baedac9a06c79db
author Stephen Colebourne <stephen@opengamma.com> 1684413702 +0100
committer GitHub <noreply@github.com> 1684413702 +0100

Propagate cause of more exceptions (#2575)

Unwrap cause for CompletionException and ExecutionExceptionuujIJ  ^https://api.github.com/repos/OpenGamma/Strata/commits/d53489595be3b8ae55300f148c924ca43b9c2ac7html_urlShttps://github.com/OpenGamma/Strata/commit/d53489595be3b8ae55300f148c924ca43b9c2ac7comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/d53489595be3b8ae55300f148c924ca43b9c2ac7/commentsj7J  }(loginjodastephenidJ@ j3J  MDQ6VXNlcjIxMzIxMg==
avatar_url2https://avatars.githubusercontent.com/u/213212?v=4gravatar_idh3jIJ  (https://api.github.com/users/jodastephenjWJ  https://github.com/jodastephen
followers_url2https://api.github.com/users/jodastephen/followers
following_url?https://api.github.com/users/jodastephen/following{/other_user}	gists_url8https://api.github.com/users/jodastephen/gists{/gist_id}starred_url?https://api.github.com/users/jodastephen/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/jodastephen/subscriptionsorganizations_url-https://api.github.com/users/jodastephen/orgs	repos_url.https://api.github.com/users/jodastephen/repos
events_url9https://api.github.com/users/jodastephen/events{/privacy}received_events_url8https://api.github.com/users/jodastephen/received_eventstypeUser
site_adminuj?J  }(j\J  web-flowj^J  J/j3J  MDQ6VXNlcjE5ODY0NDQ3j`J  4https://avatars.githubusercontent.com/u/19864447?v=4jbJ  h3jIJ  %https://api.github.com/users/web-flowjWJ  https://github.com/web-flowjeJ  /https://api.github.com/users/web-flow/followersjgJ  <https://api.github.com/users/web-flow/following{/other_user}jiJ  5https://api.github.com/users/web-flow/gists{/gist_id}jkJ  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jmJ  3https://api.github.com/users/web-flow/subscriptionsjoJ  *https://api.github.com/users/web-flow/orgsjqJ  +https://api.github.com/users/web-flow/reposjsJ  6https://api.github.com/users/web-flow/events{/privacy}juJ  5https://api.github.com/users/web-flow/received_eventsjwJ  UserjyJ  uparents]}(j1J  (5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbjIJ  ^https://api.github.com/repos/OpenGamma/Strata/commits/5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbjWJ  Shttps://github.com/OpenGamma/Strata/commit/5a7f15db8b4c4f13ebe0a7346baedac9a06c79dbuastats}(totalK	additionsK	deletionsKufiles](}(j1J  (4075f2669a150b92629db8d85c0c23746d23d0bbfilenameImodules/collect/src/main/java/com/opengamma/strata/collect/Unchecked.javastatusmodifiedjJ  K	jJ  KchangesK
blob_urlhttps://github.com/OpenGamma/Strata/blob/d53489595be3b8ae55300f148c924ca43b9c2ac7/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/d53489595be3b8ae55300f148c924ca43b9c2ac7/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUnchecked.java?ref=d53489595be3b8ae55300f148c924ca43b9c2ac7patchX  @@ -9,6 +9,8 @@
 import java.io.IOException;
 import java.io.UncheckedIOException;
 import java.lang.reflect.InvocationTargetException;
+import java.util.concurrent.CompletionException;
+import java.util.concurrent.ExecutionException;
 import java.util.function.BiConsumer;
 import java.util.function.BiFunction;
 import java.util.function.BiPredicate;
@@ -334,6 +336,8 @@ public static <R> Supplier<R> supplier(CheckedSupplier<R> supplier) {
    * Propagates {@code throwable} as-is if possible, or by wrapping in a {@code RuntimeException} if not.
    * <ul>
    *   <li>If {@code throwable} is an {@code InvocationTargetException} the cause is extracted and processed recursively.</li>
+   *   <li>If {@code throwable} is an {@code CompletionException} the cause is extracted and processed recursively.</li>
+   *   <li>If {@code throwable} is an {@code ExecutionException} the cause is extracted and processed recursively.</li>
    *   <li>If {@code throwable} is an {@code Error} or {@code RuntimeException} it is propagated as-is.</li>
    *   <li>If {@code throwable} is an {@code IOException} it is wrapped in {@code UncheckedIOException} and thrown.</li>
    *   <li>If {@code throwable} is an {@code ReflectiveOperationException} it is wrapped in
@@ -353,11 +357,15 @@ public static <R> Supplier<R> supplier(CheckedSupplier<R> supplier) {
    * </pre>
    *
    * @param throwable the {@code Throwable} to propagate
-   * @return nothing; this method always throws an exception
+   * @return never returns as an exception is always thrown
    */
   public static RuntimeException propagate(Throwable throwable) {
     if (throwable instanceof InvocationTargetException) {
       throw propagate(((InvocationTargetException) throwable).getCause());
+    } else if (throwable instanceof CompletionException) {
+      throw propagate(((CompletionException) throwable).getCause());
+    } else if (throwable instanceof ExecutionException) {
+      throw propagate(((ExecutionException) throwable).getCause());
     } else if (throwable instanceof IOException) {
       throw new UncheckedIOException((IOException) throwable);
     } else if (throwable instanceof ReflectiveOperationException) {u}(j1J  (3e5a77b8c714974f4f028474f0a3938110a0a12cjJ  Mmodules/collect/src/test/java/com/opengamma/strata/collect/UncheckedTest.javajJ  modifiedjJ  KjJ  K jJ  KjJ  https://github.com/OpenGamma/Strata/blob/d53489595be3b8ae55300f148c924ca43b9c2ac7/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.javajJ  https://github.com/OpenGamma/Strata/raw/d53489595be3b8ae55300f148c924ca43b9c2ac7/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.javajJ  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FUncheckedTest.java?ref=d53489595be3b8ae55300f148c924ca43b9c2ac7jJ  Xa  @@ -14,6 +14,8 @@
 import java.io.UncheckedIOException;
 import java.lang.reflect.InvocationTargetException;
 import java.net.URISyntaxException;
+import java.util.concurrent.CompletionException;
+import java.util.concurrent.ExecutionException;
 import java.util.function.BiConsumer;
 import java.util.function.BiFunction;
 import java.util.function.BiPredicate;
@@ -379,6 +381,20 @@ public void test_propagate() {
       assertThat(ex.getClass()).isEqualTo(RuntimeException.class);
       assertThat(ex.getCause()).isSameAs(namingEx);
     }
+    try {
+      Unchecked.propagate(new CompletionException(ioEx));
+      fail("Expected UncheckedIOException");
+    } catch (UncheckedIOException ex) {
+      assertThat(ex.getClass()).isEqualTo(UncheckedIOException.class);
+      assertThat(ex.getCause()).isSameAs(ioEx);
+    }
+    try {
+      Unchecked.propagate(new ExecutionException(ioEx));
+      fail("Expected UncheckedIOException");
+    } catch (UncheckedIOException ex) {
+      assertThat(ex.getClass()).isEqualTo(UncheckedIOException.class);
+      assertThat(ex.getCause()).isSameAs(ioEx);
+    }
   }
 
 }ueu(a191e0d045cbae8c2f372d8b37b071860dfeb58f}(sha(a191e0d045cbae8c2f372d8b37b071860dfeb58fnode_idEC_kwDOAT6l0doAKGExOTFlMGQwNDVjYmFlOGMyZjM3MmQ4YjM3YjA3MTg2MGRmZWI1OGYcommit}(author}(nameMarc Henrardemail%marc-henrard@users.noreply.github.comdate2023-03-15T10:38:25Zu	committer}(jJ  Marc HenrardjJ  %marc-henrard@users.noreply.github.comjJ  2023-03-15T10:38:25Zumessagectree}(jJ  (912ff1e3ee7eb3c41e7d7e37159b47f21e5b0c8furl`https://api.github.com/repos/OpenGamma/Strata/git/trees/912ff1e3ee7eb3c41e7d7e37159b47f21e5b0c8fujJ  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a191e0d045cbae8c2f372d8b37b071860dfeb58f
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujJ  ^https://api.github.com/repos/OpenGamma/Strata/commits/a191e0d045cbae8c2f372d8b37b071860dfeb58fhtml_urlShttps://github.com/OpenGamma/Strata/commit/a191e0d045cbae8c2f372d8b37b071860dfeb58fcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a191e0d045cbae8c2f372d8b37b071860dfeb58f/commentsjJ  }(loginmarc-henrardidJKX jJ  MDQ6VXNlcjk5MTg1Mzk=
avatar_url3https://avatars.githubusercontent.com/u/9918539?v=4gravatar_idh3jJ  )https://api.github.com/users/marc-henrardjJ  https://github.com/marc-henrard
followers_url3https://api.github.com/users/marc-henrard/followers
following_url@https://api.github.com/users/marc-henrard/following{/other_user}	gists_url9https://api.github.com/users/marc-henrard/gists{/gist_id}starred_url@https://api.github.com/users/marc-henrard/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/marc-henrard/subscriptionsorganizations_url.https://api.github.com/users/marc-henrard/orgs	repos_url/https://api.github.com/users/marc-henrard/repos
events_url:https://api.github.com/users/marc-henrard/events{/privacy}received_events_url9https://api.github.com/users/marc-henrard/received_eventstypeUser
site_adminujJ  }(jJ  marc-henrardjJ  JKX jJ  MDQ6VXNlcjk5MTg1Mzk=jJ  3https://avatars.githubusercontent.com/u/9918539?v=4jJ  h3jJ  )https://api.github.com/users/marc-henrardjJ  https://github.com/marc-henrardjJ  3https://api.github.com/users/marc-henrard/followersjJ  @https://api.github.com/users/marc-henrard/following{/other_user}jJ  9https://api.github.com/users/marc-henrard/gists{/gist_id}jJ  @https://api.github.com/users/marc-henrard/starred{/owner}{/repo}jJ  7https://api.github.com/users/marc-henrard/subscriptionsjJ  .https://api.github.com/users/marc-henrard/orgsjJ  /https://api.github.com/users/marc-henrard/reposjJ  :https://api.github.com/users/marc-henrard/events{/privacy}jJ  9https://api.github.com/users/marc-henrard/received_eventsjJ  UserjJ  uparents]}(jJ  (7d8a535c9c276b3449e0d4db43e9301eca4b7f09jJ  ^https://api.github.com/repos/OpenGamma/Strata/commits/7d8a535c9c276b3449e0d4db43e9301eca4b7f09jJ  Shttps://github.com/OpenGamma/Strata/commit/7d8a535c9c276b3449e0d4db43e9301eca4b7f09uastats}(totalK"	additionsK	deletionsKufiles](}(jJ  (b5eead2244c2a32579b10320320b384dee170a3efilenameimodules/pricer/src/main/java/com/opengamma/strata/pricer/impl/rate/swap/CashFlowEquivalentCalculator.javastatusmodifiedjK  KjK  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/a191e0d045cbae8c2f372d8b37b071860dfeb58f/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/a191e0d045cbae8c2f372d8b37b071860dfeb58f/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculator.java?ref=a191e0d045cbae8c2f372d8b37b071860dfeb58fpatchX  @@ -59,10 +59,10 @@ public final class CashFlowEquivalentCalculator {
   public static ResolvedSwapLeg cashFlowEquivalent(ResolvedFixedCouponBond bond, LocalDate settlementDate) {
     List<NotionalExchange> paymentEvents = new ArrayList<NotionalExchange>();
     for (FixedCouponBondPaymentPeriod payment : bond.getPeriodicPayments()) {
-      LocalDate paymentDate = payment.getPaymentDate();
-      if (paymentDate.isAfter(settlementDate)) {
+      LocalDate detachmentDate = payment.getDetachmentDate();
+      if (detachmentDate.isAfter(settlementDate)) {
         double amount = payment.getYearFraction() * payment.getFixedRate() * payment.getNotional();
-        NotionalExchange pay = NotionalExchange.of(CurrencyAmount.of(payment.getCurrency(), amount), paymentDate);
+        NotionalExchange pay = NotionalExchange.of(CurrencyAmount.of(payment.getCurrency(), amount), detachmentDate);
         paymentEvents.add(pay);
       }
     }u     }(jJ  (a07a1cb0678e2b2244a57841f059da746085dd20jK  mmodules/pricer/src/test/java/com/opengamma/strata/pricer/impl/rate/swap/CashFlowEquivalentCalculatorTest.javajK  modifiedjK  KjK  KjK  KjK  https://github.com/OpenGamma/Strata/blob/a191e0d045cbae8c2f372d8b37b071860dfeb58f/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.javajK  https://github.com/OpenGamma/Strata/raw/a191e0d045cbae8c2f372d8b37b071860dfeb58f/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.javajK  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fimpl%2Frate%2Fswap%2FCashFlowEquivalentCalculatorTest.java?ref=a191e0d045cbae8c2f372d8b37b071860dfeb58fj!K  X
  @@ -613,25 +613,25 @@ public void cfe_bond() {
       int loopcfe = 0;
       for (int loopcpn = 0; loopcpn < BOND_DE[i].getPeriodicPayments().size(); loopcpn++) {
         FixedCouponBondPaymentPeriod payment = BOND_DE[i].getPeriodicPayments().get(loopcpn);
-        LocalDate paymentDate = payment.getPaymentDate();
-        if (paymentDate.isAfter(SETTLE_DATE[i])) {
+        LocalDate detachmentDate = payment.getDetachmentDate();
+        if (detachmentDate.isAfter(SETTLE_DATE[i])) {
           double amount = payment.getYearFraction() * payment.getFixedRate() * payment.getNotional();
-          NotionalExchange pay = NotionalExchange.of(CurrencyAmount.of(payment.getCurrency(), amount), paymentDate);
-          SwapPaymentEvent p = cfe.getPaymentEvents().get(loopcfe);
-          assertThat(p instanceof NotionalExchange).isTrue();
-          assertThat(pay.getPaymentDate()).isEqualTo(p.getPaymentDate());
-          assertThat(pay.getPaymentAmount().getCurrency()).isEqualTo(p.getCurrency());
-          assertThat(pay.getPaymentAmount().getAmount())
-              .isEqualTo(((NotionalExchange) p).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
+          Payment paymentLocalTest = Payment.of(payment.getCurrency(), amount, detachmentDate);
+          SwapPaymentEvent paymentFromCfe = cfe.getPaymentEvents().get(loopcfe);
+          assertThat(paymentFromCfe instanceof NotionalExchange).isTrue();
+          assertThat(paymentLocalTest.getDate()).isEqualTo(paymentFromCfe.getPaymentDate());
+          assertThat(paymentLocalTest.getCurrency()).isEqualTo(paymentFromCfe.getCurrency());
+          assertThat(paymentLocalTest.getAmount())
+              .isEqualTo(((NotionalExchange) paymentFromCfe).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
           loopcfe++;
         }
       }
-      SwapPaymentEvent pN = cfe.getPaymentEvents().get(loopcfe);
-      assertThat(pN instanceof NotionalExchange).isTrue();
-      assertThat(BOND_DE[i].getEndDate()).isEqualTo(pN.getPaymentDate());
-      assertThat(BOND_DE[i].getCurrency()).isEqualTo(pN.getCurrency());
+      SwapPaymentEvent paymentFromCfeNotional = cfe.getPaymentEvents().get(loopcfe);
+      assertThat(paymentFromCfeNotional instanceof NotionalExchange).isTrue();
+      assertThat(BOND_DE[i].getEndDate()).isEqualTo(paymentFromCfeNotional.getPaymentDate());
+      assertThat(BOND_DE[i].getCurrency()).isEqualTo(paymentFromCfeNotional.getCurrency());
       assertThat(BOND_DE[i].getNotional())
-          .isEqualTo(((NotionalExchange) pN).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
+          .isEqualTo(((NotionalExchange) paymentFromCfeNotional).getPaymentAmount().getAmount(), TOLERANCE_AMOUNT);
     }
   }
 ueu(71334f960650c826694b8c193b53eecf9e222551}(sha(71334f960650c826694b8c193b53eecf9e222551node_idEC_kwDOAT6l0doAKDcxMzM0Zjk2MDY1MGM4MjY2OTRiOGMxOTNiNTNlZWNmOWUyMjI1NTEcommit}(author}(nameAlexis Skitiniemailalexis@opengamma.comdate2023-05-12T10:30:59Zu	committer}(j5K  GitHubj7K  noreply@github.comj9K  2023-05-12T10:30:59ZumessageeAdd MarketQuote value type (#2571)

Co-authored-by: Alexis Skitini <skitini@users.noreply.github.com>tree}(j-K  (83d8602f264c2c662de428e0620c542d13fc566aurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/83d8602f264c2c662de428e0620c542d13fc566aujEK  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/71334f960650c826694b8c193b53eecf9e222551
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkXhVjCRBK7hj4Ov3rIwAAskkIAJxr8P5Qub71XgBg1vFBIgCm
TmG4fbzrLt2F/YnAs2EIEeiivbq3r65rFr0WIHao+Iy7RWQZrF7NZsgZHR/x9BwW
kuV9pJ7xDbYH4zsLbhKNzHztpqhAq46JMBmDEHcKJepNHqD5MLnUCj9Qqk31+XUd
9MrsbjOIn8R6cBzwXvSFKE/IEOEM99zRlVwyxtZQwJatH3KoCmpOzqkEYAdaGxWc
Cz0gYeHI81y8aACLwymJaLh9houN4LXSD2a/pDVwN0/KHFMuHkDJPmD4uAVGt+BI
GpuoqX4iVBIrOImBOj5hqJqChXjUCwO7Io3/08BJYSTuMrfbKEi7pNS0L03fLAE=
=ZOi+
-----END PGP SIGNATURE-----
payloadX9  tree 83d8602f264c2c662de428e0620c542d13fc566a
parent 6919d1220aa416d383022663fda2567d8084ea30
author Alexis Skitini <alexis@opengamma.com> 1683887459 +0100
committer GitHub <noreply@github.com> 1683887459 +0100

Add MarketQuote value type (#2571)

Co-authored-by: Alexis Skitini <skitini@users.noreply.github.com>uujEK  ^https://api.github.com/repos/OpenGamma/Strata/commits/71334f960650c826694b8c193b53eecf9e222551html_urlShttps://github.com/OpenGamma/Strata/commit/71334f960650c826694b8c193b53eecf9e222551comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/71334f960650c826694b8c193b53eecf9e222551/commentsj3K  }(loginskitiniidJAj/K  MDQ6VXNlcjI1OTkzMjgx
avatar_url4https://avatars.githubusercontent.com/u/25993281?v=4gravatar_idh3jEK  $https://api.github.com/users/skitinijSK  https://github.com/skitini
followers_url.https://api.github.com/users/skitini/followers
following_url;https://api.github.com/users/skitini/following{/other_user}	gists_url4https://api.github.com/users/skitini/gists{/gist_id}starred_url;https://api.github.com/users/skitini/starred{/owner}{/repo}subscriptions_url2https://api.github.com/users/skitini/subscriptionsorganizations_url)https://api.github.com/users/skitini/orgs	repos_url*https://api.github.com/users/skitini/repos
events_url5https://api.github.com/users/skitini/events{/privacy}received_events_url4https://api.github.com/users/skitini/received_eventstypeUser
site_adminuj;K  }(jXK  web-flowjZK  J/j/K  MDQ6VXNlcjE5ODY0NDQ3j\K  4https://avatars.githubusercontent.com/u/19864447?v=4j^K  h3jEK  %https://api.github.com/users/web-flowjSK  https://github.com/web-flowjaK  /https://api.github.com/users/web-flow/followersjcK  <https://api.github.com/users/web-flow/following{/other_user}jeK  5https://api.github.com/users/web-flow/gists{/gist_id}jgK  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jiK  3https://api.github.com/users/web-flow/subscriptionsjkK  *https://api.github.com/users/web-flow/orgsjmK  +https://api.github.com/users/web-flow/reposjoK  6https://api.github.com/users/web-flow/events{/privacy}jqK  5https://api.github.com/users/web-flow/received_eventsjsK  UserjuK  uparents]}(j-K  (6919d1220aa416d383022663fda2567d8084ea30jEK  ^https://api.github.com/repos/OpenGamma/Strata/commits/6919d1220aa416d383022663fda2567d8084ea30jSK  Shttps://github.com/OpenGamma/Strata/commit/6919d1220aa416d383022663fda2567d8084ea30uastats}(totalK	additionsK	deletionsKufiles]}(j-K  (5ff33260894f4e40730ce2617aaf49d049b204d4filenameGmodules/market/src/main/java/com/opengamma/strata/market/ValueType.javastatusmodifiedjK  KjK  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/71334f960650c826694b8c193b53eecf9e222551/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/71334f960650c826694b8c193b53eecf9e222551/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmarket%2FValueType.java?ref=71334f960650c826694b8c193b53eecf9e222551patchX  @@ -134,7 +134,10 @@ public final class ValueType
    * Type used when each value is a correlation - 'CORRELATION'.
    */
   public static final ValueType CORRELATION = of("CORRELATION");
-
+  /**
+   * Type used when each value is the market quote e.g. a par rate for bonds = 'MarketQuote'.
+   */
+  public static final ValueType MARKET_QUOTE = of("MarketQuote");
   //-------------------------------------------------------------------------
   /**
    * Obtains an instance from the specified name.uau(f44d43be5226d9f415cd9cc082b9178e16b5d022}(sha(f44d43be5226d9f415cd9cc082b9178e16b5d022node_idEC_kwDOAT6l0doAKGY0NGQ0M2JlNTIyNmQ5ZjQxNWNkOWNjMDgyYjkxNzhlMTZiNWQwMjIcommit}(author}(nameAnandemail*49917470+anand-uk@users.noreply.github.comdate2023-05-05T15:00:51Zu	committer}(jK  GitHubjK  noreply@github.comjK  2023-05-05T15:00:51Zumessage7Expand ArgChecker to validate non-positive args (#2568)tree}(jK  (fe0e9ae1a3eb34789daf276bc49d399c1d38c71eurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/fe0e9ae1a3eb34789daf276bc49d399c1d38c71eujK  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f44d43be5226d9f415cd9cc082b9178e16b5d022
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkVRojCRBK7hj4Ov3rIwAAX84IAIohhog3KI5DgEF23Xz1Kpsb
9NRARlqJ8aBeVi1p8bc52RZjcAxDixrkZ8DewDTatHDAa0VUZoe8Vuca/m1tync/
pc9PYiK9oeeem/+TI8WhoGnqo7UnUzAF74/PRE+qDIDw5MfO4YL2UujJx1I/Ttwu
bz/GiExqvtfaPIR5QPXMALz82VQQkif2owzDjVlZOJmTgEmBhf2zLpaV3GPGwVbz
3U5CbX+N9b7PEINUpwpPNaUONS9UDrPOAj0RVfHerZXsHnvL5EdBkerd331xTGUT
H1qjYP24ke6e+iDHZUgPOTMN8JZAwVgcqkw+tE0Fk/nxOPjKLxcVK83PU868vXs=
=o4Qe
-----END PGP SIGNATURE-----
payloadX  tree fe0e9ae1a3eb34789daf276bc49d399c1d38c71e
parent 55b46cbeaff2939163e004c37de98e74c2f9a86b
author Anand <49917470+anand-uk@users.noreply.github.com> 1683298851 +0100
committer GitHub <noreply@github.com> 1683298851 +0100

Expand ArgChecker to validate non-positive args (#2568)

uujK  ^https://api.github.com/repos/OpenGamma/Strata/commits/f44d43be5226d9f415cd9cc082b9178e16b5d022html_urlShttps://github.com/OpenGamma/Strata/commit/f44d43be5226d9f415cd9cc082b9178e16b5d022comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f44d43be5226d9f415cd9cc082b9178e16b5d022/commentsjK  }(loginanand-ukidJjK  MDQ6VXNlcjQ5OTE3NDcw
avatar_url4https://avatars.githubusercontent.com/u/49917470?v=4gravatar_idh3jK  %https://api.github.com/users/anand-ukjK  https://github.com/anand-uk
followers_url/https://api.github.com/users/anand-uk/followers
following_url<https://api.github.com/users/anand-uk/following{/other_user}	gists_url5https://api.github.com/users/anand-uk/gists{/gist_id}starred_url<https://api.github.com/users/anand-uk/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/anand-uk/subscriptionsorganizations_url*https://api.github.com/users/anand-uk/orgs	repos_url+https://api.github.com/users/anand-uk/repos
events_url6https://api.github.com/users/anand-uk/events{/privacy}received_events_url5https://api.github.com/users/anand-uk/received_eventstypeUser
site_adminujK  }(jK  web-flowjK  J/jK  MDQ6VXNlcjE5ODY0NDQ3jK  4https://avatars.githubusercontent.com/u/19864447?v=4jK  h3jK  %https://api.github.com/users/web-flowjK  https://github.com/web-flowjK  /https://api.github.com/users/web-flow/followersjK  <https://api.github.com/users/web-flow/following{/other_user}jK  5https://api.github.com/users/web-flow/gists{/gist_id}jK  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jK  3https://api.github.com/users/web-flow/subscriptionsjK  *https://api.github.com/users/web-flow/orgsjK  +https://api.github.com/users/web-flow/reposjK  6https://api.github.com/users/web-flow/events{/privacy}jK  5https://api.github.com/users/web-flow/received_eventsjK  UserjK  uparents]}(jK  (55b46cbeaff2939163e004c37de98e74c2f9a86bjK  ^https://api.github.com/repos/OpenGamma/Strata/commits/55b46cbeaff2939163e004c37de98e74c2f9a86bjK  Shttps://github.com/OpenGamma/Strata/commit/55b46cbeaff2939163e004c37de98e74c2f9a86buastats}(totalK	additionsK	deletionsK ufiles](}(jK  (35afca14f9279bb0a76d58d4de206729c4ce4c63filenameJmodules/collect/src/main/java/com/opengamma/strata/collect/ArgChecker.javastatusmodifiedjL  KpjL  K changesKpblob_urlhttps://github.com/OpenGamma/Strata/blob/f44d43be5226d9f415cd9cc082b9178e16b5d022/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgChecker.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/f44d43be5226d9f415cd9cc082b9178e16b5d022/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgChecker.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgChecker.java?ref=f44d43be5226d9f415cd9cc082b9178e16b5d022patchX  @@ -752,6 +752,118 @@ private static String noDuplicatesSortedArrayMsg(String name) {
     return "Argument array '" + name + "' must be sorted and not contain duplicates";
   }
 
+  //-------------------------------------------------------------------------
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is positive
+   */
+  public static int notPositive(int argument, String name) {
+    if (argument > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  private static String notPositiveMsg(String name, Object argument) {
+    return "Argument '" + name + "' must not be positive but has value " + argument;
+  }
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is positive
+   */
+  public static long notPositive(long argument, String name) {
+    if (argument > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is positive
+   */
+  public static double notPositive(double argument, String name) {
+    if (argument > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  /**
+   * Checks that the argument is not positive.
+   * <p>
+   * Given the input argument, this returns only if it is not null and is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositive(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is null or positive
+   */
+  public static Decimal notPositive(Decimal argument, String name) {
+    notNull(argument, name);
+    if (argument.unscaledValue() > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
+  /**
+   * Checks that the argument is not positive if the arguement is not null.
+   * <p>
+   * Given the input argument, this returns only if it is null or if it is less than or equal to zero.
+   * For example, in a constructor:
+   * <pre>
+   *  this.amount = ArgChecker.notPositiveIfPresent(amount, "amount");
+   * </pre>
+   *
+   * @param argument  the argument to check
+   * @param name  the name of the argument to use in the error message, not null
+   * @return the input {@code argument}
+   * @throws IllegalArgumentException if the input is not null and is positive
+   */
+  public static Decimal notPositiveIfPresent(Decimal argument, String name) {
+    if (argument != null && argument.unscaledValue() > 0) {
+      throw new IllegalArgumentException(notPositiveMsg(name, argument));
+    }
+    return argument;
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks that the argument is not negative.u}(jK  (29e1fa58aaf58d54c11444624c8560c256e102f6jL  Nmodules/collect/src/test/java/com/opengamma/strata/collect/ArgCheckerTest.javajL  modifiedjL  KDjL  K jL  KDjL  https://github.com/OpenGamma/Strata/blob/f44d43be5226d9f415cd9cc082b9178e16b5d022/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgCheckerTest.javajL  https://github.com/OpenGamma/Strata/raw/f44d43be5226d9f415cd9cc082b9178e16b5d022/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgCheckerTest.javajL  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FArgCheckerTest.java?ref=f44d43be5226d9f415cd9cc082b9178e16b5d022jL  X|
  @@ -536,6 +536,74 @@ public void test_noNulls_Map_nullValue() {
         .withMessageMatching(".*map.*'name'.*null.*");
   }
 
+  //-------------------------------------------------------------------------
+  @Test
+  public void test_notPositive_int_ok() {
+    assertThat(ArgChecker.notPositive(0, "name")).isEqualTo(0);
+    assertThat(ArgChecker.notPositive(-1, "name")).isEqualTo(-1);
+  }
+
+  @Test
+  public void test_notPositve_int_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(1, "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+
+  }
+
+  @Test
+  public void test_notPositive_long_ok() {
+    assertThat(ArgChecker.notPositive(0L, "name")).isEqualTo(0L);
+    assertThat(ArgChecker.notPositive(-1L, "name")).isEqualTo(-1L);
+  }
+
+  @Test
+  public void test_notPositive_long_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(1L, "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
+  @Test
+  public void test_notPositive_double_ok() {
+    assertThat(ArgChecker.notPositive(0d, "name")).isEqualTo(0d);
+    assertThat(ArgChecker.notPositive(-1d, "name")).isEqualTo(-1d);
+  }
+
+  @Test
+  public void test_notPositive_double_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(1d, "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
+  @Test
+  public void test_notPositive_Decimal_ok() {
+    assertThat(ArgChecker.notPositive(Decimal.of(0), "name")).isEqualTo(Decimal.of(0));
+    assertThat(ArgChecker.notPositive(Decimal.of(-1), "name")).isEqualTo(Decimal.of(-1));
+  }
+
+  @Test
+  public void test_notPositive_Decimal_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositive(Decimal.of(1), "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
+  @Test
+  public void test_notPositiveIfPresent_Decimal_ok() {
+    assertThat(ArgChecker.notPositiveIfPresent(null, "name")).isNull();
+    assertThat(ArgChecker.notPositiveIfPresent(Decimal.of(0), "name")).isEqualTo(Decimal.of(0));
+    assertThat(ArgChecker.notPositiveIfPresent(Decimal.of(-1), "name")).isEqualTo(Decimal.of(-1));
+  }
+
+  @Test
+  public void test_notPositiveIfPresent_Decimal_positive() {
+    assertThatIllegalArgumentException()
+        .isThrownBy(() -> ArgChecker.notPositiveIfPresent(Decimal.of(1), "name"))
+        .withMessageMatching(".*'name'.*positive.*");
+  }
+
   //-------------------------------------------------------------------------
   @Test
   public void test_notNegative_int_ok() {ueu(b7d96223bd9cc9266e2da32b99b57951ae6aa5fe}(sha(b7d96223bd9cc9266e2da32b99b57951ae6aa5fenode_idEC_kwDOAT6l0doAKGI3ZDk2MjIzYmQ5Y2M5MjY2ZTJkYTMyYjk5YjU3OTUxYWU2YWE1ZmUcommit}(author}(nameAaronemail+110403946+aaron-og@users.noreply.github.comdate2023-05-23T17:48:45Zu	committer}(j+L  Aaronj-L  +110403946+aaron-og@users.noreply.github.comj/L  2023-05-23T17:48:45Zumessagecheckstyle fixtree}(j#L  (0a54480ff62adc67cb18cde990789d968da5a120url`https://api.github.com/repos/OpenGamma/Strata/git/trees/0a54480ff62adc67cb18cde990789d968da5a120uj;L  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/b7d96223bd9cc9266e2da32b99b57951ae6aa5fe
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuuj;L  ^https://api.github.com/repos/OpenGamma/Strata/commits/b7d96223bd9cc9266e2da32b99b57951ae6aa5fehtml_urlShttps://github.com/OpenGamma/Strata/commit/b7d96223bd9cc9266e2da32b99b57951ae6aa5fecomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/b7d96223bd9cc9266e2da32b99b57951ae6aa5fe/commentsj)L  }(loginaaron-ogidJjj%L  U_kgDOBpShag
avatar_url5https://avatars.githubusercontent.com/u/110403946?v=4gravatar_idh3j;L  %https://api.github.com/users/aaron-ogjGL  https://github.com/aaron-og
followers_url/https://api.github.com/users/aaron-og/followers
following_url<https://api.github.com/users/aaron-og/following{/other_user}	gists_url5https://api.github.com/users/aaron-og/gists{/gist_id}starred_url<https://api.github.com/users/aaron-og/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/aaron-og/subscriptionsorganizations_url*https://api.github.com/users/aaron-og/orgs	repos_url+https://api.github.com/users/aaron-og/repos
events_url6https://api.github.com/users/aaron-og/events{/privacy}received_events_url5https://api.github.com/users/aaron-og/received_eventstypeUser
site_adminuj1L  }(jLL  aaron-ogjNL  Jjj%L  U_kgDOBpShagjPL  5https://avatars.githubusercontent.com/u/110403946?v=4jRL  h3j;L  %https://api.github.com/users/aaron-ogjGL  https://github.com/aaron-ogjUL  /https://api.github.com/users/aaron-og/followersjWL  <https://api.github.com/users/aaron-og/following{/other_user}jYL  5https://api.github.com/users/aaron-og/gists{/gist_id}j[L  <https://api.github.com/users/aaron-og/starred{/owner}{/repo}j]L  3https://api.github.com/users/aaron-og/subscriptionsj_L  *https://api.github.com/users/aaron-og/orgsjaL  +https://api.github.com/users/aaron-og/reposjcL  6https://api.github.com/users/aaron-og/events{/privacy}jeL  5https://api.github.com/users/aaron-og/received_eventsjgL  UserjiL  uparents]}(j#L  (2850298d369800c6995814ad79b5ced3d614eae3j;L  ^https://api.github.com/repos/OpenGamma/Strata/commits/2850298d369800c6995814ad79b5ced3d614eae3jGL  Shttps://github.com/OpenGamma/Strata/commit/2850298d369800c6995814ad79b5ced3d614eae3uastats}(totalK	additionsK	deletionsKufiles]}(j#L  (a05ea888488d48fc6a8b4268c865458c5dfe80b1filenameomodules/measure/src/test/java/com/opengamma/strata/measure/index/OvernightFutureOptionMarketDataLookupTest.javastatusmodifiedjL  KjL  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/b7d96223bd9cc9266e2da32b99b57951ae6aa5fe/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/b7d96223bd9cc9266e2da32b99b57951ae6aa5fe/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fmeasure%2Findex%2FOvernightFutureOptionMarketDataLookupTest.java?ref=b7d96223bd9cc9266e2da32b99b57951ae6aa5fepatch@@ -121,4 +121,4 @@ public void test_serialization() {
     assertSerialization(test);
   }
 
-}
\ No newline at end of file
+}uau(aadda1cc94bb6f846ef06bfa79e9c155af5a0f8e}(sha(aadda1cc94bb6f846ef06bfa79e9c155af5a0f8enode_idEC_kwDOAT6l0doAKGFhZGRhMWNjOTRiYjZmODQ2ZWYwNmJmYTc5ZTljMTU1YWY1YTBmOGUcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-08-07T08:22:41Zu	committer}(jL  GitHubjL  noreply@github.comjL  2023-08-07T08:22:41ZumessageX  Bump com.google.guava:guava from 31.1-jre to 32.1.2-jre (#2596)

Bumps [com.google.guava:guava](https://github.com/google/guava) from 31.1-jre to 32.1.2-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>tree}(jL  (eefc830f3db07009555282530e6891b9c201557burl`https://api.github.com/repos/OpenGamma/Strata/git/trees/eefc830f3db07009555282530e6891b9c201557bujL  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8e
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJk0KnRCRBK7hj4Ov3rIwAANysIAJXji6NH3Kxj1bu208R0fmav
QGYNmWdmMdLYbLoLSAVvQrdiwgxhGTavcVc1ha13kxbhm+xZcB0S66KULb6PZz4p
Z8gRkItkZPeePNi+hCrqAc4EqdzMwhkD8dNX5TkM0s275/SvDBa5vMYnP/6Oauvz
MznjCHhJHQqE3lU2JnH6UTOuAw6aa2GjuFiEf2rhTimHW3+IY3UCV8WkQapJmqa4
LWz0XeSvUIjr6woZI48H8hWudVnRZt7sChn/+5Gxcex4o4nRUSxJi7EqokpHkHQT
tmA/xjo0+WxOz4exq+V1N/PKgdfBI+xpBuEHy/VWEcOIAwRLLiIICZP+Uiz+C0U=
=R12Z
-----END PGP SIGNATURE-----
payloadX  tree eefc830f3db07009555282530e6891b9c201557b
parent dd9980c35054258743b8258acd8182c0ba3f3710
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1691396561 +0100
committer GitHub <noreply@github.com> 1691396561 +0100

Bump com.google.guava:guava from 31.1-jre to 32.1.2-jre (#2596)

Bumps [com.google.guava:guava](https://github.com/google/guava) from 31.1-jre to 32.1.2-jre.
- [Release notes](https://github.com/google/guava/releases)
- [Commits](https://github.com/google/guava/commits)

---
updated-dependencies:
- dependency-name: com.google.guava:guava
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>uujL  ^https://api.github.com/repos/OpenGamma/Strata/commits/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8ehtml_urlShttps://github.com/OpenGamma/Strata/commit/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8ecomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8e/commentsjL  }(logindependabot[bot]idJZjL  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jL  0https://api.github.com/users/dependabot%5Bbot%5DjL  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujL  }(jL  web-flowjL  J/jL  MDQ6VXNlcjE5ODY0NDQ3jL  4https://avatars.githubusercontent.com/u/19864447?v=4jL  h3jL  %https://api.github.com/users/web-flowjL  https://github.com/web-flowjL  /https://api.github.com/users/web-flow/followersjL  <https://api.github.com/users/web-flow/following{/other_user}jL  5https://api.github.com/users/web-flow/gists{/gist_id}jL  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jL  3https://api.github.com/users/web-flow/subscriptionsjL  *https://api.github.com/users/web-flow/orgsjL  +https://api.github.com/users/web-flow/reposjL  6https://api.github.com/users/web-flow/events{/privacy}jL  5https://api.github.com/users/web-flow/received_eventsjL  UserjL  uparents]}(jL  (dd9980c35054258743b8258acd8182c0ba3f3710jL  ^https://api.github.com/repos/OpenGamma/Strata/commits/dd9980c35054258743b8258acd8182c0ba3f3710jL  Shttps://github.com/OpenGamma/Strata/commit/dd9980c35054258743b8258acd8182c0ba3f3710uastats}(totalK	additionsK	deletionsKufiles]}(jL  (bc04e91e995fe23b22d74407a97951b1d4a4ef5ffilenamemodules/pom.xmlstatusmodifiedjL  KjL  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8e/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/aadda1cc94bb6f846ef06bfa79e9c155af5a0f8e/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=aadda1cc94bb6f846ef06bfa79e9c155af5a0f8epatchXl  @@ -765,7 +765,7 @@
     <asm.version>9.5</asm.version>
     <assertj.version>3.24.2</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
-    <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
+    <guava.version>32.1.2-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->
     <guava-docs.version>26.0-jre</guava-docs.version>
     <jcommander.version>1.78</jcommander.version>
     <joda-convert.version>2.2.3</joda-convert.version>uau(5c75e58a5fe2e6457197fcb1a127b156b8bf90ed}(sha(5c75e58a5fe2e6457197fcb1a127b156b8bf90ednode_idEC_kwDOAT6l0doAKDVjNzVlNThhNWZlMmU2NDU3MTk3ZmNiMWExMjdiMTU2YjhiZjkwZWQcommit}(author}(name
Yuki Iwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-02T12:55:08Zu	committer}(jM  GitHubjM  noreply@github.comjM  2023-05-02T12:55:08Zumessage6Merge branch 'main' into topic/inflation-bond-modifiertree}(jM  (1eaab788af4c52d658973c85f0e817b4ee6a2ac8url`https://api.github.com/repos/OpenGamma/Strata/git/trees/1eaab788af4c52d658973c85f0e817b4ee6a2ac8uj'M  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/5c75e58a5fe2e6457197fcb1a127b156b8bf90ed
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkUQgsCRBK7hj4Ov3rIwAAVKMIAEWyms8Ys/fkzc39ifoiS90Q
lEmKEGdPMLEZj0fkYgpN4T2yhSipcpZFha8vb6fei5l/QowrO5miyN/c/kHYfaQ5
SaEEKLT6x3dM+HdzCXwD33bYEDVD4b5ug4nxD1sxEdFD6AdwQzOXiZM+KFvGwERg
6qNGQmsheE22FXK7Snc36R9ETTxk1vYwZ47DJ6mfmoBWwjUFdPZ1oQovMdiLFWku
MRPIZnQHs5Dq4/+wpxaOnzrhxzcfe5c/hMGuJIjtPFsiRL7TDcV+Iw/4F7sIDcN4
SvW+eFQckNkKqkGVcl/4XY3FgnhOEUDzdL9mN9UycFzSpQtcvi4U8AzLVcGp6IU=
=ZCGq
-----END PGP SIGNATURE-----
payloadXJ  tree 1eaab788af4c52d658973c85f0e817b4ee6a2ac8
parent 13c705d5a6c56d7cd5b08309c30a3aacd58dbcea
parent ccada5ee85d215fbaab3c35eef06a2291007023d
author Yuki Iwashita <yukiiwashita@users.noreply.github.com> 1683032108 +0100
committer GitHub <noreply@github.com> 1683032108 +0100

Merge branch 'main' into topic/inflation-bond-modifieruuj'M  ^https://api.github.com/repos/OpenGamma/Strata/commits/5c75e58a5fe2e6457197fcb1a127b156b8bf90edhtml_urlShttps://github.com/OpenGamma/Strata/commit/5c75e58a5fe2e6457197fcb1a127b156b8bf90edcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/5c75e58a5fe2e6457197fcb1a127b156b8bf90ed/commentsjM  }(loginyukiiwashitaidJ- jM  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3j'M  )https://api.github.com/users/yukiiwashitaj5M  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminujM  }(j:M  web-flowj<M  J/jM  MDQ6VXNlcjE5ODY0NDQ3j>M  4https://avatars.githubusercontent.com/u/19864447?v=4j@M  h3j'M  %https://api.github.com/users/web-flowj5M  https://github.com/web-flowjCM  /https://api.github.com/users/web-flow/followersjEM  <https://api.github.com/users/web-flow/following{/other_user}jGM  5https://api.github.com/users/web-flow/gists{/gist_id}jIM  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jKM  3https://api.github.com/users/web-flow/subscriptionsjMM  *https://api.github.com/users/web-flow/orgsjOM  +https://api.github.com/users/web-flow/reposjQM  6https://api.github.com/users/web-flow/events{/privacy}jSM  5https://api.github.com/users/web-flow/received_eventsjUM  UserjWM  uparents](}(jM  (13c705d5a6c56d7cd5b08309c30a3aacd58dbceaj'M  ^https://api.github.com/repos/OpenGamma/Strata/commits/13c705d5a6c56d7cd5b08309c30a3aacd58dbceaj5M  Shttps://github.com/OpenGamma/Strata/commit/13c705d5a6c56d7cd5b08309c30a3aacd58dbceau}(jM  (ccada5ee85d215fbaab3c35eef06a2291007023dj'M  ^https://api.github.com/repos/OpenGamma/Strata/commits/ccada5ee85d215fbaab3c35eef06a2291007023dj5M  Shttps://github.com/OpenGamma/Strata/commit/ccada5ee85d215fbaab3c35eef06a2291007023duestats}(totalK	additionsK	deletionsKufiles]}(jM  (9b05e8cc72e3e3eaa2523adf47c83768a23a0ca3filenamemodules/pom.xmlstatusmodifiedjuM  KjvM  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/5c75e58a5fe2e6457197fcb1a127b156b8bf90ed/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/5c75e58a5fe2e6457197fcb1a127b156b8bf90ed/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=5c75e58a5fe2e6457197fcb1a127b156b8bf90edpatchX  @@ -771,7 +771,7 @@
     <joda-convert.version>2.2.3</joda-convert.version>
     <joda-beans.version>2.8.3</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
-    <junit5.version>5.9.2</junit5.version>
+    <junit5.version>5.9.3</junit5.version>
     <mockito.version>4.9.0</mockito.version>
     <slf4j.version>1.7.36</slf4j.version>
     <!-- Versions after M3 cause RequireFilesExist to reject relative paths -->uau(c6d2b76b388eb89c78f341f511f93bfa7ef8191a}(sha(c6d2b76b388eb89c78f341f511f93bfa7ef8191anode_idEC_kwDOAT6l0doAKGM2ZDJiNzZiMzg4ZWI4OWM3OGYzNDFmNTExZjkzYmZhN2VmODE5MWEcommit}(author}(nameBrian Welleremail&brianweller89@users.noreply.github.comdate2023-03-01T20:58:37Zu	committer}(jM  Brian WellerjM  &brianweller89@users.noreply.github.comjM  2023-03-01T20:58:37ZumessageMake ProductType constructor public, so ProductTypes can be defined in other packages alongside new Trade and Position implementationstree}(jM  (dafc31ff54a908f8bc2c578026eaba0fa1055fecurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/dafc31ff54a908f8bc2c578026eaba0fa1055fecujM  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/c6d2b76b388eb89c78f341f511f93bfa7ef8191a
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujM  ^https://api.github.com/repos/OpenGamma/Strata/commits/c6d2b76b388eb89c78f341f511f93bfa7ef8191ahtml_urlShttps://github.com/OpenGamma/Strata/commit/c6d2b76b388eb89c78f341f511f93bfa7ef8191acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/c6d2b76b388eb89c78f341f511f93bfa7ef8191a/commentsjM  }(login
brianweller89idJIejM  MDQ6VXNlcjIzNDM0MzEz
avatar_url4https://avatars.githubusercontent.com/u/23434313?v=4gravatar_idh3jM  *https://api.github.com/users/brianweller89jM   https://github.com/brianweller89
followers_url4https://api.github.com/users/brianweller89/followers
following_urlAhttps://api.github.com/users/brianweller89/following{/other_user}	gists_url:https://api.github.com/users/brianweller89/gists{/gist_id}starred_urlAhttps://api.github.com/users/brianweller89/starred{/owner}{/repo}subscriptions_url8https://api.github.com/users/brianweller89/subscriptionsorganizations_url/https://api.github.com/users/brianweller89/orgs	repos_url0https://api.github.com/users/brianweller89/repos
events_url;https://api.github.com/users/brianweller89/events{/privacy}received_events_url:https://api.github.com/users/brianweller89/received_eventstypeUser
site_adminujM  }(jM  
brianweller89jM  JIejM  MDQ6VXNlcjIzNDM0MzEzjM  4https://avatars.githubusercontent.com/u/23434313?v=4jM  h3jM  *https://api.github.com/users/brianweller89jM   https://github.com/brianweller89jM  4https://api.github.com/users/brianweller89/followersjM  Ahttps://api.github.com/users/brianweller89/following{/other_user}jM  :https://api.github.com/users/brianweller89/gists{/gist_id}jM  Ahttps://api.github.com/users/brianweller89/starred{/owner}{/repo}jM  8https://api.github.com/users/brianweller89/subscriptionsjM  /https://api.github.com/users/brianweller89/orgsjM  0https://api.github.com/users/brianweller89/reposjM  ;https://api.github.com/users/brianweller89/events{/privacy}jM  :https://api.github.com/users/brianweller89/received_eventsjM  UserjM  uparents]}(jM  (719ae61202e2c67a0baeeb1b916dc35cf37858a6jM  ^https://api.github.com/repos/OpenGamma/Strata/commits/719ae61202e2c67a0baeeb1b916dc35cf37858a6jM  Shttps://github.com/OpenGamma/Strata/commit/719ae61202e2c67a0baeeb1b916dc35cf37858a6uastats}(totalK	additionsK	deletionsKufiles]}(jM  (270f7fd3cedc763a547b08fefd4db9e2135e9e89filenameKmodules/product/src/main/java/com/opengamma/strata/product/ProductType.javastatusmodifiedjM  KjM  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/c6d2b76b388eb89c78f341f511f93bfa7ef8191a/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FProductType.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/c6d2b76b388eb89c78f341f511f93bfa7ef8191a/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FProductType.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FProductType.java?ref=c6d2b76b388eb89c78f341f511f93bfa7ef8191apatchXd  @@ -194,7 +194,7 @@ public static ProductType of(String name) {
    * @param description  the description
    * @return a type instance with the specified name
    */
-  private static ProductType of(String name, String description) {
+  public static ProductType of(String name, String description) {
     return new ProductType(name, description);
   }
 uau(148bc634bc37cea895ce13f8ea72fc1a3e1fbab8}(sha(148bc634bc37cea895ce13f8ea72fc1a3e1fbab8node_idEC_kwDOAT6l0doAKDE0OGJjNjM0YmMzN2NlYTg5NWNlMTNmOGVhNzJmYzFhM2UxZmJhYjgcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-08-03T07:32:55Zu	committer}(jN  GitHubj	N  noreply@github.comjN  2023-08-03T07:32:55ZumessageX  Bump org.junit:junit-bom from 5.9.3 to 5.10.0

Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.9.3 to 5.10.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.3...r5.10.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(jM  (614277fc637b24115eee784d2ebf51f641b8f0c8url`https://api.github.com/repos/OpenGamma/Strata/git/trees/614277fc637b24115eee784d2ebf51f641b8f0c8ujN  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/148bc634bc37cea895ce13f8ea72fc1a3e1fbab8
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJky1gnCRBK7hj4Ov3rIwAAu3kIAIFoD4nj/gLPsM6LKK8iIXIg
EhFR47cTmNKCgyopFuMCWTPSIgoIxaWRCn8ux7vugsvoK21NWWGbKaBaXmbRD7wB
bLZC29ymQ+HZ6GRtna0uJjsyYS6KmX+Urt0ccYXjWTYXh3sxW7O4dUz8gKGtT6xy
o+RpQgEhPdKsXhiUEaVl36+8mll7UtKKxUZ5nXOib0bDTU8vRCX0FidK081yMvXS
4lOEVxELITOnkE/B+kk5tj1qeFiWM7ncF/k4u/VbEubemt5XroRILzTKW/PSd8CR
dOMfWm4Yi4KuPHIl3rNPgxmsgVPig+YyMhKhALZ8vs+vabVtM8b+hkLY+j4DMdA=
=LteN
-----END PGP SIGNATURE-----
payloadX  tree 614277fc637b24115eee784d2ebf51f641b8f0c8
parent dd9980c35054258743b8258acd8182c0ba3f3710
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1691047975 +0000
committer GitHub <noreply@github.com> 1691047975 +0000

Bump org.junit:junit-bom from 5.9.3 to 5.10.0

Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.9.3 to 5.10.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.3...r5.10.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uujN  ^https://api.github.com/repos/OpenGamma/Strata/commits/148bc634bc37cea895ce13f8ea72fc1a3e1fbab8html_urlShttps://github.com/OpenGamma/Strata/commit/148bc634bc37cea895ce13f8ea72fc1a3e1fbab8comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/148bc634bc37cea895ce13f8ea72fc1a3e1fbab8/commentsjN  }(logindependabot[bot]idJZjN  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jN  0https://api.github.com/users/dependabot%5Bbot%5Dj%N  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminuj
N  }(j*N  web-flowj,N  J/jN  MDQ6VXNlcjE5ODY0NDQ3j.N  4https://avatars.githubusercontent.com/u/19864447?v=4j0N  h3jN  %https://api.github.com/users/web-flowj%N  https://github.com/web-flowj3N  /https://api.github.com/users/web-flow/followersj5N  <https://api.github.com/users/web-flow/following{/other_user}j7N  5https://api.github.com/users/web-flow/gists{/gist_id}j9N  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j;N  3https://api.github.com/users/web-flow/subscriptionsj=N  *https://api.github.com/users/web-flow/orgsj?N  +https://api.github.com/users/web-flow/reposjAN  6https://api.github.com/users/web-flow/events{/privacy}jCN  5https://api.github.com/users/web-flow/received_eventsjEN  UserjGN  uparents]}(jM  (dd9980c35054258743b8258acd8182c0ba3f3710jN  ^https://api.github.com/repos/OpenGamma/Strata/commits/dd9980c35054258743b8258acd8182c0ba3f3710j%N  Shttps://github.com/OpenGamma/Strata/commit/dd9980c35054258743b8258acd8182c0ba3f3710uastats}(totalK	additionsK	deletionsKufiles]}(jM  (e9b0afc49afc02a07cff03a0feb336d0e336ca24filenamemodules/pom.xmlstatusmodifiedjaN  KjbN  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/148bc634bc37cea895ce13f8ea72fc1a3e1fbab8/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/148bc634bc37cea895ce13f8ea72fc1a3e1fbab8/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=148bc634bc37cea895ce13f8ea72fc1a3e1fbab8patchX  @@ -771,7 +771,7 @@
     <joda-convert.version>2.2.3</joda-convert.version>
     <joda-beans.version>2.8.3</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
-    <junit5.version>5.9.3</junit5.version>
+    <junit5.version>5.10.0</junit5.version>
     <mockito.version>4.9.0</mockito.version>
     <slf4j.version>1.7.36</slf4j.version>
     <!-- Versions after M3 cause RequireFilesExist to reject relative paths -->uau(622a01e37a399485a0adeb0e9ced19854bebd3b0}(sha(622a01e37a399485a0adeb0e9ced19854bebd3b0node_idEC_kwDOAT6l0doAKDYyMmEwMWUzN2EzOTk0ODVhMGFkZWIwZTljZWQxOTg1NGJlYmQzYjAcommit}(author}(name
Yuki Iwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-30T12:11:43Zu	committer}(j~N  GitHubjN  noreply@github.comjN  2023-05-30T12:11:43Zumessage7Yield and Price Derivatives for Inflation Bonds (#2581)tree}(jvN  (f15347d0da13e2388be749d68a20aa613fbfaf6furl`https://api.github.com/repos/OpenGamma/Strata/git/trees/f15347d0da13e2388be749d68a20aa613fbfaf6fujN  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/622a01e37a399485a0adeb0e9ced19854bebd3b0
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkdef/CRBK7hj4Ov3rIwAA8qkIADHUUssUxrWr1r+5qgUIyfxV
RwLQL3HMnd1I2grrztTSUJ+01YE5pb3GAJgLSJU/sZ7HNRyA/4gvKVOtce9lysH5
xDeVu4eiemWMbgf5GwST4USkH4g0AzqT+87j4IaPy+WuPlH1Omsgb+LNsvY9h11p
b01hbOhGqTk+1QaisqnpzFqNrlvLpjY5ipUcqOjRCyT8/OYxJZJPG5Z1rIk6FgQ7
kUH12P+nXW+8TasV/GuBIWVpQ1bOnIggfcufcATblErOp2WdJq3mFoUNdkd+vy8N
zKfYDWTCTOR0MFs9TdIUqQXE6Ee5n0LQFYfix7vI7b1BlVVPKd8z0+G235D4ZWE=
=hFD0
-----END PGP SIGNATURE-----
payloadX  tree f15347d0da13e2388be749d68a20aa613fbfaf6f
parent d76f43c8898ae22b93623549d28010f2b237ff37
author Yuki Iwashita <yukiiwashita@users.noreply.github.com> 1685448703 +0100
committer GitHub <noreply@github.com> 1685448703 +0100

Yield and Price Derivatives for Inflation Bonds (#2581)

uujN  ^https://api.github.com/repos/OpenGamma/Strata/commits/622a01e37a399485a0adeb0e9ced19854bebd3b0html_urlShttps://github.com/OpenGamma/Strata/commit/622a01e37a399485a0adeb0e9ced19854bebd3b0comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/622a01e37a399485a0adeb0e9ced19854bebd3b0/commentsj|N  }(loginyukiiwashitaidJ- jxN  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3jN  )https://api.github.com/users/yukiiwashitajN  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminujN  }(jN  web-flowjN  J/jxN  MDQ6VXNlcjE5ODY0NDQ3jN  4https://avatars.githubusercontent.com/u/19864447?v=4jN  h3jN  %https://api.github.com/users/web-flowjN  https://github.com/web-flowjN  /https://api.github.com/users/web-flow/followersjN  <https://api.github.com/users/web-flow/following{/other_user}jN  5https://api.github.com/users/web-flow/gists{/gist_id}jN  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jN  3https://api.github.com/users/web-flow/subscriptionsjN  *https://api.github.com/users/web-flow/orgsjN  +https://api.github.com/users/web-flow/reposjN  6https://api.github.com/users/web-flow/events{/privacy}jN  5https://api.github.com/users/web-flow/received_eventsjN  UserjN  uparents]}(jvN  (d76f43c8898ae22b93623549d28010f2b237ff37jN  ^https://api.github.com/repos/OpenGamma/Strata/commits/d76f43c8898ae22b93623549d28010f2b237ff37jN  Shttps://github.com/OpenGamma/Strata/commit/d76f43c8898ae22b93623549d28010f2b237ff37uastats}(totalM	additionsM	deletionsKufiles](}(jvN  (185c12c22b7b6fb8d69fbe476d8d0e2e40d7d257filenameCmodules/data/src/main/java/com/opengamma/strata/data/FieldName.javastatusmodifiedjN  KjN  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldName.java?ref=622a01e37a399485a0adeb0e9ced19854bebd3b0patchX  @@ -47,6 +47,18 @@ public final class FieldName
    * The clean price does not include the accrued interest.
    */
   public static final FieldName CLEAN_PRICE = of("CleanPrice");
+  /**
+   * The field name for the clean real price of a capital indexed bond.
+   * <p>
+   * The clean real price does not include the accrued interest.
+   */
+  public static final FieldName CLEAN_REAL_PRICE = of("CleanRealPrice");
+  /**
+   * The field name for the clean nominal price of a capital indexed bond.
+   * <p>
+   * The clean nominal price does not include the accrued interest.
+   */
+  public static final FieldName CLEAN_NOMINAL_PRICE = of("CleanNominalPrice");
   /**
    * The field name for the dirty price of a coupon bond.
    * <p>
@@ -63,6 +75,18 @@ public final class FieldName
    * This is used to refer to the yield of a coupon bond or bill.
    */
   public static final FieldName YIELD_TO_MATURITY = of("YieldToMaturity");
+  /**
+   * The field name for the real yield.
+   * <p>
+   * This is used to refer to the real yield of a capital indexed bond.
+   */
+  public static final FieldName REAL_YIELD_TO_MATURITY = of("RealYieldToMaturity");
+  /**
+   * The field name for the nominal yield.
+   * <p>
+   * This is used to refer to the yield of a coupon bond or bill.
+   */
+  public static final FieldName NOMINAL_YIELD_TO_MATURITY = of("NominalYieldToMaturity");
   /**
    * The field name for the par yield.
    * <p>u}(jvN  (03141b1120ec41ba9c3242553ac0a4aa1ce5e14ajN  Gmodules/data/src/test/java/com/opengamma/strata/data/FieldNameTest.javajN  modifiedjN  KjN  K jN  KjN  https://github.com/OpenGamma/Strata/blob/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javajN  https://github.com/OpenGamma/Strata/raw/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.javajN  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fdata%2FFieldNameTest.java?ref=622a01e37a399485a0adeb0e9ced19854bebd3b0jN  X  @@ -22,6 +22,14 @@ public void test_of() {
     assertThat(yieldToMaturity).isEqualTo(FieldName.YIELD_TO_MATURITY);
     FieldName parYield = FieldName.of("ParYield");
     assertThat(parYield).isEqualTo(FieldName.PAR_YIELD);
+    FieldName cleanRealPrice = FieldName.of("CleanRealPrice");
+    assertThat(cleanRealPrice).isEqualTo(FieldName.CLEAN_REAL_PRICE);
+    FieldName cleanNominalPrice = FieldName.of("CleanNominalPrice");
+    assertThat(cleanNominalPrice).isEqualTo(FieldName.CLEAN_NOMINAL_PRICE);
+    FieldName realYieldToMaturity = FieldName.of("RealYieldToMaturity");
+    assertThat(realYieldToMaturity).isEqualTo(FieldName.REAL_YIELD_TO_MATURITY);
+    FieldName nominalYieldToMaturity = FieldName.of("NominalYieldToMaturity");
+    assertThat(nominalYieldToMaturity).isEqualTo(FieldName.NOMINAL_YIELD_TO_MATURITY);
   }
 
   //-----------------------------------------------------------------------u}(jvN  (263361245c6c2d232b962a329ff1c0eba02b344ejN  mmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricer.javajN  modifiedjN  KjN  KjN  KjN  https://github.com/OpenGamma/Strata/blob/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javajN  https://github.com/OpenGamma/Strata/raw/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javajN  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.java?ref=622a01e37a399485a0adeb0e9ced19854bebd3b0jN  X:  @@ -16,7 +16,9 @@
 import com.opengamma.strata.basics.currency.Currency;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
 import com.opengamma.strata.basics.currency.MultiCurrencyAmount;
+import com.opengamma.strata.basics.value.ValueDerivatives;
 import com.opengamma.strata.collect.ArgChecker;
+import com.opengamma.strata.collect.array.DoubleArray;
 import com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries;
 import com.opengamma.strata.market.sensitivity.PointSensitivityBuilder;
 import com.opengamma.strata.math.impl.rootfinding.BracketRoot;
@@ -702,6 +704,154 @@ public double dirtyPriceFromRealYield(
         "The convention " + bond.getYieldConvention().toString() + " is not supported.");
   }
 
+  /**
+   * Computes the dirty price from the conventional real yield and its derivative wrt the yield.
+   * <p>
+   * The resulting dirty price is real price or nominal price depending on the yield convention.
+   * <p>
+   * The input yield and output are expressed in fraction.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param yield  the yield
+   * @return the dirty price of the product and its derivative
+   */
+  public ValueDerivatives dirtyPriceFromRealYieldAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double yield) {
+
+    ArgChecker.isTrue(settlementDate.isBefore(bond.getUnadjustedEndDate()),
+        "settlement date must be before end date");
+    int periodIndex = bond.findPeriodIndex(settlementDate)
+        .orElseThrow(() -> new IllegalArgumentException("Date outside range of bond"));
+    CapitalIndexedBondPaymentPeriod period = bond.getPeriodicPayments().get(periodIndex);
+    int nbCoupon = bond.getPeriodicPayments().size() - periodIndex;
+    double couponPerYear = bond.getFrequency().eventsPerYear();
+    CapitalIndexedBondYieldConvention yieldConvention = bond.getYieldConvention();
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.US_IL_REAL)) {
+      double pvAtFirstCoupon;
+      double pvAtFirstCouponDeriv;
+      double cpnRate = bond.getPeriodicPayments().get(0).getRealCoupon();
+      if (Math.abs(yield) > 1.0E-8) {
+        double factorOnPeriod = 1d + yield / couponPerYear;
+        double factorOnPeriodDeriv =  1d / couponPerYear;
+        double vn = Math.pow(factorOnPeriod, 1 - nbCoupon);
+        double vnDeriv = (1d - nbCoupon) * Math.pow(factorOnPeriod, -nbCoupon) * factorOnPeriodDeriv;
+        pvAtFirstCoupon = cpnRate * couponPerYear / yield * (factorOnPeriod - vn) + vn;
+        pvAtFirstCouponDeriv = -cpnRate * couponPerYear / yield / yield * (factorOnPeriod - vn) +
+            cpnRate * couponPerYear / yield * (factorOnPeriodDeriv - vnDeriv) + vnDeriv;
+      } else {
+        pvAtFirstCoupon = cpnRate * nbCoupon + 1d;
+        pvAtFirstCouponDeriv = (1d - nbCoupon) / couponPerYear + 0.5 * (1d - nbCoupon) * nbCoupon * cpnRate / couponPerYear;
+      }
+      double den = 1d + factorToNextCoupon(bond, settlementDate) * yield / couponPerYear;
+      double denDeriv = factorToNextCoupon(bond, settlementDate) / couponPerYear;
+      double price =  pvAtFirstCoupon / den;
+      double priceDeriv =  pvAtFirstCouponDeriv / den - pvAtFirstCoupon / den / den * denDeriv;
+      return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+    }
+
+    double realRate = period.getRealCoupon();
+    double firstYearFraction = bond.yearFraction(period.getUnadjustedStartDate(), period.getUnadjustedEndDate());
+    double v = 1d / (1d + yield / couponPerYear);
+    double vDeriv = -v * v / couponPerYear;
+    double rs = ratioPeriodToNextCoupon(period, settlementDate);
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
+      RateComputation obs = period.getRateComputation();
+      LocalDateDoubleTimeSeries ts = ratesProvider.priceIndexValues(bond.getRateCalculation().getIndex()).getFixings();
+      YearMonth lastKnownFixingMonth = YearMonth.from(ts.getLatestDate());
+      double indexRatio = ts.getLatestValue() / bond.getFirstIndexValue();
+      YearMonth endFixingMonth = null;
+      if (obs instanceof InflationEndInterpolatedRateComputation) {
+        endFixingMonth = ((InflationEndInterpolatedRateComputation) obs).getEndSecondObservation().getFixingMonth();
+      } else if (obs instanceof InflationEndMonthRateComputation) {
+        endFixingMonth = ((InflationEndMonthRateComputation) obs).getEndObservation().getFixingMonth();
+      } else {
+        throw new IllegalArgumentException("The rate observation " + obs.toString() + " is not supported.");
+      }
+      double nbMonth = Math.abs(MONTHS.between(endFixingMonth, lastKnownFixingMonth));
+      double u = Math.sqrt(1d / 1.03);
+      double a = indexRatio * Math.pow(u, nbMonth / 6d);
+      if (nbCoupon == 1) {
+        double price = (realRate + 1d) * a / u * Math.pow(u * v, rs);
+        double priceDeriv = (realRate + 1d) * a / u * Math.pow(u * v, rs - 1d) * rs * u * vDeriv;
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      } else {
+        double firstCashFlow = firstYearFraction * realRate * indexRatio * couponPerYear;
+        CapitalIndexedBondPaymentPeriod secondPeriod = bond.getPeriodicPayments().get(periodIndex + 1);
+        double secondYearFraction = bond.yearFraction(secondPeriod.getUnadjustedStartDate(), secondPeriod.getUnadjustedEndDate());
+        double secondCashFlow = secondYearFraction * realRate * indexRatio * couponPerYear;
+        double vn = Math.pow(v, nbCoupon - 1);
+        double vnDeriv = (nbCoupon - 1d) * Math.pow(v, nbCoupon - 2) * vDeriv;
+        double pvAtFirstCoupon =
+            firstCashFlow + secondCashFlow * u * v + a * realRate * v * v * (1d - vn / v) / (1d - v) + a * vn;
+        double pvAtFirstCouponDeriv =
+             secondCashFlow * u * vDeriv + a * vnDeriv +
+                 2d * a * realRate * v * vDeriv * (1d - vn / v) / (1d - v) -
+                 a * realRate * v * vnDeriv / (1d - v) +
+                 a * realRate * vn * vDeriv / (1d - v) +
+                 a * realRate * v * v * (1d - vn / v) / Math.pow(1d - v, 2) * vDeriv;
+        double price = pvAtFirstCoupon * Math.pow(u * v, rs);
+        double priceDeriv = pvAtFirstCouponDeriv * Math.pow(u * v, rs) +
+            rs * u * vDeriv * pvAtFirstCoupon * Math.pow(u * v, rs - 1);
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      }
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.GB_IL_BOND)) {
+      double indexRatio = indexRatio(bond, ratesProvider, settlementDate);
+      double firstCashFlow = realRate * indexRatio * firstYearFraction * couponPerYear;
+      if (nbCoupon == 1) {
+        double price = Math.pow(v, rs) * (firstCashFlow + 1d);
+        double priceDeriv = rs * vDeriv * Math.pow(v, rs - 1d) * (firstCashFlow + 1d);
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      } else {
+        CapitalIndexedBondPaymentPeriod secondPeriod = bond.getPeriodicPayments().get(periodIndex + 1);
+        double secondYearFraction = bond.yearFraction(secondPeriod.getUnadjustedStartDate(), secondPeriod.getUnadjustedEndDate());
+        double secondCashFlow = realRate * indexRatio * secondYearFraction * couponPerYear;
+        double vn = Math.pow(v, nbCoupon - 1);
+        double vnDeriv = (nbCoupon - 1d) * vDeriv * Math.pow(v, nbCoupon - 2);
+        double pvAtFirstCoupon = firstCashFlow + secondCashFlow * v + realRate * v * v * (1d - vn / v) / (1d - v) + vn;
+        double pvAtFirstCouponDeriv = secondCashFlow * vDeriv + vnDeriv +
+            2d * realRate * v * vDeriv * (1d - vn / v) / (1d - v) -
+            realRate * v * vnDeriv / (1d - v) +
+            realRate * vDeriv * vn / (1d - v) +
+            realRate * v * v * vDeriv * (1d - vn / v) / Math.pow(1d - v, 2);
+        double price = pvAtFirstCoupon * Math.pow(v, rs);
+        double priceDeriv = pvAtFirstCouponDeriv * Math.pow(v, rs) + pvAtFirstCoupon * Math.pow(v, rs - 1) * vDeriv * rs;
+        return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+      }
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.JP_IL_SIMPLE)) {
+      LocalDate maturityDate = bond.getEndDate();
+      double maturity = bond.yearFraction(settlementDate, maturityDate);
+      double cleanPrice = (1d + realRate * couponPerYear * maturity) / (1d + yield * maturity);
+      double cleanPriceDeriv = -cleanPrice * maturity / (1d + yield * maturity);
+      double price = dirtyRealPriceFromCleanRealPrice(bond, settlementDate, cleanPrice);
+      return ValueDerivatives.of(price, DoubleArray.of(cleanPriceDeriv));
+    }
+    if (yieldConvention.equals(CapitalIndexedBondYieldConvention.JP_IL_COMPOUND)) {
+      double pvAtFirstCoupon = 0d;
+      double pvAtFirstCouponDeriv = 0d;
+      for (int loopcpn = 0; loopcpn < nbCoupon; loopcpn++) {
+        CapitalIndexedBondPaymentPeriod paymentPeriod = bond.getPeriodicPayments().get(loopcpn + periodIndex);
+        pvAtFirstCoupon += paymentPeriod.getRealCoupon() * Math.pow(v, loopcpn);
+        pvAtFirstCouponDeriv += paymentPeriod.getRealCoupon() * loopcpn * Math.pow(v, loopcpn - 1) * vDeriv;
+      }
+      pvAtFirstCoupon += Math.pow(v, nbCoupon - 1);
+      pvAtFirstCouponDeriv += (nbCoupon - 1) * Math.pow(v, nbCoupon - 2) * vDeriv;
+      double factorToNext = factorToNextCoupon(bond, settlementDate);
+      double price = pvAtFirstCoupon * Math.pow(v, factorToNext);
+      double priceDeriv = pvAtFirstCouponDeriv * Math.pow(v, factorToNext) +
+          pvAtFirstCoupon * factorToNext * Math.pow(v, factorToNext - 1d) * vDeriv;
+      return ValueDerivatives.of(price, DoubleArray.of(priceDeriv));
+    }
+    throw new IllegalArgumentException(
+        "The convention " + bond.getYieldConvention().toString() + " is not supported.");
+  }
+
   /**
    * Computes the clean price from the conventional real yield.
    * <p>
@@ -724,9 +874,6 @@ public double cleanPriceFromRealYield(
       double yield) {
 
     double dirtyPrice = dirtyPriceFromRealYield(bond, ratesProvider, settlementDate, yield);
-    if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-      return cleanNominalPriceFromDirtyNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice);
-    }
     return cleanRealPriceFromDirtyRealPrice(bond, settlementDate, dirtyPrice);
   }
 
@@ -761,6 +908,38 @@ public Double apply(Double y) {
     return yield;
   }
 
+  /**
+   * Computes the conventional real yield from the dirty price and its derivaitve wrt the dirty price.
+   * <p>
+   * The input dirty price should be real price or nominal price depending on the yield convention. This is coherent to
+   * the implementation of {@link #dirtyPriceFromRealYield(ResolvedCapitalIndexedBond, RatesProvider, LocalDate, double)}.
+   * <p>
+   * The input price and output are expressed in fraction.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param dirtyPrice  the bond dirty price
+   * @return the yield of the product and its derivative
+   */
+  public ValueDerivatives realYieldFromDirtyPriceAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double dirtyPrice) {
+
+    final Function<Double, Double> priceResidual = new Function<Double, Double>() {
+      @Override
+      public Double apply(Double y) {
+        return dirtyPriceFromRealYield(bond, ratesProvider, settlementDate, y) - dirtyPrice;
+      }
+    };
+    double[] range = ROOT_BRACKETER.getBracketedPoints(priceResidual, -0.05, 0.10);
+    double yield = ROOT_FINDER.getRoot(priceResidual, range[0], range[1]);
+    ValueDerivatives priceDYield = dirtyPriceFromRealYieldAd(bond, ratesProvider, settlementDate, yield);
+    return ValueDerivatives.of(yield, DoubleArray.of(1.0 / priceDYield.getDerivative(0)));
+  }
+
   /**
    * Computes the conventional real yield from the curves.
    * <p>
@@ -780,15 +959,10 @@ public double realYieldFromCurves(
 
     validate(ratesProvider, discountingProvider);
     LocalDate settlementDate = bond.calculateSettlementDateFromValuation(ratesProvider.getValuationDate(), refData);
-    double dirtyPrice;
-    if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-      dirtyPrice = dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
-    } else {
-      double dirtyNominalPrice =
-          dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
-      dirtyPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyNominalPrice);
-    }
-    return realYieldFromDirtyPrice(bond, ratesProvider, settlementDate, dirtyPrice);
+    double dirtyNominalPrice =
+        dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
+    double dirtyRealPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyNominalPrice);
+    return realYieldFromDirtyPrice(bond, ratesProvider, settlementDate, dirtyRealPrice);
   }
 
   /**
@@ -1068,6 +1242,28 @@ public double realPriceFromNominalPrice(
     return nominalPrice / indexRatio;
   }
 
+  /**
+   * Calculates the real price of the bond from its settlement date and nominal price
+   * and its derivative wrt the nominal price.
+   * <p>
+   * The input and output prices are both clean or dirty.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param settlementDate  the settlement date
+   * @param nominalPrice  the nominal price
+   * @return the price of the bond product and its derivative
+   */
+  public ValueDerivatives realPriceFromNominalPriceAd(
+      ResolvedCapitalIndexedBond bond,
+      RatesProvider ratesProvider,
+      LocalDate settlementDate,
+      double nominalPrice) {
+
+    double indexRatio = indexRatio(bond, ratesProvider, settlementDate);
+    return ValueDerivatives.of(nominalPrice / indexRatio, DoubleArray.of(1d / indexRatio));
+  }
+
   /**
    * Calculates the nominal price of the bond from its settlement date and real price.
    * <p>
@@ -1130,9 +1326,6 @@ public Double apply(Double z) {
             z,
             compoundedRateType,
             periodsPerYear);
-        if (bond.getYieldConvention().equals(CapitalIndexedBondYieldConvention.GB_IL_FLOAT)) {
-          return cleanNominalPriceFromDirtyNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice) - cleanPrice;
-        }
         double dirtyRealPrice = realPriceFromNominalPrice(bond, ratesProvider, settlementDate, dirtyPrice);
         return cleanRealPriceFromDirtyRealPrice(bond, settlementDate, dirtyRealPrice) - cleanPrice;
       }u      }(jvN  (4fcb60cb35f8ff510962c1b96974b9cfc7160fefjN  qmodules/pricer/src/test/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricerTest.javajN  modifiedjN  KjN  KjN  KjN  https://github.com/OpenGamma/Strata/blob/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.javajN  https://github.com/OpenGamma/Strata/raw/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.javajN  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricerTest.java?ref=622a01e37a399485a0adeb0e9ced19854bebd3b0jN  X%N  @@ -45,6 +45,7 @@
 import com.opengamma.strata.basics.schedule.RollConventions;
 import com.opengamma.strata.basics.schedule.Schedule;
 import com.opengamma.strata.basics.schedule.StubConvention;
+import com.opengamma.strata.basics.value.ValueDerivatives;
 import com.opengamma.strata.basics.value.ValueSchedule;
 import com.opengamma.strata.collect.timeseries.LocalDateDoubleTimeSeries;
 import com.opengamma.strata.market.param.CurrencyParameterSensitivities;
@@ -556,6 +557,13 @@ public void test_realPrice_nominalPrice_settleBefore() {
     double expected = realPrice * (refRate + 1d);
     assertThat(nominalPrice).isCloseTo(expected, offset(TOL));
     assertThat(PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice)).isCloseTo(realPrice, offset(TOL));
+
+    ValueDerivatives realPriceAd = PRICER.realPriceFromNominalPriceAd(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice);
+    assertThat(realPrice).isCloseTo(realPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice + eps);
+    double dirtyPriceDw = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER_ON_PAY, refDate, nominalPrice - eps);
+    assertThat(realPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
   }
 
   @Test
@@ -568,6 +576,13 @@ public void test_realPrice_nominalPrice_settleAfter() {
     double expected = realPrice * (refRate + 1d);
     assertThat(nominalPrice).isCloseTo(expected, offset(TOL));
     assertThat(PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice)).isCloseTo(realPrice, offset(TOL));
+
+    ValueDerivatives realPriceAd = PRICER.realPriceFromNominalPriceAd(PRODUCT, RATES_PROVIDER, refDate, nominalPrice);
+    assertThat(realPrice).isCloseTo(realPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice + eps);
+    double dirtyPriceDw = PRICER.realPriceFromNominalPrice(PRODUCT, RATES_PROVIDER, refDate, nominalPrice - eps);
+    assertThat(realPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
   }
 
   @Test
@@ -633,6 +648,36 @@ public void test_priceFromRealYield_us() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_US, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, YIELD_US - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_us_zeroYield() {
+    double yield = 0d;
+    LocalDate standardSettle = PRODUCT_US.getSettlementDateOffset().adjust(VAL_DATE, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(yield, offset(TOL));
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_US, RATES_PROVS_US, standardSettle, yield);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_US, RATES_PROVS_US, standardSettle, yield - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_US, RATES_PROVS_US, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -706,6 +751,13 @@ public void test_accruedInterest_us() {
   private static final DaysAdjustment SETTLE_OFFSET_GB = DaysAdjustment.ofBusinessDays(1, GBLO);
   private static final PeriodicSchedule SCHEDULE_GOV =
       PeriodicSchedule.of(START_GOV, END_GOV, FREQUENCY, BUSINESS_ADJUST_GOV, StubConvention.NONE, RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_GOV_ONE_PERIOD = PeriodicSchedule.of(
+      LocalDate.of(2016, 3, 1),
+      LocalDate.of(2016, 9, 1),
+      FREQUENCY,
+      BUSINESS_ADJUST_GOV,
+      StubConvention.NONE,
+      RollConventions.NONE);
   private static final BusinessDayAdjustment EX_COUPON_ADJ_GOV =
       BusinessDayAdjustment.of(BusinessDayConventions.PRECEDING, GBLO);
   private static final DaysAdjustment EX_COUPON_GOV = DaysAdjustment.ofCalendarDays(-8, EX_COUPON_ADJ_GOV);
@@ -722,6 +774,19 @@ public void test_accruedInterest_us() {
       .exCouponPeriod(EX_COUPON_GOV)
       .build()
       .resolve(REF_DATA);
+  private static final ResolvedCapitalIndexedBond PRODUCT_GOV_ONE_PERIOD = CapitalIndexedBond.builder()
+      .securityId(SECURITY_ID)
+      .notional(NTNL)
+      .currency(GBP)
+      .dayCount(ACT_ACT_ICMA)
+      .rateCalculation(RATE_CALC_GOV)
+      .legalEntityId(LEGAL_ENTITY)
+      .yieldConvention(GB_IL_FLOAT)
+      .settlementDateOffset(SETTLE_OFFSET_GB)
+      .accrualSchedule(SCHEDULE_GOV_ONE_PERIOD)
+      .exCouponPeriod(EX_COUPON_GOV)
+      .build()
+      .resolve(REF_DATA);
   private static final double YIELD_GOV = -0.01532;
 
   private static final double START_INDEX_GOV_OP = 81.623;
@@ -748,16 +813,45 @@ public void test_accruedInterest_us() {
   public void test_priceFromRealYield_ukGov() {
     LocalDate standardSettle = PRODUCT_GOV.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
     double computed = PRICER.cleanPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
-    assertThat(computed).isCloseTo(3.60, offset(1.e-2));
+    assertThat(computed).isCloseTo(3.60, offset(1.e-1));
     double computedOnePeriod = PRICER.cleanPriceFromRealYield(PRODUCT_GOV_OP, RATES_PROVS_GB, PRODUCT_GOV_OP
         .getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA), YIELD_GOV_OP);
     assertThat(computedOnePeriod).isCloseTo(3.21, offset(4.e-2));
     double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
-    double cleanPrice = PRICER.cleanNominalPriceFromDirtyNominalPrice(
-        PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double cleanPrice = PRICER.cleanRealPriceFromDirtyRealPrice(PRODUCT_GOV, standardSettle, dirtyPrice);
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_GOV, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, YIELD_GOV - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_ukGov_onePeriod() {
+    LocalDate standardSettle = PRODUCT_GOV_ONE_PERIOD.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(YIELD_GOV, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_GOV - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -781,7 +875,8 @@ public void test_realYieldFromCurves_ukGov() {
     double computed = PRICER.realYieldFromCurves(PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA);
     double dirtyNominalPrice = PRICER.dirtyNominalPriceFromCurves(
         PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA);
-    double expected = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double dirtyRealPrice = PRICER.realPriceFromNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double expected = PRICER.realYieldFromDirtyPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyRealPrice);
     assertThat(computed).isCloseTo(expected, offset(TOL));
   }
 
@@ -792,8 +887,10 @@ public void zSpreadFromCurvesAndCleanPrice_ukGov() {
         PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, Z_SPREAD, PERIODIC, PERIOD_PER_YEAR);
     double cleanNominalPrice =
         PRICER.cleanNominalPriceFromDirtyNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, dirtyNominalPrice);
+    double cleanRealPrice =
+        PRICER.realPriceFromNominalPrice(PRODUCT_GOV, RATES_PROVS_GB, standardSettle, cleanNominalPrice);
     double computed = PRICER.zSpreadFromCurvesAndCleanPrice(
-        PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, cleanNominalPrice, PERIODIC, PERIOD_PER_YEAR);
+        PRODUCT_GOV, RATES_PROVS_GB, ISSUER_PROVS_GB, REF_DATA, cleanRealPrice, PERIODIC, PERIOD_PER_YEAR);
     assertThat(computed).isCloseTo(Z_SPREAD, offset(TOL));
   }
 
@@ -822,9 +919,20 @@ public void test_accruedInterest_ukGov() {
   private static final LocalDate END_CORP = LocalDate.of(2040, 3, 22);
   private static final BusinessDayAdjustment BUSINESS_ADJUST_CORP =
       BusinessDayAdjustment.of(BusinessDayConventions.FOLLOWING, GBLO);
-  private static final PeriodicSchedule SCHEDULE_CORP =
-      PeriodicSchedule.of(START_CORP, END_CORP, FREQUENCY, BUSINESS_ADJUST_CORP, StubConvention.NONE,
-          RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_CORP = PeriodicSchedule.of(
+      START_CORP,
+      END_CORP,
+      FREQUENCY,
+      BUSINESS_ADJUST_CORP,
+      StubConvention.NONE,
+      RollConventions.NONE);
+  private static final PeriodicSchedule SCHEDULE_CORP_ONE_PERIOD = PeriodicSchedule.of(
+      LocalDate.of(2016, 2, 15),
+      LocalDate.of(2016, 8, 15),
+      FREQUENCY,
+      BUSINESS_ADJUST_CORP,
+      StubConvention.NONE,
+      RollConventions.NONE);
   private static final BusinessDayAdjustment EX_COUPON_ADJ_CORP =
       BusinessDayAdjustment.of(BusinessDayConventions.PRECEDING, GBLO);
   private static final DaysAdjustment EX_COUPON_CORP = DaysAdjustment.ofCalendarDays(-8, EX_COUPON_ADJ_CORP);
@@ -841,6 +949,19 @@ public void test_accruedInterest_ukGov() {
       .exCouponPeriod(EX_COUPON_CORP)
       .build()
       .resolve(REF_DATA);
+  private static final ResolvedCapitalIndexedBond PRODUCT_CORP_ONE_PERIOD = CapitalIndexedBond.builder()
+      .securityId(SECURITY_ID)
+      .notional(NTNL)
+      .currency(GBP)
+      .dayCount(ACT_ACT_ICMA)
+      .rateCalculation(RATE_CALC_CORP)
+      .legalEntityId(LEGAL_ENTITY)
+      .yieldConvention(GB_IL_BOND)
+      .settlementDateOffset(SETTLE_OFFSET_GB)
+      .accrualSchedule(SCHEDULE_CORP_ONE_PERIOD)
+      .exCouponPeriod(EX_COUPON_CORP)
+      .build()
+      .resolve(REF_DATA);
   private static final double YIELD_CORP = -0.00842;
 
   @Test
@@ -856,6 +977,36 @@ public void test_priceFromRealYield_ukCorp() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_CORP, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, YIELD_CORP - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
+  }
+
+  @Test
+  public void test_priceFromRealYield_ukCorp_onePeriod() {
+    LocalDate standardSettle = PRODUCT_CORP_ONE_PERIOD.getSettlementDateOffset().adjust(VAL_DATE_GB, REF_DATA);
+    double dirtyPrice = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    assertThat(yieldRe).isCloseTo(YIELD_CORP, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, YIELD_CORP - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_CORP_ONE_PERIOD, RATES_PROVS_GB, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -955,6 +1106,17 @@ public void test_priceFromRealYield_jpi() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_JPI, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, YIELD_JPI - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_JPI, RATES_PROVS_JP, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Test
@@ -1050,6 +1212,17 @@ public void test_priceFromRealYield_jpw() {
     assertThat(computed).isEqualTo(cleanPrice);
     double yieldRe = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice);
     assertThat(yieldRe).isCloseTo(YIELD_JPW, offset(TOL));
+
+    ValueDerivatives dirtyPriceAd = PRICER.dirtyPriceFromRealYieldAd(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW);
+    assertThat(dirtyPrice).isCloseTo(dirtyPriceAd.getValue(), offset(TOL));
+    double eps = 1.0e-5;
+    double dirtyPriceUp = PRICER.dirtyPriceFromRealYield(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW + eps);
+    double dirtyPriceDw = PRICER.dirtyPriceFromRealYield(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, YIELD_JPW - eps);
+    assertThat(dirtyPriceAd.getDerivative(0)).isCloseTo(0.5 * (dirtyPriceUp - dirtyPriceDw) / eps, offset(eps));
+    ValueDerivatives realYieldAd = PRICER.realYieldFromDirtyPriceAd(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice);
+    double realYieldUp = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice + eps);
+    double realYieldDw = PRICER.realYieldFromDirtyPrice(PRODUCT_JPW, RATES_PROVS_JP, standardSettle, dirtyPrice - eps);
+    assertThat(realYieldAd.getDerivative(0)).isCloseTo(0.5 * (realYieldUp - realYieldDw) / eps, offset(eps));
   }
 
   @Testu}(jvN  (fceac6a0af68134022e4213740d8ca9313b4c49ajN  fmodules/product/src/main/java/com/opengamma/strata/product/bond/CapitalIndexedBondYieldConvention.javajN  modifiedjN  KjN  KjN  KjN  https://github.com/OpenGamma/Strata/blob/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javajN  https://github.com/OpenGamma/Strata/raw/622a01e37a399485a0adeb0e9ced19854bebd3b0/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.javajN  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fbond%2FCapitalIndexedBondYieldConvention.java?ref=622a01e37a399485a0adeb0e9ced19854bebd3b0jN  X  @@ -40,12 +40,12 @@ public enum CapitalIndexedBondYieldConvention implements NamedEnum {
   GB_IL_BOND("GB-I/L-Bond"),
 
   /**
-   * The Japan simple yield convention for inflation index bond.
+   * The Japan simple real yield convention for inflation index bond.
    */
   JP_IL_SIMPLE("JP-I/L-Simple"),
 
   /**
-   * The Japan compound yield convention for inflation index bond.
+   * The Japan compound real yield convention for inflation index bond.
    */
   JP_IL_COMPOUND("JP-I/L-Compound");
 ueu(7e65dd83fa3f6de453122d54861868ce79183d3f}(sha(7e65dd83fa3f6de453122d54861868ce79183d3fnode_idEC_kwDOAT6l0doAKDdlNjVkZDgzZmEzZjZkZTQ1MzEyMmQ1NDg2MTg2OGNlNzkxODNkM2Ycommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-03-27T02:57:07Zu	committer}(jO  GitHubjO  noreply@github.comjO  2023-03-27T02:57:07ZumessageBump asm from 9.4 to 9.5

Bumps asm from 9.4 to 9.5.

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(j
O  (06e3622897143952be1072289c558528ca4c8d42url`https://api.github.com/repos/OpenGamma/Strata/git/trees/06e3622897143952be1072289c558528ca4c8d42uj%O  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/7e65dd83fa3f6de453122d54861868ce79183d3f
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkIQYDCRBK7hj4Ov3rIwAAZJYIAGDVTQZR9+o72s+fxcGOhF1+
KgE4+g7QSoqfpVwuVtjyboNjt0HxIeeQJosBkllmukEmg0fXB/Sgk1yLhdGSKcsS
NNBCNf0Rhc8HUTdMwDdeI2PkZoA3JikoGvLCzudRcoYHw036Zkwm0AklX+QYnnZD
APUH7jZzUABV9SvURIZbLQnTTY4GgvLrytIWHBvGuwwawzPyCbm80oJZfAP4HTuA
qinWj8LqQDH1cRnsU51YbT4AGS9fRz/Zv/t964F+fyxBqroA1W9xC7rGScpvUqMB
Zb8JeJdPOLZ9MfdhfIgVUrsqsMCRX6AksaerOBlht0zTIoIWs+qfKqMd2naIyyo=
=WZPz
-----END PGP SIGNATURE-----
payloadX  tree 06e3622897143952be1072289c558528ca4c8d42
parent 3e52a50bb942fd782c4429d6d9acf6c794dac7ea
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1679885827 +0000
committer GitHub <noreply@github.com> 1679885827 +0000

Bump asm from 9.4 to 9.5

Bumps asm from 9.4 to 9.5.

---
updated-dependencies:
- dependency-name: org.ow2.asm:asm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uuj%O  ^https://api.github.com/repos/OpenGamma/Strata/commits/7e65dd83fa3f6de453122d54861868ce79183d3fhtml_urlShttps://github.com/OpenGamma/Strata/commit/7e65dd83fa3f6de453122d54861868ce79183d3fcomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/7e65dd83fa3f6de453122d54861868ce79183d3f/commentsjO  }(logindependabot[bot]idJZjO  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3j%O  0https://api.github.com/users/dependabot%5Bbot%5Dj3O  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujO  }(j8O  web-flowj:O  J/jO  MDQ6VXNlcjE5ODY0NDQ3j<O  4https://avatars.githubusercontent.com/u/19864447?v=4j>O  h3j%O  %https://api.github.com/users/web-flowj3O  https://github.com/web-flowjAO  /https://api.github.com/users/web-flow/followersjCO  <https://api.github.com/users/web-flow/following{/other_user}jEO  5https://api.github.com/users/web-flow/gists{/gist_id}jGO  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jIO  3https://api.github.com/users/web-flow/subscriptionsjKO  *https://api.github.com/users/web-flow/orgsjMO  +https://api.github.com/users/web-flow/reposjOO  6https://api.github.com/users/web-flow/events{/privacy}jQO  5https://api.github.com/users/web-flow/received_eventsjSO  UserjUO  uparents]}(j
O  (3e52a50bb942fd782c4429d6d9acf6c794dac7eaj%O  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eaj3O  Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK	additionsK	deletionsKufiles]}(j
O  (dbad8c55d3cb1779eabb9fe5cc55d54c699d1668filenamemodules/pom.xmlstatusmodifiedjoO  KjpO  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/7e65dd83fa3f6de453122d54861868ce79183d3f/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/7e65dd83fa3f6de453122d54861868ce79183d3f/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=7e65dd83fa3f6de453122d54861868ce79183d3fpatchX  @@ -762,7 +762,7 @@
     <!-- Locate the root directory of the multi-module build -->
     <root.dir>${project.basedir}/..</root.dir>
     <!-- Versions -->
-    <asm.version>9.4</asm.version>
+    <asm.version>9.5</asm.version>
     <assertj.version>3.23.1</assertj.version>
     <bridger.version>1.6.Final</bridger.version>
     <guava.version>31.1-jre</guava.version><!-- didn't want to go beyond v27 but forced to by security https://github.com/google/guava/issues/3320 -->uau(0570d8bed3ea6a2c25377cb907ff30a4d1c8d5ca}(sha(0570d8bed3ea6a2c25377cb907ff30a4d1c8d5canode_idEC_kwDOAT6l0doAKDA1NzBkOGJlZDNlYTZhMmMyNTM3N2NiOTA3ZmYzMGE0ZDFjOGQ1Y2Ecommit}(author}(nameBrian Welleremailbrian@opengamma.comdate2023-03-01T22:09:00Zu	committer}(jO  GitHubjO  noreply@github.comjO  2023-03-01T22:09:00ZumessageMake ProductType constructor public, so ProductTypes can be defined in other packages alongside new Trade and Position implementations (#2558)

Co-authored-by: Brian Weller <brianweller89@users.noreply.github.com>tree}(jO  (dafc31ff54a908f8bc2c578026eaba0fa1055fecurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/dafc31ff54a908f8bc2c578026eaba0fa1055fecujO  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/0570d8bed3ea6a2c25377cb907ff30a4d1c8d5ca
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJj/8z8CRBK7hj4Ov3rIwAAKPwIAKNA0gTuHFNmZ/PARpWSnyEc
m2j+C0B2owLevY6OiQ/Nz7l7i4BQca/1gha4TeJZNrHfrN8jpMlskVh23iRtaalo
G6nd2Buwl5bWZwWcR+GZk13GzYEeQcXXuQHUgCfV26P9cheDnbABT2ZyCH+9Cz+3
UPFdsTprDfso1UL2jmeeP92LGodaYLGFmgVIRPmXt8ysein4+F1Tr9mNq52W7+Hz
k1XtsD+S2cWpIQ8DFx+/SrTJr58TKdAkRS6SO6if2i9tykK4AfJIm7HciZejwDon
1vNHJtcWPny9T7xtHBtLr8eRZ0Ju8wKa8tDXMSlNXm92q06S9V9cOcwEN8YutJk=
=/i/m
-----END PGP SIGNATURE-----
payloadX  tree dafc31ff54a908f8bc2c578026eaba0fa1055fec
parent 719ae61202e2c67a0baeeb1b916dc35cf37858a6
author Brian Weller <brian@opengamma.com> 1677708540 +0000
committer GitHub <noreply@github.com> 1677708540 +0000

Make ProductType constructor public, so ProductTypes can be defined in other packages alongside new Trade and Position implementations (#2558)

Co-authored-by: Brian Weller <brianweller89@users.noreply.github.com>uujO  ^https://api.github.com/repos/OpenGamma/Strata/commits/0570d8bed3ea6a2c25377cb907ff30a4d1c8d5cahtml_urlShttps://github.com/OpenGamma/Strata/commit/0570d8bed3ea6a2c25377cb907ff30a4d1c8d5cacomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/0570d8bed3ea6a2c25377cb907ff30a4d1c8d5ca/commentsjO  }(login
brianweller89idJIejO  MDQ6VXNlcjIzNDM0MzEz
avatar_url4https://avatars.githubusercontent.com/u/23434313?v=4gravatar_idh3jO  *https://api.github.com/users/brianweller89jO   https://github.com/brianweller89
followers_url4https://api.github.com/users/brianweller89/followers
following_urlAhttps://api.github.com/users/brianweller89/following{/other_user}	gists_url:https://api.github.com/users/brianweller89/gists{/gist_id}starred_urlAhttps://api.github.com/users/brianweller89/starred{/owner}{/repo}subscriptions_url8https://api.github.com/users/brianweller89/subscriptionsorganizations_url/https://api.github.com/users/brianweller89/orgs	repos_url0https://api.github.com/users/brianweller89/repos
events_url;https://api.github.com/users/brianweller89/events{/privacy}received_events_url:https://api.github.com/users/brianweller89/received_eventstypeUser
site_adminujO  }(jO  web-flowjO  J/jO  MDQ6VXNlcjE5ODY0NDQ3jO  4https://avatars.githubusercontent.com/u/19864447?v=4jO  h3jO  %https://api.github.com/users/web-flowjO  https://github.com/web-flowjO  /https://api.github.com/users/web-flow/followersjO  <https://api.github.com/users/web-flow/following{/other_user}jO  5https://api.github.com/users/web-flow/gists{/gist_id}jO  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jO  3https://api.github.com/users/web-flow/subscriptionsjO  *https://api.github.com/users/web-flow/orgsjO  +https://api.github.com/users/web-flow/reposjO  6https://api.github.com/users/web-flow/events{/privacy}jO  5https://api.github.com/users/web-flow/received_eventsjO  UserjO  uparents]}(jO  (719ae61202e2c67a0baeeb1b916dc35cf37858a6jO  ^https://api.github.com/repos/OpenGamma/Strata/commits/719ae61202e2c67a0baeeb1b916dc35cf37858a6jO  Shttps://github.com/OpenGamma/Strata/commit/719ae61202e2c67a0baeeb1b916dc35cf37858a6uastats}(totalK	additionsK	deletionsKufiles]}(jO  (270f7fd3cedc763a547b08fefd4db9e2135e9e89filenameKmodules/product/src/main/java/com/opengamma/strata/product/ProductType.javastatusmodifiedjO  KjO  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/0570d8bed3ea6a2c25377cb907ff30a4d1c8d5ca/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FProductType.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/0570d8bed3ea6a2c25377cb907ff30a4d1c8d5ca/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FProductType.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2FProductType.java?ref=0570d8bed3ea6a2c25377cb907ff30a4d1c8d5capatchXd  @@ -194,7 +194,7 @@ public static ProductType of(String name) {
    * @param description  the description
    * @return a type instance with the specified name
    */
-  private static ProductType of(String name, String description) {
+  public static ProductType of(String name, String description) {
     return new ProductType(name, description);
   }
 uau(6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8}(sha(6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8node_idEC_kwDOAT6l0doAKDZkNWVlN2EyZjhlM2U5MThjN2MwNGVjYjFiNmRkNzk2NzNiMTUxZjgcommit}(author}(name
johannesOGemail,86783068+johannesOG@users.noreply.github.comdate2023-07-06T08:56:27Zu	committer}(jP  
johannesOGjP  ,86783068+johannesOG@users.noreply.github.comjP  2023-07-06T08:56:27ZumessageDeactive Libor curvestree}(jO  (c21b7061458dd7cd0d0eed8d0043f81b61a1d6c7url`https://api.github.com/repos/OpenGamma/Strata/git/trees/c21b7061458dd7cd0d0eed8d0043f81b61a1d6c7ujP  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujP  ^https://api.github.com/repos/OpenGamma/Strata/commits/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8html_urlShttps://github.com/OpenGamma/Strata/commit/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8/commentsjP  }(login
johannesOGidJ\4,jO  MDQ6VXNlcjg2NzgzMDY4
avatar_url4https://avatars.githubusercontent.com/u/86783068?v=4gravatar_idh3jP  'https://api.github.com/users/johannesOGjP  https://github.com/johannesOG
followers_url1https://api.github.com/users/johannesOG/followers
following_url>https://api.github.com/users/johannesOG/following{/other_user}	gists_url7https://api.github.com/users/johannesOG/gists{/gist_id}starred_url>https://api.github.com/users/johannesOG/starred{/owner}{/repo}subscriptions_url5https://api.github.com/users/johannesOG/subscriptionsorganizations_url,https://api.github.com/users/johannesOG/orgs	repos_url-https://api.github.com/users/johannesOG/repos
events_url8https://api.github.com/users/johannesOG/events{/privacy}received_events_url7https://api.github.com/users/johannesOG/received_eventstypeUser
site_adminuj	P  }(j$P  
johannesOGj&P  J\4,jO  MDQ6VXNlcjg2NzgzMDY4j(P  4https://avatars.githubusercontent.com/u/86783068?v=4j*P  h3jP  'https://api.github.com/users/johannesOGjP  https://github.com/johannesOGj-P  1https://api.github.com/users/johannesOG/followersj/P  >https://api.github.com/users/johannesOG/following{/other_user}j1P  7https://api.github.com/users/johannesOG/gists{/gist_id}j3P  >https://api.github.com/users/johannesOG/starred{/owner}{/repo}j5P  5https://api.github.com/users/johannesOG/subscriptionsj7P  ,https://api.github.com/users/johannesOG/orgsj9P  -https://api.github.com/users/johannesOG/reposj;P  8https://api.github.com/users/johannesOG/events{/privacy}j=P  7https://api.github.com/users/johannesOG/received_eventsj?P  UserjAP  uparents]}(jO  (37adc4db3e3c5e2cbcea83238bcfc1958eee5891jP  ^https://api.github.com/repos/OpenGamma/Strata/commits/37adc4db3e3c5e2cbcea83238bcfc1958eee5891jP  Shttps://github.com/OpenGamma/Strata/commit/37adc4db3e3c5e2cbcea83238bcfc1958eee5891uastats}(totalK	additionsK	deletionsKufiles](}(jO  (a327155663c6141fb89fbab1b408852cb0ead97ffilename`modules/basics/src/main/resources/META-INF/com/opengamma/strata/config/base/FloatingRateName.inistatusmodifiedj[P  Kj\P  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.iniraw_urlhttps://github.com/OpenGamma/Strata/raw/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.inicontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FFloatingRateName.ini?ref=6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8patchXz  @@ -14,4 +14,7 @@ com.opengamma.strata.basics.index.FloatingRateNameIniLookup = instance
 # The key is the alternate name
 # The value is the standard name (loaded by a provider)
 [alternates]
-GBP-LIBOR-3M = GBP-LIBOR
\ No newline at end of file
+GBP-LIBOR-3M = GBP-LIBOR
+USD-LIBOR-3M = USD-LIBOR
+CHF-LIBOR-3M = CHF-LIBOR
+EUR-LIBOR-3M = EUR-LIBOR
\ No newline at end of fileu}(jO  (7e4e807f6970755f8ee1a0bd3f2f95ad6684c6eejaP  Ymodules/basics/src/test/java/com/opengamma/strata/basics/index/FloatingRateIndexTest.javajcP  modifiedj[P  Kj\P  K jeP  KjfP  https://github.com/OpenGamma/Strata/blob/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateIndexTest.javajhP  https://github.com/OpenGamma/Strata/raw/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateIndexTest.javajjP  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateIndexTest.java?ref=6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8jlP  X  @@ -24,6 +24,7 @@ public class FloatingRateIndexTest {
 
   @Test
   public void test_parse_noTenor() {
+    assertThat(FloatingRateIndex.parse("GBP-LIBOR")).isEqualTo(IborIndices.GBP_LIBOR_3M);
     assertThat(FloatingRateIndex.parse("GBP-LIBOR-1M")).isEqualTo(IborIndices.GBP_LIBOR_1M);
     assertThat(FloatingRateIndex.parse("GBP-LIBOR-3M")).isEqualTo(IborIndices.GBP_LIBOR_3M);
     assertThat(FloatingRateIndex.parse("GBP-SONIA")).isEqualTo(OvernightIndices.GBP_SONIA);
@@ -45,6 +46,7 @@ public void test_parse_withTenor() {
 
   @Test
   public void test_tryParse_noTenor() {
+    assertThat(FloatingRateIndex.tryParse("GBP-LIBOR")).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_3M));
     assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-1M")).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_1M));
     assertThat(FloatingRateIndex.tryParse("GBP-LIBOR-3M")).isEqualTo(Optional.of(IborIndices.GBP_LIBOR_3M));
     assertThat(FloatingRateIndex.tryParse("GBP-SONIA")).isEqualTo(Optional.of(OvernightIndices.GBP_SONIA));u}(jO  (2d6455a5a5634e3aef0dca14f0ca72cbf1e152c9jaP  Ymodules/basics/src/test/java/com/opengamma/strata/basics/index/FloatingRateNamesTest.javajcP  modifiedj[P  Kj\P  K jeP  KjfP  https://github.com/OpenGamma/Strata/blob/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateNamesTest.javajhP  https://github.com/OpenGamma/Strata/raw/6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateNamesTest.javajjP  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fbasics%2Findex%2FFloatingRateNamesTest.java?ref=6d5ee7a2f8e3e918c7c04ecb1b6dd79673b151f8jlP  X	  @@ -42,6 +42,16 @@ public class FloatingRateNamesTest {
   //-------------------------------------------------------------------------
   public static Object[][] data_name_type() {
     return new Object[][] {
+        {"GBP-LIBOR", "GBP-LIBOR-", FloatingRateType.IBOR},
+        {"GBP-LIBOR-BBA", "GBP-LIBOR-", FloatingRateType.IBOR},
+        {"CHF-LIBOR", "CHF-LIBOR-", FloatingRateType.IBOR},
+        {"CHF-LIBOR-BBA", "CHF-LIBOR-", FloatingRateType.IBOR},
+        {"EUR-LIBOR", "EUR-LIBOR-", FloatingRateType.IBOR},
+        {"EUR-LIBOR-BBA", "EUR-LIBOR-", FloatingRateType.IBOR},
+        {"JPY-LIBOR", "JPY-LIBOR-", FloatingRateType.IBOR},
+        {"JPY-LIBOR-BBA", "JPY-LIBOR-", FloatingRateType.IBOR},
+        {"USD-LIBOR", "USD-LIBOR-", FloatingRateType.IBOR},
+        {"USD-LIBOR-BBA", "USD-LIBOR-", FloatingRateType.IBOR},
         {"EUR-EURIBOR", "EUR-EURIBOR-", FloatingRateType.IBOR},
         {"EUR-EURIBOR-Reuters", "EUR-EURIBOR-", FloatingRateType.IBOR},
         {"JPY-TIBOR-JAPAN", "JPY-TIBOR-JAPAN-", FloatingRateType.IBOR},
@@ -208,8 +218,18 @@ public void test_getFloatingRateName() {
   //-------------------------------------------------------------------------
   @Test
   public void test_iborIndex_tenor() {
+    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").getDefaultTenor()).isEqualTo(Tenor.TENOR_3M);
+    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toFloatingRateIndex()).isEqualTo(IborIndices.GBP_LIBOR_3M);
+    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toFloatingRateIndex(Tenor.TENOR_1M)).isEqualTo(IborIndices.GBP_LIBOR_1M);
+    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndex(Tenor.TENOR_6M)).isEqualTo(IborIndices.GBP_LIBOR_6M);
+    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndex(Tenor.TENOR_12M)).isEqualTo(IborIndices.GBP_LIBOR_12M);
+    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndex(Tenor.TENOR_1Y)).isEqualTo(IborIndices.GBP_LIBOR_12M);
     assertThatIllegalStateException()
         .isThrownBy(() -> FloatingRateName.of("GBP-WMBA-SONIA-COMPOUND").toIborIndex(Tenor.TENOR_6M));
+    assertThat(ImmutableList.copyOf(FloatingRateName.of("GBP-LIBOR-BBA").getTenors()))
+        .containsExactly(Tenor.TENOR_1W, Tenor.TENOR_1M, Tenor.TENOR_2M, Tenor.TENOR_3M, Tenor.TENOR_6M, Tenor.TENOR_12M);
+    assertThat(FloatingRateName.of("GBP-LIBOR-BBA").toIborIndexFixingOffset())
+        .isEqualTo(DaysAdjustment.ofCalendarDays(0, BusinessDayAdjustment.of(PRECEDING, GBLO)));
   }
 
   @Testueu(a9173fa28482fdbd396b23a47f95ede9d4f6e36c}(sha(a9173fa28482fdbd396b23a47f95ede9d4f6e36cnode_idEC_kwDOAT6l0doAKGE5MTczZmEyODQ4MmZkYmQzOTZiMjNhNDdmOTVlZGU5ZDRmNmUzNmMcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-05-01T02:57:16Zu	committer}(jP  GitHubjP  noreply@github.comjP  2023-05-01T02:57:16ZumessageX  Bump junit-bom from 5.9.2 to 5.9.3

Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.9.2 to 5.9.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.2...r5.9.3)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(jP  (979c6bb7780e4811cf85a2c8f15aca1f1031c5a4url`https://api.github.com/repos/OpenGamma/Strata/git/trees/979c6bb7780e4811cf85a2c8f15aca1f1031c5a4ujP  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/a9173fa28482fdbd396b23a47f95ede9d4f6e36c
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkTyqMCRBK7hj4Ov3rIwAANr4IAARZJhxZsIrbZDTCLQW11pxy
YO86lYGGIvAG+Tvm1V3Bg6jypb9+/KL0TH2MNoS8awGSafBe0YyaN6WfQ3vQth7b
QGB/EKVwocLdSeiOaqMrJ7CQUtNJilSxwZjEBaqBuNQFU5jx57BiS+d8bj6ytawh
X0E5lkymb5kEIh+2wfJS53eBeGd859jGoIqEVmoxiqMM70WFju3CGicZ5jwDmxbT
F5PK8jpK80qr864lMp5se/Ox00UHZF/rqX3FreoGOT25S9FsJWYU93koU5a8t5mE
BwwcCD61VyKX1G3ouJBl2ZlSZdtTB/5go3HrExTeGne7Qmn9HIXLLWbUPVhKlos=
=eqfo
-----END PGP SIGNATURE-----
payloadX  tree 979c6bb7780e4811cf85a2c8f15aca1f1031c5a4
parent ac1892d865a4d4e0ab193cbeda462b22aad7b687
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1682909836 +0000
committer GitHub <noreply@github.com> 1682909836 +0000

Bump junit-bom from 5.9.2 to 5.9.3

Bumps [junit-bom](https://github.com/junit-team/junit5) from 5.9.2 to 5.9.3.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.2...r5.9.3)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>uujP  ^https://api.github.com/repos/OpenGamma/Strata/commits/a9173fa28482fdbd396b23a47f95ede9d4f6e36chtml_urlShttps://github.com/OpenGamma/Strata/commit/a9173fa28482fdbd396b23a47f95ede9d4f6e36ccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/a9173fa28482fdbd396b23a47f95ede9d4f6e36c/commentsjP  }(logindependabot[bot]idJZjP  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jP  0https://api.github.com/users/dependabot%5Bbot%5DjP  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujP  }(jP  web-flowjP  J/jP  MDQ6VXNlcjE5ODY0NDQ3jP  4https://avatars.githubusercontent.com/u/19864447?v=4jP  h3jP  %https://api.github.com/users/web-flowjP  https://github.com/web-flowjP  /https://api.github.com/users/web-flow/followersjP  <https://api.github.com/users/web-flow/following{/other_user}jP  5https://api.github.com/users/web-flow/gists{/gist_id}jP  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jP  3https://api.github.com/users/web-flow/subscriptionsjP  *https://api.github.com/users/web-flow/orgsjP  +https://api.github.com/users/web-flow/reposjP  6https://api.github.com/users/web-flow/events{/privacy}jP  5https://api.github.com/users/web-flow/received_eventsjP  UserjP  uparents]}(jP  (ac1892d865a4d4e0ab193cbeda462b22aad7b687jP  ^https://api.github.com/repos/OpenGamma/Strata/commits/ac1892d865a4d4e0ab193cbeda462b22aad7b687jP  Shttps://github.com/OpenGamma/Strata/commit/ac1892d865a4d4e0ab193cbeda462b22aad7b687uastats}(totalK	additionsK	deletionsKufiles]}(jP  (9b05e8cc72e3e3eaa2523adf47c83768a23a0ca3filenamemodules/pom.xmlstatusmodifiedjP  KjP  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/a9173fa28482fdbd396b23a47f95ede9d4f6e36c/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/a9173fa28482fdbd396b23a47f95ede9d4f6e36c/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=a9173fa28482fdbd396b23a47f95ede9d4f6e36cpatchX  @@ -771,7 +771,7 @@
     <joda-convert.version>2.2.3</joda-convert.version>
     <joda-beans.version>2.8.3</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
-    <junit5.version>5.9.2</junit5.version>
+    <junit5.version>5.9.3</junit5.version>
     <mockito.version>4.9.0</mockito.version>
     <slf4j.version>1.7.36</slf4j.version>
     <!-- Versions after M3 cause RequireFilesExist to reject relative paths -->uau(09e24a93f27e13d1f8facd11dc369ad619822903}(sha(09e24a93f27e13d1f8facd11dc369ad619822903node_idEC_kwDOAT6l0doAKDA5ZTI0YTkzZjI3ZTEzZDFmOGZhY2QxMWRjMzY5YWQ2MTk4MjI5MDMcommit}(author}(namedependabot[bot]email149699333+dependabot[bot]@users.noreply.github.comdate2023-07-24T02:59:04Zu	committer}(jP  GitHubjQ  noreply@github.comjQ  2023-07-24T02:59:04ZumessageX  Bump org.junit:junit-bom from 5.9.3 to 5.10.0

Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.9.3 to 5.10.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.3...r5.10.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>tree}(jP  (67616f78cb37b28e562eb862924a32f341ce0df8url`https://api.github.com/repos/OpenGamma/Strata/git/trees/67616f78cb37b28e562eb862924a32f341ce0df8ujQ  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/09e24a93f27e13d1f8facd11dc369ad619822903
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkvej4CRBK7hj4Ov3rIwAApuwIAC+7WuX06vBKXVwFqGLNHV8r
FcVDQ0FYUbqZfVUF13a+WBsu3QSB3n6gGyyjpjHi5aPCs1c1rUCXGDfbkKuhmZZR
ANSloyYj70G7/3XFjhONyw0UJDkWRd8q4blMtZS9NhCfUlHvsPOQfyejVxMtG8Tk
+jNhluQ5ScynIsopVsZCZgGVesUmkCKvQuMQa+BMCC/LPnwAvk8gnp5yWOxEk848
aZR8T0Pc8m6yMoowvYfHr4rmD5PcMMTYZV/kKfqtNtgSkncm9XaToeatrhvSu06r
JCKqGNtBUqPZwqsLIM5S4aAycxO+Twv4XUTNzpXwcPzIKT8cVmHliQOPf46gmaA=
=Roed
-----END PGP SIGNATURE-----
payloadX  tree 67616f78cb37b28e562eb862924a32f341ce0df8
parent 3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5c
author dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1690167544 +0000
committer GitHub <noreply@github.com> 1690167544 +0000

Bump org.junit:junit-bom from 5.9.3 to 5.10.0

Bumps [org.junit:junit-bom](https://github.com/junit-team/junit5) from 5.9.3 to 5.10.0.
- [Release notes](https://github.com/junit-team/junit5/releases)
- [Commits](https://github.com/junit-team/junit5/compare/r5.9.3...r5.10.0)

---
updated-dependencies:
- dependency-name: org.junit:junit-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>uujQ  ^https://api.github.com/repos/OpenGamma/Strata/commits/09e24a93f27e13d1f8facd11dc369ad619822903html_urlShttps://github.com/OpenGamma/Strata/commit/09e24a93f27e13d1f8facd11dc369ad619822903comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/09e24a93f27e13d1f8facd11dc369ad619822903/commentsjP  }(logindependabot[bot]idJZjP  MDM6Qm90NDk2OTkzMzM=
avatar_url2https://avatars.githubusercontent.com/in/29110?v=4gravatar_idh3jQ  0https://api.github.com/users/dependabot%5Bbot%5DjQ  "https://github.com/apps/dependabot
followers_url:https://api.github.com/users/dependabot%5Bbot%5D/followers
following_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/following{/other_user}	gists_url@https://api.github.com/users/dependabot%5Bbot%5D/gists{/gist_id}starred_urlGhttps://api.github.com/users/dependabot%5Bbot%5D/starred{/owner}{/repo}subscriptions_url>https://api.github.com/users/dependabot%5Bbot%5D/subscriptionsorganizations_url5https://api.github.com/users/dependabot%5Bbot%5D/orgs	repos_url6https://api.github.com/users/dependabot%5Bbot%5D/repos
events_urlAhttps://api.github.com/users/dependabot%5Bbot%5D/events{/privacy}received_events_url@https://api.github.com/users/dependabot%5Bbot%5D/received_eventstypeBot
site_adminujQ  }(j"Q  web-flowj$Q  J/jP  MDQ6VXNlcjE5ODY0NDQ3j&Q  4https://avatars.githubusercontent.com/u/19864447?v=4j(Q  h3jQ  %https://api.github.com/users/web-flowjQ  https://github.com/web-flowj+Q  /https://api.github.com/users/web-flow/followersj-Q  <https://api.github.com/users/web-flow/following{/other_user}j/Q  5https://api.github.com/users/web-flow/gists{/gist_id}j1Q  <https://api.github.com/users/web-flow/starred{/owner}{/repo}j3Q  3https://api.github.com/users/web-flow/subscriptionsj5Q  *https://api.github.com/users/web-flow/orgsj7Q  +https://api.github.com/users/web-flow/reposj9Q  6https://api.github.com/users/web-flow/events{/privacy}j;Q  5https://api.github.com/users/web-flow/received_eventsj=Q  Userj?Q  uparents]}(jP  (3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cjQ  ^https://api.github.com/repos/OpenGamma/Strata/commits/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cjQ  Shttps://github.com/OpenGamma/Strata/commit/3652c88f9f4935b50ab6bf5cc785fbd2f02a5e5cuastats}(totalK	additionsK	deletionsKufiles]}(jP  (589b338ad7c8caf61744df8ffb4857ece1b5eb3afilenamemodules/pom.xmlstatusmodifiedjYQ  KjZQ  KchangesKblob_urlchttps://github.com/OpenGamma/Strata/blob/09e24a93f27e13d1f8facd11dc369ad619822903/modules%2Fpom.xmlraw_urlbhttps://github.com/OpenGamma/Strata/raw/09e24a93f27e13d1f8facd11dc369ad619822903/modules%2Fpom.xmlcontents_urluhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=09e24a93f27e13d1f8facd11dc369ad619822903patchX  @@ -771,7 +771,7 @@
     <joda-convert.version>2.2.3</joda-convert.version>
     <joda-beans.version>2.8.3</joda-beans.version>
     <joda.beans.version>${joda-beans.version}</joda.beans.version>
-    <junit5.version>5.9.3</junit5.version>
+    <junit5.version>5.10.0</junit5.version>
     <mockito.version>4.9.0</mockito.version>
     <slf4j.version>1.7.36</slf4j.version>
     <!-- Versions after M3 cause RequireFilesExist to reject relative paths -->uau(13c705d5a6c56d7cd5b08309c30a3aacd58dbcea}(sha(13c705d5a6c56d7cd5b08309c30a3aacd58dbceanode_idEC_kwDOAT6l0doAKDEzYzcwNWQ1YTZjNTZkN2NkNWIwODMwOWMzMGEzYWFjZDU4ZGJjZWEcommit}(author}(nameyukiiwashitaemail%yukiiwashita@users.noreply.github.comdate2023-05-02T10:42:53Zu	committer}(jvQ  yukiiwashitajxQ  %yukiiwashita@users.noreply.github.comjzQ  2023-05-02T10:42:53Zumessage"modifier in inflation bond pricerstree}(jnQ  (6ca425a3349a232ce025b216900923a03e251457url`https://api.github.com/repos/OpenGamma/Strata/git/trees/6ca425a3349a232ce025b216900923a03e251457ujQ  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/13c705d5a6c56d7cd5b08309c30a3aacd58dbcea
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujQ  ^https://api.github.com/repos/OpenGamma/Strata/commits/13c705d5a6c56d7cd5b08309c30a3aacd58dbceahtml_urlShttps://github.com/OpenGamma/Strata/commit/13c705d5a6c56d7cd5b08309c30a3aacd58dbceacomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/13c705d5a6c56d7cd5b08309c30a3aacd58dbcea/commentsjtQ  }(loginyukiiwashitaidJ- jpQ  MDQ6VXNlcjMwMDY2NTY=
avatar_url3https://avatars.githubusercontent.com/u/3006656?v=4gravatar_idh3jQ  )https://api.github.com/users/yukiiwashitajQ  https://github.com/yukiiwashita
followers_url3https://api.github.com/users/yukiiwashita/followers
following_url@https://api.github.com/users/yukiiwashita/following{/other_user}	gists_url9https://api.github.com/users/yukiiwashita/gists{/gist_id}starred_url@https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}subscriptions_url7https://api.github.com/users/yukiiwashita/subscriptionsorganizations_url.https://api.github.com/users/yukiiwashita/orgs	repos_url/https://api.github.com/users/yukiiwashita/repos
events_url:https://api.github.com/users/yukiiwashita/events{/privacy}received_events_url9https://api.github.com/users/yukiiwashita/received_eventstypeUser
site_adminuj|Q  }(jQ  yukiiwashitajQ  J- jpQ  MDQ6VXNlcjMwMDY2NTY=jQ  3https://avatars.githubusercontent.com/u/3006656?v=4jQ  h3jQ  )https://api.github.com/users/yukiiwashitajQ  https://github.com/yukiiwashitajQ  3https://api.github.com/users/yukiiwashita/followersjQ  @https://api.github.com/users/yukiiwashita/following{/other_user}jQ  9https://api.github.com/users/yukiiwashita/gists{/gist_id}jQ  @https://api.github.com/users/yukiiwashita/starred{/owner}{/repo}jQ  7https://api.github.com/users/yukiiwashita/subscriptionsjQ  .https://api.github.com/users/yukiiwashita/orgsjQ  /https://api.github.com/users/yukiiwashita/reposjQ  :https://api.github.com/users/yukiiwashita/events{/privacy}jQ  9https://api.github.com/users/yukiiwashita/received_eventsjQ  UserjQ  uparents]}(jnQ  (ac1892d865a4d4e0ab193cbeda462b22aad7b687jQ  ^https://api.github.com/repos/OpenGamma/Strata/commits/ac1892d865a4d4e0ab193cbeda462b22aad7b687jQ  Shttps://github.com/OpenGamma/Strata/commit/ac1892d865a4d4e0ab193cbeda462b22aad7b687uastats}(totalKI	additionsK?	deletionsK
ufiles](}(jnQ  (b0ba43b1d46074a525e61e12a0a05eabdf6e150ffilenamemmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondProductPricer.javastatusmodifiedjQ  K(jQ  KchangesK.blob_urlhttps://github.com/OpenGamma/Strata/blob/13c705d5a6c56d7cd5b08309c30a3aacd58dbcea/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/13c705d5a6c56d7cd5b08309c30a3aacd58dbcea/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondProductPricer.java?ref=13c705d5a6c56d7cd5b08309c30a3aacd58dbceapatchX  @@ -202,8 +202,19 @@ public PointSensitivityBuilder presentValueSensitivity(
         bond, ratesProvider, discountingProvider, ratesProvider.getValuationDate());
   }
 
-  // calculate the present value sensitivity
-  PointSensitivityBuilder presentValueSensitivity(
+  /**
+   * Calculates the present value sensitivity of the bond product for the specified reference date.
+   * <p>
+   * The present value sensitivity of the product is the sensitivity of the present value to
+   * the underlying curves.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param discountingProvider  the discount factors provider
+   * @param referenceDate  the reference date
+   * @return the present value curve sensitivity of the product
+   */
+  public PointSensitivityBuilder presentValueSensitivity(
       ResolvedCapitalIndexedBond bond,
       RatesProvider ratesProvider,
       LegalEntityDiscountingProvider discountingProvider,
@@ -392,8 +403,20 @@ public double dirtyNominalPriceFromCurves(
     return dirtyNominalPriceFromCurves(bond, ratesProvider, discountingProvider, settlementDate);
   }
 
-  // calculate the dirty price
-  double dirtyNominalPriceFromCurves(
+  /**
+   * Calculates the dirty price of the bond security for the specified settlement date.
+   * <p>
+   * The bond is represented as {@link Security} where standard ID of the bond is stored.
+   * <p>
+   * Strata uses <i>decimal prices</i> for bonds. For example, a price of 99.32% is represented in Strata by 0.9932.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param discountingProvider  the discount factors provider
+   * @param settlementDate  the settlement date
+   * @return the dirty price of the bond security
+   */
+  public double dirtyNominalPriceFromCurves(
       ResolvedCapitalIndexedBond bond,
       RatesProvider ratesProvider,
       LegalEntityDiscountingProvider discountingProvider,
@@ -480,8 +503,19 @@ public PointSensitivityBuilder dirtyNominalPriceSensitivity(
     return dirtyNominalPriceSensitivity(bond, ratesProvider, discountingProvider, settlementDate);
   }
 
-  // calculate the dirty price sensitivity
-  PointSensitivityBuilder dirtyNominalPriceSensitivity(
+  /**
+   * Calculates the dirty price sensitivity of the bond security for the specified settlement date.
+   * <p>
+   * The dirty price sensitivity of the security is the sensitivity of the dirty price value to
+   * the underlying curves.
+   *
+   * @param bond  the product
+   * @param ratesProvider  the rates provider, used to determine price index values
+   * @param discountingProvider  the discount factors provider
+   * @param settlementDate  the settlement date
+   * @return the dirty price curve sensitivity of the security
+   */
+  public PointSensitivityBuilder dirtyNominalPriceSensitivity(
       ResolvedCapitalIndexedBond bond,
       RatesProvider ratesProvider,
       LegalEntityDiscountingProvider discountingProvider,u}(jnQ  (04d4073f32016b1364aabbaf5a03f18ddbe9d078jQ  kmodules/pricer/src/main/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondTradePricer.javajQ  modifiedjQ  KjQ  KjQ  KjQ  https://github.com/OpenGamma/Strata/blob/13c705d5a6c56d7cd5b08309c30a3aacd58dbcea/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricer.javajQ  https://github.com/OpenGamma/Strata/raw/13c705d5a6c56d7cd5b08309c30a3aacd58dbcea/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricer.javajQ  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricer.java?ref=13c705d5a6c56d7cd5b08309c30a3aacd58dbceajQ  X  @@ -56,6 +56,16 @@ public DiscountingCapitalIndexedBondTradePricer(DiscountingCapitalIndexedBondPro
     this.productPricer = ArgChecker.notNull(productPricer, "productPricer");
   }
 
+  //-------------------------------------------------------------------------
+  /**
+   * Gets the capital indexed bond product pricer.
+   *
+   * @return the product pricer
+   */
+  public DiscountingCapitalIndexedBondProductPricer getProductPricer() {
+    return productPricer;
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Calculates the present value of the bond trade.
@@ -683,13 +693,23 @@ PointSensitivityBuilder forecastValueSensitivityStandardFromCleanPrice(
   }
 
   //-------------------------------------------------------------------------
-  // calculate the settlement date
-  private LocalDate settlementDate(ResolvedCapitalIndexedBondTrade trade, LocalDate valuationDate) {
+
+  /**
+   * Calculates the settlement date.
+   * <p>
+   * The valuation date is returned if the settlement details are not stored.
+   *
+   * @param trade  the trade
+   * @param valuationDate  the valuation date
+   * @return the settlement date
+   */
+  public LocalDate settlementDate(ResolvedCapitalIndexedBondTrade trade, LocalDate valuationDate) {
     return trade.getSettlement()
         .map(settle -> settle.getSettlementDate())
         .orElse(valuationDate);
   }
 
+  //-------------------------------------------------------------------------
   private void validate(RatesProvider ratesProvider, LegalEntityDiscountingProvider discountingProvider) {
     ArgChecker.isTrue(ratesProvider.getValuationDate().isEqual(discountingProvider.getValuationDate()),
         "the rates providers should be for the same date");u}(jnQ  (59466185708dbd21c83af85738ca39088fdc3cdcjQ  omodules/pricer/src/test/java/com/opengamma/strata/pricer/bond/DiscountingCapitalIndexedBondTradePricerTest.javajQ  modifiedjQ  KjQ  KjQ  KjQ  https://github.com/OpenGamma/Strata/blob/13c705d5a6c56d7cd5b08309c30a3aacd58dbcea/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricerTest.javajQ  https://github.com/OpenGamma/Strata/raw/13c705d5a6c56d7cd5b08309c30a3aacd58dbcea/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricerTest.javajQ  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fpricer%2Fbond%2FDiscountingCapitalIndexedBondTradePricerTest.java?ref=13c705d5a6c56d7cd5b08309c30a3aacd58dbceajQ  X"  @@ -208,8 +208,7 @@ public class DiscountingCapitalIndexedBondTradePricerTest {
   private static final double TOL = 1.0e-12;
   private static final double EPS = 1.0e-6;
   private static final DiscountingCapitalIndexedBondTradePricer PRICER = DiscountingCapitalIndexedBondTradePricer.DEFAULT;
-  private static final DiscountingCapitalIndexedBondProductPricer PRODUCT_PRICER =
-      DiscountingCapitalIndexedBondProductPricer.DEFAULT;
+  private static final DiscountingCapitalIndexedBondProductPricer PRODUCT_PRICER = PRICER.getProductPricer();
   private static final DiscountingCapitalIndexedBondPaymentPeriodPricer PERIOD_PRICER =
       DiscountingCapitalIndexedBondPaymentPeriodPricer.DEFAULT;
   private static final DiscountingPaymentPricer PAYMENT_PRICER = DiscountingPaymentPricer.DEFAULT;ueu      (f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdc}(sha(f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdcnode_idEC_kwDOAT6l0doAKGYzYjc0ZTNlYzdkNGI5Y2NmYzU2ZDM4ZjY4NjBiYzdmOTQ5MmViZGMcommit}(author}(nameAnandemailanand@opengamma.comdate2023-03-27T10:29:17Zu	committer}(jQ  AnandjQ  anand@opengamma.comjQ  2023-03-27T10:29:17Zumessage-BuySell util methods for Decimal and BigMoneytree}(jQ  (47425abd1cb79ec2072751c2327f75fa0ad3ea7furl`https://api.github.com/repos/OpenGamma/Strata/git/trees/47425abd1cb79ec2072751c2327f75fa0ad3ea7fujR  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdc
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujR  ^https://api.github.com/repos/OpenGamma/Strata/commits/f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdchtml_urlShttps://github.com/OpenGamma/Strata/commit/f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdc/commentsjQ  }(loginanand-ukidJjQ  MDQ6VXNlcjQ5OTE3NDcw
avatar_url4https://avatars.githubusercontent.com/u/49917470?v=4gravatar_idh3jR  %https://api.github.com/users/anand-ukjR  https://github.com/anand-uk
followers_url/https://api.github.com/users/anand-uk/followers
following_url<https://api.github.com/users/anand-uk/following{/other_user}	gists_url5https://api.github.com/users/anand-uk/gists{/gist_id}starred_url<https://api.github.com/users/anand-uk/starred{/owner}{/repo}subscriptions_url3https://api.github.com/users/anand-uk/subscriptionsorganizations_url*https://api.github.com/users/anand-uk/orgs	repos_url+https://api.github.com/users/anand-uk/repos
events_url6https://api.github.com/users/anand-uk/events{/privacy}received_events_url5https://api.github.com/users/anand-uk/received_eventstypeUser
site_adminujR  }(jR  anand-ukjR  JjQ  MDQ6VXNlcjQ5OTE3NDcwj R  4https://avatars.githubusercontent.com/u/49917470?v=4j"R  h3jR  %https://api.github.com/users/anand-ukjR  https://github.com/anand-ukj%R  /https://api.github.com/users/anand-uk/followersj'R  <https://api.github.com/users/anand-uk/following{/other_user}j)R  5https://api.github.com/users/anand-uk/gists{/gist_id}j+R  <https://api.github.com/users/anand-uk/starred{/owner}{/repo}j-R  3https://api.github.com/users/anand-uk/subscriptionsj/R  *https://api.github.com/users/anand-uk/orgsj1R  +https://api.github.com/users/anand-uk/reposj3R  6https://api.github.com/users/anand-uk/events{/privacy}j5R  5https://api.github.com/users/anand-uk/received_eventsj7R  Userj9R  uparents]}(jQ  (3e52a50bb942fd782c4429d6d9acf6c794dac7eajR  ^https://api.github.com/repos/OpenGamma/Strata/commits/3e52a50bb942fd782c4429d6d9acf6c794dac7eajR  Shttps://github.com/OpenGamma/Strata/commit/3e52a50bb942fd782c4429d6d9acf6c794dac7eauastats}(totalK/	additionsK/	deletionsK ufiles](}(jQ  (fcb6c6d5dc30eb853302e6d592a122c083ea2c3dfilenameNmodules/product/src/main/java/com/opengamma/strata/product/common/BuySell.javastatusmodifiedjSR  KjTR  K changesKblob_urlhttps://github.com/OpenGamma/Strata/blob/f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdc/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdc/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySell.java?ref=f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdcpatchX@  @@ -8,7 +8,9 @@
 import org.joda.convert.FromString;
 import org.joda.convert.ToString;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 import com.opengamma.strata.collect.named.EnumNames;
 import com.opengamma.strata.collect.named.NamedEnum;
 
@@ -80,6 +82,20 @@ public double normalize(double amount) {
     return isBuy() ? normalized : -normalized;
   }
 
+  /**
+   * Normalizes the specified {@code Decimal} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input amount
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public Decimal normalize(Decimal amount) {
+    return isBuy() ? amount.abs() : amount.negated();
+  }
+
   /**
    * Normalizes the specified amount using this buy/sell rule.
    * <p>
@@ -95,6 +111,20 @@ public CurrencyAmount normalize(CurrencyAmount amount) {
     return isBuy() ? amount.positive() : amount.negative();
   }
 
+  /**
+   * Normalizes the specified {@code BigMoney} amount using this buy/sell rule.
+   * <p>
+   * This returns a positive signed amount if this is 'buy', and a negative signed amount
+   * if this is 'sell'. This effectively normalizes the input notional
+   * to the buy/sell sign conventions of this library.
+   *
+   * @param amount  the amount to adjust
+   * @return the adjusted amount
+   */
+  public BigMoney normalize(BigMoney amount) {
+    return isBuy() ? amount.positive() : amount.negative();
+  }
+
   //-------------------------------------------------------------------------
   /**
    * Checks if the type is 'Buy'.u}(jQ  (12c31ff3fcc6d937713de0085511968408ac6c4fjYR  Rmodules/product/src/test/java/com/opengamma/strata/product/common/BuySellTest.javaj[R  modifiedjSR  KjTR  K j]R  Kj^R  https://github.com/OpenGamma/Strata/blob/f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdc/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javaj`R  https://github.com/OpenGamma/Strata/raw/f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdc/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.javajbR  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fproduct%2Fcommon%2FBuySellTest.java?ref=f3b74e3ec7d4b9ccfc56d38f6860bc7f9492ebdcjdR  X{  @@ -19,7 +19,9 @@
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.MethodSource;
 
+import com.opengamma.strata.basics.currency.BigMoney;
 import com.opengamma.strata.basics.currency.CurrencyAmount;
+import com.opengamma.strata.collect.Decimal;
 
 /**
  * Test {@link BuySell}.
@@ -57,13 +59,28 @@ public void test_normalize_buy_double() {
     assertThat(BuySell.BUY.normalize(-1d)).isCloseTo(1d, offset(0d));
   }
 
+  @Test
+  public void test_normalize_buy_decimal() {
+    assertThat(BuySell.BUY.normalize(Decimal.of(1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(-1d))).isEqualTo(Decimal.of(1d));
+    assertThat(BuySell.BUY.normalize(Decimal.of(0d))).isEqualTo(Decimal.ZERO);
+    assertThat(BuySell.BUY.normalize(Decimal.of(-0d))).isEqualTo(Decimal.ZERO);
+  }
+
   @Test
   public void test_normalize_buy_amount() {
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, 0d))).isEqualTo(CurrencyAmount.of(GBP, 0d));
     assertThat(BuySell.BUY.normalize(CurrencyAmount.of(GBP, -1d))).isEqualTo(CurrencyAmount.of(GBP, 1d));
   }
 
+  @Test
+  public void test_normalize_buy_money() {
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 1d))).isEqualTo(BigMoney.of(GBP, 1d));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, 0d))).isEqualTo(BigMoney.of(GBP, 0d));
+    assertThat(BuySell.BUY.normalize(BigMoney.of(GBP, -1d))).isEqualTo(BigMoney.of(GBP, 1d));
+  }
+
   @Test
   public void test_isBuy() {
     assertThat(BuySell.BUY.isBuy()).isTrue();ueu(7294b91a329f6191e8ddd34218e319f32c5991d0}(sha(7294b91a329f6191e8ddd34218e319f32c5991d0node_idEC_kwDOAT6l0doAKDcyOTRiOTFhMzI5ZjYxOTFlOGRkZDM0MjE4ZTMxOWYzMmM1OTkxZDAcommit}(author}(nameJordan Morrisonemail333151302+jordanmorrison476@users.noreply.github.comdate2023-06-08T09:04:35Zu	committer}(jxR  GitHubjzR  noreply@github.comj|R  2023-06-08T09:04:35ZumessageUpdating Thailand Holiday Calendar - Coronation Day / Coronation Day Observed (#2587)

Co-authored-by: jordanmorrison476 <jordanmorrison476@users.noreply.github.com>tree}(jpR  (6ebe21d66ce0fcbe187a2269b2c056b1795e16efurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/6ebe21d66ce0fcbe187a2269b2c056b1795e16efujR  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/7294b91a329f6191e8ddd34218e319f32c5991d0
comment_countK verification}(verifiedreasonvalid	signatureX  -----BEGIN PGP SIGNATURE-----

wsBcBAABCAAQBQJkgZmjCRBK7hj4Ov3rIwAAj/gIAIonpyuZYkJlMKatfqe4zD4E
BknKKQZCMVbA/dpVEtl+7LsjjhuvrpQSfvLTQemAWO4Dm7StjSmTFwUEcmsm9cg+
LqhQrTZhF8U5e/vccenuqzGO9RMJ2ssnWlVaJhj51HcmJw7Jb8OG3FZH45aPNXb3
2LhMt682J2Ve5BjfqC2xyyILdtItAQWHexh/Mw3FcBKGJuUwwjZibk0veK/gjxgF
9rspqWlwFip9cLdDLct1mACjK0hulk8grRzUyRKQiwVKh2Pqa5JefZUaYrdE/RdN
0WleHAgbaMULWfXNXr0uRRp78WHPTyukA7phpLAo7/KO97wcsZfEAPBDg0pl33I=
=p/Ix
-----END PGP SIGNATURE-----
payloadX  tree 6ebe21d66ce0fcbe187a2269b2c056b1795e16ef
parent 211806b242b7e224323f74883fcc9ae2b17dd9c9
author Jordan Morrison <33151302+jordanmorrison476@users.noreply.github.com> 1686215075 +0100
committer GitHub <noreply@github.com> 1686215075 +0100

Updating Thailand Holiday Calendar - Coronation Day / Coronation Day Observed (#2587)

Co-authored-by: jordanmorrison476 <jordanmorrison476@users.noreply.github.com>uujR  ^https://api.github.com/repos/OpenGamma/Strata/commits/7294b91a329f6191e8ddd34218e319f32c5991d0html_urlShttps://github.com/OpenGamma/Strata/commit/7294b91a329f6191e8ddd34218e319f32c5991d0comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/7294b91a329f6191e8ddd34218e319f32c5991d0/commentsjvR  }(loginjordanmorrison476idJFjrR  MDQ6VXNlcjMzMTUxMzAy
avatar_url4https://avatars.githubusercontent.com/u/33151302?v=4gravatar_idh3jR  .https://api.github.com/users/jordanmorrison476jR  $https://github.com/jordanmorrison476
followers_url8https://api.github.com/users/jordanmorrison476/followers
following_urlEhttps://api.github.com/users/jordanmorrison476/following{/other_user}	gists_url>https://api.github.com/users/jordanmorrison476/gists{/gist_id}starred_urlEhttps://api.github.com/users/jordanmorrison476/starred{/owner}{/repo}subscriptions_url<https://api.github.com/users/jordanmorrison476/subscriptionsorganizations_url3https://api.github.com/users/jordanmorrison476/orgs	repos_url4https://api.github.com/users/jordanmorrison476/repos
events_url?https://api.github.com/users/jordanmorrison476/events{/privacy}received_events_url>https://api.github.com/users/jordanmorrison476/received_eventstypeUser
site_adminuj~R  }(jR  web-flowjR  J/jrR  MDQ6VXNlcjE5ODY0NDQ3jR  4https://avatars.githubusercontent.com/u/19864447?v=4jR  h3jR  %https://api.github.com/users/web-flowjR  https://github.com/web-flowjR  /https://api.github.com/users/web-flow/followersjR  <https://api.github.com/users/web-flow/following{/other_user}jR  5https://api.github.com/users/web-flow/gists{/gist_id}jR  <https://api.github.com/users/web-flow/starred{/owner}{/repo}jR  3https://api.github.com/users/web-flow/subscriptionsjR  *https://api.github.com/users/web-flow/orgsjR  +https://api.github.com/users/web-flow/reposjR  6https://api.github.com/users/web-flow/events{/privacy}jR  5https://api.github.com/users/web-flow/received_eventsjR  UserjR  uparents]}(jpR  (211806b242b7e224323f74883fcc9ae2b17dd9c9jR  ^https://api.github.com/repos/OpenGamma/Strata/commits/211806b242b7e224323f74883fcc9ae2b17dd9c9jR  Shttps://github.com/OpenGamma/Strata/commit/211806b242b7e224323f74883fcc9ae2b17dd9c9uastats}(totalK	additionsK	deletionsKufiles]}(jpR  (94afd8129f23b075626344d41428923f62411d35filenamecmodules/basics/src/main/resources/META-INF/com/opengamma/strata/config/base/HolidayCalendarData.inistatusmodifiedjR  KjR  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/7294b91a329f6191e8ddd34218e319f32c5991d0/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FHolidayCalendarData.iniraw_urlhttps://github.com/OpenGamma/Strata/raw/7294b91a329f6191e8ddd34218e319f32c5991d0/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FHolidayCalendarData.inicontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FHolidayCalendarData.ini?ref=7294b91a329f6191e8ddd34218e319f32c5991d0patchX#  @@ -47,17 +47,17 @@
 2020=Jan01,Feb10,Apr06,Apr13,Apr14,Apr15,May01,May06,Jul06,Jul28,Aug12,Oct13,Oct23,Dec07,Dec10,Dec31
 2021=Jan01,Feb26,Apr06,Apr13,Apr14,Apr15,May03,May26,Jul26,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
 2022=Jan03,Feb16,Apr06,Apr13,Apr14,Apr15,May02,May16,Jul13,Jul28,Aug12,Oct13,Oct24,Dec05,Dec12
-2023=Jan02,Mar06,Apr06,Apr13,Apr14,May01,Jun05,Jul28,Aug01,Aug14,Oct13,Oct23,Dec05,Dec11
-2024=Jan01,Jan02,Feb26,Apr08,Apr15,Apr16,May01,May22,Jul22,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
-2025=Jan01,Feb12,Apr07,Apr14,Apr15,May01,May12,Jul10,Jul28,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
-2026=Jan01,Jan02,Mar03,Apr06,Apr13,Apr14,Apr15,May01,Jun01,Jul28,Jul29,Aug12,Oct13,Oct23,Dec07,Dec10,Dec31
-2027=Jan01,Feb22,Apr06,Apr13,Apr14,Apr15,May03,May20,Jul19,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
-2028=Jan03,Feb10,Apr06,Apr13,Apr14,May01,May08,Jul06,Jul28,Aug14,Oct13,Oct23,Dec05,Dec11
-2029=Jan01,Jan02,Feb27,Apr06,Apr13,Apr16,May01,May28,Jul25,Jul30,Aug13,Oct15,Oct23,Dec05,Dec10,Dec31
-2030=Jan01,Feb18,Apr08,Apr15,Apr16,May01,May16,Jul15,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
-2031=Jan01,Mar07,Apr07,Apr14,Apr15,May01,Jun04,Jul28,Aug04,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
-2032=Jan01,Jan02,Feb25,Apr06,Apr13,Apr14,Apr15,May03,May24,Jul22,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
-2033=Jan03,Feb14,Apr06,Apr13,Apr14,Apr15,May02,May13,Jul11,Jul28,Aug12,Oct13,Oct24,Dec05,Dec12
+2023=Jan02,Mar06,Apr06,Apr13,Apr14,May01,May04,May05,Jun05,Jul28,Aug01,Aug14,Oct13,Oct23,Dec05,Dec11
+2024=Jan01,Jan02,Feb26,Apr08,Apr15,Apr16,May01,May06,May22,Jul22,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
+2025=Jan01,Feb12,Apr07,Apr14,Apr15,May01,May05,May12,Jul10,Jul28,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
+2026=Jan01,Jan02,Mar03,Apr06,Apr13,Apr14,Apr15,May01,May04,Jun01,Jul28,Jul29,Aug12,Oct13,Oct23,Dec07,Dec10,Dec31
+2027=Jan01,Feb22,Apr06,Apr13,Apr14,Apr15,May03,May04,May20,Jul19,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
+2028=Jan03,Feb10,Apr06,Apr13,Apr14,May01,May04,May08,Jul06,Jul28,Aug14,Oct13,Oct23,Dec05,Dec11
+2029=Jan01,Jan02,Feb27,Apr06,Apr13,Apr16,May01,May04,May28,Jul25,Jul30,Aug13,Oct15,Oct23,Dec05,Dec10,Dec31
+2030=Jan01,Feb18,Apr08,Apr15,Apr16,May01,May06,May16,Jul15,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
+2031=Jan01,Mar07,Apr07,Apr14,Apr15,May01,May04,Jun04,Jul28,Aug04,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
+2032=Jan01,Jan02,Feb25,Apr06,Apr13,Apr14,Apr15,May03,May04,May24,Jul22,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
+2033=Jan03,Feb14,Apr06,Apr13,Apr14,Apr15,May02,May04,May13,Jul11,Jul28,Aug12,Oct13,Oct24,Dec05,Dec12
 2034=Jan02,Mar06,Apr06,Apr13,Apr14,May01,Jun01,Jul28,Jul31,Aug14,Oct13,Oct23,Dec05,Dec11
 2035=Jan01,Jan02,Feb22,Apr06,Apr13,Apr16,May01,May21,Jul20,Jul30,Aug13,Oct15,Oct23,Dec05,Dec10,Dec31
 2036=Jan01,Feb12,Apr07,Apr14,Apr15,May01,May12,Jul08,Jul28,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31uau(2f6880e6cdb34663e85d6e1e712b6339fc2cac5a}(sha(2f6880e6cdb34663e85d6e1e712b6339fc2cac5anode_idEC_kwDOAT6l0doAKDJmNjg4MGU2Y2RiMzQ2NjNlODVkNmUxZTcxMmI2MzM5ZmMyY2FjNWEcommit}(author}(namejordanmorrison476email*jordanmorrison476@users.noreply.github.comdate2023-06-06T17:07:53Zu	committer}(jR  jordanmorrison476jR  *jordanmorrison476@users.noreply.github.comjR  2023-06-06T17:07:53ZumessageMUpdating Thailand Holiday Calendar - Coronation Day / Coronation Day Observedtree}(jR  (fcd55e4100d052cd8bcf99d7d188c43858d95d26url`https://api.github.com/repos/OpenGamma/Strata/git/trees/fcd55e4100d052cd8bcf99d7d188c43858d95d26ujR  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/2f6880e6cdb34663e85d6e1e712b6339fc2cac5a
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujR  ^https://api.github.com/repos/OpenGamma/Strata/commits/2f6880e6cdb34663e85d6e1e712b6339fc2cac5ahtml_urlShttps://github.com/OpenGamma/Strata/commit/2f6880e6cdb34663e85d6e1e712b6339fc2cac5acomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/2f6880e6cdb34663e85d6e1e712b6339fc2cac5a/commentsjR  }(loginjordanmorrison476idJFjR  MDQ6VXNlcjMzMTUxMzAy
avatar_url4https://avatars.githubusercontent.com/u/33151302?v=4gravatar_idh3jR  .https://api.github.com/users/jordanmorrison476jS  $https://github.com/jordanmorrison476
followers_url8https://api.github.com/users/jordanmorrison476/followers
following_urlEhttps://api.github.com/users/jordanmorrison476/following{/other_user}	gists_url>https://api.github.com/users/jordanmorrison476/gists{/gist_id}starred_urlEhttps://api.github.com/users/jordanmorrison476/starred{/owner}{/repo}subscriptions_url<https://api.github.com/users/jordanmorrison476/subscriptionsorganizations_url3https://api.github.com/users/jordanmorrison476/orgs	repos_url4https://api.github.com/users/jordanmorrison476/repos
events_url?https://api.github.com/users/jordanmorrison476/events{/privacy}received_events_url>https://api.github.com/users/jordanmorrison476/received_eventstypeUser
site_adminujR  }(jS  jordanmorrison476jS  JFjR  MDQ6VXNlcjMzMTUxMzAyjS  4https://avatars.githubusercontent.com/u/33151302?v=4jS  h3jR  .https://api.github.com/users/jordanmorrison476jS  $https://github.com/jordanmorrison476jS  8https://api.github.com/users/jordanmorrison476/followersjS  Ehttps://api.github.com/users/jordanmorrison476/following{/other_user}jS  >https://api.github.com/users/jordanmorrison476/gists{/gist_id}jS  Ehttps://api.github.com/users/jordanmorrison476/starred{/owner}{/repo}j!S  <https://api.github.com/users/jordanmorrison476/subscriptionsj#S  3https://api.github.com/users/jordanmorrison476/orgsj%S  4https://api.github.com/users/jordanmorrison476/reposj'S  ?https://api.github.com/users/jordanmorrison476/events{/privacy}j)S  >https://api.github.com/users/jordanmorrison476/received_eventsj+S  Userj-S  uparents]}(jR  (6653262414e66a1476af69449ec42a76e33f3214jR  ^https://api.github.com/repos/OpenGamma/Strata/commits/6653262414e66a1476af69449ec42a76e33f3214jS  Shttps://github.com/OpenGamma/Strata/commit/6653262414e66a1476af69449ec42a76e33f3214uastats}(totalK	additionsK	deletionsKufiles]}(jR  (94afd8129f23b075626344d41428923f62411d35filenamecmodules/basics/src/main/resources/META-INF/com/opengamma/strata/config/base/HolidayCalendarData.inistatusmodifiedjGS  KjHS  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/2f6880e6cdb34663e85d6e1e712b6339fc2cac5a/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FHolidayCalendarData.iniraw_urlhttps://github.com/OpenGamma/Strata/raw/2f6880e6cdb34663e85d6e1e712b6339fc2cac5a/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FHolidayCalendarData.inicontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fsrc%2Fmain%2Fresources%2FMETA-INF%2Fcom%2Fopengamma%2Fstrata%2Fconfig%2Fbase%2FHolidayCalendarData.ini?ref=2f6880e6cdb34663e85d6e1e712b6339fc2cac5apatchX#  @@ -47,17 +47,17 @@
 2020=Jan01,Feb10,Apr06,Apr13,Apr14,Apr15,May01,May06,Jul06,Jul28,Aug12,Oct13,Oct23,Dec07,Dec10,Dec31
 2021=Jan01,Feb26,Apr06,Apr13,Apr14,Apr15,May03,May26,Jul26,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
 2022=Jan03,Feb16,Apr06,Apr13,Apr14,Apr15,May02,May16,Jul13,Jul28,Aug12,Oct13,Oct24,Dec05,Dec12
-2023=Jan02,Mar06,Apr06,Apr13,Apr14,May01,Jun05,Jul28,Aug01,Aug14,Oct13,Oct23,Dec05,Dec11
-2024=Jan01,Jan02,Feb26,Apr08,Apr15,Apr16,May01,May22,Jul22,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
-2025=Jan01,Feb12,Apr07,Apr14,Apr15,May01,May12,Jul10,Jul28,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
-2026=Jan01,Jan02,Mar03,Apr06,Apr13,Apr14,Apr15,May01,Jun01,Jul28,Jul29,Aug12,Oct13,Oct23,Dec07,Dec10,Dec31
-2027=Jan01,Feb22,Apr06,Apr13,Apr14,Apr15,May03,May20,Jul19,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
-2028=Jan03,Feb10,Apr06,Apr13,Apr14,May01,May08,Jul06,Jul28,Aug14,Oct13,Oct23,Dec05,Dec11
-2029=Jan01,Jan02,Feb27,Apr06,Apr13,Apr16,May01,May28,Jul25,Jul30,Aug13,Oct15,Oct23,Dec05,Dec10,Dec31
-2030=Jan01,Feb18,Apr08,Apr15,Apr16,May01,May16,Jul15,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
-2031=Jan01,Mar07,Apr07,Apr14,Apr15,May01,Jun04,Jul28,Aug04,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
-2032=Jan01,Jan02,Feb25,Apr06,Apr13,Apr14,Apr15,May03,May24,Jul22,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
-2033=Jan03,Feb14,Apr06,Apr13,Apr14,Apr15,May02,May13,Jul11,Jul28,Aug12,Oct13,Oct24,Dec05,Dec12
+2023=Jan02,Mar06,Apr06,Apr13,Apr14,May01,May04,May05,Jun05,Jul28,Aug01,Aug14,Oct13,Oct23,Dec05,Dec11
+2024=Jan01,Jan02,Feb26,Apr08,Apr15,Apr16,May01,May06,May22,Jul22,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
+2025=Jan01,Feb12,Apr07,Apr14,Apr15,May01,May05,May12,Jul10,Jul28,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
+2026=Jan01,Jan02,Mar03,Apr06,Apr13,Apr14,Apr15,May01,May04,Jun01,Jul28,Jul29,Aug12,Oct13,Oct23,Dec07,Dec10,Dec31
+2027=Jan01,Feb22,Apr06,Apr13,Apr14,Apr15,May03,May04,May20,Jul19,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
+2028=Jan03,Feb10,Apr06,Apr13,Apr14,May01,May04,May08,Jul06,Jul28,Aug14,Oct13,Oct23,Dec05,Dec11
+2029=Jan01,Jan02,Feb27,Apr06,Apr13,Apr16,May01,May04,May28,Jul25,Jul30,Aug13,Oct15,Oct23,Dec05,Dec10,Dec31
+2030=Jan01,Feb18,Apr08,Apr15,Apr16,May01,May06,May16,Jul15,Jul29,Aug12,Oct14,Oct23,Dec05,Dec10,Dec31
+2031=Jan01,Mar07,Apr07,Apr14,Apr15,May01,May04,Jun04,Jul28,Aug04,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31
+2032=Jan01,Jan02,Feb25,Apr06,Apr13,Apr14,Apr15,May03,May04,May24,Jul22,Jul28,Aug12,Oct13,Oct25,Dec06,Dec10,Dec31
+2033=Jan03,Feb14,Apr06,Apr13,Apr14,Apr15,May02,May04,May13,Jul11,Jul28,Aug12,Oct13,Oct24,Dec05,Dec12
 2034=Jan02,Mar06,Apr06,Apr13,Apr14,May01,Jun01,Jul28,Jul31,Aug14,Oct13,Oct23,Dec05,Dec11
 2035=Jan01,Jan02,Feb22,Apr06,Apr13,Apr16,May01,May21,Jul20,Jul30,Aug13,Oct15,Oct23,Dec05,Dec10,Dec31
 2036=Jan01,Feb12,Apr07,Apr14,Apr15,May01,May12,Jul08,Jul28,Aug12,Oct13,Oct23,Dec05,Dec10,Dec31uau(d76f43c8898ae22b93623549d28010f2b237ff37}(sha(d76f43c8898ae22b93623549d28010f2b237ff37node_idEC_kwDOAT6l0doAKGQ3NmY0M2M4ODk4YWUyMmI5MzYyMzU0OWQyODAxMGYyYjIzN2ZmMzccommit}(author}(nameopengammacibotemailcibot@opengamma.comdate2023-05-24T12:28:07Zu	committer}(jdS  opengammacibotjfS  cibot@opengamma.comjhS  2023-05-24T12:28:07Zumessage=[maven-release-plugin] prepare for next development iterationtree}(j\S  (b058620ff586d409e067bcb59158b9b0e800e4deurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/b058620ff586d409e067bcb59158b9b0e800e4deujtS  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/d76f43c8898ae22b93623549d28010f2b237ff37
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujtS  ^https://api.github.com/repos/OpenGamma/Strata/commits/d76f43c8898ae22b93623549d28010f2b237ff37html_urlShttps://github.com/OpenGamma/Strata/commit/d76f43c8898ae22b93623549d28010f2b237ff37comments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/d76f43c8898ae22b93623549d28010f2b237ff37/commentsjbS  }(loginopengammacibotidJq j^S  MDQ6VXNlcjc0NTAyODE=
avatar_url3https://avatars.githubusercontent.com/u/7450281?v=4gravatar_idh3jtS  +https://api.github.com/users/opengammacibotjS  !https://github.com/opengammacibot
followers_url5https://api.github.com/users/opengammacibot/followers
following_urlBhttps://api.github.com/users/opengammacibot/following{/other_user}	gists_url;https://api.github.com/users/opengammacibot/gists{/gist_id}starred_urlBhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}subscriptions_url9https://api.github.com/users/opengammacibot/subscriptionsorganizations_url0https://api.github.com/users/opengammacibot/orgs	repos_url1https://api.github.com/users/opengammacibot/repos
events_url<https://api.github.com/users/opengammacibot/events{/privacy}received_events_url;https://api.github.com/users/opengammacibot/received_eventstypeUser
site_adminujjS  }(jS  opengammacibotjS  Jq j^S  MDQ6VXNlcjc0NTAyODE=jS  3https://avatars.githubusercontent.com/u/7450281?v=4jS  h3jtS  +https://api.github.com/users/opengammacibotjS  !https://github.com/opengammacibotjS  5https://api.github.com/users/opengammacibot/followersjS  Bhttps://api.github.com/users/opengammacibot/following{/other_user}jS  ;https://api.github.com/users/opengammacibot/gists{/gist_id}jS  Bhttps://api.github.com/users/opengammacibot/starred{/owner}{/repo}jS  9https://api.github.com/users/opengammacibot/subscriptionsjS  0https://api.github.com/users/opengammacibot/orgsjS  1https://api.github.com/users/opengammacibot/reposjS  <https://api.github.com/users/opengammacibot/events{/privacy}jS  ;https://api.github.com/users/opengammacibot/received_eventsjS  UserjS  uparents]}(j\S  (e7457493f0c0195aaf806b97eed27a29054ba451jtS  ^https://api.github.com/repos/OpenGamma/Strata/commits/e7457493f0c0195aaf806b97eed27a29054ba451jS  Shttps://github.com/OpenGamma/Strata/commit/e7457493f0c0195aaf806b97eed27a29054ba451uastats}(totalK$	additionsK	deletionsKufiles](}(j\S  (38c1ce3bcae73b2762a55ddccf7d49a2f9e5b32efilenameexamples/pom.xmlstatusmodifiedjS  KjS  KchangesKblob_urldhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/examples%2Fpom.xmlraw_urlchttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/examples%2Fpom.xmlcontents_urlvhttps://api.github.com/repos/OpenGamma/Strata/contents/examples%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37patchX$  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-examples</artifactId>
-  <version>2.12.24</version>
+  <version>2.12.25-SNAPSHOT</version>
   <packaging>jar</packaging>
   <name>Strata-Examples</name>
   <description>Example code to demonstrate use of Strata</description>
@@ -272,8 +272,4 @@
     <windowtitle>OpenGamma Strata Examples</windowtitle>
     <doctitle><![CDATA[<h1>OpenGamma Strata Examples</h1>]]></doctitle>
   </properties>
-
-  <scm>
-    <tag>v2.12.24</tag>
-  </scm>
 </project>u}(j\S  (f7adc344ce0105a4e8599d22bc23226a62fed128jS  modules/basics/pom.xmljS  modifiedjS  KjS  KjS  KjS  lhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fbasics%2Fpom.xmljS  khttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fbasics%2Fpom.xmljS  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fbasics%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-basics</artifactId>u}(j\S  (b54b0706950542675eb234c944c3a1d5cc8c44e9jS  modules/calc/pom.xmljS  modifiedjS  KjS  KjS  KjS  jhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fcalc%2Fpom.xmljS  ihttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fcalc%2Fpom.xmljS  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcalc%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-calc</artifactId>u}(j\S  (53ab896238c20bbe6b17c69e0df97260d3e82596jS  modules/collect/pom.xmljS  modifiedjS  KjS  KjS  KjS  mhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fcollect%2Fpom.xmljS  lhttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fcollect%2Fpom.xmljS  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-collect</artifactId>u}(j\S  (81588b437b40d1207bc1afa365dd8dc5d1799722jS  modules/data/pom.xmljS  modifiedjS  KjS  KjS  KjS  jhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fdata%2Fpom.xmljS  ihttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fdata%2Fpom.xmljS  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fdata%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-data</artifactId>u}(j\S  (d18ebb5afb9bb28d3741ba14b81fef427679d20ajS  modules/loader/pom.xmljS  modifiedjS  KjS  KjS  KjS  lhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Floader%2Fpom.xmljS  khttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Floader%2Fpom.xmljS  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Floader%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-loader</artifactId>u}(j\S  (bcffa93dbba1575a0208db799ffe5a30639dfbb1jS  modules/market/pom.xmljS  modifiedjS  KjS  KjS  KjS  lhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fmarket%2Fpom.xmljS  khttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fmarket%2Fpom.xmljS  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmarket%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-market</artifactId>u}(j\S  (7e293da8cec6513913eabfbde89c60def6f56cfejS  modules/math/pom.xmljS  modifiedjS  KjS  KjS  KjS  jhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fmath%2Fpom.xmljS  ihttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fmath%2Fpom.xmljS  |https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmath%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-math</artifactId>u}(j\S  (d88fb550b50233e1d9f8612b4ca6f4f4bce08a87jS  modules/measure/pom.xmljS  modifiedjS  KjS  KjS  KjS  mhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fmeasure%2Fpom.xmljS  lhttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fmeasure%2Fpom.xmljS  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fmeasure%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>
   <artifactId>strata-measure</artifactId>u}(j\S  (f6b29ff67fec27b391d04e5dab794443e6c010a1jS  modules/pom.xmljS  modifiedjS  KjS  KjS  KjS  chttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fpom.xmljS  bhttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fpom.xmljS  uhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -10,7 +10,7 @@
   </parent>
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-parent</artifactId>
-  <version>2.12.24</version>
+  <version>2.12.25-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Parent</name>
   <description>OpenGamma Strata Parent</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.24</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->u}(j\S  (589d72f3a203a02dba735cf56b0315cbe9276d1ajS  modules/pricer/pom.xmljS  modifiedjS  KjS  KjS  KjS  lhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fpricer%2Fpom.xmljS  khttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fpricer%2Fpom.xmljS  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fpricer%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-pricer</artifactId>u}(j\S  (3c749c8044c96e054059a7b36f5da04715e14ecfjS  modules/product/pom.xmljS  modifiedjS  KjS  KjS  KjS  mhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fproduct%2Fpom.xmljS  lhttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Fproduct%2Fpom.xmljS  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fproduct%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-product</artifactId>u}(j\S  (9c8db0792466a2d68f8063c2f19ad17e7243f3afjS  modules/report/pom.xmljS  modifiedjS  KjS  KjS  KjS  lhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Freport%2Fpom.xmljS  khttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/modules%2Freport%2Fpom.xmljS  ~https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Freport%2Fpom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -5,7 +5,7 @@
   <parent>
     <groupId>com.opengamma.strata</groupId>
     <artifactId>strata-parent</artifactId>
-    <version>2.12.24</version>
+    <version>2.12.25-SNAPSHOT</version>
     <relativePath>..</relativePath>
   </parent>  
   <artifactId>strata-report</artifactId>u}(j\S  (08905acb39955f4201aac176cbd3288045e2f274jS  pom.xmljS  modifiedjS  KjS  KjS  KjS  Yhttps://github.com/OpenGamma/Strata/blob/d76f43c8898ae22b93623549d28010f2b237ff37/pom.xmljS  Xhttps://github.com/OpenGamma/Strata/raw/d76f43c8898ae22b93623549d28010f2b237ff37/pom.xmljS  khttps://api.github.com/repos/OpenGamma/Strata/contents/pom.xml?ref=d76f43c8898ae22b93623549d28010f2b237ff37jS  X  @@ -10,7 +10,7 @@
   </parent>  
   <groupId>com.opengamma.strata</groupId>
   <artifactId>strata-root</artifactId>
-  <version>2.12.24</version>
+  <version>2.12.25-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Strata-Root</name>
   <description>OpenGamma Strata root</description>
@@ -40,7 +40,7 @@
     <connection>scm:git:https://github.com/OpenGamma/Strata.git</connection>
     <developerConnection>scm:git:https://github.com/OpenGamma/Strata.git</developerConnection>
     <url>https://github.com/OpenGamma/Strata</url>
-    <tag>v2.12.24</tag>
+    <tag>HEAD</tag>
   </scm>
 
   <!-- ==================================================================== -->ueu(f464e10f9c8644c750463dd011f984dd159bd8fc}(sha(f464e10f9c8644c750463dd011f984dd159bd8fcnode_idEC_kwDOAT6l0doAKGY0NjRlMTBmOWM4NjQ0Yzc1MDQ2M2RkMDExZjk4NGRkMTU5YmQ4ZmMcommit}(author}(nameStephen Colebourneemailscolebourne@joda.orgdate2023-05-17T11:46:21Zu	committer}(jAT  Stephen ColebournejCT  scolebourne@joda.orgjET  2023-05-17T11:46:30Zumessage!Comparable Percentage/BasisPointstree}(j9T  (3694cd5a8889848bcf44f678b0e9f038b51402caurl`https://api.github.com/repos/OpenGamma/Strata/git/trees/3694cd5a8889848bcf44f678b0e9f038b51402caujQT  bhttps://api.github.com/repos/OpenGamma/Strata/git/commits/f464e10f9c8644c750463dd011f984dd159bd8fc
comment_countK verification}(verifiedreasonunsigned	signatureNpayloadNuujQT  ^https://api.github.com/repos/OpenGamma/Strata/commits/f464e10f9c8644c750463dd011f984dd159bd8fchtml_urlShttps://github.com/OpenGamma/Strata/commit/f464e10f9c8644c750463dd011f984dd159bd8fccomments_urlghttps://api.github.com/repos/OpenGamma/Strata/commits/f464e10f9c8644c750463dd011f984dd159bd8fc/commentsj?T  }(loginjodastephenidJ@ j;T  MDQ6VXNlcjIxMzIxMg==
avatar_url2https://avatars.githubusercontent.com/u/213212?v=4gravatar_idh3jQT  (https://api.github.com/users/jodastephenj]T  https://github.com/jodastephen
followers_url2https://api.github.com/users/jodastephen/followers
following_url?https://api.github.com/users/jodastephen/following{/other_user}	gists_url8https://api.github.com/users/jodastephen/gists{/gist_id}starred_url?https://api.github.com/users/jodastephen/starred{/owner}{/repo}subscriptions_url6https://api.github.com/users/jodastephen/subscriptionsorganizations_url-https://api.github.com/users/jodastephen/orgs	repos_url.https://api.github.com/users/jodastephen/repos
events_url9https://api.github.com/users/jodastephen/events{/privacy}received_events_url8https://api.github.com/users/jodastephen/received_eventstypeUser
site_adminujGT  }(jbT  jodastephenjdT  J@ j;T  MDQ6VXNlcjIxMzIxMg==jfT  2https://avatars.githubusercontent.com/u/213212?v=4jhT  h3jQT  (https://api.github.com/users/jodastephenj]T  https://github.com/jodastephenjkT  2https://api.github.com/users/jodastephen/followersjmT  ?https://api.github.com/users/jodastephen/following{/other_user}joT  8https://api.github.com/users/jodastephen/gists{/gist_id}jqT  ?https://api.github.com/users/jodastephen/starred{/owner}{/repo}jsT  6https://api.github.com/users/jodastephen/subscriptionsjuT  -https://api.github.com/users/jodastephen/orgsjwT  .https://api.github.com/users/jodastephen/reposjyT  9https://api.github.com/users/jodastephen/events{/privacy}j{T  8https://api.github.com/users/jodastephen/received_eventsj}T  UserjT  uparents]}(j9T  (8352de0af6c1c94b006a4d3037b25d8f71d3ddd8jQT  ^https://api.github.com/repos/OpenGamma/Strata/commits/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8j]T  Shttps://github.com/OpenGamma/Strata/commit/8352de0af6c1c94b006a4d3037b25d8f71d3ddd8uastats}(totalK"	additionsK	deletionsKufiles](}(j9T  (7bbee27e3c18706ffe1459f87091f0033466763cfilenameKmodules/collect/src/main/java/com/opengamma/strata/collect/BasisPoints.javastatusmodifiedjT  K
jT  KchangesKblob_urlhttps://github.com/OpenGamma/Strata/blob/f464e10f9c8644c750463dd011f984dd159bd8fc/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPoints.javaraw_urlhttps://github.com/OpenGamma/Strata/raw/f464e10f9c8644c750463dd011f984dd159bd8fc/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPoints.javacontents_urlhttps://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPoints.java?ref=f464e10f9c8644c750463dd011f984dd159bd8fcpatchXF  @@ -18,11 +18,11 @@
  * <ul>
  * <li>decimal form - the form needed for mathematical calculations, as used by most parts of Strata
  * <li>percentage - where 1.2% is the same as the decimal 0.012
- * <li>basis points - where 120bps is the same as the decimal 0.012
+ * <li>basis points - where 125bps is the same as the decimal 0.0125
  * </ul>
  * This class allows the use of basis points form to be explicit.
  */
-public final class BasisPoints {
+public final class BasisPoints implements Comparable<BasisPoints> {
 
   /** A basis points of zero. */
   public static final BasisPoints ZERO = new BasisPoints(Decimal.ZERO);
@@ -181,6 +181,17 @@ public BasisPoints map(UnaryOperator<Decimal> mapper) {
   }
 
   //-----------------------------------------------------------------------
+  /**
+   * Compares this instance to another.
+   * 
+   * @param other the other instance
+   * @return the comparison result
+   */
+  @Override
+  public int compareTo(BasisPoints other) {
+    return amount.compareTo(other.amount);
+  }
+
   /**
    * Checks if this instance equals another.
    * u}(j9T  (8e662b575aad4759c75ca6ff0972ee1aece55c17jT  Jmodules/collect/src/main/java/com/opengamma/strata/collect/Percentage.javajT  modifiedjT  K
jT  KjT  KjT  https://github.com/OpenGamma/Strata/blob/f464e10f9c8644c750463dd011f984dd159bd8fc/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentage.javajT  https://github.com/OpenGamma/Strata/raw/f464e10f9c8644c750463dd011f984dd159bd8fc/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentage.javajT  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Fmain%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentage.java?ref=f464e10f9c8644c750463dd011f984dd159bd8fcjT  X;  @@ -18,11 +18,11 @@
  * <ul>
  * <li>decimal form - the form needed for mathematical calculations, as used by most parts of Strata
  * <li>percentage - where 1.2% is the same as the decimal 0.012
- * <li>basis points - where 120bps is the same as the decimal 0.012
+ * <li>basis points - where 125bps is the same as the decimal 0.0125
  * </ul>
  * This class allows the use of percentage form to be explicit.
  */
-public final class Percentage {
+public final class Percentage implements Comparable<Percentage> {
 
   /** A percentage of zero. */
   public static final Percentage ZERO = new Percentage(Decimal.ZERO);
@@ -183,6 +183,17 @@ public Percentage map(UnaryOperator<Decimal> mapper) {
   }
 
   //-----------------------------------------------------------------------
+  /**
+   * Compares this instance to another.
+   * 
+   * @param other the other instance
+   * @return the comparison result
+   */
+  @Override
+  public int compareTo(Percentage other) {
+    return amount.compareTo(other.amount);
+  }
+
   /**
    * Checks if this instance equals another.
    * u}(j9T  (4a8e82c9ff806d4cdbcd2d2b699e0f812ab4851ejT  Omodules/collect/src/test/java/com/opengamma/strata/collect/BasisPointsTest.javajT  modifiedjT  KjT  K jT  KjT  https://github.com/OpenGamma/Strata/blob/f464e10f9c8644c750463dd011f984dd159bd8fc/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPointsTest.javajT  https://github.com/OpenGamma/Strata/raw/f464e10f9c8644c750463dd011f984dd159bd8fc/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPointsTest.javajT  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FBasisPointsTest.java?ref=f464e10f9c8644c750463dd011f984dd159bd8fcjT  X4  @@ -41,6 +41,8 @@ void test_values(BasisPoints test, String str, Decimal value) {
     assertThat(BasisPoints.parse(str + "bps")).isEqualTo(test);
     assertThat(BasisPoints.parse(str + " bps")).isEqualTo(test);
     assertThat(BasisPoints.parse(str)).isEqualTo(test);
+    assertThat(BasisPoints.parse(str)).isLessThan(BasisPoints.parse("1000bps"));
+    assertThat(BasisPoints.parse(str)).isGreaterThan(BasisPoints.parse("-1000bps"));
 
     assertThat(test.plus(BasisPoints.ZERO)).isEqualTo(test);
     assertThat(test.minus(BasisPoints.ZERO)).isEqualTo(test);u}(j9T  (c4706b99e170f7b8f0c199ffe04a661023a08c0djT  Nmodules/collect/src/test/java/com/opengamma/strata/collect/PercentageTest.javajT  modifiedjT  KjT  K jT  KjT  https://github.com/OpenGamma/Strata/blob/f464e10f9c8644c750463dd011f984dd159bd8fc/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentageTest.javajT  https://github.com/OpenGamma/Strata/raw/f464e10f9c8644c750463dd011f984dd159bd8fc/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentageTest.javajT  https://api.github.com/repos/OpenGamma/Strata/contents/modules%2Fcollect%2Fsrc%2Ftest%2Fjava%2Fcom%2Fopengamma%2Fstrata%2Fcollect%2FPercentageTest.java?ref=f464e10f9c8644c750463dd011f984dd159bd8fcjT  X&  @@ -43,6 +43,8 @@ void test_values(Percentage test, String str, Decimal value) {
     assertThat(Percentage.parse(str + "pct")).isEqualTo(test);
     assertThat(Percentage.parse(str + " pct")).isEqualTo(test);
     assertThat(Percentage.parse(str)).isEqualTo(test);
+    assertThat(Percentage.parse(str)).isLessThan(Percentage.parse("1000%"));
+    assertThat(Percentage.parse(str)).isGreaterThan(Percentage.parse("-1000%"));
 
     assertThat(test.plus(Percentage.ZERO)).isEqualTo(test);
     assertThat(test.minus(Percentage.ZERO)).isEqualTo(test);ueuu.