Getting historical stock/ETF prices in python

I am using the yfinance Python API and have not had any issues in a while.

same here, usinng yfinance

1 Like

No issues using basic_yahoo_finance | RubyGems.org | your community gem host for getting CALN.SW for example. Note that this library is Ruby.

Thanks! Unfortunately that doesn’t help me much since my whole stock retrieval scripts are written in Python and I don’t “speak” Ruby. If this is the only option I find yes it might be worth the effort.

Anyway I’ve been meaning to “port” all of that to Python 3, maybe it’s time to rearchitecture the whole thing.

In case this helps someone: I found my happiness with the yfinance library that allows to load financial informationfrom Yahoo onto pandas dataframes.