biblioteca fundamentus, puxa dados do fundamentus.com
biblioteca fundamentus, puxa dados do fundamentus.com
>>> import fundamentus
>>> df = fundamentus.get_resultado()
>>> print(df.columns)
Index(['cotacao', 'pl', 'pvp', 'psr', 'dy', 'pa', 'pcg', 'pebit', 'pacl',
'evebit', 'evebitda', 'mrgebit', 'mrgliq', 'roic', 'roe', 'liqc',
'liq2m', 'patrliq', 'divbpatr', 'c5y'],
dtype='object', name='Multiples')
>>> print( df[ df.pl > 0] )
papel cotacao pl pvp ... divbpatr c5y
ABCB4 15.81 9.66 0.83 ... 0.00 -0.5287
ABEV3 15.95 28.87 3.22 ... 0.09 0.0455
AEDU11 37.35 20.13 1.13 ... 0.30 0.2090
... ... ... ... ... ... ...
WIZS3 7.95 5.96 3.61 ... 0.00 0.1737
WSON33 45.45 34.29 1.34 ... 1.11 0.0131
YDUQ3 33.26 39.71 3.10 ... 1.45 0.0449