Skip to content

Commit

Permalink
Bug fix (#104)
Browse files Browse the repository at this point in the history
* commit

* fix
  • Loading branch information
PtPrashantTripathi authored Nov 22, 2024
1 parent 6be1044 commit c55f466
Show file tree
Hide file tree
Showing 669 changed files with 21,428 additions and 49,536 deletions.
1 change: 1 addition & 0 deletions CONFIG/CONSTANTS/stock_tickers.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"TRIDENT": "TRIDENT.NS",
"TTML": "TTML.NS",
"URJA": "URJA.NS",
"UNITDSPR":"UNITDSPR.NS",
"VIJIFIN": "VIJIFIN.NS",
"VIKASLIFE": "VIKASLIFE.NS",
"VIRTUALG": "VIRTUALG.BO",
Expand Down
272 changes: 248 additions & 24 deletions DATA/API/current_holding_data.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
{
"data": [
{
"scrip_name": "BAJAJ HOUSING FINANCE LIMITED",
"symbol": "BAJAJHFL",
"exchange": "NSE",
"segment": "EQ",
"datetime": "2024-09-13 00:00:00",
"side": "BUY",
"quantity": 214.0,
"price": 70.0,
"amount": 14980.0,
"close_price": 126.95,
"close_amount": 27167.3,
"pnl_amount": 12187.3
},
{
"scrip_name": "INDIAN RAILWAY CATERING AND TO",
"symbol": "IRCTC",
"exchange": "NSE",
"segment": "EQ",
"datetime": "2024-06-04 12:19:21",
"side": "BUY",
"quantity": 3.0,
"price": 896.2,
"amount": 2688.6,
"close_price": 808.6,
"close_amount": 2425.8,
"pnl_amount": -262.8
},
{
"scrip_name": "KPIT TECHNOLOGIES LTD",
"symbol": "KPITTECH",
"exchange": "NSE",
"segment": "EQ",
"datetime": "2024-06-13 13:58:03",
"side": "BUY",
"quantity": 2.0,
"price": 1500.0,
"amount": 3000.0,
"close_price": 1308.45,
"close_amount": 2616.9,
"pnl_amount": -383.1
},
{
"scrip_name": "TATA MOTORS",
"symbol": "TATAMOTORS",
Expand All @@ -10,9 +52,9 @@
"quantity": 14.0,
"price": 75.1,
"amount": 1051.4,
"close_price": 773.85,
"close_amount": 10833.9,
"pnl_amount": 9782.5
"close_price": 791.0,
"close_amount": 11074.0,
"pnl_amount": 10022.6
},
{
"scrip_name": "TATA MOTORS",
Expand All @@ -24,9 +66,9 @@
"quantity": 5.0,
"price": 83.8,
"amount": 419.0,
"close_price": 773.85,
"close_amount": 3869.25,
"pnl_amount": 3450.25
"close_price": 791.0,
"close_amount": 3955.0,
"pnl_amount": 3536.0
},
{
"scrip_name": "TATA MOTORS",
Expand All @@ -38,9 +80,9 @@
"quantity": 15.0,
"price": 104.0,
"amount": 1560.0,
"close_price": 773.85,
"close_amount": 11607.75,
"pnl_amount": 10047.75
"close_price": 791.0,
"close_amount": 11865.0,
"pnl_amount": 10305.0
},
{
"scrip_name": "TATA MOTORS",
Expand All @@ -52,9 +94,9 @@
"quantity": 26.0,
"price": 295.0,
"amount": 7670.0,
"close_price": 773.85,
"close_amount": 20120.1,
"pnl_amount": 12450.1
"close_price": 791.0,
"close_amount": 20566.0,
"pnl_amount": 12896.0
},
{
"scrip_name": "TATA MOTORS",
Expand All @@ -66,9 +108,9 @@
"quantity": 40.0,
"price": 385.0,
"amount": 15400.0,
"close_price": 773.85,
"close_amount": 30954.0,
"pnl_amount": 15554.0
"close_price": 791.0,
"close_amount": 31640.0,
"pnl_amount": 16240.0
},
{
"scrip_name": "TATA POWER",
Expand All @@ -80,9 +122,9 @@
"quantity": 53.0,
"price": 90.0,
"amount": 4770.0,
"close_price": 408.05,
"close_amount": 21626.65,
"pnl_amount": 16856.65
"close_price": 413.75,
"close_amount": 21928.75,
"pnl_amount": 17158.75
},
{
"scrip_name": "TATA POWER",
Expand All @@ -94,9 +136,9 @@
"quantity": 33.0,
"price": 90.0,
"amount": 2970.0,
"close_price": 408.05,
"close_amount": 13465.65,
"pnl_amount": 10495.65
"close_price": 413.75,
"close_amount": 13653.75,
"pnl_amount": 10683.75
},
{
"scrip_name": "TATA POWER",
Expand All @@ -108,9 +150,191 @@
"quantity": 64.0,
"price": 224.75,
"amount": 14384.0,
"close_price": 408.05,
"close_amount": 26115.2,
"pnl_amount": 11731.2
"close_price": 413.75,
"close_amount": 26480.0,
"pnl_amount": 12096.0
},
{
"scrip_name": "UNITD SPR",
"symbol": "UNITDSPR",
"exchange": "NSE",
"segment": "EQ",
"datetime": "2024-11-19 11:48:42",
"side": "BUY",
"quantity": 30.0,
"price": 1495.0,
"amount": 44850.0,
"close_price": 1500.15,
"close_amount": 45004.5,
"pnl_amount": 154.5
},
{
"scrip_name": "MIRAE ASSET TAX SAVER FUND - D",
"symbol": "MIRAE_ASSET_ELSS_TAX_SAVER_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-05-24 00:00:00",
"side": "BUY",
"quantity": 20.51,
"price": 48.77,
"amount": 1000.27,
"close_price": 50.98,
"close_amount": 1045.6,
"pnl_amount": 45.33
},
{
"scrip_name": "MIRAE ASSET TAX SAVER FUND - D",
"symbol": "MIRAE_ASSET_ELSS_TAX_SAVER_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-07-02 00:00:00",
"side": "BUY",
"quantity": 19.29,
"price": 51.84,
"amount": 999.99,
"close_price": 50.98,
"close_amount": 983.4,
"pnl_amount": -16.59
},
{
"scrip_name": "MIRAE ASSET TAX SAVER FUND - D",
"symbol": "MIRAE_ASSET_ELSS_TAX_SAVER_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-08-02 00:00:00",
"side": "BUY",
"quantity": 18.61,
"price": 53.74,
"amount": 1000.1,
"close_price": 50.98,
"close_amount": 948.74,
"pnl_amount": -51.36
},
{
"scrip_name": "MIRAE ASSET TAX SAVER FUND - D",
"symbol": "MIRAE_ASSET_ELSS_TAX_SAVER_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-09-02 00:00:00",
"side": "BUY",
"quantity": 18.2,
"price": 54.94,
"amount": 999.91,
"close_price": 50.98,
"close_amount": 927.84,
"pnl_amount": -72.07
},
{
"scrip_name": "MIRAE ASSET TAX SAVER FUND - D",
"symbol": "MIRAE_ASSET_ELSS_TAX_SAVER_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-10-03 00:00:00",
"side": "BUY",
"quantity": 18.22,
"price": 54.89,
"amount": 1000.1,
"close_price": 50.98,
"close_amount": 928.86,
"pnl_amount": -71.24
},
{
"scrip_name": "MIRAE ASSET TAX SAVER FUND - D",
"symbol": "MIRAE_ASSET_ELSS_TAX_SAVER_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-11-04 00:00:00",
"side": "BUY",
"quantity": 19.18,
"price": 52.15,
"amount": 1000.24,
"close_price": 50.98,
"close_amount": 977.8,
"pnl_amount": -22.44
},
{
"scrip_name": "SBI MAGNUM TAX GAIN SCHEME - D",
"symbol": "SBI_LONG_TERM_EQUITY_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-05-24 00:00:00",
"side": "BUY",
"quantity": 2.33,
"price": 428.89,
"amount": 999.31,
"close_price": 449.67,
"close_amount": 1047.73,
"pnl_amount": 48.42
},
{
"scrip_name": "SBI MAGNUM TAX GAIN SCHEME - D",
"symbol": "SBI_LONG_TERM_EQUITY_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-07-02 00:00:00",
"side": "BUY",
"quantity": 2.2,
"price": 455.11,
"amount": 1001.24,
"close_price": 449.67,
"close_amount": 989.27,
"pnl_amount": -11.97
},
{
"scrip_name": "SBI MAGNUM TAX GAIN SCHEME - D",
"symbol": "SBI_LONG_TERM_EQUITY_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-08-02 00:00:00",
"side": "BUY",
"quantity": 2.11,
"price": 474.32,
"amount": 1000.82,
"close_price": 449.67,
"close_amount": 948.8,
"pnl_amount": -52.02
},
{
"scrip_name": "SBI MAGNUM TAX GAIN SCHEME - D",
"symbol": "SBI_LONG_TERM_EQUITY_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-09-02 00:00:00",
"side": "BUY",
"quantity": 2.08,
"price": 481.11,
"amount": 1000.71,
"close_price": 449.67,
"close_amount": 935.31,
"pnl_amount": -65.4
},
{
"scrip_name": "SBI MAGNUM TAX GAIN SCHEME - D",
"symbol": "SBI_LONG_TERM_EQUITY_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-10-03 00:00:00",
"side": "BUY",
"quantity": 2.07,
"price": 482.09,
"amount": 997.93,
"close_price": 449.67,
"close_amount": 930.82,
"pnl_amount": -67.11
},
{
"scrip_name": "SBI MAGNUM TAX GAIN SCHEME - D",
"symbol": "SBI_LONG_TERM_EQUITY_FUND_DIRECT_PLAN_GROWTH",
"exchange": "BMF",
"segment": "MF",
"datetime": "2024-11-04 00:00:00",
"side": "BUY",
"quantity": 2.16,
"price": 462.44,
"amount": 998.87,
"close_price": 449.67,
"close_amount": 971.29,
"pnl_amount": -27.58
}
],
"load_timestamp": "2024-10-04 11:30:06.114242"
Expand Down
21 changes: 21 additions & 0 deletions DATA/API/dividend_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,27 @@
"segment": "EQ",
"symbol": "TATAPOWER",
"dividend_amount": 300.0
},
{
"financial_year": "FY2024-25",
"date": "2024-08-09",
"segment": "EQ",
"symbol": "KPITTECH",
"dividend_amount": 9.2
},
{
"financial_year": "FY2024-25",
"date": "2024-08-23",
"segment": "EQ",
"symbol": "IRCTC",
"dividend_amount": 12.0
},
{
"financial_year": "FY2024-25",
"date": "2024-11-14",
"segment": "EQ",
"symbol": "IRCTC",
"dividend_amount": 12.0
}
],
"load_timestamp": "2024-10-04 11:30:06.114242"
Expand Down
Loading

0 comments on commit c55f466

Please sign in to comment.