I am trying to learn more about Python and integration. Please see the code below:
import yfinance as yf
coinPair1 = 'ZRX-BTC'
coinPair2 = 'AAVE-BTC'
coinPair3 = 'GHST-BTC'
data1 = yf.download(coinPair1,'2022-05-31','2024-05-31')['Adj Close']
data2 = yf.download(coinPair2,'2022-05-31','2024-05-31')['Adj Close']
data3 = yf.download(coinPair3,'2022-05-31','2024-05-31')['Adj Close']
data1length = len(data1)
data2length = len(data2)
data3length = len(data3)
After the code is run – datalength1 and datalength have values of 731, however datalength3 has a value of zero. I have searched for GHST-BTC here: https://finance.yahoo.com/ and it is not found.
How do I know what crypto to crypto currency pairs are searchable via Yahoo Finance? I have looked here: https://uk.finance.yahoo.com/crypto and found crypto to GBP pairs and I have looked here: https://finance.yahoo.com/crypto and found crypto to USD pairs. I am looking for crypto to crypto pairs that are searchable in Yahoo Finance. Is this possible?