These packages are available as a package collection, usable in Xcode or SwiftPM.
A tool for calculating portfolio performance using the Modified Dietz method
1 package.