Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imranr98/wealthsimpleton
A Python script that scrapes your Wealthsimple activity history and saves the data in a JSON file.
https://github.com/imranr98/wealthsimpleton
data-extraction data-ownership export python selenium selenium-webdriver wealthsimple web web-scraping
Last synced: about 1 month ago
JSON representation
A Python script that scrapes your Wealthsimple activity history and saves the data in a JSON file.
- Host: GitHub
- URL: https://github.com/imranr98/wealthsimpleton
- Owner: ImranR98
- License: mit
- Created: 2024-03-10T04:26:02.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-08-11T21:31:10.000Z (4 months ago)
- Last Synced: 2024-08-11T22:35:33.927Z (4 months ago)
- Topics: data-extraction, data-ownership, export, python, selenium, selenium-webdriver, wealthsimple, web, web-scraping
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Wealthsimpleton
A Python script that scrapes your Wealthsimple activity history and saves the data in a JSON file.
The data scraped includes:
- Transaction description
- Transaction type
- Transaction amount
- Transaction date## Usage
1. Ensure Python dependencies are installed: `pip install -r requirements.txt`
2. Ensure you have Chromium or Google Chrome installed.
3. Ensure you have Chrome Webdriver installed and that it is compatible with the version of Chromium/Chrome you have.
- On Linux, you can run `installChromeDriver.sh` to automatically install/update ChromeDriver in `/usr/local/bin`,
4. Optionally, create a [`.env`](https://www.dotenv.org/docs/security/env.html) file with your Wealthsimple credentials defined as `WS_EMAIL` and `WS_PASSWORD` (or ensure those environment variables are present in some other way).
- If you skip this, you will need to login manually when the script starts.
- Note that even with these variables defined, you may still need to manually perform some login steps like 2FA or CAPTCHA.
5. Run the script: `python main.py`
- You can use the `--after` argument to only include orders after a certain date/time (format is `%Y-%m-%d %H:%M`).
- The output is printed to the terminal; if you would like to also save it to a file, use the `--file` argument with a valid file path.