Skip to content

Commit e7b56b4

Browse files
committed
upd doc
1 parent 644c44e commit e7b56b4

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# For more information see: https://docs.github.com/en/actions/guides/publishing-docker-images
66
#
77
# This workflow creates a Multi-platform image with GitHub Actions, for linux/amd64,linux/arm64/v8
8-
# I found this the following resources helpful:
8+
# The following resources were very helpful:
99
# https://collabnix.com/error-multiple-platforms-feature-is-currently-not-supported-for-docker-driver/
1010
# https://depot.dev/blog/multi-platform-docker-images-in-github-actions
1111
#

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ These columns are used to calculate the investment values.
6161
In this strategy, the user buys a fixed number of shares each week. The following columns are added to the dataset:
6262
- **`Shares FQ`**: The cumulative number of shares purchased, incremented by 1 each week.
6363
- **`Invested FQ`**: The cumulative amount invested, which is the sum of the weekly "Adj Close" prices for each share purchased.
64-
- **`Value FQ`**: The value of the acquired shares at any given time, calculated as `Shares SQ * Adj Close`.
64+
- **`Value FQ`**: The value of the acquired shares at any given time, calculated as `Shares SQ * close`.
6565

6666
At the end of the simulation, the last row provides:
6767
- **Total Investment (`Invested FQ`)**: The total amount of money invested over the five years.
@@ -72,7 +72,7 @@ At the end of the simulation, the last row provides:
7272
For DCA, the program calculates the total amount invested in the SQ strategy (`Invested SQ`) and divides it by the number of trading weeks, resulting in the weekly investment amount (`wa`). The following columns are added:
7373
- **`Shares DCA`**: The cumulative number of shares purchased, calculated by dividing the weekly investment (`wa`) by the "Adj Close" price.
7474
- **`Invested DCA`**: The cumulative amount invested, which is the sum of the weekly investments (`wa`).
75-
- **`Value DCA`**: The value of the acquired shares at any given time, calculated as `Shares DCA * Adj Close`.
75+
- **`Value DCA`**: The value of the acquired shares at any given time, calculated as `Shares DCA * close`.
7676

7777
## Visualization
7878

instructions/4.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ After some waiting, the public web app can be accessed here: https://[AZURE_WEBA
2626
#### docker-publish
2727
This workflow build a docker image and puiblishes is in the GitHub Container Registry. Since this repository in public, the [container image](https://github.com/users/wolfpaulus/packages/container/package/dca) is publically available as well.
2828

29+
The most important part of the `docker-publish.yml` file is that it builds a multi-platform container for linux/amd64 andlinux/arm64/v8
30+
I found the following resources which were very helpful:
31+
32+
1. https://collabnix.com/error-multiple-platforms-feature-is-currently-not-supported-for-docker-driver/
33+
2. https://depot.dev/blog/multi-platform-docker-images-in-github-actions
34+
2935
![](./docker-publish.png)
3036

3137
[![Next](./next.png)](./5.md)

instructions/docker-publish.png

116 KB
Loading

0 commit comments

Comments
 (0)