Skip to content

Commit 4fb92dc

Browse files
committed
Updated README
1 parent 700f996 commit 4fb92dc

File tree

2 files changed

+39
-7
lines changed

2 files changed

+39
-7
lines changed

README.md

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,63 @@ Easy to follow stock price analysis on Indian stock data with results hosted at
77
<summary>Click to expand</summary>
88

99
- [Data](#data)
10-
- [Project Requirements](#project-requirements)
10+
- [Project Prerequisites](#project-prerequisites)
11+
- [Usage](#usage)
1112
- [Notes and Caveats](#notes-and-caveats)
1213
- [About this project](#about-this-project)
1314
</details>
1415

1516
## Data
17+
18+
### Sources
1619
This project uses historical data acquired from publicly available sources listed below:
1720

18-
1. [NSE India](https://www.nseindia.com/)
19-
2. [Screener.in](https://www.screener.in/)
21+
1. [NSE India](https://www.nseindia.com/) - Daily stock prices
22+
2. [Screener.in](https://www.screener.in/) - Stock PE
23+
24+
### Update schedule
25+
Stock pricing data is updated 3 times a week for a set of symbols via a [cron workflow](.github/workflows/main.yml) running on GitHub actions.
26+
27+
Updating PE data, however, is a manual process. Hence, PE information is not likely to be correct for recent dates and should not be relied upon.
2028

21-
## Project Requirements
29+
## Project Prerequisites
2230

2331
### Docker
24-
Development of this project was done inside a developmental Docker container using the base image of `Python v3.11.6`. The same environment can be set up using the `docker-compose.yml` available [here](./docker-compose.yml).
32+
Development of this project was done inside a Docker container using the base image of `Python v3.11.6`. The same environment can be set up using the `docker-compose.yml` available [here](./docker-compose.yml).
33+
34+
If using VS Code or GitHub Codespaces, a developmental container can be instantiated using the [devcontainer.json](.devcontainer/devcontainer.json) file
2535

2636
### Requirements
2737
All top level packages used in this project are listed in the [requirements](./requirements.txt) file. This project does not use any niche functionality from any of the listed packages and hence should work with their most recent releases.
2838

39+
## Usage
40+
41+
### Static reports
42+
This project generates static HTML reports which are hosted using GitHub Pages which can be viewed at [FinancialModelling](https://mayur7garg.github.io/FinancialModelling/).
43+
44+
To regenerate the reports and the associated plots, run the following command:
45+
```sh
46+
cd 'Stock Forecasting' && python main.py
47+
```
48+
49+
Once generated, the reports can be viewed by opening [index.html](index.html) in any web browser.
50+
51+
### Interactive notebook
52+
An interactive [marimo](https://marimo.io/) notebook has been included which can be run using the following command:
53+
```sh
54+
cd 'Stock Forecasting' && marimo run stock_interactive.py
55+
```
56+
2957
## Notes and Caveats
30-
- This project only focuses on day level stock price data and does not factor in intraday price changes.
58+
- This project is only meant to be educational and analytical purposes and should not be interpreted as a financial advice.
59+
- This project only focuses on day level stock price data and does not factor in intraday price changes or company fundamentals.
60+
- Data used in this project is not updated in realtime and may be out of date.
3161
- Currently, the analysis doesn't factor in stock splits, bonus shares, etc. as structured data for the same is difficult to obtain.
32-
- This project is only meant to be educational and should not be interpreted as a financial advice.
3362

3463
## About this project
3564

65+
Feel free to leave a star if you liked this project.
66+
3667
```bibtex
3768
@misc{MayurGarg_FinancialModelling,
3869
title={Financial Modelling},

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ ipykernel
22
marimo[sql]
33
pandas
44
pyarrow
5+
requests
56
seaborn
67
scikit-learn

0 commit comments

Comments
 (0)