butterygg / whip

Treasury Risk Analytics Dashboard with Strategy Backtesting for DAOs
4 stars 2 forks source link

Store token price histories in a database #62

Open lajarre opened 2 years ago

lajarre commented 2 years ago

Then each day just append the last day data that we got from data providers. That will not reduce the number of i/o requests to data providers but will significantly reduce the bandwidth of such requests. Also, this can provide a fallback in case new data isn't yet available.

See https://github.com/butterdao/whip/issues/49 for a discussion on performance issues.