Skip to content

WebScraping project that collects information from the financial data site "Fundamentus", strategically filters it and displays it in a table.

Notifications You must be signed in to change notification settings

ericlbarreto/webscraping-fundamentus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

👨‍💻 Fundamentus WebScraping

Fundamentus is an online system that provides financial and fundamental information on companies with shares listed on Bovespa (B3 Brazilian Stock Exchange Index). This project collects data from Real Estate Funds and applies filters that can be chosen in "main.py", then the data is treated and listed in a table with the best funds according to the strategic filter.

Running code:

Languages:

  • Python

Libraries:

  • Requests
  • BeautifulSoup
  • Tabulate
  • Locale

How to use?

To run this project, it is recommended to set up a Python virtual environment. Follow the steps below to configure it:

  1. Make sure you have Python installed on your machine.
  2. Clone this repository on your computer.

git clone https://github.com/ericlbarreto/webscraping-fundamentus.git

  1. Navigate to the project directory:
  2. Create a virtual environment.

python -m venv venv

  1. Activate the virtual environment

venv\Scripts\activate (WINDOWS)

source venv/bin/activate (LINUX/macOS)

  1. Installation of Dependencies:

pip install -r requirements.txt

Run the "main" code and you will have as output a table with the best results according to your filter, if you want to change the strategic filter just change the strategy variable inside the "main.py" code.

📚 New learnings

  • Use of the Requests library to collect HTML data from the site and use such data in a functional way for python (parsing).
  • Use of BeautifulSoup to handle the html codes and be able to access them with python.
  • I acquired knowledge about the Tabulate library that allows you to organize data.
  • I used the Locale library to transform metrics used in the code to international standards
  • Application and improvement of Object Oriented Programming (OOP)
  • Application of code modularization knowledge.

About

WebScraping project that collects information from the financial data site "Fundamentus", strategically filters it and displays it in a table.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages