Module ledger_rs_lib::history
source · Expand description
Commodity price history
history.h + .cc
Commodities are nodes (vertices).
All edges are weights computed as the absolute difference between the reference time of a search and a known price point. A filtered_graph is used to select the recent price point to the reference time before performing the search.
Structs
- Represents a price of a commodity. i.e. (1) EUR = 1.20 AUD