Skip to main content

"Capturar dados das estruturas a termo de algumas taxas de juros (ettj) brasileiras."

Project description

python   MIT license   CI/CD  

pyettj é uma biblioteca Python para capturar dados públicos das curvas de juros, curva a termo ou estrutura a termo da taxa de juros (ETTJ) da B3 (Brasil, Bolsa e Balcão).

Para caputar os dados, basta informar a data:

from pyettj import ettj
data = '18/05/2021'
ettj_dataframe = ettj.get_ettj(data)

Todas as curvas disponíveis são disponibilizadas, para selecionar a desejada basta filtrar o pandas.DataFrame resultante.

E para plotar o gráfico da curva, invoque a função de plotagem da biblioteca:

curva = "DI x pré"
ettj.plot_ettj(ettj_dataframe, curva, data)

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

pyettj-0.1.6.tar.gz (181.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyettj-0.1.6-py3-none-any.whl (157.1 kB view details)

Uploaded Python 3

File details

Details for the file pyettj-0.1.6.tar.gz.

File metadata

  • Download URL: pyettj-0.1.6.tar.gz
  • Upload date:
  • Size: 181.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for pyettj-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ce0c668c25016be897343d1285dae0480e74f2f29f004ec28c8c1495ebb1e04e
MD5 9e90d89000898c84e66bf5909fc5cf7e
BLAKE2b-256 8fa8683dbc775def4811d2f18f84503c316c87d43d6582e2b4e47d64ef92bc54

See more details on using hashes here.

File details

Details for the file pyettj-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: pyettj-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 157.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for pyettj-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 83a7d71f033f9028ef5998fc9eb4866ec2d94012fec2ce56dec58718e9dcedbc
MD5 65b307185b83b3db9d2e346916a1c486
BLAKE2b-256 d8f2ae588efb57e653b9edf241ab41243b7ace83d0833c618d6943d527677302

See more details on using hashes here.

Supported by

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