-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (24 loc) · 900 Bytes
/
Copy pathMakefile
File metadata and controls
35 lines (24 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
PYTHON ?= .venv/bin/python
.PHONY: download-sec verify-inputs test build-events acquire-prices acquire-splits study figures notebook rebuild
download-sec:
code/download_data.sh
verify-inputs:
$(PYTHON) code/verify_sec_inputs.py
test:
$(PYTHON) -m unittest discover -s tests -v
$(PYTHON) code/event_study3.py --self-test-only
build-events: verify-inputs
$(PYTHON) code/build_events2.py
acquire-prices: build-events
$(PYTHON) code/download_prices2.py
acquire-splits: acquire-prices
$(PYTHON) code/download_splits.py
study: build-events
$(PYTHON) code/event_study3.py
figures: study
$(PYTHON) code/make_figures.py
notebook:
$(PYTHON) code/make_notebook.py --execute
# Full network-backed refresh. Existing checksum-verified exact-range caches
# are reused; add --refresh to the downloader commands explicitly when needed.
rebuild: download-sec acquire-splits study figures notebook