-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
478 lines (422 loc) · 17.8 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="index, follow">
<meta name="description" content="Index Fund Insights is a list of best mutual funds ranked as per Total Fees, where Total Fees is the combined value of Expense Ratio & Tracking Error.">
<meta name="keywords" content="mutual fund, index fund, sip, nifty, sensex">
<title>Index Fund Insights - Best Mutual Funds for SIP</title>
<link rel="icon" href="https://static-00.iconduck.com/assets.00/chart-increasing-emoji-2048x2048-zizb1pb6.png" type="image/x-icon">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<style>
table {
width: 100%;
margin: 20px auto;
}
</style>
</head>
<body>
<div class="container" style="margin-top: 2%;">
<div class="row">
<div class="col-12">
<h2 class="text-center">Total Fees of Index Fund = Tracking Error + Expense Ratio<span class="badge badge-pill badge-success text-center">Last Updated: May 2024</span>:</h2>
<h3 class="mt-5 mb-3 text-center">Nifty 50</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="Nifty50"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Sensex</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="Sensex"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty Next 50</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="NiftyNext50"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty Midcap 150</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="NiftyMidcap150"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty200 Momentum 30</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="Nifty200M30"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty 100</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="Nifty100"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty 500</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="Nifty500"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty 50 Equal Weight</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="Nifty50EqualWeight"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty Smallcap 250</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="NiftySmallcap250"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty Microcap 250</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="NiftyMicrocap250"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty Bank</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="NiftyBank"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center">Nifty 50 Value 20</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="N50V20"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center"><i class="fas fa-flag-usa"></i> S&P 500 (Investment Paused)</h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="SP500"></tbody>
</table>
</div>
<h3 class="mt-5 mb-3 text-center"><i class="fas fa-flag-usa"></i> Nasdaq 100 </h3>
<div class="table-responsive">
<table class="table table-bordered">
<thead class="thead-dark">
<tr>
<th>Fund Name</th>
<th >Tracking Error (A)</th>
<th >Expense Ratio (B)</th>
<th>Total Fees (A+B)</th>
</tr>
</thead>
<tbody id="N100"></tbody>
</table>
</div>
<div class="alert alert-dark" role="alert" style="margin-top: 5%;">
<h5 class="alert-heading">Important Points:</h5>
<ul>
<li>DO NOT consider ranking as Investment Advice.</li>
<li>Site is not owned/affiliated/paid by any AMC or SEBI/AMFI or NSE or BSE.</li>
<li>Do your own research before any investment decision.</li>
<li>This site or its owner WILL NOT be liable for any investment loss or gains.</li>
<li>Data Sources: <a href="https://www.valueresearchonline.com/funds/selector/primary-category/1/equity/?end-type=1&management-style=passive%2Cindex&plan-type=direct&tab=snapshot" target="_blank">ValueResearch</a>, <a href="https://www.amfiindia.com/research-information/other-data/tracking_errordata" target="_blank">AMFI</a></li>
</ul>
<hr>
<h5 class="alert-heading">Criteria for Fund Selection:</h5>
<ul>
<li>Must be tracking BSE or NSE Indices.</li>
<li>A fund category is only considered if atleast 1 fund of that category has AUM above ₹500 Crore.</li>
<li>Must be a "Direct" plan.</li>
<li>Fund of Funds (FoF) not considered as tracking error & expense ratio are reported lower than actual.</li>
<li>Among all the fund of a particular index, only top 3 funds depending on its 'Total Fees' & AUM for each Index will be visible.</li>
<!-- <li>More detailed & expanded version of the criteria: <a href="https://github.com/InvestRepeat/IndexFundInsights/tree/main#indexfundinsights" target="_blank">Click Here</a></li>-->
</ul>
<!-- <hr>
<h5 class="alert-heading">For Nerds:</h5>
<p>Code is open source. Help me make it better & more automated: <a href="https://github.com/InvestRepeat/IndexFundInsights" target="_blank">Github.com/InvestRepeat</a>. For any suggestions or data correction, please message me on X at <a href="https://x.com/InvestRepeat" target="_blank">@InvestRepeat</a></p> -->
</div>
</div>
</div>
</div>
<script>
// ~~~ Mutual Fund Data ~~~
let Nifty50 = [
{ fundName: "Navi Nifty 50", trackingError: 0.05, expenseRatio: 0.06, totalFees: 0 },
{ fundName: "Bandhan Nifty 50", trackingError: 0.06, expenseRatio: 0.1, totalFees: 0 },
{ fundName: "ICICI Pru Nifty 50", trackingError: 0.05, expenseRatio: 0.17, totalFees: 0 },
{ fundName: "SBI Nifty 50", trackingError: 0.05, expenseRatio: 0.18, totalFees: 0 },
//{ fundName: "UTI Nifty 50", trackingError: 0.04, expenseRatio: 0.21, totalFees: 0 },
{ fundName: "HDFC Nifty 50", trackingError: 0.05, expenseRatio: 0.2, totalFees: 0 },
{ fundName: "Nippon India Nifty 50", trackingError: 0.05, expenseRatio: 0.2, totalFees: 0 }
];
let Sensex = [
{ fundName: "HDFC Sensex", trackingError: 0.04, expenseRatio: 0.2, totalFees: 0 },
{ fundName: "ICICI Pru Sensex", trackingError: 0.04, expenseRatio: 0.18, totalFees: 0 },
{ fundName: "Nippon India Sensex", trackingError: 0.06, expenseRatio: 0.2, totalFees: 0 }
];
let NiftyNext50 = [
{ fundName: "ICICI Pru Nifty Next 50", trackingError: 0.05, expenseRatio: 0.3, totalFees: 0 },
{ fundName: "UTI Nifty Next 50", trackingError: 0.05, expenseRatio: 0.35, totalFees: 0 },
{ fundName: "SBI Nifty Next 50", trackingError: 0.05, expenseRatio: 0.34, totalFees: 0 }
];
let NiftyMidcap150 = [
{ fundName: "Motilal Oswal", trackingError: 0.06, expenseRatio: 0.30, totalFees: 0 },
{ fundName: "ICICI Pru (AUM<500Cr)", trackingError: 0.06, expenseRatio: 0.28, totalFees: 0 },
{ fundName: "Nippon India", trackingError: 0.08, expenseRatio: 0.3, totalFees: 0 }
//{ fundName: "SBI (AUM<500Cr)", trackingError: 0.06, expenseRatio: 0.41, totalFees: 0 }
];
let Nifty200M30 = [
{ fundName: "UTI Nifty200 Momentum 30", trackingError: 0.15, expenseRatio: 0.46, totalFees: 0 },
{ fundName: "Motilal Oswal (AUM<500Cr)", trackingError: 0.17, expenseRatio: 0.33, totalFees: 0 },
{ fundName: "HDFC (AUM<500Cr)", trackingError: 0.08, expenseRatio: 0.4, totalFees: 0 }
];
let Nifty100 = [
{ fundName: "Axis Nifty 100", trackingError: 0.06, expenseRatio: 0.22, totalFees: 0 },
{ fundName: "HDFC (AUM<500Cr)", trackingError: 0.05, expenseRatio: 0.3, totalFees: 0 },
{ fundName: "Bandhan (AUM<500Cr)", trackingError: 0.06, expenseRatio: 0.1, totalFees: 0 }
];
let Nifty500 = [
{ fundName: "Motilal Oswal Nifty 500", trackingError: 0.13, expenseRatio: 0.13, totalFees: 0 }
];
let Nifty50EqualWeight = [
{ fundName: "DSP Nifty 50 Equal Weight", trackingError: 0.04, expenseRatio: 0.4, totalFees: 0 },
{ fundName: "HDFC Nifty 50 Equal Weight", trackingError: 0.04, expenseRatio: 0.4, totalFees: 0 },
{ fundName: "Aditya Birla (AUM<500Cr)", trackingError: 0.04, expenseRatio: 0.39, totalFees: 0 }
];
let NiftySmallcap250 = [
{ fundName: "Nippon India Smallcap 250", trackingError: 0.18, expenseRatio: 0.35, totalFees: 0 },
{ fundName: "Motilal Oswal", trackingError: 0.07, expenseRatio: 0.36, totalFees: 0 },
{ fundName: "SBI Smallcap 250", trackingError: 0.06, expenseRatio: 0.41, totalFees: 0 }
];
let NiftyMicrocap250 = [
{ fundName: "Motilal Oswal Microcap 250", trackingError: 0.22, expenseRatio: 0.45, totalFees: 0 }
];
let NiftyBank = [
{ fundName: "Motilal Oswal Nifty Bank", trackingError: 0.07, expenseRatio: 0.32, totalFees: 0 },
{ fundName: "Navi Nifty Bank (AUM<500Cr)", trackingError: 0.06, expenseRatio: 0.1, totalFees: 0 },
{ fundName: "ICICI Prudential (AUM<500Cr)", trackingError: 0.07, expenseRatio: 0.2, totalFees: 0 }
];
let N50V20 = [
{ fundName: "Nippon India Nifty 50 Value 20", trackingError: 0.08, expenseRatio: 0.25, totalFees: 0 },
{ fundName: "ICICI Prudential (AUM<500Cr)", trackingError: 0.06, expenseRatio: 0.15, totalFees: 0 }
];
let SP500 = [
{ fundName: "Motilal Oswal S&P 500", trackingError: 0.09, expenseRatio: 0.62, totalFees: 0 }
];
let N100 = [
{ fundName: "ICICI Pru Nasdaq 100", trackingError: 0.78, expenseRatio: 0.52, totalFees: 0 }
];
document.addEventListener('DOMContentLoaded', function () {
// Fund 1
// Update table with initial values
updateTable(Nifty50, 'Nifty50');
// Calculate Total Fees for each entry and update the table
calculateTotalFees(Nifty50);
// Sort funds based on Total Fees in order
Nifty50.sort((a, b) => a.totalFees - b.totalFees);
// Update table after sorting
updateTable(Nifty50, 'Nifty50');
// Fund 2
updateTable(Sensex, 'Sensex');
calculateTotalFees(Sensex);
Sensex.sort((a, b) => a.totalFees - b.totalFees);
updateTable(Sensex, 'Sensex');
// Fund 3
updateTable(NiftyNext50, 'NiftyNext50');
calculateTotalFees(NiftyNext50);
NiftyNext50.sort((a, b) => a.totalFees - b.totalFees);
updateTable(NiftyNext50, 'NiftyNext50');
// Fund 4
updateTable(NiftyMidcap150, 'NiftyMidcap150');
calculateTotalFees(NiftyMidcap150);
NiftyMidcap150.sort((a, b) => a.totalFees - b.totalFees);
updateTable(NiftyMidcap150, 'NiftyMidcap150');
// Fund 5
updateTable(Nifty200M30, 'Nifty200M30');
calculateTotalFees(Nifty200M30);
Nifty200M30.sort((a, b) => a.totalFees - b.totalFees);
updateTable(Nifty200M30, 'Nifty200M30');
// Fund 6
updateTable(Nifty100, 'Nifty100');
calculateTotalFees(Nifty100);
Nifty100.sort((a, b) => a.totalFees - b.totalFees);
updateTable(Nifty100, 'Nifty100');
// Fund 7
updateTable(Nifty500, 'Nifty500');
calculateTotalFees(Nifty500);
Nifty500.sort((a, b) => a.totalFees - b.totalFees);
updateTable(Nifty500, 'Nifty500');
// Fund 8
updateTable(Nifty50EqualWeight, 'Nifty50EqualWeight');
calculateTotalFees(Nifty50EqualWeight);
Nifty50EqualWeight.sort((a, b) => a.totalFees - b.totalFees);
updateTable(Nifty50EqualWeight, 'Nifty50EqualWeight');
// Fund 9
updateTable(NiftySmallcap250, 'NiftySmallcap250');
calculateTotalFees(NiftySmallcap250);
NiftySmallcap250.sort((a, b) => a.totalFees - b.totalFees);
updateTable(NiftySmallcap250, 'NiftySmallcap250');
// Fund 10
updateTable(NiftyMicrocap250, 'NiftyMicrocap250');
calculateTotalFees(NiftyMicrocap250);
NiftyMicrocap250.sort((a, b) => a.totalFees - b.totalFees);
updateTable(NiftyMicrocap250, 'NiftyMicrocap250');
// Fund 11
updateTable(NiftyBank, 'NiftyBank');
calculateTotalFees(NiftyBank);
NiftyBank.sort((a, b) => a.totalFees - b.totalFees);
updateTable(NiftyBank, 'NiftyBank');
// Fund 12
updateTable(N50V20, 'N50V20');
calculateTotalFees(N50V20);
N50V20.sort((a, b) => a.totalFees - b.totalFees);
updateTable(N50V20, 'N50V20');
// Fund 13
updateTable(SP500, 'SP500');
calculateTotalFees(SP500);
SP500.sort((a, b) => a.totalFees - b.totalFees);
updateTable(SP500, 'SP500');
// Fund 14
updateTable(N100, 'N100');
calculateTotalFees(N100);
N100.sort((a, b) => a.totalFees - b.totalFees);
updateTable(N100, 'N100');
});
// ~~~~ All the functions ~~~~
function calculateTotalFees(funds) {
// Loop through each entry and sum Tracking Error and Expense Ratio to calculate Total Fees
for (let i = 0; i < funds.length; i++) {
funds[i].totalFees = (funds[i].trackingError + funds[i].expenseRatio).toFixed(2);
}
}
function updateTable(funds, tbodyId) {
// Get the tbody element
const tbody = document.getElementById(tbodyId);
// Clear existing rows
tbody.innerHTML = '';
// Loop through funds and append rows to the tbody
for (let i = 0; i < funds.length; i++) {
const row = document.createElement('tr');
row.innerHTML = `
<td>${funds[i].fundName}</td>
<td >${funds[i].trackingError}</td>
<td >${funds[i].expenseRatio}</td>
<td>${funds[i].totalFees}</td>
`;
tbody.appendChild(row);
}
}
</script>
</body>
</html>