Discover Packages
github.com/sboehler/knut
lib
prices
package
Version:
v0.0.13
Opens a new window with list of versions in this module.
Published: Nov 21, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NormalizedPrices is a map representing the price of
commodities in some base commodity.
Valuate valuates the given amount.
Prices stores the price for a commodity to a target commodity
Outer map: target commodity
Inner map: commodity
value: price in (target commodity / commodity)
Insert inserts a new price.
Normalize creates a normalized price map for the given commodity.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.