This project is an enhanced Data Visualization for CAIXA Investment Funds.
It served mostly for learning Python GUI with tkinter.
It uses PhantomJS to access CAIXA Investment Funds webpage and download content available there.
-
Requirements:
- python >= 3.8.10
- python3-tk >= 3.8.10
- python3-pil >= 7.0.0
- python3-pil.imagetk >= 7.0.0
- phantomjs >= 2.1.1
- matplotlib >= 3.5.1
- numpy >= 1.21.5
-
After installing the dependencies, run:
python3 cxviz config <PHANTOMJS_INSTALL_PATH>
where PHANTOMJS_INSTALL_PATH is the install directory for PhantomJS (without including bin).
Run cxviz feed to automatically download updates from CAIXA Investment Funds page and plot the charts.
python3 cxviz feed
Add [funds] and [metrics] sections to the .cxviz configuration file to choose which data will be plotted. E.g.:
# .cxviz configuration file created by cxviz config
[phantomjs]
<PHANTOMJS_INSTALL_PATH>
[funds]
CAIXA FI QUALIFICADO RF CRED PRIV LP
[metrics]
Cota (R$)
Acumulado Mês (%)
Acumulado 12M (%)
PL (milhões R$)
See the LICENSE file for license rights and limitations (GPL-3.0). Icon by MCruz (WMF) available at https://commons.wikimedia.org/wiki/File:Growth_icon.svg under CC BY-SA 4.0 Deed Attribution-Share Alike 4.0 International license.