From 6a18e4fdc2a789349bb1e3e15b2c5cf5ecc09b2c Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 14 Mar 2025 10:58:31 +1100 Subject: [PATCH 1/2] rebuild lectures with current env --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c3a7bffd..f2f6a48ce 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,13 +20,13 @@ jobs: - name: Display Pip Versions shell: bash -l {0} run: pip list - - name: Download "build" folder (cache) - uses: dawidd6/action-download-artifact@v8 - with: - workflow: cache.yml - branch: main - name: build-cache - path: _build + # - name: Download "build" folder (cache) + # uses: dawidd6/action-download-artifact@v8 + # with: + # workflow: cache.yml + # branch: main + # name: build-cache + # path: _build # Build Assets (Download Notebooks and PDF via LaTeX) - name: Build Download Notebooks (sphinx-tojupyter) shell: bash -l {0} From 90ae4a21ffe728132dadff5ead6c90e2806c0aa1 Mon Sep 17 00:00:00 2001 From: mmcky Date: Fri, 14 Mar 2025 12:21:29 +1100 Subject: [PATCH 2/2] enable auto_adjust=False --- lectures/kesten_processes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/kesten_processes.md b/lectures/kesten_processes.md index 3c185cccd..95a6afd30 100644 --- a/lectures/kesten_processes.md +++ b/lectures/kesten_processes.md @@ -108,7 +108,7 @@ Composite Index for the period 1st January 2006 to 1st November 2019. ```{code-cell} python3 import yfinance as yf -s = yf.download('^IXIC', '2006-1-1', '2019-11-1')['Adj Close'] +s = yf.download('^IXIC', '2006-1-1', '2019-11-1', auto_adjust=False)['Adj Close'] r = s.pct_change()