Skip to content

Commit

Permalink
Data update (#100)
Browse files Browse the repository at this point in the history
* data update 11-10-2024

* Create setup_spark.sh

* p

* Update a.csv

* update

* formated adminlte

* updated

* ok
  • Loading branch information
PtPrashantTripathi authored Oct 25, 2024
1 parent a48423c commit 9f51099
Show file tree
Hide file tree
Showing 1,188 changed files with 921,270 additions and 633,890 deletions.
6 changes: 1 addition & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# editorconfig.org
# EditorConfig is awesome: https://EditorConfig.org

root = true

Expand All @@ -10,11 +10,7 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true


[*.py]
max_line_length = 100
known_first_party = ptprashanttripathi
balanced_wrapping = true

[*.yml]
indent_size = 2
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
14 changes: 14 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"indent": ["error", 4],
"quotes": ["error", "double"]
}
}
18 changes: 9 additions & 9 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ All notable changes to this project will be documented in this file.

## [0.5.19] - 2024-10-09

- **Introduced** a comprehensive brokerage calculation tool for accurate stock market transaction cost analysis.
- **Introduced** a comprehensive brokerage calculation tool for accurate stock market transaction cost analysis.

## [0.4.22] - 2024-10-04

- **Added** advanced financial analysis tools for in-depth stock performance insights.
- **Improved** PNL calculation speed by optimizing the data aggregation process.
- **Added** advanced financial analysis tools for in-depth stock performance insights.
- **Improved** PNL calculation speed by optimizing the data aggregation process.

## [0.4.2] - 2024-09-27

- **Fixed** minor bugs in the PNL calculation module.
- **Updated** integration with new stock exchange APIs for improved data accuracy.
- **Fixed** minor bugs in the PNL calculation module.
- **Updated** integration with new stock exchange APIs for improved data accuracy.

## [0.3.4] - 2024-09-26

- **Enhanced** error handling during data extraction from stock exchanges.
- **Added** support for additional stock market indices and customizable ETL PIPELINES.
- **Enhanced** error handling during data extraction from stock exchanges.
- **Added** support for additional stock market indices and customizable ETL PIPELINES.

## [0.3.1] - 2024-09-24

- **Completed** ETL PIPELINES for stock exchanges and introduced PNL amount calculations.
- **Added** new financial metrics to support portfolio analysis.
- **Completed** ETL PIPELINES for stock exchanges and introduced PNL amount calculations.
- **Added** new financial metrics to support portfolio analysis.
32 changes: 16 additions & 16 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ diverse, inclusive, and healthy community.
Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
- Demonstrating empathy and kindness toward other people
- Being respectful of differing opinions, viewpoints, and experiences
- Giving and gracefully accepting constructive feedback
- Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
- Focusing on what is best not just for us as individuals, but for the
overall community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
- The use of sexualized language or imagery, and sexual attention or
advances of any kind
- Trolling, insulting or derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or email
address, without their explicit permission
- Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Expand Down Expand Up @@ -106,7 +106,7 @@ Violating these terms may lead to a permanent ban.
### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within
Expand Down
10 changes: 5 additions & 5 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ If you're reading this, you're awesome! Thank you for helping us make this proje

## Submitting a Pull Request

* Include **screenshots** or animated GIFs in your pull request whenever possible
* Use the **present** tense ("Add feature" not "Added feature")
* Use the **imperative** mood ("Move cursor to..." not "Moves cursor to...")
* Limit the first line to 72 characters or fewer
* Reference issues and pull requests liberally
- Include **screenshots** or animated GIFs in your pull request whenever possible
- Use the **present** tense ("Add feature" not "Added feature")
- Use the **imperative** mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or fewer
- Reference issues and pull requests liberally
80 changes: 40 additions & 40 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
---
name: Bug report 🐛
about: Create a bug report for PortfolioTracker
labels: bug
---

<!-- Provide a general summary of the issue in the Title above -->

## Current Behavior 😯

<!-- Describe what happens instead of the expected behavior. -->

## Expected Behavior 🤔

<!-- Describe what should happen. -->

## Steps to Reproduce 🕹

<!-- Describe how to reproduce the issue -->

Steps:

1.
2.
3.
4.

## Your Environment 🌎

<!-- What version, browser, OS and screen size are you using -->

- Theme version:
- Free or paid version:
- Browser:
- OS:
- Screen size:

## Screenshots 📷

<!-- If applicable, add screenshots to help explain this problem. -->
---
name: Bug report 🐛
about: Create a bug report for PortfolioTracker
labels: bug
---

<!-- Provide a general summary of the issue in the Title above -->

## Current Behavior 😯

<!-- Describe what happens instead of the expected behavior. -->

## Expected Behavior 🤔

<!-- Describe what should happen. -->

## Steps to Reproduce 🕹

<!-- Describe how to reproduce the issue -->

Steps:

1.
2.
3.
4.

## Your Environment 🌎

<!-- What version, browser, OS and screen size are you using -->

- Theme version:
- Free or paid version:
- Browser:
- OS:
- Screen size:

## Screenshots 📷

<!-- If applicable, add screenshots to help explain this problem. -->
15 changes: 7 additions & 8 deletions .github/ISSUE_TEMPLATE/custom.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ''
labels: ''
assignees: ''

---
---
name: Custom issue template
about: Describe this issue template's purpose here.
title: ""
labels: ""
assignees: ""
---
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!-- Thank you so much for your PR, your contribution is appreciated! ❤️ -->

- [ ] I have followed (at least) the [PR section of the contributing guide](https://github.com/PtPrashantTripathi/PortfolioTracker/blob/HEAD/.github/CONTRIBUTING.md#submitting-a-pull-request).
- [ ] I have followed (at least) the [PR section of the contributing guide](https://github.com/PtPrashantTripathi/PortfolioTracker/blob/HEAD/.github/CONTRIBUTING.md#submitting-a-pull-request).
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Generated directories:
.nyc_output/
coverage/
FRONTEND/dist/
node_modules/

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down Expand Up @@ -157,3 +163,4 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
package-lock.json
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"css.validate": false,
"liveServer.settings.port": 5501,
"prettier.printWidth": 80
"prettier.printWidth": 80,
"cSpell.words": ["dtype"]
}
5 changes: 1 addition & 4 deletions CONFIG/DATA_CONTRACTS/BRONZE/Symbol.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,5 @@
"data_type": "string"
}
],
"order_by": [
"instrument_type",
"scrip_name"
]
"order_by": ["instrument_type", "scrip_name"]
}
8 changes: 1 addition & 7 deletions CONFIG/DATA_CONTRACTS/GOLD/CurrentHolding.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,5 @@
"data_type": "float64"
}
],
"order_by": [
"segment",
"exchange",
"symbol",
"scrip_name",
"datetime"
]
"order_by": ["segment", "exchange", "symbol", "scrip_name", "datetime"]
}
7 changes: 1 addition & 6 deletions CONFIG/DATA_CONTRACTS/GOLD/Dividend.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,5 @@
"data_type": "float64"
}
],
"order_by": [
"financial_year",
"date",
"segment",
"symbol"
]
"order_by": ["financial_year", "date", "segment", "symbol"]
}
8 changes: 1 addition & 7 deletions CONFIG/DATA_CONTRACTS/GOLD/Holding.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,5 @@
"data_type": "float64"
}
],
"order_by": [
"date",
"segment",
"exchange",
"symbol",
"scrip_name"
]
"order_by": ["date", "segment", "exchange", "symbol", "scrip_name"]
}
6 changes: 1 addition & 5 deletions CONFIG/DATA_CONTRACTS/SILVER/StockEvents.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,5 @@
"data_type": "float64"
}
],
"order_by": [
"symbol",
"date",
"event"
]
"order_by": ["symbol", "date", "event"]
}
5 changes: 1 addition & 4 deletions CONFIG/DATA_CONTRACTS/SILVER/StockPrice.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,5 @@
"data_type": "float64"
}
],
"order_by": [
"symbol",
"date"
]
"order_by": ["symbol", "date"]
}
4 changes: 1 addition & 3 deletions CONFIG/DATA_CONTRACTS/SILVER/TradeHistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,5 @@
"data_type": "datetime64[ns]"
}
],
"order_by": [
"datetime"
]
"order_by": ["datetime"]
}
Loading

0 comments on commit 9f51099

Please sign in to comment.