Open AAlhendi1707 opened 10 months ago
I'm having this same issue. Basically, self.get_last_price
is always returning None and I'm unable to move forward... I'd greatly appreciate any help on this as well.
Hello,
I have had the same issue...
If you look at the following line in the error:
reason: HTTPSConnectionPool(host='fc.yahoo.com', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x16d3e4fd0>: Failed to establish a new connection: [Errno 61] Connection refused')) ^IRX: No price data found, symbol may be delisted (period=7d)
it seems that fc.yahoo.com does not have a DNS entry anymore.
What I did was:
GoTo:
python/Lib/site-packages/yfinance/data.py
and change the entry with
url='https://fc.yahoo.com',
to
url='https://finance.yahoo.com',
that resolved the issue for me.
I was folloing the instructions, I have created conda env and all required installed successfully with no error.
I've added my alpaca API key then when I run tradingbot.py hit the following error, which seems to be associated with
After that I tried to track down the issue so I started with example here on https://lumibot.lumiwealth.com/backtesting.yahoo.html
which also results in similar error shown below
So I think it is the issue with
lumibot
version I would suggest that update the installation section with requirements.txt so that we can that we can replicate your work.. e.g.then on our to replicate your work we can run
Looking forward to your reply.. thank you