Automated portfolio data extraction and visualization system for EasyBourse with Power BI integration
Features • Demo • Installation • Usage • Documentation
Please create a desktop shortcut for "EasyBourse.pbix" (as Dashboard) and "Update_Dashboard.bat" (as Update_Dashboard), so it will be easier for you to use.
This project provides a complete automated solution for extracting portfolio valuation data from EasyBourse platform, consolidating historical data in Excel, and creating advanced visualizations through Power BI. It eliminates manual data collection while maintaining a comprehensive historical database of your investments.
- Save Time: Automate hours of manual data entry
- Track History: Build a complete historical database of your portfolio evolution
- Better Insights: Power BI provides superior analytics compared to native EasyBourse interface
- Real-time Updates: Automatic hourly refresh when running
- Data Security: All data stays local on your machine
- Automated Web Scraping - Selenium-based secure connection and data extraction
- Virtual Keyboard Support - Handles EasyBourse's security features automatically
- Historical Data Management - Intelligent merging of new data with existing records
- Automatic Backups - Maintains the last 10 versions for data safety
- Power BI Integration - Direct connection for advanced analytics
- Continuous Updates - Hourly automatic refresh while running
- Headless Mode - Runs silently in the background
The script automatically connects to EasyBourse using Selenium WebDriver in headless mode.
Once authenticated, it directly accesses the real-time CSV export URL and downloads the complete portfolio valuation data.
The entire process is logged in the console, showing connection status, download progress, and data parsing steps.
After successful data extraction, the script processes the CSV file and updates the Excel database with new information.
The Excel file serves as the data source for Power BI, maintaining full historical records while adding new valuation dates.
After opening the PowerBi file (.pbix) you need to make sure that you refresh the database.
The Power BI dashboard transforms raw portfolio data into actionable insights.
Users can explore their portfolio through multiple perspectives:
value over time, sector allocation pie charts, individual position, gain/loss and more.
Interactive filters allow deep dives into specific time periods or asset classes.
- Python 3.8 or higher
- Google Chrome (latest version)
- ChromeDriver (compatible with Chrome version)
- Power BI Desktop
- Active EasyBourse account
- Download the repo as a zip file and extract
Or follow the next steps
- Clone the repository
git clone https://github.com/AxelBcr/BetterFinancialReport.git
cd BetterFinancialReport- Install dependencies
# Using the provided script
Install_Requirements.bat
# Or manually
pip install -r requirements.txt- Configure credentials
# Edit logins.py
id = "your_easybourse_id"
password = "your_password"- Install ChromeDriver
- Check your Chrome version:
chrome://version/ - Download from ChromeDriver
- Add to system PATH
- Check your Chrome version:
Simply double-click Update_Dashboard.bat to:
- Launch the extraction process
- Update the Excel database
- Continue running with hourly updates (can be changed in the .bat)
python easybourse_valorisation.pyOn first run, the script will:
- Create the Excel database (
Account_Valorisation.xlsxandHistorique_Transactions.xlsx),
I recommend not deleting the .xlsx that are already in the repo,
just delete the entries in it so it's empty for you. - Set up the backup folder (
Save_Valorisation/andSave_Historique/) - Extract your complete current portfolio
BetterFinancialReport/
│
├── easybourse_valorisation.py #Extraction script
├── logins.py #Storing Id and Password here
├── requirements.txt #Required library to install
├── Update_Dashboard.bat #.bat file to automate the extraction
├── Install_Requirements.bat #.bat file to easily install requirements
├── EasyBourse.xlsx #Excel database
├── EasyBourse.pbix #PowerBi report
├── Save/ #Folder where the last 10 Excel database are saved
└── README_Data/ #Just storing GIFs for the README
| Column | Type | Description |
|---|---|---|
| Date | DateTime | Valuation date |
| Valeur | String | Security name |
| Code Isin | String | International identifier |
| Quantité | Float | Number of shares |
| Cours | Float | Current price |
| Prix moyen | Float | Average purchase price |
| Valorisation | Float | Total position value |
| +/- value | Float | Unrealized P&L |
| Performance (%) | Float | Return percentage |
| Valeur totale | Float | Portfolio total value |
| Solde espèces | Float | Cash balance |
| Total positions sous dossier | Float | Sum of all positions |
Note: This project is not affiliated with EasyBourse, La Banque postale, or any financial institution.



