ranaroussi / yfinance

Download market data from Yahoo! Finance's API
https://aroussi.com/post/python-yahoo-finance
Apache License 2.0
14.93k stars 2.45k forks source link

SyntaxError: f-string: unmatched '[' #1942

Open xmjiao opened 6 months ago

xmjiao commented 6 months ago

The following line contains a syntax error. It should use double quotes inside single quotes. https://github.com/ranaroussi/yfinance/blob/049337327ea5c4fe97039ada564d227e7e00835f/yfinance/scrapers/history.py#L1207

jabir366 commented 6 months ago

Same happened to me as well

ValueRaider commented 6 months ago

Fixed in commit 7af213dea236d44868a4e615984ea8897a93c756

ValueRaider commented 6 months ago

Actually, I'll leave open for a bit for visibility.

Fixed in latest release.

eric-stanley commented 6 months ago

Tested and working fine now

miorelli commented 6 months ago

Thanks for fixing it quickly.