-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathqmagicformula.html
executable file
·49 lines (49 loc) · 1.26 KB
/
qmagicformula.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
<table border="1" style="color:white">
<tr bgcolor="black">
<th align="center">PB</th>
<th align="center">PE</th>
<th align="center">ROE</th>
<th align="center">Market Cap / GDP</th>
</tr>
<tr bgcolor="black">
<td align="center">{{PB}}</td>
<td align="center">{{PE}}</td>
<td align="center">{{ROE}}</td>
<td align="center">{{MCGDP}}</td>
</tr>
</table>
<br>
<table border="1" style="color:white">
<tr bgcolor="green">
<th>Rank</th>
<th>Code</th>
<th>Name</th>
<th>Market Cap</th>
<th>ROTC</th>
<th>ROTC Rank</th>
<th>EY</th>
<th>EY Rank</th>
<th>ROE</th>
<th>PE</th>
<th>PB</th>
<th>Earnings Date</th>
<th>Category</th>
</tr>
{% for s in stocks %}
<tr bgcolor="green">
<td align="right">{{ s.rank }}</td>
<td align="center">{{ s.ticker }}</td>
<td align="center">{{ s.title }}</td>
<td align="right">{{ s.market_capital }}</td>
<td align="right">{{ s.roic }}</td>
<td align="right">{{ s.roic_rank }}</td>
<td align="right">{{ s.ebit_ev }}</td>
<td align="right">{{ s.ebit_ev_rank }}</td>
<td align="right">{{ s.roe }}</td>
<td align="right">{{ s.pe }}</td>
<td align="right">{{ s.pb }}</td>
<td align="center">{{ s.earnings_date }}</td>
<td align="center">{{ s.subcategory }}</td>
</tr>
{% endfor %}
</table>