Created
October 2, 2020 18:50
-
-
Save maurobaraldi/69acb311320e7d90fcef0598e83b23f9 to your computer and use it in GitHub Desktop.
Download de dados historicos da Boevspa de 1986 a 2019
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
import urllib.request | |
for year in range(1986,2019): | |
file = "COTAHIST_A%i.zip" % year | |
url = 'http://bvmf.bmfbovespa.com.br/InstDados/SerHist/%s' % file | |
urllib.request.urlretrieve(url, "/home/username/Dowloads/%s" % file ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Layout para interpretatr os dados dos arquivos.
http://bvmf.bmfbovespa.com.br/pt-br/download/SeriesHistoricas_Layout.pdf