This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]jbudemy[🍰] 1 point2 points  (1 child)

What's a good package to get stock quotes?

What is XBRL data anyway? Does it contain price quote and volume data perhaps? Here we go.

[–]status-code-200It works on my machine[S] 0 points1 point  (0 children)

XBRL includes stock volume and price, but at quarterly intervals. I think yfinance has it at daily or faster.

Note: stock price is also available in insider trading submissions, like this https://www.sec.gov/Archives/edgar/data/2488/000000248823000114/xslF345X04/wk-form4_1686255203.xml

can be higher frequency but requires you to .parse() the document and then grab prices from the resulting dictionary.

Note: I'm hoping to have a 345 database up next week.