Releases: christiankm/FinanceKit
Releases · christiankm/FinanceKit
0.7.1
0.7.0
Added full support for stock splits
FinanceKit 0.6.1
Add locale to CurrencyFormatter tests in attempt to prevent flakyness
FinanceKit 0.5.0
FinanceKit 0.4.1
Financekit 0.4.1 (#30) * Remove mutating functions to keep API pure Fix problem with Equatable # Conflicts: # Sources/FinanceKit/Holding.swift # Tests/FinanceKitTests/HoldingTests.swift * Update tests to remove mutation * Make Money and Dividend conform to Hashable
FinanceKit 0.4.0
-
Add Money-type to handle monetary amount values with an optional currency
-
Add arithmetic functions to Money
-
Add simple NumberFormatter currency and Monetary convenience vars
-
Add formattedAmount property on Money for simple formatting
-
Add functions to get money from string in CurrencyFormatter
-
Add functions to convert money into currency
-
Add all “normal” world currencies to CurrencyCode
-
Add CurrencyCoverter to perform basic currency conversion with a given rate
-
Add tests for CurrencyFormatter to ensure correct formatting for different locales
-
Remove whitespace
-
Add tests
FinanceKit 0.3.0
Merge branch 'financekit-0.3.0'
FinanceKit 0.2.0
Financekit 0.2.0 (#28) * Return empty string for unknown currency * Change CurrencyCode to struct * make Holding properties internal(set) and cap to 0 * Add Percentage type and Formatter * Fix tests with new CurrencyCode init * Add ChangePeriod for easily readable time periods commonly used for historical data * Remove precondition check for CurrencyPairs to initialize with same currency * Change property names on Change * Update functions on Portfolio to correctly update holdings current value * Add Decimal extension to round numbers correctly * Sort files * Portfolio can calculate total cost of an array of Holding * Add region property to Stock * Add unit tests
FinanceKit 0.1
Merge develop to master (#26) * Add Amount and extensions to calculate totals and averages * Add test cases for Linux * Add conformances to Hashable, Comparable, Equatable * Rename stocks to holdings on Portfolio * Allow setting a Target Price on a Stock * Use UInt64 for market cap and volume on a Stock * Make types properly conform to Equatable * Remove precondition that CurrencyPair rate should be above 0 * Ignore .build folder * Autogenerate XCTestManifests and LinuxMain * Add functions to Portfolio to get total value, cost and change of multiple portfolios * Conform CurrencyPair to Equatable, Hashable and Codable * Exclude XCTestManifests from Swiftlint * Add conformance to Comparable for Transaction * Add Amount * Sort transactions by date before building holdings * Add simple Dividend model * Add Dividend initializer * Add intrinsic value property to Stock * Change type for Stock last traded * Add accumulated dividend and ownership for Holdings * Fix swiftlint warnings Co-authored-by: Christian Mitteldorf <christian@mitteldorf.dk>