b3-data is a Python package for dealing with https://b3.com.br data
Use the package manager pip to install b3-data.
pip install b3-data
Download the latest file from their api:
$ b3-data download
downloading https://arquivos.b3.com.br/apinegocios/tickercsv/2020-12-05 to 2020-12-05.zip
Download specific date:
$ b3-data download --date 2020-12-04
downloading https://arquivos.b3.com.br/apinegocios/tickercsv/2020-12-04 to 2020-12-04.zip
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.