Skip to content

Python program to scrape stock market data from TMX, Yahoo, Nasdaq, and TDAmeritrade.finance

Notifications You must be signed in to change notification settings

dray89/finance_python

Repository files navigation

My first Python coding project.

Yahoo Finance: Just added multithreading to pull years of price and dividend history data (more than 100 rows is the standard for any given timeframe). Also scrapes sector, description, current price, analysis, financials, and statistics tab.

Nasdaq: Nasdaq earnings and dividend calendars

TMX: TMX used to provide a free API to pull data in json format --- but it has been shut down and now they are charging for access. Thus, this code no longer works, but it was a pretty easy project while it lasted. There are third party options to access this data like https://www.programmableweb.com/api/intrinio-real-time-canadian-stock-prices-tmx-tsx.

TDAmeritrade API: There's still some work I need to do with it like setting it up to renew auth codes upon expiration to avoid me having to do this manually. I'm putting these "to do's" on my calendar in the future.

About

Python program to scrape stock market data from TMX, Yahoo, Nasdaq, and TDAmeritrade.finance

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published