Skip to content

Commit 0b32744

Browse files
authored
Feb Release (#259)
* add boundary check for dueInt index * fix inspect * BUGFIX: fundWith shall increase the balance * reduce mflow* * multiIntBond: use single last int due date * refactor: acc before balance change * fix calcPmt * using root.finder to calc Z-spread * remove override type * expose Schedule Balance By Period * expose bond schedule balance by index * Performance Opt * expose deal stats query * Fix Schedule Look Up * expose feeflow by index * expose multi-thread on pool * lift readProceed to Either * expose Convexity on asset/bond pricing * lift writeOff * Enable WAL on bondGroup * clean up stmt * Expose PSA * expose default/ppy by Term * remove duplicate bond acc int function * Expose First Loss * Fix UT & pricing interface * add edge guard condition for buy asset * Early terminate
1 parent 85df5ed commit 0b32744

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2223
-1051
lines changed

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,32 @@
22

33
<!-- towncrier release notes start -->
44

5+
## 0.42.4
6+
### 2025-02-06
7+
* NEW: `FirstLoss` as new endpoint, which will stress on `Default` assumption till 0.01 loss on input tranche.
8+
* NEW: New prepayment /default assumption via `byTerm`, which vector curves are being applied via term of the assets.
9+
10+
11+
## 0.42.3
12+
### 2025-02-04
13+
* NEW: `Multi-thread` on pool cashflow projection
14+
* NEW: Expose `convexity` on bond/asset
15+
* NEW: Add new prepayment assumption `PSA` for Monthly mortgage
16+
* NEW: Add new prepayment/default vector assumption based on asset origin term
17+
18+
## 0.42.1
19+
### 2025-02-02
20+
* NEW: add custom fee flow by `BondPaidPeriod` `PoolCollectedPeriod` index
21+
22+
23+
## 0.42.0
24+
### 2025-02-01
25+
* ENHANCE: refactor `calcPmt` to boost 15x performance for mortgage cashflow projection.
26+
* NEW: add `ScheduleByIndex` for bonds
27+
* FIX: `fundWith` shall increase the bond balance
28+
* ENHANCE: refactor Z-spread calc logic with numeric.root.finder
29+
30+
531
## 0.41.1
632
### 2025-01-11
733
* NEW: `Multi Interest Bond` which used to model in bond with `step up` feature ( sub ordinated interest) in European

Hastructure.cabal

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
cabal-version: 1.12
22

3-
-- This file has been generated from package.yaml by hpack version 0.37.0.
3+
-- This file has been generated from package.yaml by hpack version 0.35.2.
44
--
55
-- see: https://github.com/sol/hpack
66

77
name: Hastructure
8-
version: 0.41.1
8+
version: 0.41.3
99
description: Please see the README on GitHub at <https://github.com/yellowbean/Hastructure#readme>
1010
category: StructuredFinance;Securitisation;Cashflow
1111
homepage: https://github.com/yellowbean/Hastructure#readme
1212
bug-reports: https://github.com/yellowbean/Hastructure/issues
1313
author: Xiaoyu
1414
maintainer: always.zhang@gmail.com
15-
copyright: 2024 Xiaoyu, Zhang
15+
copyright: 2025 Xiaoyu, Zhang
1616
license: BSD3
1717
license-file: LICENSE
1818
build-type: Simple
@@ -66,6 +66,7 @@ library
6666
Util
6767
Validation
6868
Waterfall
69+
WebUI
6970
other-modules:
7071
Paths_Hastructure
7172
hs-source-dirs:
@@ -76,14 +77,17 @@ library
7677
, base
7778
, bytestring
7879
, containers
80+
, deepseq
7981
, generic-lens
8082
, hashable
8183
, ieee754
8284
, lens
85+
, lucid
8386
, math-functions
8487
, monad-loops
8588
, numeric-limits
8689
, openapi3
90+
, parallel
8791
, regex-base
8892
, regex-pcre-builtin
8993
, regex-tdfa
@@ -99,6 +103,7 @@ library
99103
, time
100104
, vector
101105
, wai
106+
, yaml
102107
default-language: Haskell2010
103108

104109
executable Hastructure-exe
@@ -118,6 +123,7 @@ executable Hastructure-exe
118123
, base-compat
119124
, bytestring
120125
, containers
126+
, deepseq
121127
, exceptions
122128
, generic-lens
123129
, hashable
@@ -130,6 +136,7 @@ executable Hastructure-exe
130136
, mtl
131137
, numeric-limits
132138
, openapi3
139+
, parallel
133140
, regex-base
134141
, regex-pcre-builtin
135142
, regex-tdfa
@@ -187,14 +194,17 @@ test-suite Hastructure-test
187194
, base
188195
, bytestring
189196
, containers
197+
, deepseq
190198
, generic-lens
191199
, hashable
192200
, ieee754
193201
, lens
202+
, lucid
194203
, math-functions
195204
, monad-loops
196205
, numeric-limits
197206
, openapi3
207+
, parallel
198208
, regex-base
199209
, regex-pcre-builtin
200210
, regex-tdfa
@@ -214,4 +224,5 @@ test-suite Hastructure-test
214224
, time
215225
, vector
216226
, wai
227+
, yaml
217228
default-language: Haskell2010

0 commit comments

Comments
 (0)