Skip to content

Releases: christiankm/FinanceKit

0.7.1

16 Apr 06:27
Compare
Choose a tag to compare
  • New method on Portfolio to adjust for splits
  • Fixed bug where only holdings with splits in the portfolio was returned

0.7.0

08 Apr 12:11
Compare
Choose a tag to compare

Added full support for stock splits

FinanceKit 0.6.1

26 Apr 04:35
Compare
Choose a tag to compare
Add locale to CurrencyFormatter tests in attempt to prevent flakyness

FinanceKit 0.5.0

29 Jun 18:03
Compare
Choose a tag to compare

FinanceKit 0.4.1

23 May 17:13
b13da7f
Compare
Choose a tag to compare
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

13 May 19:43
1998d47
Compare
Choose a tag to compare
  • 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

03 May 19:53
Compare
Choose a tag to compare
Merge branch 'financekit-0.3.0'

FinanceKit 0.2.0

23 Apr 19:06
6052434
Compare
Choose a tag to compare
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

01 Apr 17:00
ec472d5
Compare
Choose a tag to compare
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>