Created
December 21, 2021 19:06
-
-
Save leandromoh/09b0bf0877f3dfab002f0f4420856145 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://fiis.com.br/${ticker}11/ | |
var dys = [...document.querySelectorAll("#last-revenues--table tbody tr")] | |
.map(x => x.cells[3].innerHTML.replace("%", '').replace(",",'.')) | |
.map(x => parseFloat(x)); | |
dys.reduce((a, b) => a + b) / dys.length; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment