Skip to content

Commit

Permalink
Update new (#9)
Browse files Browse the repository at this point in the history
* updated

* formatted

* cool

* pnl

* updated

* update

* update

* updated

* p

* 6

* updatye

* update

* new

* u[pdate

* up

* update

* n

* u

* update

* v

* update

* p

* u

* profit and loss

* h

* holdings

* holding

---------
  • Loading branch information
PtPrashantTripathi authored Jul 30, 2024
1 parent 28cb9a5 commit 9a16537
Show file tree
Hide file tree
Showing 31 changed files with 7,803 additions and 1,419 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2



- uses: pre-commit/action@v3

- run: |
# Note: the following account information will not work on GHES
git config user.name "github-actions[bot]"
Expand Down
46 changes: 30 additions & 16 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,32 @@
exclude: .idea/
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-yaml
- id: check-toml
- id: debug-statements
- id: check-merge-conflict
- repo: https://github.com/ambv/black
rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-json
- id: check-yaml
- id: check-toml
- id: debug-statements
- id: check-merge-conflict
- repo: https://github.com/psf/black
rev: 24.4.2
hooks:
- id: black
language_version: python3
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
args:
[
"--order-by-type",
"--length-sort",
"--filter-files",
"--float-to-top",
"black",
]
name: isort (python)
38 changes: 19 additions & 19 deletions DATA/BRONZE/TradeHistory/trade_2021.csv
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Date,Company,Amount,Exchange,Segment,Scrip Code,Instrument Type,Strike Price,Expiry,Trade Num,Trade Time,Side,Quantity,Price
09-03-2021,Heranba Industries Limited,"₹8,525.00",NSE,EQ,543266,Equity,0,,26612985,10:38:35,Sell,11,775.00
05-03-2021,Heranba Industries Limited,"₹9,840.00",NSE,EQ,543266,Equity,0,,31557281,15:24:27,Sell,12,820.00
04-03-2021,Heranba Industries Limited,"₹14,421.00",NSE,EQ,543266,Equity,0,,,,Buy,23,627.00
22-02-2021,TATA POWER,"₹2,970.00",NSE,EQ,500400,Equity,0,,77846479,11:44:35,Buy,33,₹90.00
09-02-2021,GOLDBEES,83.64,NSE,EQ,590095,Equity,0,,29821602,14:25:00,Buy,2,41.82
09-02-2021,NIFTY BEES,162.52,NSE,EQ,590103,Equity,0,,53501905,14:25:00,Buy,1,162.52
08-02-2021,TATA POWER,"₹6,480.00",NSE,EQ,500400,Equity,0,,77809513,11:39:33,Buy,72,₹90.00
30-07-2020,VODAFONE IDEA LTD,397.50,NSE,EQ,532822,Equity,0,,29444896,15:15:54,Buy,50,7.95
29-07-2020,PUNJAB NATBK,988.50,NSE,EQ,532461,Equity,0,,52597861,14:12:52,Buy,30,32.95
29-07-2020,YES BANK LTD,587.50,NSE,EQ,532648,Equity,0,,78905919,14:11:01,Buy,50,11.75
29-07-2020,VODAFONE IDEA LTD,164.00,NSE,EQ,532822,Equity,0,,28455875,14:14:01,Buy,20,₹8.20
27-07-2020,YES BANK LTD,"₹1,230.00",NSE,EQ,532648,Equity,0,,76719820,10:47:51,Buy,100,12.30
03-07-2020,TATA MOTORS,"₹1,560.00",NSE,EQ,500570,Equity,0,,77496665,13:31:19,Buy,15,104.00
15-06-2020,BHAGERI IND,"₹1,695.00",NSE,EQ,530803,Equity,0,,1767306,10:57:42,Sell,15,113.00
19-05-2020,BHAGERI IND,500.00,NSE,EQ,530803,Equity,0,,4006651,14:44:06,Buy,5,100.00
05-05-2020,BHAGERI IND,"₹1,165.50",NSE,EQ,530803,Equity,0,,2154030,11:31:20,Buy,10,116.55
04-05-2020,TATA MOTORS,419.00,NSE,EQ,500570,Equity,0,,79614488,14:33:45,Buy,5,83.80
21-04-2020,TATA MOTORS,"₹1,051.40",NSE,EQ,500570,Equity,0,,79300205,14:41:30,Buy,14,75.10
date,company,amount,exchange,segment,scrip_code,instrument_type,strike_price,expiry,trade_num,trade_time,side,quantity,price
2021-03-09 00:00:00,Heranba Industries Limited,8525,NSE,EQ,543266,Equity,0,,26612985,10:38:35,Sell,11,775
2021-03-05 00:00:00,Heranba Industries Limited,9840,NSE,EQ,543266,Equity,0,,31557281,15:24:27,Sell,12,820
2021-03-04 00:00:00,Heranba Industries Limited,14421,NSE,EQ,543266,Equity,0,,,,Buy,23,627
2021-02-22 00:00:00,TATA POWER,2970,NSE,EQ,500400,Equity,0,,77846479,11:44:35,Buy,33,90
2021-02-09 00:00:00,GOLDBEES,83.64,NSE,EQ,590095,Equity,0,,29821602,14:25:00,Buy,2,41.82
2021-02-09 00:00:00,NIFTY BEES,162.52,NSE,EQ,590103,Equity,0,,53501905,14:25:00,Buy,1,162.52
2021-02-08 00:00:00,TATA POWER,6480,NSE,EQ,500400,Equity,0,,77809513,11:39:33,Buy,72,90
2020-07-30 00:00:00,VODAFONE IDEA LTD,397.5,NSE,EQ,532822,Equity,0,,29444896,15:15:54,Buy,50,7.95
2020-07-29 00:00:00,PUNJAB NATBK,988.5,NSE,EQ,532461,Equity,0,,52597861,14:12:52,Buy,30,32.95
2020-07-29 00:00:00,YES BANK LTD,587.5,NSE,EQ,532648,Equity,0,,78905919,14:11:01,Buy,50,11.75
2020-07-29 00:00:00,VODAFONE IDEA LTD,164,NSE,EQ,532822,Equity,0,,28455875,14:14:01,Buy,20,8.2
2020-07-27 00:00:00,YES BANK LTD,1230,NSE,EQ,532648,Equity,0,,76719820,10:47:51,Buy,100,12.3
2020-07-03 00:00:00,TATA MOTORS,1560,NSE,EQ,500570,Equity,0,,77496665,13:31:19,Buy,15,104
2020-06-15 00:00:00,BHAGERI IND,1695,NSE,EQ,530803,Equity,0,,1767306,10:57:42,Sell,15,113
2020-05-19 00:00:00,BHAGERI IND,500,NSE,EQ,530803,Equity,0,,4006651,14:44:06,Buy,5,100
2020-05-05 00:00:00,BHAGERI IND,1165.5,NSE,EQ,530803,Equity,0,,2154030,11:31:20,Buy,10,116.55
2020-05-04 00:00:00,TATA MOTORS,419,NSE,EQ,500570,Equity,0,,79614488,14:33:45,Buy,5,83.8
2020-04-21 00:00:00,TATA MOTORS,1051.4,NSE,EQ,500570,Equity,0,,79300205,14:41:30,Buy,14,75.1
30 changes: 15 additions & 15 deletions DATA/BRONZE/TradeHistory/trade_2122.csv
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Date,Company,Amount,Exchange,Segment,Scrip Code,Instrument Type,Strike Price,Expiry,Trade Num,Trade Time,Side,Quantity,Price
10-11-2021,YES BANK LTD,"₹1,950.00",NSE,EQ,532648,Equity,0,,79036967,13:16:26,Sell,150,₹13.00
06-08-2021,BHARAT PETROLEUM CORPORATION L,"₹19,651.00",NSE,EQ,500547,Equity,0,,1960612,11:42:14,Buy,43,457.00
15-06-2021,VOLTAS LTD,"₹4,236.00",NSE,EQ,500575,Equity,0,,78985319,13:36:57,Buy,4,"₹1,059.00"
15-06-2021,TATA CHEMICALS LTD.,"₹15,024.00",NSE,EQ,500770,Equity,0,,78739395,13:16:17,Buy,20,751.20
14-06-2021,INFOSYS LTD.,"₹11,656.00",NSE,EQ,500209,Equity,0,,28667371,13:23:56,Sell,8,"₹1,457.00"
14-06-2021,PUNJAB NATBK,"₹1,243.50",NSE,EQ,532461,Equity,0,,53894297,13:20:29,Sell,30,41.45
14-06-2021,VODAFONE IDEA LTD,675.50,NSE,EQ,532822,Equity,0,,28613832,13:21:53,Sell,70,9.65
14-06-2021,NIFTY BEES,168.95,NSE,EQ,590103,Equity,0,,53879066,13:19:01,Sell,1,168.95
04-06-2021,STATE BANK OF INDIA,"₹6,104.00",NSE,EQ,500112,Equity,0,,78079449,12:15:06,Sell,14,436.00
04-06-2021,GOLDBEES,84.06,NSE,EQ,590095,Equity,0,,27925159,12:10:54,Sell,2,42.03
10-05-2021,STATE BANK OF INDIA,"₹5,110.00",NSE,EQ,500112,Equity,0,,77486441,11:04:16,Buy,14,365.00
12-04-2021,INFOSYS LTD.,"₹4,303.80",NSE,EQ,500209,Equity,0,,27503947,10:50:01,Buy,3,"₹1,434.60"
12-04-2021,INFOSYS LTD.,"₹7,169.75",NSE,EQ,500209,Equity,0,,27595176,10:55:51,Buy,5,"₹1,433.95"
12-04-2021,TATA MOTORS,"₹7,670.00",NSE,EQ,500570,Equity,0,,77727720,10:44:33,Buy,26,295.00
date,company,amount,exchange,segment,scrip_code,instrument_type,strike_price,expiry,trade_num,trade_time,side,quantity,price
2021-11-10 00:00:00,YES BANK LTD,1950,NSE,EQ,532648,Equity,0,,79036967,13:16:26,Sell,150,13
2021-08-06 00:00:00,BHARAT PETROLEUM CORPORATION L,19651,NSE,EQ,500547,Equity,0,,1960612,11:42:14,Buy,43,457
2021-06-15 00:00:00,VOLTAS LTD,4236,NSE,EQ,500575,Equity,0,,78985319,13:36:57,Buy,4,1059
2021-06-15 00:00:00,TATA CHEMICALS LTD.,15024,NSE,EQ,500770,Equity,0,,78739395,13:16:17,Buy,20,751.2
2021-06-14 00:00:00,INFOSYS LTD.,11656,NSE,EQ,500209,Equity,0,,28667371,13:23:56,Sell,8,1457
2021-06-14 00:00:00,PUNJAB NATBK,1243.5,NSE,EQ,532461,Equity,0,,53894297,13:20:29,Sell,30,41.45
2021-06-14 00:00:00,VODAFONE IDEA LTD,675.5,NSE,EQ,532822,Equity,0,,28613832,13:21:53,Sell,70,9.65
2021-06-14 00:00:00,NIFTY BEES,168.95,NSE,EQ,590103,Equity,0,,53879066,13:19:01,Sell,1,168.95
2021-06-04 00:00:00,STATE BANK OF INDIA,6104,NSE,EQ,500112,Equity,0,,78079449,12:15:06,Sell,14,436
2021-06-04 00:00:00,GOLDBEES,84.06,NSE,EQ,590095,Equity,0,,27925159,12:10:54,Sell,2,42.03
2021-05-10 00:00:00,STATE BANK OF INDIA,5110,NSE,EQ,500112,Equity,0,,77486441,11:04:16,Buy,14,365
2021-04-12 00:00:00,INFOSYS LTD.,4303.8,NSE,EQ,500209,Equity,0,,27503947,10:50:01,Buy,3,1434.6
2021-04-12 00:00:00,INFOSYS LTD.,7169.75,NSE,EQ,500209,Equity,0,,27595176,10:55:51,Buy,5,1433.95
2021-04-12 00:00:00,TATA MOTORS,7670,NSE,EQ,500570,Equity,0,,77727720,10:44:33,Buy,26,295
18 changes: 9 additions & 9 deletions DATA/BRONZE/TradeHistory/trade_2223.csv
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Date,Company,Amount,Exchange,Segment,Scrip Code,Instrument Type,Strike Price,Expiry,Trade Num,Trade Time,Side,Quantity,Price
10-08-2022,TATA POWER,"₹4,372.85",NSE,EQ,500400,Equity,0,,75674343,09:30:24,Sell,19,230.15
10-08-2022,BHARAT PETROLEUM CORPORATION L,"₹14,140.55",NSE,EQ,500547,Equity,0,,402909,09:26:12,Sell,43,328.85
10-08-2022,VOLTAS LTD,"₹3,944.00",NSE,EQ,500575,Equity,0,,75047870,09:15:00,Sell,4,986.00
10-08-2022,TATA CHEMICALS LTD.,"₹20,600.00",NSE,EQ,500770,Equity,0,,75757423,09:33:26,Sell,20,"₹1,030.00"
10-08-2022,Life Insurance Corporation,"₹10,265.25",NSE,EQ,543526,Equity,0,,50486998,09:27:00,Sell,15,684.35
13-05-2022,Life Insurance Corporation,"₹13,560.00",NSE,EQ,543526,Equity,0,,,,Buy,15,904.00
11-05-2022,TATA POWER,"₹14,384.00",NSE,EQ,500400,Equity,0,,78399384,11:58:14,Buy,64,224.75
11-05-2022,TATA MOTORS,"₹15,400.00",NSE,EQ,500570,Equity,0,,78287316,11:50:35,Buy,40,385.00
date,company,amount,exchange,segment,scrip_code,instrument_type,strike_price,expiry,trade_num,trade_time,side,quantity,price
2022-08-10 00:00:00,TATA POWER,4372.85,NSE,EQ,500400,Equity,0,,75674343,09:30:24,Sell,19,230.15
2022-08-10 00:00:00,BHARAT PETROLEUM CORPORATION L,14140.55,NSE,EQ,500547,Equity,0,,402909,09:26:12,Sell,43,328.85
2022-08-10 00:00:00,VOLTAS LTD,3944,NSE,EQ,500575,Equity,0,,75047870,09:15:00,Sell,4,986
2022-08-10 00:00:00,TATA CHEMICALS LTD.,20600,NSE,EQ,500770,Equity,0,,75757423,09:33:26,Sell,20,1030
2022-08-10 00:00:00,Life Insurance Corporation,10265.25,NSE,EQ,543526,Equity,0,,50486998,09:27:00,Sell,15,684.35
2022-05-13 00:00:00,Life Insurance Corporation,13560,NSE,EQ,543526,Equity,0,,,,Buy,15,904
2022-05-11 00:00:00,TATA POWER,14384,NSE,EQ,500400,Equity,0,,78399384,11:58:14,Buy,64,224.75
2022-05-11 00:00:00,TATA MOTORS,15400,NSE,EQ,500570,Equity,0,,78287316,11:50:35,Buy,40,385
2 changes: 1 addition & 1 deletion DATA/BRONZE/TradeHistory/trade_2324.csv
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Date,Company,Amount,Exchange,Segment,Scrip Code,Instrument Type,Strike Price,Expiry,Trade Num,Trade Time,Side,Quantity,Price
date,company,amount,exchange,segment,scrip_code,instrument_type,strike_price,expiry,trade_num,trade_time,side,quantity,price
Loading

0 comments on commit 9a16537

Please sign in to comment.