Corporate actions (dividends, splits, takeovers, spinoffs etc) cause huge numbers of bugs and problems in financial software.
Ultimately these bugs can all be resolved with little to no damage.
Oh and nobody really shares their implementations, partly because they are so internal facing you can't really abstract it out, but also because its a competitive advantage.