bovespa
bovespa copied to clipboard
Python package that reads the historical quote files from BM&FBovespa (Brazillian Stock Exchange)
Olá. Qual é o arquivo de entrada? `import bovespa` `bf = bovespa.File("???")` `for rec in bf.query(stock='GRND3'):` ` print(''.format(rec.date, rec.stock_symbol, rec.price_close))` Ocorre um exception independente do arquivo que informo (TXT da...
Seria legal ter uma opção para mostrar apenas o último preço (lendo o arquivo de forma eficiente, de trás pra frente). It would be great have an option to show...
It was changed the layout.py according the last revision on B3 site. It was correct the function to_csv() on record.py, it stopped the export of the Csv file.
No arquivo record.py está faltando o parâmetro **stock_code=None**, isso causa um erro quando tenta exportar para Csv. ``` def to_csv(self, outpath): with open(outpath, 'w') as csvfile: fieldnames = layout.stockquote.keys() writer...
- Inclui longdescription no PyPi - Inclui algumas definições de layout para opções
Fixes the issue #2 by placing the charset at the top
When importing bovespa from python terminal, as a local project installed with `pip install -e .` we got this: ``` >>> import bovespa Traceback (most recent call last): File "",...