File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,9 +67,9 @@ async function computeMetrics(stockCode, dateStr) {
6767 const bps = valid [ valid . length - 1 ] . bps ;
6868 const roe = valid [ valid . length - 1 ] . roe ;
6969
70- const pbr = bps ? stockPrice / bps : null ;
71- const per = eps ? stockPrice / eps : null ;
72- const psr = ttmRevenue ? ( stockPrice * shareCount ) / ttmRevenue : null ;
70+ // const pbr = bps ? stockPrice / bps : null;
71+ // const per = eps ? stockPrice / eps : null;
72+ // const psr = ttmRevenue ? (stockPrice * shareCount) / ttmRevenue : null;
7373
7474 const series = {
7575 period : valid . map ( ( e ) => `${ e . bsns_year } .${ e . reprt_code } ` ) ,
@@ -84,9 +84,11 @@ async function computeMetrics(stockCode, dateStr) {
8484
8585 return {
8686 price : { price : stockPrice , date : priceDate } ,
87- per,
88- psr,
89- pbr,
87+ stockPrice,
88+ shareCount,
89+ // per,
90+ // psr,
91+ // pbr,
9092 eps,
9193 bps,
9294 roe,
You can’t perform that action at this time.
0 commit comments