Open yellowbean opened 11 months ago
annotate via datePattern
is not an option as it the frequence adjustment should be part of feeType
not a new feeType
A possible solution is: creating a new compound feeType like
data feeType = PctFee
| Pre feeType ---> a feeType only come into exist when `pre` evaluated to be true
a Fee may increase by % after N years ?
When to happen ?
datePattern
Pre
as conditionalHow much of the changes ?
it depends on the fee type
recurr fee : change on the amount
pct fee : change on the rate
annualized fee : change on the rate
count type fee : change on the amount
How to model ?
it should be part of deal component instead of assumption.