Skip to main content

Pacote para calcular o retorno de investimento em ações.

Project description

Meu Investimento

Uma biblioteca Python para cálculos de investimentos.

Instalação

Você pode instalar a biblioteca via pip:

pip install meu_investimento

Uso

from investimentos import calcular_retorno_investimento, calcular_juros_compostos

valor_inicial = 1000
valor_final = 1500

retorno = calcular_retorno_investimento(valor_inicial, valor_final)
print(f"Retorno do investimento: {retorno:.2f}%")

valor_final_juros = calcular_juros_compostos(valor_inicial, 6, 5)
print(f"Valor final com juros compostos: R${valor_final_juros:.2f}")

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

meu_investimento_package-1.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

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

meu_investimento_package-1.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file meu_investimento_package-1.0.1.tar.gz.

File metadata

File hashes

Hashes for meu_investimento_package-1.0.1.tar.gz
Algorithm Hash digest
SHA256 733650f9bdcfafb4f1e924d59bdadb6a54832dc7366c808c6f25bfd5ea312eeb
MD5 b5ea5dac404b86fa06f21bc1d91ee032
BLAKE2b-256 53712bda32f3a1cc6475c3bcd5931f3c496db1e11fbac15575899b914254216a

See more details on using hashes here.

File details

Details for the file meu_investimento_package-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for meu_investimento_package-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d676492515adb74c0ef757f930276fc160454bb36afff786be414fefcd01d4fc
MD5 222edf0c2ee1d3a2eae99bb17cfb3f66
BLAKE2b-256 d746c54060f13263a50978016c06148237653cdd55264384b6dadfc7b6a20b8b

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