Commit Graph

9 Commits

Author SHA1 Message Date
tomFlowee 8b81702cb1 remove extra char 2022-08-15 15:10:28 +02:00
tomFlowee 1dba6a114e Useragent for web requests is useful to have. 2022-08-13 23:22:49 +02:00
tomFlowee b6977642b6 Add an initial populate for the price history. 2022-08-12 23:47:12 +02:00
tomFlowee f27667c172 Integrate historical price module
For mined transactions we now use the historical fiat price of BCH
instead of the current.

This will give us a much more stable and historically accurate view of
our transactions.

Fixes: #7
2022-08-12 23:46:18 +02:00
tomFlowee cbef771107 Various fixes 2022-08-12 19:41:46 +02:00
tomFlowee 58dd0a5f60 Add bool to disable processLog 2022-08-12 16:01:59 +02:00
tomFlowee bbef1aab6c Implement TODOs and average over a day.
This replaces the simple version with a proper averaging implementation
that takes all the price measurements and returns a single value per
day which is the average of all the measured ones.
2022-08-12 15:41:57 +02:00
tomFlowee 5eda36008d Add some more functionality to the price history 2022-08-11 13:48:59 +02:00
tomFlowee b81910226d Start new class 2022-08-02 21:49:30 +02:00