achannarasappa / ticker

Terminal stock ticker with live updates and position tracking
GNU General Public License v3.0
4.97k stars 268 forks source link

Crypto tickers have stopped updating #248

Closed ajgringo619 closed 1 year ago

ajgringo619 commented 1 year ago

Describe the bug Unlike issue #247, this is only affecting crypto assets. Some time over the weekend, the updates just stopped. I can still see my tokens, but none of the prices change

Expected behavior Crypto prices should update at the same time as the stocks do.

Environment (please complete the following information):

Additional context When I manually try getting a crypto token's data via Yahoo, it works:

curl 'https://query1.finance.yahoo.com/v6/finance/quote?symbols=BTC-USD'

{"quoteResponse":{"result":[{"language":"en-US","region":"US","quoteType":"CRYPTOCURRENCY","typeDisp":"Cryptocurrency","quoteSourceName":"CoinMarketCap","triggerable":true,"customPriceAlertConfidence":"HIGH","currency":"USD","marketState":"REGULAR","regularMarketChangePercent":1.980644,"regularMarketPrice":27406.39,"cryptoTradeable":true,"tradeable":false,"exchange":"CCC","shortName":"Bitcoin USD","longName":"Bitcoin USD","messageBoardId":"finmb_BTC_CCC","exchangeTimezoneName":"UTC","exchangeTimezoneShortName":"UTC","gmtOffSetMilliseconds":0,"market":"ccc_market","esgPopulated":false,"firstTradeDateMilliseconds":1410912000000,"priceHint":2,"circulatingSupply":19374068,"lastMarket":"CoinMarketCap","volume24Hr":13473703936,"volumeAllCurrencies":13473703936,"fromCurrency":"BTC","toCurrency":"USD=X","coinMarketCapLink":"https://coinmarketcap.com/currencies/bitcoin","regularMarketChange":532.2793,"regularMarketTime":1684155960,"regularMarketDayHigh":27516.852,"regularMarketDayRange":"26770.28 - 27516.852","regularMarketDayLow":26770.28,"regularMarketVolume":13473703936,"regularMarketPreviousClose":26939.564,"fullExchangeName":"CCC","regularMarketOpen":26939.564,"averageDailyVolume3Month":22094688222,"averageDailyVolume10Day":15158795043,"startDate":1278979200,"coinImageUrl":"https://s2.coinmarketcap.com/static/img/coins/64x64/1.png","logoUrl":"https://s2.coinmarketcap.com/static/img/coins/64x64/1.png","fiftyTwoWeekLowChange":11807.344,"fiftyTwoWeekLowChangePercent":0.75692725,"fiftyTwoWeekRange":"15599.047 - 32249.863","fiftyTwoWeekHighChange":-4843.4727,"fiftyTwoWeekHighChangePercent":-0.15018584,"fiftyTwoWeekLow":15599.047,"fiftyTwoWeekHigh":32249.863,"fiftyDayAverage":28484.076,"fiftyDayAverageChange":-1077.6855,"fiftyDayAverageChangePercent":-0.037834667,"twoHundredDayAverage":22399.33,"twoHundredDayAverageChange":5007.0605,"twoHundredDayAverageChangePercent":0.22353618,"marketCap":530973294592,"sourceInterval":15,"exchangeDataDelayedBy":0,"symbol":"BTC-USD"}],"error":null}}
ajgringo619 commented 1 year ago

Must have (another) temporary glitch with Yahoo. It started working again about 20 minutes.