GitHub

Original file line numberDiff line numberDiff line change

@@ -7,7 +7,7 @@ jobs:

77

cache:

88

runs-on: quantecon-gpu

99

container:

10-

image: ghcr.io/quantecon/lecture-python-container:cuda-12.6.0-anaconda-2024-10-py312-b

10+

image: ghcr.io/quantecon/lecture-python-container:cuda-12.8.1-anaconda-2024-10-py312

1111

options: --gpus all

1212

steps:

1313

- uses: actions/checkout@v4

Original file line numberDiff line numberDiff line change

@@ -4,7 +4,7 @@ jobs:

44

preview:

55

runs-on: quantecon-gpu

66

container:

7-

image: ghcr.io/quantecon/lecture-python-container:cuda-12.6.0-anaconda-2024-10-py312-b

7+

image: ghcr.io/quantecon/lecture-python-container:cuda-12.8.1-anaconda-2024-10-py312

88

options: --gpus all

99

steps:

1010

- uses: actions/checkout@v4

Original file line numberDiff line numberDiff line change

@@ -8,7 +8,7 @@ jobs:

88

if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')

99

runs-on: quantecon-gpu

1010

container:

11-

image: ghcr.io/quantecon/lecture-python-container:cuda-12.6.0-anaconda-2024-10-py312-b

11+

image: ghcr.io/quantecon/lecture-python-container:cuda-12.8.1-anaconda-2024-10-py312

1212

options: --gpus all

1313

steps:

1414

- name: Checkout

Original file line numberDiff line numberDiff line change

@@ -108,7 +108,7 @@ Composite Index for the period 1st January 2006 to 1st November 2019.

108108

```{code-cell} python3

109109

import yfinance as yf

110110
111-

s = yf.download('^IXIC', '2006-1-1', '2019-11-1')['Adj Close']

111+

s = yf.download('^IXIC', '2006-1-1', '2019-11-1', auto_adjust=False)['Adj Close']

112112
113113

r = s.pct_change()

114114

Read the original on github.com ↗