|Maximilian Fajnberg 911fa15f46|
MarketWatch financials scraper
Scrapes any company's financials from MarketWatch.com, which includes income statement, balance sheet, and cash flow statement.
Asynchronous HTTP requests are currently used by default.
- Python 3.8+
Should run on most Linux/Windows systems. Tested on Arch and Windows 10.
Clone this repo, install
build via pip, then run
python -m build
from the repository's root directory. This should produce a
subdirectory with a wheel (build) and archive (source) distribution.
whl-file can be installed via
pip install path/dist/***.whl.
$ python -m mwfin -h
gives a description of available CLI parameters and their usage. For example, running
$ python -m mwfin -f output.json -Q AAPL
will retrieve the most current available quarterly data from all three financial statements Apple Inc. has published and save it in JSON format to