Repository to learn the basics of algo trading and IA in (Brazilian stock market)
all libraries needed to manipulate the data and acess databases
pip install pandas
pip install pandas_datareader
pip install pickle
pip install datetime
pip install bs4
pip install matplotlib
pip install mpl_finance
https://finance.yahoo.com/quote/JSLG3.SA?p=JSLG3.SA&.tsrc=fin-srch
- Clone this repo to your local machine using https://github.com/ItamarRocha/Torneio-de-carteiras-LMF
This script is responsible for plotting graphs using only matplotlib.
Plots the time series data of a stock in candlestick format, using mpl_finance library.
Gets all the tickers of brazilian stock market through this site using beautiful soup and dumps a pickle archive with the stocks tickers.
Responsible for gathering the data specified by the tickers in the yahoo finances api. It gets the Min, Max, Open, High, Close and Adj. Close since 01/01/2000 till the day specified in the code and stores the data in a folder named stock_dfs.
Gathers all the stocks closing prices into one dataframe.
After executing the last script, it plots the correlation between each stock.
Folder with drafts and attempts that werent really sucessfull yet, and are not documented well.