tarkah / tickrs

Realtime ticker data in your terminal 📈
MIT License
1.16k stars 58 forks source link

Unable to track U.S. Dollar Index #114

Closed Maskhjarna closed 3 years ago

Maskhjarna commented 3 years ago

I'm unable to add USDX (Yahoo! Finance quote DX-Y.NYB) under symbols. I've added it under symbols like so:

symbols:
    - BTC-USD
    - ETH-USD
    - ADA-USD
    - LINK-USD
    - BTC-ETH
    - DX-Y.NYB

and the graph seems to be stuck loading the graph. If indexes are supposed to be added differently it isn't made clear by the documentation.

image

Thanks! - Gustav

tarkah commented 3 years ago

Thanks for opening the issue! Hmm, that symbol definitely works when I query the API directly with it. There must be a missing value from the response that I'm expecting that doesn't exist on indexes. I'll get this fixed.

tarkah commented 3 years ago

Yup, as suspected it was a simple fix. There was a couple fields that aren't coming across for Index tickers. Working with #115:

image

I'll get a new release out today w/ this fix