Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions subjects/ai/backtesting-sp500/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ There are four parts:
- Visualize and analyze the average price for companies over time or compare the price consistency across different companies within the dataset. Save the plot as an image.
- Describe at least 5 outliers ('ticker', 'date', 'price'). Put them in `outliers.txt` file with the 3 fields on the folder `results`.

_Note: create functions that generate the plots and save them in the `images` directory. Add a parameter `plot` with a default value `False` which doesn't return the plot. This will be useful for the correction to let people run your code without overriding your plots._
_Note: create functions that generate the plots and save them in the `results/plots/` directory. Add a parameter `plot` with a default value `False` which doesn't return the plot. This will be useful for the correction to let people run your code without overriding your plots. Plots with titles/labels._

- Here is how the `prices` data should be preprocessed:
- Resample data on month and keep the last value
Expand Down Expand Up @@ -124,7 +124,7 @@ A data point (x-axis: date, y-axis: cumulated_return) is: the **cumulated return

![alt text][performance]

[performance]: images/w1_weekend_plot_pnl.png "Cumulative Performance"
[performance]: results/plots/w1_weekend_plot_pnl.png "Cumulative Performance"

#### 5. Main

Expand Down Expand Up @@ -157,7 +157,7 @@ project
└───data
│ │ sp500.csv
│ | prices.csv
│ | stock_prices.csv
└───notebook
│ │ analysis.ipynb
Expand Down
2 changes: 1 addition & 1 deletion subjects/ai/backtesting-sp500/audit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ project
└───data
│ │ sp500.csv
│ | prices.csv
│ | stock_prices.csv
└───notebook
│ │ analysis.ipynb
Expand Down
Loading