如何在 Python 中获取所有与 yfinance 的加密货币对?

How to get all cryptocurrencies pairs with yfinance in Python?

我在 Python 之前探索 yfinance 中的 article. As you can see, the author explains using BTC-USD pair but I want to know if there's some alternative to pull all cryptocurrencies pairs. Somebody asked 模块,但我认为答案不合适。您是否建议进行某种网络 抓取 ? 在此先感谢您的指导,我已经远离 Python,我觉得自己又是新人了。

# Using coinbase pro
# !pip3 install cbpro 
import cbpro
c = cbpro.PublicClient()
data_ = pd.DataFrame(c.get_products())
data_['id']