Reputation: 755
I want to get the bid and ask price of a stock on Yahoo Finance using python 3.
For open and close prices, I use the pandas DataReader functionality.
Can this API be adjusted to read the bid, ask or any other characteristic of the stock?
from pandas_datareader import data as web
security = web.DataReader("AAPL", "yahoo", start=startDate, end=endDate)
Upvotes: 2
Views: 2367
Reputation: 76753
No. The Yahoo API it uses only provides daily, trade-based bars. Finer information is usually licensed in a way that a public, free, legal API won't be providing it.
Upvotes: 2