Skip to content

Scraping the stock market indexes from B3' data (Brazilian Stock Exchange)

License

Notifications You must be signed in to change notification settings

leomaurodesenv/b3-stock-indexes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

B3 Stock Indexes

Table of Contents (ToC)
  1. About The Project
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Project

The B3 S.A. - Brasil, Bolsa, Balcão (in English, B3 - Brazil Stock Exchange and Over-the-Counter Market), formerly BM&FBOVESPA, is a stock exchange located in São Paulo, Brazil, and the second oldest of the country (Wikipedia). B3 hold the stock indexes, movements (sales and purchases) of the stock market in Brazil.

This project scraping stock indexes and their business segments from B3' Market data and indices. Basically, it is processed the CSV files and generate one single output file, i.e., stock-indexes.csv.


Getting Started

Prerequisites

venv allow you to manage separate package installations for different projects. They essentially allow you to create a 'virtual' isolated Python installation and install packages into that virtual installation (Python).

  • Create a Python environment

    $ python -m venv .venv
    $ source .venv/bin/activate
  • Install the dependencies

    $ pip install -r requirements.txt

Running

  • Runing the scraping
    $ python main.py

Usage

Stock market data can be interesting to analyze and develop predictive models that generate financial returns. This scraping generates a dataset containing Brazilian stock market indexes information, such as stock code, company name, business segment, etc. You can combine this dataset with historical data (e.g., ibovespa-stocks) to create more robust analysis and models.

License

Distributed under the MIT License. See LICENSE for more information.


Contact

About

Scraping the stock market indexes from B3' data (Brazilian Stock Exchange)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages