Skip to main content

Leitor do arquivo NEGS.txt da B3 (Sinacor)

Project description

sinacor_negs

'sinacor_negs' é uma lib feita para facilitar a leitura de arquivos negs.txt da bolsa (B3/Sinacor). A lib foi feita utilizando pandas e retorna os dados em forma de DataFrames.

Para mais informações sobre o formato do arquivo: https://clientes.b3.com.br/data/files/95/D2/6D/BC/0556F71034D833F7BFC9F9C2/Leiautes%20de%20Arquivos%20SINACOR%20-%20Ampliacao%20Codigo%20do%20Investidor_v2.pdf

Instalação

pip install sinacor_negs

Como usar

import sinacor_negs as snegs

negs_txt_path = 'sample/negs.txt'

negs = snegs.read_negs_txt(negs_txt_path)

# negs.header -> header do negs
# negs.trades -> trades do negs (todos os negócios).
# negs.trailer -> trailer do negs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sinacor_negs-0.1.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

sinacor_negs-0.1.2-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page