# 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
```python
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.
```
Raw data
{
"_id": null,
"home_page": "https://github.com/renanmoretto/sinacor_negs",
"name": "sinacor-negs",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "renanmoretto",
"author_email": "himynameisrenan@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/fc/29/4f10337a2c8a2abf7b7b577199468947b5e93282c10a4f6fdab5f478178d/sinacor_negs-0.1.2.tar.gz",
"platform": null,
"description": "# sinacor_negs\n'sinacor_negs' \u00e9 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.\n\nPara mais informa\u00e7\u00f5es sobre o formato do arquivo:\nhttps://clientes.b3.com.br/data/files/95/D2/6D/BC/0556F71034D833F7BFC9F9C2/Leiautes%20de%20Arquivos%20SINACOR%20-%20Ampliacao%20Codigo%20do%20Investidor_v2.pdf\n\n## Instala\u00e7\u00e3o\n`pip install sinacor_negs`\n\n## Como usar\n```python\nimport sinacor_negs as snegs\n\nnegs_txt_path = 'sample/negs.txt'\n\nnegs = snegs.read_negs_txt(negs_txt_path)\n\n# negs.header -> header do negs\n# negs.trades -> trades do negs (todos os neg\u00f3cios).\n# negs.trailer -> trailer do negs.\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Leitor do arquivo NEGS.txt da B3 (Sinacor)",
"version": "0.1.2",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ab667f5533582d7f06db53ae149be60e6447e6ef36e80bf0002b7ce3e536dfc8",
"md5": "9b3fc425fc089948813dd30349917204",
"sha256": "ab7468bc4b8497f95962224efbb0a5bdebb179d126bdad97328302178ed8297a"
},
"downloads": -1,
"filename": "sinacor_negs-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9b3fc425fc089948813dd30349917204",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11,<4.0",
"size": 4987,
"upload_time": "2023-04-14T18:50:07",
"upload_time_iso_8601": "2023-04-14T18:50:07.594224Z",
"url": "https://files.pythonhosted.org/packages/ab/66/7f5533582d7f06db53ae149be60e6447e6ef36e80bf0002b7ce3e536dfc8/sinacor_negs-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fc294f10337a2c8a2abf7b7b577199468947b5e93282c10a4f6fdab5f478178d",
"md5": "f1878954cd65ec8f4df717029d4f2dc8",
"sha256": "e6bda5579a10edcfa9624f4aa08a764df369d221477d65d03500a71fd3b3d96a"
},
"downloads": -1,
"filename": "sinacor_negs-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "f1878954cd65ec8f4df717029d4f2dc8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11,<4.0",
"size": 4042,
"upload_time": "2023-04-14T18:50:09",
"upload_time_iso_8601": "2023-04-14T18:50:09.314038Z",
"url": "https://files.pythonhosted.org/packages/fc/29/4f10337a2c8a2abf7b7b577199468947b5e93282c10a4f6fdab5f478178d/sinacor_negs-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-14 18:50:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "renanmoretto",
"github_project": "sinacor_negs",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "sinacor-negs"
}