数据采集之基本面(五):PE/ROE

#PE/ROE
quzhi=DataAPI.MktStockFactorsOneDayGet(tradeDate=u”20181225″,secID=universe,ticker=u””,field=u”ticker,PE,ROE”,pandas=”1″)
quzhi=quzhi[quzhi.PE>0][quzhi.ROE>0]
quzhi[‘PER’]=quzhi.PE/quzhi.ROE
table=quzhi.sort_values(by=[‘PER’], ascending=[True])
table.head(60)

ticker PE ROE PER
12 000016 1.4696 0.7926 1.854151
263 000717 3.2227 0.9304 3.463779
412 000932 2.6355 0.6226 4.233055
2741 600738 3.2456 0.6999 4.637234
2533 600507 4.3696 0.8177 5.343769
2934 601003 3.6246 0.6360 5.699057
2782 600782 2.8669 0.4316 6.642493
569 002110 3.5203 0.4761 7.394035
2791 600793 7.7728 0.9969 7.796971
2541 600516 4.8997 0.6211 7.888746
111 000516 4.3937 0.5346 8.218668
2362 600282 3.3126 0.3805 8.705913
129 000537 3.6716 0.4181 8.781631
396 000918 5.9643 0.5915 10.083347
305 000785 3.8997 0.3858 10.108087
2586 600569 3.3887 0.3333 10.167117
228 000672 5.5967 0.5447 10.274830
2317 600230 5.1185 0.4604 11.117507
279 000736 4.4024 0.3942 11.167935
41 000055 4.1631 0.3588 11.602843
2804 600808 3.7661 0.2853 13.200491
2385 600309 6.3739 0.4569 13.950317
3490 603776 4.9265 0.3429 14.367162
2712 600708 3.3633 0.2279 14.757789
478 002016 6.8014 0.4561 14.912081
337 000825 3.6840 0.2415 15.254658
341 000830 4.6718 0.3051 15.312357
2683 600678 34.1181 2.1692 15.728425
2798 600801 5.7483 0.3644 15.774698
2549 600525 3.7585 0.2207 17.029905
2612 600596 5.3565 0.3139 17.064352
266 000720 7.4844 0.4287 17.458362
2448 600383 4.3033 0.2458 17.507323
2584 600567 4.9160 0.2730 18.007326
308 000789 6.2533 0.3460 18.073121
2126 600051 3.6833 0.1976 18.640182
212 000651 7.6924 0.4104 18.743665
35 000043 4.7504 0.2533 18.754047
488 002027 12.1714 0.6455 18.855771
1491 300107 9.8604 0.5204 18.947733
2602 600585 5.7840 0.2950 19.606780
2633 600618 7.1528 0.3603 19.852345
3257 603260 10.6948 0.5170 20.686267
2991 601155 7.4688 0.3600 20.746667
611 002146 5.2627 0.2472 21.289239
644 002180 12.4639 0.5768 21.608703
132 000540 6.6154 0.2983 22.177003
3429 603799 9.4995 0.4275 22.221053
2318 600231 5.1222 0.2271 22.554822
2411 600338 13.5246 0.5872 23.032357
617 002147 4.3136 0.1855 23.253908
2480 600426 6.9742 0.2989 23.332887
2488 600444 8.7268 0.3654 23.882868
2335 600250 11.0393 0.4589 24.056003
3166 601997 4.8398 0.1999 24.211106
380 000898 4.1738 0.1706 24.465416
1068 002626 8.4315 0.3445 24.474601
2597 600581 6.4438 0.2619 24.604047
201 000629 11.8842 0.4809 24.712414
3051 601233 5.7934 0.2326 24.907137

数据采集自网络

Leave a Reply

邮箱地址不会被公开。 必填项已用*标注