Skip to main content

A package for fundamental analysis of stocks on Brazil B3 Exchange.

Project description

Complete Guide to Using the FundamentalVision Application

Welcome to the complete guide for using the FundamentalVision application, a tool for fundamental analysis of stocks on Brazil's B3 stock exchange. This guide will walk you through the installation, configuration, and usage of the application.

Index

  1. Installation
  2. Project Structure
  3. Initial Configuration
  4. Using the Application
  5. Features
  6. Testing
  7. Contribution
  8. License
  9. Contact

Installation

To install FundamentalVision, use pip:

pip install fundamentalvision

Dependencies

The package requires the following libraries:

  • pandas
  • requests
  • beautifulsoup4
  • streamlit
  • plotly
  • fundamentus

These dependencies will be installed automatically when you install FundamentalVision.

Project Structure

The project is structured as follows:

fundamentalvision/
│
├── fundamentalvision/        # Diretório do código fonte
│   ├── __init__.py           # Inicializador do pacote
│   └── acoes.py              # Obter dados de Ações
│   └── dashboard.py          # Renderizar os dados com Streamlit
│   └── data_handler.py       # Configuração do Dataframe
│   └── app.py                # Código principal
│
├── tests/                    # Diretório de testes
│   ├── __init__.py
│   └── test_acao.py          # Testes para o módulo Acao
│   └── test_dashboard.py     # Testes para o módulo Dashboard
│   └── test_data_handler.py  # Testes para o DataHandler 
│   └── test_app.py           # Testes para o App
│
├── LICENCE                   # Licenca do Projeto
├── README.md                 # Documentação do projeto
├── setup.py                  # Script de configuração para distribuição
└── requirements.txt          # Dependências do projeto

Initial Configuration

Before running the application, you may need to configure the locale to ensure data is displayed correctly:

import locale

# Set locale
locale.setlocale(locale.LC_ALL, 'pt_BR.UTF-8')

Using the Application

To use FundamentalVision, follow the example below:

import locale
import pandas as pd
import streamlit as st
from fundamentalvision.acoes import Acao
from fundamentalvision.dashboard import Dashboard
import fundamentus

# Set locale
locale.setlocale(locale.LC_ALL, 'pt_BR.UTF-8')

# Retrieve stock data
actions = fundamentus.get_resultado()

# Create and display the dashboard
dashboard = Dashboard(actions)
dashboard.exibir_dashboard()

Features

  • Load Fundamental Data: Loads financial information for a specific stock.
  • Retrieve Dividends: Retrieves information on dividends paid by the stock.
  • Get Details: Obtains additional details about the stock.
  • Track Price Fluctuations: Collects data on stock price fluctuations.
  • Interactive Visualization: Displays interactive charts and tables using Streamlit and Plotly.

Testing

FundamentalVision includes automated tests using pytest. To run the tests, use the following command:

pytest

Contribution

Contributions are welcome! Feel free to open issues or pull requests. To contribute, follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Make your changes and commit (git commit -m 'Add new feature').
  4. Push to the remote repository (git push origin feature/your-feature-name).
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

For questions or suggestions, contact:

Author: Joel Ferreira Heanna dos Reis Email: heannareis@gmail.com


Project Summary (English)

FundamentalVision is a tool designed for fundamental stock analysis on Brazil’s B3 stock exchange. It retrieves and processes financial data, providing insights into company performance. The application allows users to visualize financial metrics interactively using Streamlit and Plotly.

Key features include:

  • Stock data retrieval from Fundamentus
  • Dividend tracking
  • Stock price fluctuation analysis
  • Interactive dashboards for financial analysis
  • Automated testing with pytest

The project is open-source and welcomes contributions from the community.

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

fundamentalvision-0.1.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

fundamentalvision-0.1.0-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file fundamentalvision-0.1.0.tar.gz.

File metadata

  • Download URL: fundamentalvision-0.1.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for fundamentalvision-0.1.0.tar.gz
Algorithm Hash digest
SHA256 64bdd6fa1fd0accb1d3810474ea85459e5a34d4e25e832e7b6badbd4bc32ca71
MD5 08b8344a027047d810e7df7e9116aae4
BLAKE2b-256 a7b72c1b24d3e28216d15f5785ffe8b9db697c7168a35f275fedb3bbfabd5dab

See more details on using hashes here.

File details

Details for the file fundamentalvision-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fundamentalvision-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c94e8cde6f9862bc6e3d9aaace7e67215bd96075004bb80415e1ce4e83a1520
MD5 2b42b939944590f11ca5c7306d314199
BLAKE2b-256 47a450ea0c3943f450f69de12dc5cb0543f1bb2a719683af062463003bd4c5e7

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