Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NormalizedPrices ¶
NormalizedPrices is a map representing the price of commodities in some base commodity.
type Price ¶
type Price struct { Src *syntax.Price Date time.Time Commodity *commodity.Commodity Price decimal.Decimal Target *commodity.Commodity }
Price represents a price command.
type Prices ¶
type Prices map[*commodity.Commodity]NormalizedPrices
Prices stores the price for a commodity to a target commodity Outer map: target commodity Inner map: commodity value: price in (target commodity / commodity)
Click to show internal directories.
Click to hide internal directories.