ranaroussi / yfinance

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

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

Open xmjiao opened 4 months ago

xmjiao commented 4 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 4 months ago

Same happened to me as well

ValueRaider commented 4 months ago

Fixed in commit 7af213dea236d44868a4e615984ea8897a93c756

ValueRaider commented 4 months ago

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

Fixed in latest release.

eric-stanley commented 4 months ago

Tested and working fine now

lucca-miorelli commented 4 months ago

Thanks for fixing it quickly.