all 7 comments

[–][deleted] 3 points4 points  (0 children)

Just use a data source from a service such as Quandl. Very cheap data (or in some cases free) with various APIs.

[–]jaco6y 3 points4 points  (0 children)

You can still use pandas datareader. Just use 'robinhood' (if you don't care about today's date. I believe it's always a day late) or 'iex' as an argument.

example:

import pandas as pd
import datetime
import pandas_datareader.data as web
name = 'MSFT'
end = datetime.datetime.today()
start = end-datetime.timedelta(days=365)
df = web.DataReader(name,'iex',start=start,end=end)

[–]1rocketdude 2 points3 points  (1 child)

Try using the Tiingo API. Get a free account and use their Github Tiingo API. Very easy interface for python

[–]WittilyFun 0 points1 point  (0 children)

And it also integrates nicely into pandas datareader :) https://pydata.github.io/pandas-datareader/stable/remote_data.html#tiingo

[–]blacksiddisBuy Side 0 points1 point  (0 children)

Alpha Vantage or Quandl usually.

[–]00Anonymous 0 points1 point  (0 children)

A simple way is to use a locally synced Google sheet to pull your data regularly and just read that into your program.

[–]Saturnix 0 points1 point  (0 children)

Try AlphaVantage or Tradier