Open JustinDrake opened 2 years ago
I'd break this work into two parts. First, start depending on Deribit for our ETH price feed instead of FTX. Second, change the frequency of the updates to every twelve seconds. Then there are extras that we can skip for now.
For part one:
eth_prices
table which has a timestamp
and an ethusd
column. Where the timestamp is rounded down to the minute.For part two:
For part three (the stuff we can postpone indefinitely, nice to have):
Right, I'd put keeping the price fresh in the tab title in part three, or separate it out into a different issue. It has nothing to do with the price feed I believe, only with whether the browser keeps our JS running or not and how one can update a page title in the background reliably.
Another thing that would be great is to keep the values displayed in the tab header (see screenshot) significantly fresher.
I noticed that this Deribit tab keeps a fresh price value much longer than ultrasound.money.